performing-cloud-native-threat-hunting-with-aws-detective

Featured

Hunt for threats in AWS environments using Detective behavior graphs, entity investigation timelines, GuardDuty finding correlation, and automated entity profiling across IAM users, EC2 instances, and IP addresses.

DevOps & Infrastructure 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing Cloud-Native Threat Hunting with AWS Detective ## Overview AWS Detective automatically collects and analyzes log data from AWS CloudTrail, VPC Flow Logs, GuardDuty findings, and EKS audit logs to build interactive behavior graphs. These graphs enable security analysts to investigate entities (IAM users, roles, IP addresses, EC2 instances) across time, identify anomalous API calls, detect lateral movement between accounts, and correlate GuardDuty findings into coherent attack narratives — all without manual log parsing. ## Prerequisites - AWS account with Detective enabled (requires GuardDuty active for 48+ hours) - AWS CLI v2 configured with appropriate IAM permissions (`detective:*`, `guardduty:List*`) - Python 3.9+ with boto3 - IAM policy: `AmazonDetectiveFullAccess` or custom policy with `detective:SearchGraph`, `detective:GetInvestigation`, `detective:ListIndicators` ## Key Concepts | Concept | Description | |---------|-------------| | **Behavior Graph** | Data structure linking CloudTrail, VPC Flow, GuardDuty, and EKS logs for an account/region | | **Entity** | Investigable object: IAM user, IAM role, EC2 instance, IP address, S3 bucket, EKS cluster | | **Finding Group** | Correlated set of GuardDuty findings linked to the same attack campaign | | **Entity Profile** | Timeline of API calls, network connections, and resource access for a specific entity | | **Scope Time** | Investigation window (default 24h, max 1 year) for behavioral analysis | ## Ste...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category