Cloud Security
Intermediate 16 min read Cloud Security
Threat Detection in the Cloud
Cloud threat detection as a layered sensor: what managed services (GuardDuty, Defender, Security Center) watch, their blind spots, and how to tune them into a working signal.
GuardDutythreat detectionmanaged detectionfindingbaselineSIEM
Introduction
What is this?
Cloud-native detection ingests trail, flow, DNS, and workload data and scores anomalies into 'findings' — alerting on behavior the flat rules miss.
Motivation
Why do you need it?
- Detection turns your cloud configuration from passive risk into active response surface—the difference between a demo and a practice.
- Managed detection covers high-signal cases (crypto, brute force, unusual egress) with near-zero tuning on day one.
- Understandtuning gives you ownership: a finding queue you don't tune is a noise floor you pay for twice.
Think about it
Mental model
Imagine
Fire alarm vs guard
Think of
The alarm is default-on; the guard is what remembers the last three funny smells
Managed detection is the alarm; you are the guard who learns the building's normal hum.
Mechanics
How it works
- The service reads the audit trail + flow/DNS logs and applies ML/behavior models for anomalies.
- Findings carry severity, a threat purpose (CryptoCurrency, Stealth, Backdoor), and a suggested action.
- Alerts stream to your SIEM or a dedicated bucket where you correlate and decide.
- Baseline learning means a truly new behavior can fire alerts that flat regex rules would miss.
From cloud event to a tuned finding
Eventstrail, flow, DNS, workload logs
Modelbehavior + signature scoring
Findingseverity, purpose, suggested action
QueueSIEM or dedicated store
Tunebaseline, suppress the proven-benign
Real world
In production
- A bank's GuardDuty flags 'crypto' from an unknown instance — an instant cross-account sweep kills the mining workload.
- An org maps every finding severity to an SLA: critical → 15 min triage, unknown → daily review.
- A company feeds findings into their SIEM and correlates with a leaked-key alert for a two-sided incident story.
Guidelines
Best practices
- Enable detection in every region and account at provisioning time; inconsistencies hide 'blind account' risk.
- Triage every finding with a decision (real/benign/total), and tell the tool your verdict so it learns.
- Stream findings to your SIEM with full context; never react to the raw queue without enrichment.
- Periodically review suppressed findings — suppression is a control, not a deletion of memory.
Watch out
Common mistakes
- Enabling detection and never triaging: an 'alert tool' you don't read is a false sense of coverage.
- Silently suppressing a finding family that was actually serious, 'because it's usually benign'.
- Not scoping the detector's account boundary — a misfit detector can't see the real perimeter.
- Tuning everything to no-alerts; the goal is honorably calibrated alerting, not silence.
When things break
Debugging tips
- When a finding has no action yet, pull the underlying trail/flow logs it was built from before judging it.
- Compare the finding's timestamp against billing/access data to size the actual impact.
- Retest a suppressed category after a config change; the baseline may have moved.
Security
Security considerations
- Findings are evidence: retain the raw detection data with the same care as audit logs.
- Keep detection configuration as code so a new account proves probe coverage without a manual checklist.
Interviews
Interview checkpoint
Test yourself
Quick quiz
0/2
1
A managed detection service is most valuable when...
2
Suppressing a finding family without a verdict is...
Go deeper