Detection: Previously Seen AWS Cross Account Activity

REMOVED DETECTION

This detection has been removed from the Splunk Threat Research content library and is no longer maintained or supported.

Reason: All detection(s) which leverage this baseline have been deprecated. As such, this baseline has been deprecated as well.

Removed in version: 5.4.0

If you have any questions or concerns, please reach out to us at research@splunk.com.

Description

This search looks for AssumeRole events where the requesting account differs from the requested account, then writes these relationships to a lookup file.

1`cloudtrail` eventName=AssumeRole 
2| spath output=requestingAccountId path=userIdentity.accountId 
3| spath output=requestedAccountId path=resources{}.accountId 
4| search requestingAccountId=* 
5| where requestingAccountId!=requestedAccountId 
6| stats earliest(_time) as firstTime latest(_time) as lastTime by requestingAccountId, requestedAccountId 
7| outputlookup previously_seen_aws_cross_account_activity 
8| stats count

Data Source

No data sources specified for this detection.

Macros Used

Name Value
cloudtrail sourcetype=aws:cloudtrail

Annotations

- MITRE ATT&CK
+ Kill Chain Phases
+ NIST
+ CIS
- Threat Actors
ID Technique Tactic

Default Configuration

This detection is configured by default in Splunk Enterprise Security to run with the following settings:

Setting Value
Disabled true
Cron Schedule N/A
Earliest Time N/A
Latest Time N/A
Schedule Window N/A
Creates Finding (Notable) No
Creates Intermediate Finding (Risk Event) No

Implementation

You must install the AWS App for Splunk (version 5.1.0 or later) and Splunk Add-on for AWS (version 4.4.0 or later), then configure your CloudTrail inputs. Validate the user name entries in previously_seen_aws_cross_account_activity.csv, a lookup file created by this support search.

Known False Positives

none

Associated Analytic Story

Detection Testing

Test Type Status Dataset Source Sourcetype
Validation Not Applicable N/A N/A N/A
Unit Not Applicable N/A N/A N/A
Integration Not Applicable N/A N/A N/A

Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range


Source: GitHub |

Version: 2