2023-03-07 09:40:29 +00:00
|
|
|
id: aws-account-id
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AWS Account ID
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
tags: aws,amazon,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- '(?i)aws_?(?:account)_?(?:id)?["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([0-9]{4}-?[0-9]{4}-?[0-9]{4})'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100a3473e9d87353dae1fafa221cb8891175e864971dfef500fca65aa1373d4c102022100b9c8b6bdbce7e02b6d316642029c5a8d36e35e4c2df3d5a295a21686548017c9:922c64590222798bb761d5b6d8e72950
|