CSCTF 2026 · Forensics · 270 pts
Code Red Freight.
Two devices registered a day apart from different IPs — only one of them matches the attacker's IP from the phishing sign-in.
| Event | CSCTF 2026, Operation Dawn (online jeopardy) |
|---|---|
| Category | Forensics |
| Points | 270 |
| Status | Solved during the event |
| Target | unified audit log, offline |
TL;DR. A device-code phishing attack's registered device, forwarding rule, and resulting downloads are each pinned down by cross-referencing timestamps and source IPs across the Entra audit log — distinguishing the attacker's new device from the victim's existing one, and the malicious rule from a benign one.
Challenge
Identify the attacker's registered device, the inbox rule it created, and exactly what it downloaded, from a compromised mailbox's audit trail.
Solution
The audit log shows a "Register device" event for D3VC0DE-R3L4Y (device ID 95caec44-c8af-4786-976c-73bd33d9d143) at 15:05 from 203.0.113.77 — immediately after the victim signed in from that same IP following the device-code phishing flow. A second device, R3M0TE-W0RK-PC, registered a day earlier from 198.51.100.24, which is the victim's own normal IP — not the attacker's.
The unified audit log shows a New-InboxRule event at 15:28:57, also from 203.0.113.77, creating a rule named M4N1F3ST-L3AK that forwards to an external address with StopProcessingRules set (a classic exfiltration-rule marker, hiding the forward from the victim). A second rule, "Newsletters", is unrelated and benign.
Exactly 4 FileDownloaded events originate from 203.0.113.77, all within a one-minute window: a notes document, an investor-relations presentation, an aerial photo, and a local resource guide.
Flag
CSCTF{D3VC0DE-R3L4Y_M4N1F3ST-L3AK_4}What I took from it
- In a BEC investigation, cross-referencing the attacker's own sign-in IP against every later audit event is what separates their new device and rule from the victim's pre-existing, legitimate ones.