Detection rules › Sigma

Console Login With MFA

Status
test
Severity
informational
Log source
product aws, service cloudtrail
Author
Zach Mathis (@yamatosecurity)
Source
github.com/Yamato-Security/suzaku-rules

Detects a console login with MFA

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1078 Valid Accounts

Event coverage

Rules detecting the same action

Other rules on this platform that filter on the same API call or operation.

Rule body yaml

title: Console Login With MFA
id: dd9381d0-bde9-464d-ba68-dba31fe177e1
status: test
description: Detects a console login with MFA
references:
    - https://securitylabs.datadoghq.com/cloud-security-atlas/attacks/compromising-aws-console-credentials/
    - https://hackingthe.cloud/aws/post_exploitation/create_a_console_session_from_iam_credentials/
    - https://pages.awscloud.com/rs/112-TZM-766/images/Visibility_detect_respond_AWS_SANS_whitepaper.pdf
author: Zach Mathis (@yamatosecurity)
date: 2025-04-13
modified: 2025-04-13
tags:
    - attack.initial-access
    - attack.t1078 # Valid Accounts
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: signin.amazonaws.com
        eventName: 'ConsoleLogin'
        additionalEventData.MFAUsed: 'Yes'
    condition: selection
falsepositives:
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: signin.amazonaws.com
    eventName: 'ConsoleLogin'
    additionalEventData.MFAUsed: 'Yes'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
additionalEventData.MFAUsedeq
  • Yes
eventNameeq
  • ConsoleLogin
eventSourceeq
  • signin.amazonaws.com