A small Security Operations Center (SOC) built on AWS: one exposed EC2 instance acts as the target, GuardDuty detects threats, and Security Hub gathers every finding into one queue for triage.
| Metric | Value |
|---|---|
| Total GuardDuty findings | 364 across 18 resources |
| By severity | 3 Critical · 148 High · 150 Medium · 63 Low |
| Attack sequences (multi-step) | 3 (credential compromise, S3 data compromise, EKS cluster compromise) |
| Where they were triaged | AWS Security Hub, filtered by severity and resource type |
Most findings came from GuardDuty's sample findings feature (resources like
i-99999999). It produces realistic alerts for every finding type, so you can practice triage without a real attack.
Internet (SSH 22 open to 0.0.0.0/0)
│
▼
┌─────────────────┐
│ EC2 t2.micro │ "SOC-Linux-Server" (target)
└────────┬────────┘
VPC Flow Logs · CloudTrail · DNS logs
▼
┌─────────────────┐
│ Amazon GuardDuty│ threat detection
└────────┬────────┘
▼
┌─────────────────┐
│AWS Security Hub │ aggregation + triage
└─────────────────┘
Use EC2 to simulate a vulnerable cloud asset.
- AMI: Amazon Linux 2
- Instance type: t2.micro (free tier)
- Inbound rule: SSH (port 22) open to
0.0.0.0/0This invites real-world SSH brute-force attempts. Never do this on a production system.
GuardDuty is AWS's managed threat detection service.
- Go to Amazon GuardDuty → Enable
- It automatically monitors VPC Flow Logs, CloudTrail, and DNS logs
- Optional: Settings → Generate sample findings to fill the console with every finding type
Example finding: 🛑 UnauthorizedAccess:EC2/SSHBruteForce
Security Hub gathers findings from GuardDuty and other AWS security services.
- Go to AWS Security Hub → Enable
- GuardDuty is integrated by default
- Use the quick filters (severity, resource type, top accounts) to prioritize the queue
How to work a queue like this:
- Start with Critical attack sequences. These chain several signals together (for example, an IAM credential used for discovery and then S3 data access), so one alert tells the whole story.
- Group by resource. 18 resources produced 364 findings, so grouping cuts down noise fast.
- Map to MITRE ATT&CK. Examples:
UnauthorizedAccess:EC2/SSHBruteForce→ T1110 Brute Force- DGA domain queried by an EC2 instance → T1568.002 Dynamic Resolution: DGA
- EC2 instance used for DoS over TCP → T1498 Network Denial of Service
- Container escape via runc → T1611 Escape to Host
- Decide: contain (isolate the security group, revoke keys), escalate, or archive as expected or sample activity.
- Terminate the EC2 instance and delete its security group
- Disable GuardDuty and Security Hub, or stay within the 30-day free trials
- Archive the sample findings
- How GuardDuty turns raw flow, DNS, and CloudTrail data into findings
- The role each AWS service plays in a cloud SOC pipeline
- How to prioritize a high-volume alert queue by severity and attack sequence
AWS EC2 · Amazon GuardDuty · AWS Security Hub · VPC Flow Logs · CloudTrail
The original console exports are kept as PDFs: EC2 · GuardDuty · Security Hub
Anthony (AJ) Bayate Jr., IT & Cybersecurity student at Kean University LinkedIn • GitHub


