Windows Defender - Demystifying and Bypassing ASR by Understanding the AV's Signatures
summary
Reverse engineers Windows Defender signature format, extracts compiled Lua scripts in VDM files and builds tooling to decompile and inspect them, uses MPEngine instrumentation (remove PPL, tweak driver hooks, run parts off-Windows) and a custom extractor to track hourly delta updates. Finds ASR rules rely on process-name regexes and exclusion lists (many hardcoded paths like ThinkCell, Teams), discovers hidden/test rules, and demonstrates reliable evasion by removing signature strings or abusing exclusions and name spoofing, all reproducible with released utilities.
AI-written summary · about
chapters (28)
- 0:00Intro
- 0:51ASR: Attack Surface Reduction
- 3:03Journey
- 3:40Windows Defender 101
- 3:57Exploring WD internals
- 5:26WD: instrumentation
- 6:39Test your skills!
- 7:43Hunting for ASR rule implementation
- 9:56Windows Defender signatures
- 10:48Reading LUA scripts
- 12:50ASR: Implementation?
- 14:05ASR implementation. 2 way
- 14:52ASR Test Tool: implementation
- 19:27ASR: working test
- 20:08ASR: exclusion
- 22:11ASR: additional bypass
- 23:13ASR: oddities
- 26:08Signature format
- 27:21Signatures modules
- 29:37Specifics Threat
- 30:34Signature: LUA
- 31:10Signature: DBVAR
- 33:46Signatures: update
- 34:37Update rhythm
- 35:06Update: oddities
- 35:32Update: diffing - Friendly Files
- 36:43Update diffing: C&C
- 37:19Update diffing: unnecessary changes
