2023-03-24 02:24:37 +00:00
|
|
|
id: amazon-session-token
|
|
|
|
|
|
|
|
info:
|
2023-05-04 16:28:46 +00:00
|
|
|
name: Amazon Session Token - Detect
|
2023-03-24 02:24:37 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
2023-05-04 16:28:46 +00:00
|
|
|
description: Amazon session token was detected.
|
2023-03-24 02:24:37 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
|
2023-05-04 16:28:46 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-05-04 16:28:46 +00:00
|
|
|
cwe-id: CWE-200
|
2023-03-24 02:24:37 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: file,keys,aws,amazon,token,session
|
2024-01-04 06:46:23 +00:00
|
|
|
|
2023-03-24 02:24:37 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-05-04 16:28:46 +00:00
|
|
|
- '(?i)(?:aws.?session|aws.?session.?token|aws.?token)["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([a-z0-9/+=]{16,200})[^a-z0-9/+=]'
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/05/04
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4a0a00473045022012a50d46848dcc172a05c5e2fd88e802af8022bf13ab09dbf8740ae3ad5855f5022100c16953404125451a8cfc4ed26412b99b0d25c02e73a6c7ba8337a905c7e2efa9:922c64590222798bb761d5b6d8e72950
|