Skip to main content

AWS GuardDuty

AWS GuardDuty is Amazon Web Services' intelligent threat detection and continuous security monitoring service that analyzes and identifies malicious activity, unauthorized behavior, and potential security threats across AWS accounts and workloads. This managed threat intelligence service provides comprehensive security monitoring and anomaly detection for cloud infrastructure and applications.

CategoryVulnerability management
DirectionQuery source
Sign-inAWS IAM Credentials
Query languagesSTIX
Websitehttp://aws.com

Before you start​

Huntbase signs in to AWS GuardDuty with AWS IAM Credentials. Create the credential in AWS GuardDuty first, then keep it to hand for the Connect step.

  1. In the IAM console, attach the AWS managed policy AmazonGuardDutyReadOnlyAccess to the IAM user that Huntbase will use, or to the role it will assume.
  2. Choose Users, choose the user name, and on the Security credentials tab, in the Access keys section, choose Create access key.
  3. Choose Other, then choose Next and Create access key.
  4. On the Retrieve access key page, choose Show and copy the access key ID and secret access key.
  5. If you use a role, allow the user to call sts:AssumeRole on it, and make sure the role's trust policy names the user as a principal.

Permissions:

  • AmazonGuardDutyReadOnlyAccess (AWS managed policy)
Watch out for
  • The secret access key is shown only once, when you create the key.

For the vendor's own instructions, see AmazonGuardDutyReadOnlyAccess policy reference.

tip

Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.

Connect AWS GuardDuty​

  1. Go to Connections and click New connection, or click New connection on the AWS GuardDuty product page.
  2. On Product, pick AWS GuardDuty and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Settings​

Where your AWS GuardDuty lives:

FieldRequiredNotes
RegionYesThe AWS Region where GuardDuty is enabled, such as us-east-1.
Detector IDsNoOptional, comma-separated. You can find the detector ID for the current Region on the Settings page of the GuardDuty console.

Credentials​

The only Method is AWS IAM Credentials. Enter a Credential label (for example Production), then fill in:

FieldRequiredNotes
AWS Access Key IDYesAWS Access Key ID is required for both AWS key-based and role-based authentication. Secret — not shown again after you save it.
AWS Secret Access KeyYesAWS Secret Access Key ID is required for both AWS key-based and role-based authentication. Secret — not shown again after you save it.
AWS IAM RoleNoOptional. The ARN of the role to assume, in the format arn:aws:iam::ACCOUNT-ID:role/ROLE-NAME. The access keys are still required. Secret — not shown again after you save it.

Query it​

Once connected, AWS GuardDuty can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
STIXSTIX patterns for indicator sweeps, translated into the product's native search.

Next steps​