AWS Suspicious User Agent Fingerprint
Identifies successful AWS API calls where the CloudTrail user agent indicates offensive tooling or automated credential verification. This includes the AWS CLI or Boto3 reporting a Kali Linux distribution fingerprint…
Description
Identifies successful AWS API calls where the CloudTrail user agent indicates offensive tooling or automated credential verification. This includes the AWS CLI or Boto3 reporting a Kali Linux distribution fingerprint (`distrib#kali`), and clients that identify as TruffleHog, which is commonly used to validate leaked secrets against live AWS APIs. These patterns are uncommon for routine production workloads and may indicate compromised credentials, unauthorized access, or security tooling operating outside approved scope.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- Authorized penetration tests, red team exercises, or research activity may originate from Kali Linux. Internal secret scanning pipelines may run TruffleHog with permission to reach AWS for verification. Validate the IAM principal, source network, change records, and whether the activity matches documented security or DevSecOps workflows.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html | Only this detection cites it |
| kudelskisecurity.com/research/investigating-two-variants-of-the-trivy-supply-chain-compromise | 6 |
| trufflesecurity.com/blog/trufflehog-in-your-log | Only this detection cites it |
| www.sygnia.co/blog/sygnia-investigation-bybit-hack/ | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- f80ea920-f6f5-4c8a-9761-84ac97ec0cb2
- Tagged by the source as
- Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailDomain: CloudNoise: MediumPerformance: FastPlatform: AWSResources: Investigation GuideRule Type: Event Correlation (EQL)Tactic: Initial Access
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 8, 2026
- Version
- 4