Module Overview
Estimated Time: 2-3 hours | Difficulty: Intermediate | Prerequisites: GuardDuty, IAM, basic compliance concepts
- Security Hub architecture and data flow
- Security standards and compliance frameworks
- Findings management and automation
- Multi-account deployment
- Custom insights and dashboards
How Security Hub Works
Enabling Security Hub
Console or CLI
CloudFormation
Security Standards
Available Standards
AWS Foundational Security Best Practices
Disable Specific Controls
Findings Management
AWS Security Finding Format (ASFF)
Finding Workflow
Query Findings
Update Finding Workflow
Automated Remediation
EventBridge Integration
Remediation Lambda
Custom Insights
Create Custom Insight
Built-in Insights
Multi-Account Management
Organization Setup
Enable Organization Integration
Cross-Region Aggregation
SIEM Integration
Export to S3
Export to Splunk/SIEM
Best Practices
Enable in All Regions
Security Hub aggregates findings—enable everywhere
Use Organizations
Centralized management with delegated admin
Automate Remediation
Use EventBridge + Lambda for common fixes
Track Compliance Score
Monitor security score trends over time
🎯 Interview Questions
Q1: How does Security Hub differ from GuardDuty?
Q1: How does Security Hub differ from GuardDuty?
GuardDuty = Threat detection
- Analyzes data sources for active threats
- Uses ML and threat intelligence
- Generates findings for malicious activity
- Collects findings from GuardDuty and other services
- Runs security standard checks (CIS, PCI, etc.)
- Provides centralized dashboard and compliance scores
Q2: How do you handle thousands of Security Hub findings?
Q2: How do you handle thousands of Security Hub findings?
Prioritization:
- Focus on CRITICAL/HIGH severity first — anything else is noise at scale
- Filter by compliance requirements (PCI, HIPAA) relevant to YOUR workload
- Group by resource type or AWS account to assign ownership
- Auto-remediate common, low-risk issues with Lambda (e.g., enable S3 encryption)
- Suppress accepted risks with filters AND documented justification
- Use custom actions for findings that require human judgment (e.g., public SG)
- CRITICAL = 24h resolution, notify via PagerDuty
- HIGH = 7 days, tracked in Jira sprint
- MEDIUM = 30 days, in backlog
- LOW = Quarterly review
- Weekly review of suppressed findings to catch drift
- Track security score trends — a declining score over 2 weeks triggers an investigation
Q3: How do you set up Security Hub for a multi-account organization?
Q3: How do you set up Security Hub for a multi-account organization?
- Designate Admin: Use delegated administrator in security account
- Enable Auto-Enable: New accounts automatically get Security Hub
- Central Configuration: Push standards from admin account
- Cross-Region: Set up finding aggregator to central region
- SIEM Export: Stream findings to central SIEM
Hands-On Lab
1
Enable Security Hub
Enable Security Hub with AWS Foundational and CIS standards
2
Review Initial Score
Check your security score and review failing controls
3
Fix Top Issues
Remediate 5 high-severity findings manually
4
Create Automation
Build EventBridge + Lambda for one common finding type
5
Create Custom Insight
Build an insight showing findings by resource type
Next Module
AWS CloudTrail
API logging and auditing for compliance and investigation