latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

GuardDuty

Amazon GuardDuty for the whole organization, administered from the Security account as its delegated administrator: the management account runs a detector as a member, but administers none.

Across the organization

GuardDuty across the organizationEvery account in the organization has a GuardDuty detector in us-east-1 and us-west-2, the management account included. Each reports its findings to the Security account, the delegated administrator. There, an EventBridge rule sends findings of severity 7 or higher to the hkb-security-events bus, and an SNS topic emails them to the security mailbox. Medium and Low findings stay in the console.AWS CloudAWS Organizations · organization rootManagementthe organization's control planeSecurity OULog ArchiveSecuritySharedServices OUShared ServicesWorkloads OUProd OUProdSDLC OUDevSandbox OUSandboxSuspendedAlerting in Security · us-east-1Detectora member tooDetectorboth RegionsAdministratorholds every findingDetectorboth RegionsDetectorboth RegionsDetectorboth RegionsDetectorboth RegionsemptyEventBridge ruleseverity 7 or higherEvent bushkb-security-eventsSNS topicown KMS keySecurity mailboxemailAuto-enable ALL enrolls each new account with the same protection plans. Medium and Low findings stay in the Security console for review.LegendEvent / logAttached / governsBlueOpens its pagefindingsHigh, Criticalemail
GuardDuty across the organizationOpen full sizeClose

Every account runs a detector in both Regions and reports to Security, the delegated administrator. The High and Critical findings go on to the security mailbox; the rest stay in the console.

Configuration

SettingValue
Delegated administratorhkb-security, registered from the management account at H-7.1
Regionsus-east-1 and us-west-2, a detector in each
Member enrollmentAuto-enable ALL: existing and new accounts, with the same plans. Set by scripts/hand/security.sh gd-enroll, since it has no CloudFormation resource
Management accountA member as well. Its own detector stack, hkb-master-guardduty, goes on first, as AWS requires, and names the same plans so the two never disagree
DetectorDetector in hkb-security-services, imported rather than created: GuardDuty won't delete a delegated administrator's detector. DeletionPolicy: Retain
Protection plans6 on (S3 Protection, Lambda Protection, EKS Protection, Malware Protection for EC2, RDS Protection, Runtime Monitoring), 1 off, every one named in the template
Extended Threat DetectionOn with the service. Correlates findings into attack sequences at no extra cost

Protection plans

A plan left out of the detector's Features list is switched on by default, so every plan is named, on or off, and none starts billing by surprise.

PlanStateWhy
S3 ProtectiononWatches data access in S3, where the logs and the site live. GuardDuty also needs it to correlate S3 attack sequences.
Lambda ProtectiononWatches network activity from Lambda functions, which Control Tower and the pipeline use.
EKS ProtectiononNo Kubernetes clusters yet, so it costs nothing; it watches a cluster's audit logs the moment one exists.
Malware Protection for EC2onScans an instance's volumes only when GuardDuty raises a finding on it, at $0.03 a GB scanned, so it costs nothing until then.
RDS ProtectiononNo databases yet, so it costs nothing; it watches RDS and Aurora sign-ins the moment one exists.
Runtime MonitoringonWatches processes, files and network calls inside workloads. EKS on: GuardDuty manages the agent in any EKS cluster; there is none yet, so $0. ECS on Fargate on: GuardDuty adds the agent to any Fargate task; there is none yet, so $0. EC2 off: the NAT instances have 1 GiB of memory (DQ-129), and the agent would cost up to $9 a month; accepted on budget as GuardDuty.13.
AI ProtectionoffNo AI workloads run in AWS.

Finding routing

As administrator, the Security account's detector holds the findings of every member. An EventBridge rule there forwards findings of severity 7 or higher (High and Critical) to the hkb-security-events bus, and the bus rule sends them through an SNS topic to the security mailbox. Medium and Low findings stay in the console for review, and every finding also reaches Security Hub. Changes to a detector or its members in any account are forwarded the same way, as CloudTrail events.

Response: the GuardDuty findings runbook and the member account runbooks.

Sources

  • Templates and scripts: security/hkb-security-services.yaml, security/hkb-master-guardduty.yaml, baseline/hkb-baseline-events.yaml, scripts/hand/security.sh
  • Decisions: DQ-83, DQ-84, DQ-85, DQ-87, DQ-94, DQ-112

Page information

Owner
Detection and Response
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
security/hkb-security-services.yaml, security/hkb-master-guardduty.yaml, baseline/hkb-baseline-events.yaml, scripts/hand/security.sh
Linked from
Management, Security, Shared Services, Prod, Dev, Sandbox and 2 more