2020-04-06 04:36:46 +00:00
|
|
|
id: s3-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Amazon-S3 Bucket
|
|
|
|
author: melbadry9
|
2020-08-03 21:52:00 +00:00
|
|
|
severity: info
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: aws,s3,bucket,tech
|
2020-04-06 04:36:46 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-04-06 04:36:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/%c0"
|
2023-01-01 10:57:22 +00:00
|
|
|
|
|
|
|
matchers-condition: or
|
2020-04-06 04:36:46 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
2023-01-01 10:57:22 +00:00
|
|
|
part: body
|
2020-04-06 04:36:46 +00:00
|
|
|
regex:
|
2020-05-25 08:24:39 +00:00
|
|
|
- "(?:InvalidURI|InvalidArgument|NoSuchBucket)"
|
2023-01-01 10:57:22 +00:00
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(to_lower(server), "amazons3")'
|
|
|
|
- 'contains(to_lower(header), "x-amz-id")'
|
2023-10-14 11:27:55 +00:00
|
|
|
- 'contains(to_lower(header), "x-amz-request-id")'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e4d62de5d67e017609c9e06ca9dcc8a840a222db5d65cb83201b7d13bb84dfa4022100efc723578b13403d1c4216dfc6add252cd5c7423d8e64045293962a21497a063:922c64590222798bb761d5b6d8e72950
|