AWS CloudTrail Anomaly Detection
Identifies suspicious AWS API activity by baselining CloudTrail logs to detect credential compromise and unauthorized access.
This skill empowers AI agents to perform sophisticated security analysis on AWS CloudTrail logs using Python and the boto3 library. It implements statistical baselining to establish normal behavioral patterns for users and services, enabling the detection of geographic anomalies, first-time API usage, and high-frequency calls that may signify IAM credential compromise, privilege escalation, or insider threats. It is an essential tool for SOC analysts and cloud security engineers performing automated threat hunting or incident response in AWS environments.
Key Features
01Automated AWS CloudTrail log querying with boto3 pagination
02Identification of high-risk sensitive API calls in IAM and KMS
03JSON reporting with anomaly scoring and remediation recommendations
04Statistical baselining of user, source IP, and API event patterns
05Detection of geographic shifts and unusual event sources
064,120 GitHub stars
Use Cases
01Continuous monitoring and auditing of high-privileged account activity
02Incident response investigations following unauthorized resource access
03Automated threat hunting for compromised IAM credentials