This search looks for AWS CloudTrail events and analyse the amount of eventNames which starts with Describe by a single user. This indicates that this user scans the configuration of your AWS cloud environment.
- Type: TTP
Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Last Updated: 2021-04-13
- Author: Patrick Bareiss, Splunk
- ID: 1fdd164a-def8-4762-83a9-9ffe24e74d5a
|T1526||Cloud Service Discovery||Discovery|
Kill Chain Phase
- Actions on Objectives
- CIS 13
1 2 3 4 5 6 `cloudtrail` eventName=Describe* OR eventName=List* OR eventName=Get* | stats dc(eventName) as dc_events min(_time) as firstTime max(_time) as lastTime values(eventName) as eventName values(src) as src values(userAgent) as userAgent by user userIdentity.arn | where dc_events > 50 | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` |`aws_excessive_security_scanning_filter`
The SPL above uses the following Macros:
Note that aws_excessive_security_scanning_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
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
While this search has no known false positives.
Associated Analytic story
|18.0||30||60||user $user$ has excessive number of api calls $dc_events$ from these IP addresses $src$, violating the threshold of 50, using the following commands $command$.|
source | version: 1