Getting Started with AWS GuardDuty: Securing Your Cloud Environment with Intelligence

March 11, 2025
8
min read

Introduction

In today’s fast-changing digital world, keeping your cloud infrastructure secure has never been more important. As businesses shift more of their operations to the cloud, they also open the door to new security challenges—from unauthorized access and data theft to more sophisticated attacks like compromised credentials. Even though cloud providers such as Amazon Web Services (AWS) offer strong built-in security features, the sheer complexity and scale of modern cloud environments call for more advanced, proactive threat detection.

That’s where AWS GuardDuty comes in. This smart threat detection service is designed to help protect your AWS accounts, workloads, and data. GuardDuty constantly monitors your AWS environment, using machine learning, anomaly detection, and integrated threat intelligence to spot suspicious activity. Whether it’s flagging unusual API calls, detecting compromised instances, or pinpointing malicious IP addresses, GuardDuty gives you the insights you need to address potential threats before they become serious problems.

In this post, we’ll take a closer look at the features of AWS GuardDuty, explain how it works, and share some best practices for getting it up and running effectively.

What is AWS GuardDuty?

Image Source: aws.amazon.com

AWS GuardDuty is a powerful, continuously operating threat detection service that keeps a vigilant eye on your AWS environment. By monitoring AWS data sources and logs, it provides deep insights into the security posture of your cloud infrastructure. GuardDuty combines threat intelligence feeds—such as lists of malicious IP addresses, domains, and file hashes—with sophisticated machine learning models to spot anomalies and suspicious activity.

Here are some key threat scenarios that GuardDuty is designed to detect:

  • Compromised Credentials: It identifies when AWS credentials may have been stolen or misused, helping to prevent unauthorized access.
  • Data Exfiltration and Destruction: GuardDuty monitors for unusual patterns in data transfers that could signal data breaches or ransomware events.
  • Unauthorized Cryptomining: It detects unexpected cryptomining activities on your Amazon EC2 instances and container workloads, which can often be a sign of malicious exploitation.
  • Malware Detection: The service scans for malware on your EC2 instances, container workloads, and even tracks newly uploaded files in your Amazon S3 buckets.
  • Suspicious System Activities: GuardDuty also keeps track of operating system, network, and file events across your Amazon EKS clusters, Amazon ECS (including AWS Fargate tasks), and other compute services, alerting you to unauthorized behaviors.

GuardDuty works by keeping an eye on all your cloud activities and comparing them with the latest threat information. It spots unusual behavior with smart, built-in analysis so you can quickly address any potential security issues.

Features of Amazon GuardDuty

Amazon GuardDuty offers a variety of features to help you keep a close watch on your AWS environment, quickly spotting potential threats so you can take action. Here’s a breakdown of what it does:

Continuous Monitoring of Data Sources and Logs

  • Foundational threat detection:
    • Once you enable GuardDuty in your AWS account, it immediately starts monitoring key data sources without any extra setup. This includes AWS CloudTrail management events, VPC flow logs from your EC2 instances, and DNS logs. GuardDuty analyzes these logs to uncover any security concerns right out of the box.
  • Extended Threat Detection:
    • Sometimes, individual events might not look suspicious on their own. But when they happen in a certain sequence, they could indicate a more serious, multi-stage attack. GuardDuty’s Extended Threat Detection picks up on these patterns across different AWS resources over time. Once it identifies such a sequence, it alerts you with a detailed finding about the potential attack. This feature comes at no additional cost and is enabled automatically when you set up GuardDuty. To further protect your Amazon S3 resources, consider enabling S3 Protection, which helps catch multi-stage attacks involving your S3 data.
  • Use-Case Focused Protection Plans:
    • For even deeper visibility into your AWS security, GuardDuty offers specialized protection plans. These plans allow you to monitor logs and events from a broader set of AWS services. For example, you can keep an eye on EKS audit logs, RDS login activity, Amazon S3 data events in CloudTrail, EBS volumes, runtime monitoring across services like Amazon EKS, EC2, and ECS-Fargate, as well as Lambda network activity logs. When you activate a protection plan in a supported AWS Region, GuardDuty starts processing and analyzing the relevant data to help you detect threats more accurately.

Protection plans

Image Source: aws.amazon.com

Amazon GuardDuty offers several specialized protection plans to help you secure your AWS resources. Here’s a closer look at each one:

  1. S3 Protection
    • This plan keeps an eye on your Amazon S3 buckets by detecting signs of data exfiltration or attempts to destroy your data.
  2. EKS Protection
    • With EKS Audit Log Monitoring, this plan reviews the Kubernetes audit logs from your Amazon EKS clusters, helping you spot any unusual or potentially harmful activity.
  3. Runtime Monitoring
    • This feature watches over the operating system-level events on your Amazon EKS, EC2, and ECS (including AWS Fargate) environments, alerting you to possible runtime threats.
  4. Malware Protection for EC2
    • By scanning the Amazon EBS volumes attached to your EC2 instances, this plan helps detect any signs of malware. You can also choose to run this scan on demand for extra assurance.
  5. Malware Protection for S3
    • This plan automatically checks newly uploaded objects in your S3 buckets for malware, ensuring that your storage remains secure.
  6. RDS Protection
    • By analyzing login activities, this plan profiles access patterns for your supported Amazon Aurora and RDS databases, alerting you to any suspicious access attempts.
  7. Lambda Protection
    • This plan monitors the network activity logs for your AWS Lambda functions (starting with VPC flow logs), detecting threats such as unauthorized cryptomining or communications with malicious servers.

Each of these protection plans is designed to address specific security challenges in your AWS environment, giving you a tailored approach to keeping your cloud resources safe and secure. For more in-depth information, please visit the official AWS GuardDuty documentation.

Generating Security Findings

Image Source: aws.amazon.com

When GuardDuty detects potential security threats associated with your AWS resources, it generates security findings. These findings provide detailed information about the potentially compromised resource, including the type of threat, severity, and recommended actions.

After enabling GuardDuty in your account, you can generate sample findings to familiarize yourself with the format and details of these alerts. For a complete list of security findings, check out the GuardDuty Finding Types documentation.

To further understand how to review and respond to findings, GuardDuty provides a tester script that generates specific security findings in a dedicated account. This is a great way to simulate threats and practice your response workflow. Learn more in the Test GuardDuty Findings guide.

Assessing and Managing Security Findings

GuardDuty consolidates security findings across all monitored accounts and displays them in the Summary Dashboard on the GuardDuty console. This centralized view provides a holistic overview of your security posture, helping you identify trends and potential issues.

You can also retrieve findings programmatically using the AWS Security Hub API, AWS Command Line Interface (CLI), or AWS SDK. This flexibility allows you to integrate findings into your existing workflows and take necessary remediation steps. For more information, see Managing GuardDuty Findings.

Integration with other AWS Security Services

GuardDuty works even better when paired with other AWS security services, enhancing your ability to analyze trends and investigate issues. Here’s how you can benefit from these integrations:

1. AWS Security Hub

Image Source: aws.amazon.com

AWS Security Hub brings together security findings from multiple AWS services, including GuardDuty, to provide you with a clear view of your overall security posture. By integrating GuardDuty with Security Hub, you can:

  • Centralize Findings: Consolidate security alerts from different accounts and services into one easy-to-navigate dashboard.
  • Prioritize Issues: Quickly identify and focus on high-priority security issues.
  • Simplify Compliance: Streamline compliance checks and remediation efforts with organized, actionable insights.

2. Amazon Detective

Amazon Detective makes security investigations simpler by automatically collecting and analyzing log data from your AWS resources. With advanced analytics and visualizations, Detective helps you uncover the root causes behind security alerts. When integrated with GuardDuty, you can:

  • Investigate Faster: Dive into detailed visualizations that simplify the investigation process.
  • Gain Deeper Insights: Understand the full scope and nature of potential threats.
  • Utilize Prebuilt Summaries: Benefit from pre-aggregated data for quicker context and decision-making.

3. Amazon EventBridge

Image Source: aws.amazon.com

Amazon EventBridge helps you stay on top of security events by delivering near-real-time notifications for GuardDuty findings. This integration ensures you’re alerted immediately when something unusual is detected, allowing you to respond quickly. With EventBridge, you can:

  • Automate Alerts: Customize notification settings to fit your operational needs.
  • Speed Up Responses: Trigger automated workflows or manual interventions as soon as a security event occurs.
  • Enhance Visibility: Maintain a continuous pulse on your security landscape with tailored alerts.

Together, these integrations create a powerful ecosystem that not only identifies threats but also provides the context and tools necessary for a rapid and effective response.

AWS GuardDuty Pricing Breakdown

1. Pricing Overview

  • Pay-As-You-Go Model:
  • AWS GuardDuty charges you based on the volume of security logs and events it analyzes. This means you only pay for the data your environment actually generates.
  • Two Main Pricing Areas:GuardDuty pricing is divided into:
    • Foundational Threat Detection: This is the baseline service that continuously monitors key data sources.
    • Protection Plans: Optional, specialized plans that extend threat detection to additional AWS services.

2. Foundational Threat Detection Pricing

  • CloudTrail Management Events:
    • GuardDuty continuously processes CloudTrail management events (control plane operations). The pricing is based on the number of events—charged per 1 million events per month, and costs are prorated.
  • VPC Flow Logs and DNS Query Logs:
    • These are analyzed on a per-GB basis. As your log volume increases, volume discounts apply, making it cost-effective as you scale.
  • Free Trial:
    • New AWS accounts get a 30-day free trial for GuardDuty. During this period, you can explore all features (with the free trial also applicable to new protection plans, except for Malware Protection, which follows its own free tier rules).

3. Protection Plans

Beyond the core (foundational) threat detection, you can optionally enable additional protection plans that target specific AWS services or workloads. These include:

  • S3 Protection:
    • Analyzes CloudTrail S3 data events for signs of data exfiltration or unauthorized changes. Pricing is based on the number of events (charged per 1 million events) and discounted by volume.
  • EKS Protection:
    • Uses audit logs from your Amazon EKS clusters to detect suspicious Kubernetes activity. The pricing is also measured per million audit log events.
  • Runtime Monitoring:
    • This feature watches for unusual operating system behaviors on your Amazon EKS, EC2, or ECS workloads (including Fargate). Charges are based on the number of virtual CPUs (vCPUs) monitored. For example, pricing examples show how monitoring a set number of vCPUs translates into monthly costs, with discounts for higher volumes.
  • Malware Protection:
    • For EC2: Scans Amazon EBS volumes attached to your EC2 instances or container workloads. Charges depend on the total GB of data scanned (with a prorated cost per GB).
    • For S3: Automatically scans newly uploaded objects in your S3 buckets for malware. Pricing is calculated per GB scanned and per number of objects evaluated.
Note that for S3, there’s a 12-month Free Tier (1,000 free requests and 1 GB per month) for new accounts, with cost reductions implemented over time.
  • RDS Protection:
    • Analyzes login activity on supported Aurora and RDS databases. Pricing is based on the number of vCPUs (or Aurora Capacity Units for Aurora Serverless v2) for the database instances being monitored.

Each protection plan is designed to add another layer of security by focusing on specific areas of your AWS environment. You can turn these on or off at any time, and the GuardDuty console provides an ongoing estimate of your monthly costs by data source.

4. Pricing Examples

The pricing page also offers practical examples to help you estimate your monthly spend:

  • CloudTrail Management Events Example:
    • Processing 40 million events in one month in a specific region (e.g., US East (N. Virginia)) might cost around $160.
  • VPC Flow Logs and DNS Query Logs Example:
    • If you process 3,000 GB of logs, the pricing is broken down in tiers (e.g., first 500 GB, next 2,000 GB, and the remaining 500 GB), totaling around $1,625.
  • Runtime Monitoring Example:
    • Pricing is provided for various scenarios based on the number of vCPUs being monitored. For instance, monitoring four EKS workloads (with a combined 16 vCPUs) might cost approximately $24 per month.
  • Malware Protection Example:
    • Detailed examples show how costs are calculated for scanning EBS volumes or S3 objects, with costs broken down per GB scanned and per thousand requests.
  • RDS Protection Example:
    • The cost is illustrated by calculating charges based on the number of vCPUs in use by your database instances.

These examples illustrate how pricing scales with your environment’s activity and resource usage, making it easier to estimate costs using the AWS Pricing Calculator.

5. Additional Considerations

  • Regional Variations:
    • Prices can vary by AWS Region. Always consult the pricing page or your AWS console to get region-specific pricing information.
  • Dynamic Pricing:
    • As AWS optimizes its services and log sources evolve, pricing may change. Regularly review the GuardDuty pricing page for updates.
  • Cost Monitoring:
    • The GuardDuty console provides a detailed breakdown of your estimated monthly costs by each data source, so you can keep track of your spend in real time.

This breakdown provides a comprehensive look at how AWS GuardDuty is priced, giving you an understanding of both the foundational services and the optional protection plans that can further secure your AWS environment. For the most current details and any changes to pricing, refer to the AWS GuardDuty Pricing page.

Optimize Costs with Cloudchipr

While AWS GuardDuty offers robust, real-time threat detection and security insights for your AWS environment, managing your cloud infrastructure effectively goes beyond security alone. That’s where Cloudchipr comes in. Our multi-cloud management and cost optimization platform works seamlessly alongside AWS security services to help you balance performance, security, and budget across AWS, Azure, and GCP.

Key Features of Cloudchipr

Automated Resource Management:

Identify and eliminate idle or underutilized resources with intuitive, no-code automation workflows. This helps reduce wasteful spending while maintaining a secure, efficient cloud environment.

Rightsizing Recommendations:

Get data-driven suggestions on optimal instance sizes, storage configurations, and compute resources. Achieve the performance you need without overspending, ensuring a robust foundation for your security measures.

Commitments Tracking:

Monitor your Reserved Instances and Savings Plans to maximize their utilization. With clear visibility into your commitments, you can optimize costs while supporting your security investments.

Live Usage & Management:

Track real-time resource consumption and performance metrics across AWS, Azure, and GCP. Quickly identify inefficiencies and make proactive adjustments, complementing your AWS GuardDuty insights for a holistic view of your cloud operations.

Try Cloudchipr Risk-Free

Experience the power of integrated cloud management and cost optimization with our 14-day free trial—no obligations, no hidden fees. Discover how Cloudchipr can enhance your cloud security strategy and help you maintain a high-performance, cost-efficient environment alongside AWS GuardDuty.

Conclusion

AWS GuardDuty is a powerful ally in securing your cloud environment. By continuously monitoring your AWS resources and leveraging advanced techniques like machine learning and threat intelligence, GuardDuty provides you with the insights needed to stay ahead of emerging security threats.

In today’s complex digital landscape, it’s not enough to rely solely on built-in security features. GuardDuty enhances your overall security posture by detecting everything from compromised credentials and data exfiltration to unauthorized cryptomining and malware. Its robust protection plans allow you to tailor your security strategy, whether you’re focusing on S3, EKS, runtime environments, or even RDS and Lambda.

Additionally, the transparent, pay-as-you-go pricing model—complete with a free trial—makes it accessible for organizations of any size. With detailed cost breakdowns and integration with tools like AWS Security Hub and Amazon Detective, GuardDuty empowers you to manage risks proactively while keeping an eye on budget and compliance.

Ultimately, AWS GuardDuty isn’t just about monitoring your cloud; it’s about providing actionable insights so you can respond quickly and confidently to potential threats. Whether you’re just starting your cloud journey or looking to bolster your existing defenses, GuardDuty offers a flexible, scalable solution to help you secure your AWS environment today and into the future.

Share this article:
Subscribe to our newsletter to get our latest updates!
Thank you!
Your submission has been received!
Oops! Something went wrong while submitting the form.
Related articles