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
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: aws,s3,bucket,tech
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
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")'
|
|
|
|
- 'contains(to_lower(header), "x-amz-request-id")'
|