Amazon GuardDuty

Continuous, ML-driven threat detection across CloudTrail, VPC Flow Logs, DNS logs, and runtime telemetry — agentless for foundational coverage, extensible via protection plans. This module pairs deep "how it actually works" understanding with the exam-reasoning layer the Security Specialty exam tests.

Detective — primary role Responsive — via EventBridge Governance — org auto-enable
90 days
Finding retention (inactive)
30 days
Free trial on enable
1
Delegated admin per org
4
Severity levels

Severity Scale — Memorize This

LOWRoutine, low confidence
MEDIUMSuspicious activity
HIGHLikely compromise
CRITICALETD attack sequence only

How GuardDuty Actually Works

The Core Mechanism — Not Just "It Reads Logs"
⚠️ The Recurring Exam Theme

Nearly every GuardDuty question tests one of three things: (1) do you know GuardDuty is detective only and needs EventBridge for any "response"/"remediation" requirement, (2) can you pick the right protection plan for a described signal, or (3) can you distinguish GuardDuty from Inspector, Macie, Config, CloudTrail Insights, and Detective — five services that sound similar but answer fundamentally different questions.

Exam Domain Mapping

DomainWhere GuardDuty Shows Up
Threat Detection & Incident ResponseThe centerpiece — finding types, severity model, Extended Threat Detection attack sequences, EventBridge-driven automated response
Security Logging & MonitoringFoundational data sources, Security Hub aggregation, multi-account finding consolidation
Identity & Access ManagementCredential-compromise findings, STS session remediation, delegated administrator model
Data ProtectionS3 Protection, RDS Protection, Malware Protection scope and limits
Management & Security GovernanceOrganizations auto-enable, per-region configuration, cross-account cost and protection-plan management

Exact percentages shift slightly between exam guide revisions — GuardDuty consistently sits inside the most heavily-weighted domains regardless of version, so it's worth prioritizing.

Decision Tree — Mental Model

Threat

Unauthorized/anomalous behavior, compromised credentials, malware, malicious network/DNS activity, suspicious DB logins, container/runtime compromise

Security Goal

Continuously detect this without deploying my own SIEM/log analysis pipeline

AWS Service

Amazon GuardDuty

Foundational (always on) + S3 Protection + EKS Protection / Runtime + EC2/ECS Runtime Monitoring + Malware Protection + Lambda Protection + RDS Protection Extended Threat Detection (auto)
Implementation

Enable via Organizations delegated administrator (dedicated security account). Auto-enable for all current + future accounts, all regions. Select protection plans per workload.

Monitoring

Findings → Security Hub (aggregation/scoring). Findings → EventBridge (routing). High/Critical → Detective (investigation).

Remediation

EventBridge rule → Lambda/SSM Automation: isolate instance, revoke/rotate IAM credentials or STS sessions, notify SOC, or SCP-based account isolation for severe compromise.

Final Summary

Must Memorize
  • 4 severity levels — Critical = ETD Attack Sequence only
  • Protection plan ↔ scenario mapping (S3/EKS/EC2-ECS/Malware/Lambda/RDS)
  • GuardDuty = detective, never "blocks" or "prevents"
  • Foundational sources need no manual log setup
  • Suppression ≠ cost reduction; Trusted IP list ≠ network control
Must Understand
  • How ETD correlates discrete findings into attack-sequence narratives
  • The EventBridge-driven automated remediation pattern
  • The distinction triangle: GuardDuty (behavior) vs Inspector (vulnerabilities) vs Macie (sensitive data) vs Config (config state)
  • STS temporary credentials vs IAM access keys for remediation
Can De-prioritize
  • Exact dollar pricing figures
  • Console UI navigation specifics
  • Historical finding-type string names — focus on categories

Exam appearance probability: HIGH

Protection Plans & Capabilities

Foundational detection is always-on; everything else below is an opt-in protection plan that widens GuardDuty's signal surface.

2.1 Foundational Data Sources Frequently misunderstood
PurposeBaseline threat detection from control-plane & network metadata
SourcesCloudTrail mgmt events, VPC Flow Logs, DNS query logs
2.2 S3 Protection High exam relevance
PurposeDetect threats to S3 data
HowAnalyzes S3 data-event logs even without your own trail enabled
2.3 EKS Protection (Audit + Runtime) High exam relevance
EKS ProtectionAnalyzes EKS audit logs for suspicious API activity
Runtime MonitoringAgent-based — inspects process/file/network inside pods
2.4 EC2/ECS Runtime Monitoring Recently changed
PurposeDetect runtime threats — process execution, file access, network connections
DeploymentLightweight agent, automatic agent configuration via SSM / launch integration
2.5 Malware Protection (EC2/EBS & S3) Medium-high
EC2 variantFinding-triggered EBS snapshot scan — not continuous
S3 variantScans new objects on PUT — not retroactive by default
2.6 Lambda Protection Medium
PurposeDetect malicious activity from Lambda network traffic
HowAnalyzes function network activity logs
2.7 RDS Protection Medium
PurposeDetect suspicious login activity against Aurora/RDS
CoverageAurora (MySQL/PostgreSQL-compatible) and RDS login events
2.8 Extended Threat Detection (ETD) High — exam-fresh
WhatCorrelates lower-severity findings into one Critical Attack Sequence finding
CostAutomatically enabled, no extra cost
2.9 Threat Lists, Trusted IP Lists & Entity Lists Medium
Threat ListKnown-bad IPs/domains → generates findings on match
Trusted IP ListKnown-good IPs → suppresses findings for that IP only
Entity ListExtends to domains; can trigger Impact:EC2/MaliciousDomainRequest.Custom or suppress
2.10 Suppression Rules High-trap
PurposeAuto-archive findings matching defined criteria
HowFilter-based, supports Matches/NotMatches with wildcards
2.11 Multi-Account Management (Organizations) High exam relevance
ModelDelegated administrator — dedicated security-tooling account, not management
CapabilityAuto-enable GuardDuty + protection plans for all current and future member accounts

AWS Exam Thinking

Requirement → Keywords → Expected Answer → why every distractor fails.

Detect compromised credentials / anomalous API behavior
anomalous activitycredential compromiseno agent
Expected Answer

Amazon GuardDuty

DistractorWhy it's wrong
CloudTrailOnly logs events — no analysis
ConfigChecks configuration state, not behavior
CloudWatchNeeds custom metrics/alarms you'd build yourself
Detect malware on a compromised EC2 instance
malwarescan EBS volumecompromised instance
Expected Answer

GuardDuty Malware Protection (EC2)

DistractorWhy it's wrong
InspectorScans for vulnerabilities/CVEs, not active malware
MacieS3 data-classification only
Systems ManagerNo native malware engine
Multi-stage attack narrative (recon → priv-esc → exfiltration)
attack sequenceMITRE ATT&CKcritical severity
Expected Answer

GuardDuty Extended Threat Detection (Attack Sequence finding)

DistractorWhy it's wrong
Security HubAggregates findings but doesn't generate the correlated narrative itself
DetectiveReactive/manual investigation, not an automatic finding
Individual findingsThese are the inputs to ETD, not the answer
Anomalous S3 access pattern suggesting exfiltration
unusual GetObjectdata exfiltration
Expected Answer

GuardDuty S3 Protection

DistractorWhy it's wrong
MacieFinds what sensitive data exists, not who's anomalously accessing it
S3 Access Logs + AthenaYou'd have to build the detection logic yourself
CloudTrailRaw logs only
Malicious process / reverse shell on EC2 or container
runtime behaviorin-memoryreverse shell
Expected Answer

GuardDuty Runtime Monitoring

DistractorWhy it's wrong
Foundational GuardDutyNo OS-level visibility
InspectorPre-deployment vulnerability scanning, not live behavior
ConfigConfiguration drift, not runtime
Suspicious database login pattern
RDS / Auroraanomalous login
Expected Answer

GuardDuty RDS Protection

DistractorWhy it's wrong
CloudTrail / VPC Flow Logs / CloudWatch LogsNone natively classify "anomalous" vs "normal" login behavior — that's GuardDuty's ML job
Suppress findings from your own authorized scanner
known scanner IPreduce false positives
Expected Answer

Trusted IP list

DistractorWhy it's wrong
Suppression ruleBroader/criteria-based, and excludes findings from ETD; not the cleanest match for "a known good IP"
IAM policyIrrelevant to GuardDuty findings
Disable GuardDutyRemoves all detection, not targeted
GuardDuty enabled automatically for every new account
organization-widecentralized findings
Expected Answer

Organizations delegated administrator + auto-enable

DistractorWhy it's wrong
Manual per-account enablementDoesn't scale, won't cover future accounts
CloudFormation StackSets onlyCan help deploy, but isn't the GuardDuty-native mechanism the exam wants
Config aggregatorUnrelated to GuardDuty

Security Controls Mapping & Integrations

4 — Controls Mapping

Detective

Finding generation across all protection plans — e.g. UnauthorizedAccess:EC2/SSHBruteForce, Recon:IAMUser/MaliciousIPCaller

Detective (advanced)

Extended Threat Detection attack sequences — e.g. AttackSequence:IAM/CompromisedCredentials

Responsive (via integration, not native)

EventBridge → Lambda/SSM Automation triggered by a finding — e.g. auto-quarantine an EC2 instance (isolated SG, removed from target group) when UnauthorizedAccess:EC2/MaliciousIPCaller.Custom fires

Remediation (via integration)

Lambda revokes temporary IAM credentials triggered by UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration — calls iam:DeleteAccessKey or attaches a deny-all policy

Governance

Org-wide auto-enable, delegated administrator, mandatory protection plans via Control Tower/Organizations — new account → GuardDuty enabled within minutes, findings flow to central security account

⚠️ GuardDuty is NOT preventive

It never blocks an API call or network connection. Questions implying GuardDuty "stops" something are testing whether you know it's detection-only.

5 — Integrations

Security Hub
WhatFindings flow automatically (ASFF format) once Security Hub is enabled
WhyCentralized cross-service aggregation alongside Inspector, Macie, Config, Access Analyzer
PatternGuardDuty → Security Hub → EventBridge → ticketing/SOAR
EventBridge
WhatEvery finding generates an EventBridge event
WhyThe automation backbone — auto-remediation without polling
PatternFinding → rule (filter severity/type) → Lambda or Step Functions
Organizations
WhatDelegated administrator model
WhyCentralized ops without granting management account direct security tooling access
PatternManagement delegates → security account auto-enables for all current + future members
Amazon Detective
WhatOne-click "Investigate" pivots into Detective's behavior graph
WhyGuardDuty says something happened; Detective shows what else happened around it
PatternFinding (alert) → Detective (root-cause) → response
IAM
WhatService-linked role grants read access to log sources
WhyLeast-privilege access without manually wiring log permissions
S3, EKS, EC2/EBS, ECS, Lambda, RDS
WhatEach protection plan integrates with the relevant service's logs/runtime
WhyTailor detection breadth to actual workload footprint

Costs, Limits & Quotas

Pricing Model

BasePay-as-you-go, 30-day free trial on enable
FoundationalPer GB of CloudTrail / Flow Logs / DNS logs analyzed
S3 ProtectionPer number of S3 data events analyzed
EKS ProtectionPer audit log volume (+ separate Runtime Monitoring vCPU-hour pricing)
Runtime MonitoringPer vCPU-hour of monitored compute
Malware ProtectionPer GB scanned (EBS snapshots / S3 objects)
RDS / Lambda ProtectionPer data volume analyzed

Common Cost Mistakes

Cost Optimization

⚠️ Exam angle

A question contrasting "reduce noise" vs "reduce cost" is testing whether you know suppression addresses noise only.

Limits & Quotas

ScopeRegional service — enable per-region explicitly
Finding retentionActive findings retained/updated 90 days of inactivity before archival
Delegated adminOnly one per organization
Trusted IP listsSmall fixed cap per account — curated, not a general allow-list
Threat/Entity listsAlso count-limited per account
Member accountsAligns with Organizations limits (thousands via delegated admin)

Scaling Considerations

⚠️ Regional trap

Findings, suppression rules, threat lists, and trusted IP lists are all per-region. A suppression rule created in us-east-1 does not apply to findings generated in eu-west-1 — and (see Quiz, Specialty Q8) the org auto-enable configuration itself is also per-region.

Best Practices & Common Exam Traps

8 — Best Practices

Must Know
  • Enable in every region, including unused ones — attackers target "dark" regions
  • Organizations + delegated admin (dedicated security account)
  • GuardDuty is detective only — pair with EventBridge for response
  • Critical severity = ETD attack-sequence findings only
  • Know which protection plan covers which scenario
Good Practice
  • Forward findings to Security Hub for cross-service correlation
  • Build EventBridge rules for High/Critical automated first response
  • Use Trusted IP lists for known scanners/NAT egress to cut noise
  • Tag resources consistently so automated response can target by tag
Advanced Practice
  • Build custom Entity Lists from your own incident history
  • Use suppression with wildcard match/no-match — but don't over-suppress ETD inputs
  • Integrate findings into a Step Functions IR runbook with human approval for high-impact actions
  • When unnecessary: small dev/sandbox accounts can skip plans for services they don't run (e.g. RDS Protection with no RDS) — foundational GuardDuty stays on everywhere

9 — Common Exam Traps

MisconceptionReality
"GuardDuty blocks malicious traffic"It only generates findings. Blocking needs NACLs/SGs/WAF/Network Firewall, or automated remediation via EventBridge+Lambda
"Must enable CloudTrail/Flow Logs/DNS logging first"False for foundational detection — GuardDuty has direct internal access
"Suppression rules reduce GuardDuty cost"Billing is based on data analyzed, not findings displayed
"Runtime Monitoring and Malware Protection are the same"Runtime Monitoring = continuous behavioral telemetry; Malware Protection = on-demand/event-triggered signature scanning
"ETD requires enabling every protection plan"ETD is automatically on at no extra cost; more plans = broader correlation, not a prerequisite
"Trusted IP list = security group allow rule"A Trusted IP list only suppresses GuardDuty findings for that IP — zero effect on network access

GuardDuty vs. The Lookalikes

ServiceWhat it actually answers
vs InspectorGuardDuty = behavioral threat detection (reactive to activity). Inspector = vulnerability/CVE and network-reachability scanning of EC2, ECR, Lambda (proactive, pre-exploitation)
vs MacieGuardDuty = is something bad happening. Macie = what sensitive data exists in S3 and is it exposed. Complementary, not substitutes
vs ConfigConfig = configuration state/compliance drift. GuardDuty = behavioral anomalies — is this resource being misused
vs CloudTrail / CloudTrail InsightsCloudTrail = raw API log, no analysis. Insights = detects unusual volume/rate of management API activity (narrow, statistical). GuardDuty = broad ML analysis across CloudTrail + network + DNS + runtime with curated threat intel. A sudden spike in RunInstances rate specifically → Insights can be the sharper answer
vs DetectiveGuardDuty = generates the alert. Detective = investigates the alert's context/history. "Investigate root cause across linked resources efficiently" → Detective, even after GuardDuty flagged it

Flashcards — 20 Cards

Click card to flip. Mark right or wrong to track score.

Click to reveal answer
1 / 20
Mark:   Score: 0/0

Practice Quiz — 10 Questions

SCS-C02 scenario style, Easy → Specialty. Select an answer to reveal the explanation.

out of 10 correct