Lion Cipher Lab

Lock down Windows execution with AppLocker

Why it matters

Almost every piece of commodity malware, and a huge share of ransomware, works the same dull way: something lands a file in a folder the user can write to — Downloads, the Desktop, %TEMP%, %APPDATA% — and then that file runs, because a phishing lure was convincing or an installer was trojanised or a script fetched a second stage. Antivirus tries to catch this with a blocklist: run anything unless a signature recognises it as bad. That model is always one step behind, because a brand-new or lightly-repacked binary has no signature yet. Application allowlisting flips the default the other way:…

What you'll learn

Steps in this lab

  1. Allowlist vs blocklist: why default-deny stops 'invoice.exe from Downloads'
  2. The building blocks: five rule collections, three rule conditions, the default rules
  3. Turn on the prerequisite (AppIDSvc), then MEASURE BEFORE: run a test file from Downloads
  4. Generate the default rules and roll out in AUDIT ONLY mode (the safe path)
  5. Switch to ENFORCE and MEASURE AFTER: blocked from Downloads (8004), runs from Program Files
  6. The honest limits: admins, LOLBins, DLLs off, and writable trusted paths
  7. Do it better: audit first, AppLocker as the on-ramp, WDAC where it gets serious

Open the full interactive lab →