Overview
Lab details
- This lab walks you through the steps to enable GuardDuty and create some sample findings.
- You will practice using Amazon GuardDuty.
- Duration: 30 minutes
- AWS Region: US East (N. Virginia) us-east-1
Introduction
What is AWS GuardDuty?
Amazon GuardDuty is a threat detection service that continuously monitors your AWS accounts and workloads for malicious activity and delivers detailed security findings for visibility and remediation. GuardDuty uses machine learning, anomaly detection, and threat intelligence to identify and prioritize potential threats. It can detect a wide range of threats, including:- Unauthorized access to your AWS resources
- Suspicious network activity
- Malware infections
- Data exfiltration
- Account takeovers
- Continuous monitoring: GuardDuty continuously monitors your AWS environment for malicious activity, 24/7. This helps you to identify threats early, before they can cause damage.
- Detailed security findings: GuardDuty provides detailed security findings that include information about the threat, the affected resources, and recommended actions. This makes it easy to investigate and remediate threats.
- Integration with other AWS services: GuardDuty integrates with other AWS services, such as AWS Security Hub and Amazon Detective, to help you investigate and respond to threats.
- Cost-effective: GuardDuty is a cost-effective way to protect your AWS environment from threats. There is no upfront cost, and you only pay for the resources that you use.
Architecture diagram

Task details
- Sign into AWS Management Console.
- Enable Amazon GuardDuty**.**
- Explore the Amazon GuardDuty service.
- Generate Sample findings and understand them.
- Disable Amazon GuardDuty.
Launching the lab environment
- To launch the lab environment, Click on the Launch lab button.
- Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
- Once the Lab is started, you will be provided with IAM user name, Password, Access Key, and Secret Access Key.
You can only start one lab at any given time
Lab guide
Lab steps
Task 1: Sign in to AWS Management Console
- Click on the Open console button, and you will get redirected to AWS Console in a new browser tab.
-
On the AWS sign-in page,
- Leave the Account ID as default. Never edit/remove the 12 digit Account ID present in the AWS Console. otherwise, you cannot proceed with the lab.
- Now copy your User Name and Password in the Lab Console to the IAM Username and Password in AWS Console and click on the Sign in button.
- Once Signed In to the AWS Management Console, Make the default AWS Region as US East (N. Virginia) us-east-1.
Task 2: Enabling Amazon GuardDuty
- Make sure to choose the US East (N. Virginia) us-east-1 region in the AWS Management console dashboard, which is present in the top right corner.
- Navigate to the Services menu at the top and click on GuardDuty in the Security, Identity and Compliance section.
-
Click on Get started.

-
Click on Enable GuardDuty. With one click, the service will be enabled.

-
In the Findings page, you will see the warning You don’t have any findings because there is no malicious activity happening in your AWS Account. Ignore the warnings, wherever you find.

Task 3: Exploring Amazon GuardDuty
Settings
- Click on Settings in the left panel.
- You will see a Detector ID. A detector is a resource that represents the GuardDuty service.
- Service roles: GuardDuty uses a service role to monitor your data sources on your behalf.
- Findings export options: Findings are automatically sent to CloudWatch Events. You can also export findings to an S3 bucket. New findings are exported within 5 minutes. No need to change anything.
-
Suspend GuardDuty:
- Suspend GuardDuty: When you suspend GuardDuty, it stops monitoring your AWS environment and doesn’t generate new findings. Your existing findings remain intact and aren’t affected.
- Disable GuardDuty: When you disable GuardDuty, you not only stop GuardDuty from monitoring your AWS environment and generating new findings, you also lose your existing findings and your GuardDuty configurations. You can’t recover the data later.
Lists
- Click on Lists below Settings.
- In the List Manager, you can add the Trusted IP Lists and Threat IP Lists.
If the page is blank, refresh the webpage 2–3 times.
- Trusted IP Lists: Trusted IP lists consist of IP addresses that are whitelisted for secure communication with your AWS environment. GuardDuty does not generate findings for IP addresses that are included in trusted IP lists.
-
Threat IP Lists: Threat lists consist of known malicious IP addresses. GuardDuty generates findings for IP addresses that are included in threat lists.

Accounts
-
Click on Accounts above the settings.

- You can invite other accounts to enable GuardDuty and become associated with your AWS account.
- When an invitation is accepted, your account is designated as the master GuardDuty account.
- The account that accepts the invitation becomes a member account associated with your master account.
- You can then view and manage the GuardDuty findings on behalf of the member account. In GuardDuty, a master account (per region) can have up to 1000 member accounts.
Task 4: Generating Sample Findings
- Since there are no potential threats in our AWS Account, let us generate some sample findings and learn about them.
- Navigate to settings from left panel, scroll down and click on Generate sample findings.
- To find your sample findings, go to Findings from left panel.
-
Wait until the loading is completed. In the top-right corner, you should see several findings.

-
You can use filter criteria to filter your findings.

- Click on one of the sample findings.
-
You can see various parameters like severity, region, Account ID, Resource ID, Resource Affected, etc.

- Go through the sample to learn more about the different severities.
Task 5: Validation of the Lab
- Once the labs steps are completed, please click on Check my work button on right side panel.
- This will validate the resources in the AWS account and displays whether you have completed this lab successfully or not.
- Sample Output:

Task 6: Disabling GuardDuty
- Go to the settings and click on DisableGuardDuty under suspend GuardDuty to stop it.
- Click on Disable to confirm.
-
You have successfully disabled GuardDuty.

Completion and conclusion
- You have successfully used the AWS management console to enable Amazon GuardDuty.
- You have successfully explored the options of Amazon GuardDuty Service like Settings, Lists, and Accounts.
- You have generated some sample findings and reviewed them.
- You have successfully disabled Amazon GuardDuty.
End lab
- Sign out of AWS Account.
- You have successfully completed the lab.
- Once you have completed the steps click on End lab in the IP Lab Portal.
What gets checked
When you press Check my work, the platform verifies each of these:- Check GuardDuty Findings — Check whether Amazon GuardDuty findings are present or not.
- Enable GuardDuty — Check whether the Amazon GuardDuty service is enabled or not.