Lion Cipher Lab

Detect BITS job abuse (T1197) from the BITS-Client event log

Why it matters

BITS is the quiet download manager built into every copy of Windows. Windows Update uses it, Edge and OneDrive use it, Defender uses it -- so a download through BITS looks like the operating system doing its job. That is exactly why intruders use it: a BITS job can pull a payload over HTTP while blending into the updater noise, survive reboots, and even launch a program of the attacker's choosing when the transfer finishes. MITRE ATT&CK tracks this as T1197, and real groups and malware families use it. A SOC that alerts on 'any BITS job' drowns in Windows Update; a SOC that never looks at…

What you'll learn

Steps in this lab

  1. What BITS is, and why an intruder would bother with it
  2. Where BITS leaves evidence -- and what Microsoft does not document
  3. The persistence half: SetNotifyCmdLine, straight from Microsoft's documentation
  4. Optional: look at the real thing on your own Windows PC (read-only)
  5. Build the synthetic BITS fixture
  6. Join the events into jobs and score six rules
  7. Read the table like an analyst: what each rule got wrong, and why
  8. A real Python gotcha you just avoided: is_private is not 'RFC 1918'
  9. Honest limits -- what this rule cannot see
  10. Where this goes next

Open the full interactive lab →