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
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
| Setting | Value |
|---|---|
| Delegated administrator | hkb-security, registered from the management account at H-7.1 |
| Regions | us-east-1 and us-west-2, a detector in each |
| Member enrollment | Auto-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 account | A 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 |
| Detector | Detector in hkb-security-services, imported rather than created: GuardDuty won't delete a delegated administrator's detector. DeletionPolicy: Retain |
| Protection plans | 6 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 Detection | On 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.
| Plan | State | Why |
|---|---|---|
| S3 Protection | on | Watches data access in S3, where the logs and the site live. GuardDuty also needs it to correlate S3 attack sequences. |
| Lambda Protection | on | Watches network activity from Lambda functions, which Control Tower and the pipeline use. |
| EKS Protection | on | No Kubernetes clusters yet, so it costs nothing; it watches a cluster's audit logs the moment one exists. |
| Malware Protection for EC2 | on | Scans 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 Protection | on | No databases yet, so it costs nothing; it watches RDS and Aurora sign-ins the moment one exists. |
| Runtime Monitoring | on | Watches 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 Protection | off | No 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
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