2023-03-07 09:40:29 +00:00
|
|
|
id: aws-api-key
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AWS API Key
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
|
|
|
|
- https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html
|
|
|
|
- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
|
|
|
|
- https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
|
|
|
|
- https://docs.aws.amazon.com/accounts/latest/reference/credentials-access-keys-best-practices.html
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
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:
|
|
|
|
- '\b((?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16})\b'
|