updatesusing datamodel

This commit is contained in:
patel-bhavin
2022-08-12 12:34:02 -07:00
parent c4848f5431
commit 24cd1afcb8
3 changed files with 14 additions and 18 deletions
@@ -5,12 +5,10 @@ date: '2022-08-07'
author: Gowthamaraj Rajendran, Splunk
type: TTP
datamodel:
- Endpoint
- Authentication
description: It shows that there have been an unsuccessful attempt to log in using the user identity to the AWS management console.
Since the user identity has access to AWS account services and resources, an attacker might try to brute force the password for that identity.
search: '`cloudtrail` eventName=ConsoleLogin "responseElements.ConsoleLogin"=Failure eventSource="signin.amazonaws.com" | stats
count min(_time) as firstTime max(_time) as lastTime values(userIdentity.userName) as Username values(userIdentity.accountId) as AccountID by sourceIPAddress awsRegion eventName userAgent| `security_content_ctime(firstTime)`|
`security_content_ctime(lastTime)` | `aws_credential_access_failed_login_filter`'
search: '| tstats count earliest(_time) as firstTime, latest(_time) as lastTime from datamodel=Authentication where Authentication.action = failure BY Authentication.app Authentication.signature Authentication.dest Authentication.user Authentication.action Authentication.user_id Authentication.src | `drop_dm_object_name(Authentication)` | `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)` | `aws_credential_access_failed_login_filter`'
how_to_implement: You must install splunk AWS add on and Splunk App for AWS. This search works with AWS CloudTrail logs.
known_false_positives: Users may genuinely mistype or forget the password.
references:
@@ -31,17 +29,17 @@ tags:
impact: 70
kill_chain_phases:
- Exploitation
message: User $Username$ has a login failure from IP $sourceIPAddress$
message: User $user$ has a login failure from IP $src$
mitre_attack_id:
- T1110.001
nist:
- DE.CM
observable:
- name: sourceIPAddress
- name: src
type: IP Address
role:
- Attacker
- name: Username
- name: user
type: User
role:
- Victim
@@ -51,12 +49,12 @@ tags:
- Splunk Cloud
required_fields:
- _time
- eventName
- app
- eventSource
- userIdentity.userName
- userAgent
- userIdentity.accountId
- sourceIPAddress
- awsRegion
- action
- signature
- dest
- user
- user_id
risk_score: 49
security_domain: threat
@@ -4,8 +4,7 @@ version: 1
date: '2022-08-10'
author: Bhavin Patel, Splunk
type: Anomaly
datamodel:
- Endpoint
datamodel: []
description: This detection analytic identifies more than 10 GetPasswordData API calls made to your AWS account with a time window of 5 minutes. Attackers can retrieve the encrypted administrator password for a running Windows instance.
search: '| `cloudtrail` eventName=GetPasswordData eventSource = ec2.amazonaws.com | bin _time span=5m | stats count values(errorCode) as errorCode dc(requestParameters.instanceId) as distinct_instance_ids values(requestParameters.instanceId) as instance_ids by aws_account_id src_ip user_arn userAgent eventName _time
| where distinct_instance_ids > 10 | `aws_credential_access_getpassworddata_filter`'
@@ -40,7 +39,7 @@ tags:
type: IP Address
role:
- Attacker
- name: Username
- name: user_arn
type: User
role:
- Victim
@@ -4,8 +4,7 @@ version: 1
date: '2022-08-07'
author: Gowthamaraj Rajendran, Splunk
type: TTP
datamodel:
- Endpoint
datamodel: []
description: The master user password for Amazon RDS DB instance can be reset using the Amazon RDS console. Using this technique, the attacker can get access to the
sensitive data from the DB. Usually, the production databases may have sensitive data like Credit card information, PII, Health care Data. This event should be
investigated further.