"Threat detection means agents on every server." Not to start. When you turn on Amazon GuardDuty, it begins analysing logs that AWS already produces for your account. There is nothing to install for the basics, and within minutes you get findings instead of raw log lines.
What GuardDuty is
GuardDuty is a threat detection service that continuously monitors your AWS accounts. It combines threat intelligence feeds (lists of known malicious IP addresses, domains and file hashes) with machine learning models to spot activity that looks malicious or out of place, then raises a finding with a severity, the affected resource and the details.
The foundational sources
As soon as it is enabled, GuardDuty analyses three foundational data sources, with no extra setup and no need to turn those logs on yourself:
- AWS CloudTrail management events: who called which API (see CloudTrail explained).
- VPC flow logs from your EC2 instances: who talked to whom on the network.
- DNS logs: which domains your resources looked up.
From those it detects things like compromised credentials used from an unusual place, cryptomining on an EC2 instance, or a server communicating with a known command-and-control address.
Protection plans go deeper
Optional protection plans add more sources: S3 Protection (S3 data events), EKS Protection (Kubernetes audit logs), Runtime Monitoring (operating system events on EKS, EC2 and ECS including Fargate, which uses a GuardDuty security agent), Malware Protection for EC2, S3 and AWS Backup, RDS Protection (login activity) and Lambda Protection (network activity). New accounts get a 30-day free trial that includes most plans, so you can see the cost before you commit.
Extended Threat Detection is on by default at no extra cost. It links events that look harmless on their own into an attack sequence across resources and time, for example credential access followed by unusual S3 activity, and reports it as one critical finding.
A common mistake is enabling GuardDuty in one Region only. Attackers love the Regions you never use; enable it everywhere, ideally for the whole organization through a delegated administrator account.
Where AI fits
Machine learning is how GuardDuty notices behaviour that does not look like you: its anomaly detection learns the usual pattern of API calls for an identity and flags requests that break it, such as an API invoked in an unusual way or from an unusual network.
For AI workloads there is now an AI Protection plan. It analyses CloudTrail data events from Amazon Bedrock, Bedrock AgentCore and SageMaker AI to detect threats such as anomalous model invocations and cost harvesting (someone using your credentials to run expensive models). AWS also offers AI-powered GuardDuty Investigation, currently in preview, which summarises findings with a risk assessment and next steps.
Quick recap
- Turn it on: CloudTrail, VPC flow logs and DNS logs are analysed with no agents.
- Plans add depth: S3, Kubernetes, runtime, malware, RDS, Lambda and AI workloads.
- Findings, not raw logs, with attack sequences linked for you and a 30-day free trial.