mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
73 lines
2.4 KiB
YAML
73 lines
2.4 KiB
YAML
name: AWS Successful Single-Factor Authentication
|
|
id: a520b1fe-cc9e-4f56-b762-18354594c52f
|
|
version: 1
|
|
date: '2022-10-04'
|
|
author: Bhavin Patel, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic identifies a successful Console Login authentication
|
|
event against an AWS IAM user for an account without Multi-Factor Authentication
|
|
enabled. This could be evidence of a misconfiguration, a policy violation or an
|
|
account take over attempt that should be investigated
|
|
data_source: []
|
|
search: '`cloudtrail` eventName= ConsoleLogin errorCode=success "additionalEventData.MFAUsed"=No
|
|
| stats count min(_time) as firstTime max(_time) as lastTime by src eventName eventSource
|
|
aws_account_id errorCode additionalEventData.MFAUsed userAgent eventID awsRegion
|
|
user_name userIdentity.arn | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
|
|
| `aws_successful_single_factor_authentication_filter`'
|
|
how_to_implement: The Splunk AWS Add-on is required to utilize this data. The search
|
|
requires AWS Cloudtrail logs.
|
|
known_false_positives: It is possible that some accounts do not have MFA enabled for
|
|
the AWS account however its agaisnt the best practices of securing AWS.
|
|
references:
|
|
- https://attack.mitre.org/techniques/T1621/
|
|
- https://attack.mitre.org/techniques/T1078/004/
|
|
- https://aws.amazon.com/what-is/mfa/
|
|
tags:
|
|
analytic_story:
|
|
- AWS Identity and Access Management Account Takeover
|
|
asset_type: AWS Account
|
|
confidence: 80
|
|
impact: 80
|
|
message: User $user_name$ has successfully logged into an AWS Console without Multi-Factor
|
|
Authentication from $src$
|
|
mitre_attack_id:
|
|
- T1586
|
|
- T1586.003
|
|
- T1078
|
|
- T1078.004
|
|
observable:
|
|
- name: user_name
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: src
|
|
type: IP Address
|
|
role:
|
|
- Attacker
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- src
|
|
- eventName
|
|
- eventSource
|
|
- aws_account_id
|
|
- errorCode
|
|
- additionalEventData.MFAUsed
|
|
- userAgent
|
|
- eventID
|
|
- awsRegion
|
|
- user_name
|
|
- userIdentity.arn
|
|
risk_score: 64
|
|
security_domain: threat
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1078.004/aws_login_sfa/cloudtrail.json
|
|
sourcetype: aws:cloudtrail
|
|
source: aws_cloudtrail
|
|
update_timestamp: true
|