GuardDuty & Inspector
Two complementary detection services. GuardDuty watches behaviour (logs, DNS, traffic) with ML. Inspector scans artifacts (EC2 OS, container images, Lambda code) against CVEs.
Hai service phát hiện bổ sung nhau. GuardDuty theo dõi hành vi (log, DNS, traffic) bằng ML. Inspector quét artifact (OS EC2, container image, code Lambda) đối chiếu CVE.
GuardDuty — behavioural threat detectionGuardDuty — phát hiện hành vi
CloudTrail Events
unusual API · unauthorised deploysAPI bất thường · deploy trái phép
VPC Flow Logs
weird internal traffic · rogue IPstraffic nội bộ lạ · IP lạ
DNS Logs
C2 & DNS-tunnelled exfiltrationC2 & exfil qua DNS tunnel
Protection plansProtection plan
S3 · EKS · RDS · Lambda · Runtime Monitoring · Malware (EBS + S3)
Extended Threat DetectionExtended Threat Detection
Free for every GuardDuty account: correlates weak signals across sources and time into attack sequence findings (critical severity) — e.g. credential theft → S3 exfil.
Miễn phí cho mọi account GuardDuty: gộp các signal yếu qua nhiều nguồn và thời gian thành finding attack sequence (severity critical) — vd trộm credential → exfil S3.
Delegated administratorDelegated administrator
Promote one member account to manage GuardDuty for the whole Organization. Promotion can only be done by the Org Management Account.
Promote 1 account member để quản GuardDuty cho toàn Organization. Chỉ Management Account mới promote được.
Inspector — CVE scanning of artifactsInspector — quét CVE trên artifact
| TargetĐối tượng | MechanismCách quét | When it firesKích hoạt khi |
|---|---|---|
| EC2 | SSM agent · agentless (EBS snapshot) · hybridSSM agent · agentless (EBS snapshot) · hybrid | Reachability + OS/package CVE checksKiểm tra reachability + CVE OS/package |
| ECR images | Enhanced scanningEnhanced scanning | On push + continuous rescan as new CVEs publishKhi push + rescan liên tục khi có CVE mới |
| Lambda | Standard = package deps · code scanning = your own codeStandard = package dependency · code scanning = code tự viết | Deploy/update + new CVEsDeploy/update + CVE mới |
PrioritisationƯu tiên
Every finding carries a risk score so you can triage the worst-first. Findings ship to Security Hub and EventBridge for automation.
Mỗi finding có risk score để triage cái tệ trước. Đẩy sang Security Hub + EventBridge để tự động hoá.
GuardDuty vs Inspector — pick oneGuardDuty vs Inspector — chọn cái nào
| GuardDuty | Inspector | |
|---|---|---|
| Question it answersTrả lời câu hỏi | "Is something weird happening?""Có gì bất thường không?" | "Do my images / code have known CVEs?""Image / code có CVE không?" |
| Signal typeLoại signal | Runtime behaviourHành vi runtime | Static artifact scanQuét tĩnh artifact |
| Agent requiredCần agent | ❌ · agent only for Runtime Monitoring❌ · chỉ Runtime Monitoring cần agent | SSM or agentless (EC2)SSM hoặc agentless (EC2) |
| TriggerKích hoạt | ContinuousLiên tục | Push / Deploy eventsPush / Deploy event |
Third distractor: MacieĐáp án nhiễu thứ 3: Macie
GuardDuty = threats · Inspector = CVEs · Macie = sensitive data (PII) discovery in S3. Exam answers love swapping these three.
GuardDuty = threat · Inspector = CVE · Macie = tìm sensitive data (PII) trong S3. Đề thi rất hay tráo ba cái này.