What is Amazon GuardDuty? - Amazon GuardDuty

What is Amazon GuardDuty?

Amazon GuardDuty is a threat detection service that continuously monitors your AWS environment for potential security risks. GuardDuty analyzes and processes Foundational data sources, such as AWS CloudTrail management events, AWS CloudTrail event logs, VPC flow logs (from Amazon EC2 instances), and DNS logs. GuardDuty also offers monitoring logs and events from other AWS services. These sources include Kubernetes audit logs, RDS login activity, S3 logs, EBS volumes, Runtime monitoring, and Lambda network activity logs. GuardDuty consolidates these log and event sources under the term - Features.

GuardDuty uses threat intelligence feeds, such as lists of malicious IP addresses and domains, and machine learning (ML) models to identify unexpected, potentially unauthorized, and malicious activity within your AWS environment. This includes issues such as escalation of privileges, use of exposed credentials, or communication with malicious IP addresses, domains, presence of malware on your Amazon EC2 instances and container workloads, or discovery of unusual patterns of login events on your database.

For example, GuardDuty can detect potentially compromised EC2 instances and container workloads serving malware, or mining bitcoin. It also monitors AWS account access behavior for signs of potential compromise, such as unauthorized infrastructure deployments – instances deployed in a Region that hasn't been used before, or unusual API calls – password policy changed to reduce password strength.

When enabled, GuardDuty provides visibility into the security posture of your AWS environment. When it identifies a potential security risk, it generates a finding and provides further details. You can also set up Amazon EventBridge to receive notifications when GuardDuty generates a finding. GuardDuty also recommends steps to remediate the indicative security issues in your environment.

You can export the generated findings to an Amazon Simple Storage Service (Amazon S3) bucket. GuardDuty also integrates with other AWS security-related services, such as AWS Security Hub and Amazon Detective, that can further help you analyze and investigate the security trends in your environment.

Using GuardDuty

You can use GuardDuty in any of the following ways:

GuardDuty console

https://console.aws.amazon.com/guardduty

The console is a browser-based interface to access and use GuardDuty. The GuardDuty console provides access to your GuardDuty account, data, and resources.

AWS command line tools

With AWS command line tools, you can issue commands at your system's command line to perform GuardDuty tasks and AWS tasks. The command line tools are useful if you want to build scripts that perform tasks.

For information about installing and using AWS CLI, see AWS Command Line Interface User Guide. To view the available AWS CLI commands for GuardDuty, see CLI command reference.

GuardDuty HTTPS API

You can access GuardDuty and AWS programmatically by using the GuardDuty HTTPS API, which lets you issue HTTPS requests directly to the service. For more information, see the GuardDuty API Reference.

AWS SDKs

AWS provides software development kits (SDKs) that consist of libraries and sample code for various programming languages and platforms (Java, Python, Ruby, .NET, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to GuardDuty. For information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

Pricing for GuardDuty

When using GuardDuty for the first time, there is a 30-day free trial for each AWS account per AWS Region. For more information, see Pricing.

Supported AWS Regions

For information about AWS Regions where you can enable GuardDuty, see Regions and endpoints.