Try in Splunk Security Cloud


This search looks for AWS CloudTrail events where a user has created an open/public S3 bucket.

  • Type: TTP
  • Product: Splunk Security Analytics for AWS, Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
  • Datamodel:
  • Last Updated: 2021-07-19
  • Author: Bhavin Patel, Patrick Bareiss, Splunk
  • ID: 2a9b80d3-6340-4345-b5ad-290bf3d0dac4


ID Technique Tactic
T1530 Data from Cloud Storage Object Collection
`cloudtrail` eventName=PutBucketAcl 
| rex field=_raw "(?<json_field>{.+})" 
| spath input=json_field output=grantees path=requestParameters.AccessControlPolicy.AccessControlList.Grant{} 
| search grantees=* 
| mvexpand grantees 
| spath input=grantees output=uri path=Grantee.URI 
| spath input=grantees output=permission path=Permission 
| search uri IN ("","") 
| search permission IN ("READ","READ_ACP","WRITE","WRITE_ACP","FULL_CONTROL") 
| rename requestParameters.bucketName AS bucketName 
| stats count min(_time) as firstTime max(_time) as lastTime by user_arn userIdentity.principalId userAgent uri permission bucketName 
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` 
| `detect_new_open_s3_buckets_filter` 

Associated Analytic Story

How To Implement

You must install the AWS App for Splunk.

Required field

  • _time
  • eventSource
  • eventName
  • requestParameters.bucketName
  • user_arn
  • userIdentity.principalId
  • userAgent
  • uri
  • permission

Kill Chain Phase

  • Actions on Objectives

Known False Positives

While this search has no known false positives, it is possible that an AWS admin has legitimately created a public bucket for a specific purpose. That said, AWS strongly advises against granting full control to the "All Users" group.


Risk Score Impact Confidence Message
48.0 60 80 User $user_arn$ has created an open/public bucket $bucketName$ with the following permissions $permission$


Test Dataset

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

source | version: 3