Security, Identity, and Compliance
Amazon GuardDuty
Threat detection service that continuously analyzes sources such as AWS CloudTrail events, VPC Flow Logs, and DNS logs. It uses threat intelligence and machine learning to detect suspicious activity, such as compromised credentials or unauthorized cryptocurrency mining.
Exam phrases that point here
«detect malicious activity or unauthorized behavior in AWS accounts»
GuardDuty is the threat detection service: it continuously monitors the activity of accounts and workloads and generates a finding when it sees something suspicious.
When not: If the ask is to investigate the root cause of a finding that has already been detected, it points to Amazon Detective. If you are looking for software vulnerabilities, to Amazon Inspector; if you are looking for sensitive data in S3, to Amazon Macie.
«analyze CloudTrail events, VPC Flow Logs, and DNS logs to identify threats»
Those are exactly GuardDuty's foundational sources, which it reads on its own without you having to enable or store them.
When not: If the requirement is to retain or audit who made each API call, that is AWS CloudTrail. If the ask is to query the logs by hand, think of query tools such as Amazon Athena, not GuardDuty.
«intelligent threat detection without deploying agents or additional software»
GuardDuty's basic protection is enabled in the console and starts analyzing with no sensors, appliances, or changes to resources.
When not: The exception is Runtime Monitoring, which does use an agent. And if the scenario asks to block traffic inline, GuardDuty is not enough: it detects, but the blocking is done by another service (for example, AWS Network Firewall or AWS WAF) or an automation.
«an EC2 instance is communicating with IP addresses associated with cryptocurrency mining»
GuardDuty uses lists of malicious IPs and domains and behavior models to flag compromised instances, such as those talking to mining servers or attacker command-and-control servers.
When not: GuardDuty reports the finding; isolating the instance or closing off access requires a response, often automated with Amazon EventBridge and AWS Lambda.
«detect malware in objects uploaded to an S3 bucket or in EBS volumes»
GuardDuty Malware Protection scans new objects in S3 and copies of EBS volumes from suspicious instances, with no agents.
When not: If what you are looking for in S3 is not malware but personal or confidential information, the service is Amazon Macie.
Often paired with
- AWS CloudTrail
- Amazon EventBridge
- Amazon Detective
- AWS Security Hub