AWS Builder Center

Amazon GuardDuty in One Command: What It Catches, and the Finding You Should Page On

Enabling GuardDuty across every region from the org account, the finding type that actually signals compromise, and how I would wire alerting so the noise does not bury the one that matters.

TL;DR: Enable GuardDuty with one API call per region, auto-archive the noisy low-severity findings, and page a human only on the credential-exfiltration finding. The default console click-through leaves it single-region and unalerted, which is how it ends up as a dashboard nobody reads.

Why click-to-enable is not enough

GuardDuty is regional. Turning it on in us-east-1 from the console leaves every other region dark, and an attacker who spins up resources in eu-west-1 generates findings nobody is watching. The Cloud Quest Security lab runs in one region, which hides this, but in a real account the first job is coverage, not the dashboard.

Enable it everywhere, from the org account

From the delegated administrator account you set the org admin per region and auto-enable GuardDuty for current and future member accounts:
# once, per region (there is no "all regions" switch)
aws guardduty enable-organization-admin-account \
--admin-account-id 111122223333 --region us-east-1

DETECTOR=$(aws guardduty create-detector --enable \
--region us-east-1 --query DetectorId --output text)

aws guardduty update-organization-configuration \
--detector-id "$DETECTOR" \
--auto-enable-organization-members ALL --region us-east-1
Loop your active regions. New accounts that join the org inherit it automatically.

The finding that actually means compromise

Most GuardDuty findings are low-severity recon noise: port probes, a login from a new country, traffic to a Tor node. The one I page on is UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS. It fires when credentials handed to an EC2 instance role are suddenly used from an IP outside AWS, which almost always means the instance metadata was stolen and the keys are being used from the attacker's own machine. That is not a maybe. Treat it as an active incident: revoke the role's sessions, snapshot the instance for forensics, and rotate anything that role could reach.

What I would do in a real account

  • Send every finding to EventBridge, not just the console. A finding you have to log in to see is a finding you will miss.
  • Route by severity: high plus the exfiltration finding go to a paging channel; low and medium go to a review queue.
  • Add a suppression rule for the known-noisy types, like Recon findings from your own VPN egress IPs, so the signal is not buried under traffic you already understand.
  • Turn on the S3, EKS, and Malware Protection plans only after the base alerting works. Adding data sources before you can read the output just buys you more noise.
GuardDuty is cheap to turn on and useless if nobody sees it. One enable call per region, one suppression rule for the noise, and one pager rule for the credential-exfiltration finding is the difference between "it's on" and "we would actually notice."
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article