Cloud Threat Detection

Defensive monitoring of AWS CloudTrail: synthetic attack generation, a rules engine, an IsolationForest behavioural layer and an IP/access-pattern layer, grouped into incidents with MITRE tactics and an analyst dashboard. Free and open source; no AWS account required.

100%
attack stages detected
synthetic held-out week, 84 injected stages
3.29
false-positive incidents / day
benign week; 0.0 HIGH+ per day
0 / 18 s
time to detect p50 / p95
simulated seconds
6/6
kill chains in one incident
S1→S5 chains grouped
87%
recall vs a stealthy attacker
stealth 0.9: victim's UA, region, hours
12/35
REAL Stratus techniques covered
original 24 rules, held-out (the honest number)
33/35
after adding rules (post-hoc)
written after reading those samples
4553 ms
event → alert, median
live pipeline, 5/5 detected

Read the caveats. The headline synthetic numbers are optimistic: the detectors and the data generator share an author. Real-data checks (flaws.cloud, Stratus Red Team samples) are reported honestly alongside them, including where the project fell short.

Results

Which layer catches what (synthetic held-out week)

Rules, the IsolationForest and the IP layer fail on different scenarios; combined they cover all nine. Rules alone miss impossible travel (S9) entirely.

Recall as the attacker blends in

Each level adds to the previous: the victim's user agent, then their region and a same-country IP, then business hours. Detection by where an attacker connects erodes; detection by what they do holds up better.

Real data: Stratus Red Team technique coverage

The synthetic evaluation said 100%. On real captures of 35 techniques the original rules covered about a third. The right-hand bar is post-hoc: those rules were written after reading these samples.

Full results · Real-data findings · Detection catalogue

The dashboard

Forensics search with pivots and read-only SQL
Forensics search with pivots and read-only SQL
Alerts and incidents queue with triage actions
Alerts and incidents queue with triage actions
Incident investigation: timeline, MITRE chain, why each alert fired, report export
Incident investigation: timeline, MITRE chain, why each alert fired, report export
Overview: live KPIs, alert markers on the event stream, top risky identities
Overview: live KPIs, alert markers on the event stream, top risky identities
Detection quality: ablations, per-scenario results
Detection quality: ablations, per-scenario results
Real data: flaws.cloud and Stratus validation
Real data: flaws.cloud and Stratus validation
Stealth robustness study
Stealth robustness study
Settings: rules, deduplication, sensitivity, webhook
Settings: rules, deduplication, sensitivity, webhook
Attack simulator: inject a labeled attack, compare with what was detected
Attack simulator: inject a labeled attack, compare with what was detected

Run it yourself

docker compose up      # then open http://localhost:8501  (offline demo, no AWS account)