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
|
2020-04-06 04:36:46 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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")'
|