Skip to content

Commit 878a646

Browse files
[Rule Tuning] AWS S3 Bucket Enumeration or Brute Force (workflow 705ab5d2-33e2-4df1-a9f5-316d34be0b4c) (#7264)
(cherry picked from commit 856b484)
1 parent c4b13df commit 878a646

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎rules/integrations/aws/impact_aws_s3_bucket_enumeration_or_brute_force.toml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2024/05/01"
33
integration = ["aws"]
44
maturity = "production"
5-
updated_date = "2026/09/18"
5+
updated_date = "2026/11/27"
66

77
[rule]
88
author = ["Elastic"]
@@ -24,13 +24,13 @@ note = """
2424
2525
### Investigating AWS S3 Bucket Enumeration or Brute Force
2626
27-
This rule detects when many failed S3 operations (HTTP 403 AccessDenied) hit a single bucket from a single source address in a short window. This can indicate bucket name enumeration, object/key guessing, or brute-force style traffic intended to drive cost or probe for misconfigurations. 403 requests from outside the bucket owner’s account/organization are not billed, but 4XX from inside the owner’s account/org can still incur charges. Prioritize confirming who is making the calls and where they originate.
27+
This rule detects when many failed S3 operations (HTTP 403 AccessDenied) hit a single bucket from a single source address in a short window. This can indicate bucket name enumeration, object/key guessing, or brute-force style traffic intended to drive cost or probe for misconfigurations. 403 requests from outside the bucket owner's account/organization are not billed, but 4XX from inside the owner's account/org can still incur charges. Prioritize confirming who is making the calls and where they originate.
2828
2929
#### Possible investigation steps
3030
3131
- **Investigate in Timeline.** Investigate the alert in timeline (Take action -> Investigate in timeline) to retrieve and review all of the raw CloudTrail events that contributed to the threshold alert. Threshold alerts only display the grouped fields; Timeline provides a way to see individual event details such as request parameters, full error messages, and additional user context.
3232
33-
- **Confirm entity & target.** Note the rule’s threshold and window. Identify the target bucket (`tls.client.server_name`) and the source (`source.address`). Verify the caller identity details via any available `aws.cloudtrail.user_identity` fields.
33+
- **Confirm entity & target.** Note the rule's threshold and window. Identify the target bucket (`tls.client.server_name`) and the source (`source.address`). Verify the caller identity details via any available `aws.cloudtrail.user_identity` fields.
3434
3535
- **Actor & session context.** In CloudTrail events, pivot 15–30 minutes around the spike for the same `source.address` or principal. Determine if the source is:
3636
- **External** to your account/organization (recon/cost DDoS risk is lower for you due to 2024 billing change).
@@ -106,7 +106,9 @@ query = '''
106106
data_stream.dataset: "aws.cloudtrail" and
107107
event.provider : "s3.amazonaws.com" and
108108
aws.cloudtrail.error_code : "AccessDenied" and
109-
tls.client.server_name : *
109+
tls.client.server_name : * and
110+
not source.address : *.amazonaws.com and
111+
not aws.cloudtrail.user_identity.type : "AWSService"
110112
'''
111113

112114
[rule.investigation_fields]

0 commit comments

Comments
 (0)