Detectionmediumtest

AWS Console GetSigninToken Potential Abuse

Detects potentially suspicious events involving "GetSigninToken". An adversary using the "aws_consoler" tool can leverage this console API to create temporary federated credential that help obfuscate which AWS credential is compromised (the original access key) and enables the adversary to pivot from the AWS CLI to console sessions without the need for MFA using the new access key issued in this request.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Chester Le BronCreated Mon Feb 26f8103686-e3e8-46f3-be72-65f7fcb4aa53cloud
Log Source
AWScloudtrail
ProductAWS← raw: aws
Servicecloudtrail← raw: cloudtrail
Detection Logic
Detection Logic2 selectors
detection:
    selection:
        eventSource: 'signin.amazonaws.com'
        eventName: 'GetSigninToken'
    filter_main_console_ua:
        userAgent|contains: 'Jersey/${project.version}'
    condition: selection and not 1 of filter_main_*
False Positives

GetSigninToken events will occur when using AWS SSO portal to login and will generate false positives if you do not filter for the expected user agent(s), see filter. Non-SSO configured roles would be abnormal and should be investigated.

Rule Metadata
Rule ID
f8103686-e3e8-46f3-be72-65f7fcb4aa53
Status
test
Level
medium
Type
Detection
Created
Mon Feb 26
Path
rules/cloud/aws/cloudtrail/aws_console_getsignintoken.yml
Raw Tags
attack.lateral-movementattack.defense-evasionattack.t1021.007attack.t1550.001
View on GitHub