DEF CON 26 - Alexei Bulazel - Reverse Engineering Windows Defenders Emulator

Windows Defender Antivirus's mpengine.dll implements the core of Defender's functionality in an enormous ~11 MB, 30,000+ function DLL. In this presentation, we'll look at Defender's emulator for analysis of potentially malicious Windows binaries on the endpoint. To the best of my knowledge, there has never been a conference talk or publication on reverse engineering any antivirus binary emulator before. We'll cover a range of topics including emulator internals—machine code to intermediate language translation and execution; memory management; Windows API emulation; NT kernel emulation; file system and registry emulation; integration with Defender's antivirus features; the virtual environment; etc.—building custom tooling for instrumenting the emulator; tricks that binaries can use to evade or subvert analysis; and attack surface within the emulator. Attendees will leave with an understanding of how modern antivirus software conducts emulation-based dynamic analysis on the endpoint, and how attackers might go about subverting or attacking these systems. I'll publish code for a binary for exploring the emulator from within, patches that I developed for instrumenting Defender built on top of Tavis Ormandy's loadlibrary project, and IDA scripts to help with analyzing mpengine.dll and Defender's "VDLLs"

DEF CON 32 - Defeating EDR Evading Malware with Memory Forensics - Case, Sellers, Richard, et al.
▶︎

DEF CON 32 - Defeating EDR Evading Malware with Memory Forensics - Case, Sellers, Richard, et al.

DEF CON 33 - Kill List: Hacking an Assassination Site on the Dark Web - Carl Miller, Chris Monteiro
▶︎

DEF CON 33 - Kill List: Hacking an Assassination Site on the Dark Web - Carl Miller, Chris Monteiro

Reverse Engineering a Classic Video Game (BioForge)
▶︎

Reverse Engineering a Classic Video Game (BioForge)

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation
▶︎

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation

DEF CON 33 - Cash, Drugs, and Guns - Why Your Safes Aren't Safe - Mark Omo, James Rowley
▶︎

DEF CON 33 - Cash, Drugs, and Guns - Why Your Safes Aren't Safe - Mark Omo, James Rowley

How a Secret Microsoft Tool Fixed Windows Performance
▶︎

How a Secret Microsoft Tool Fixed Windows Performance

DEF CON 24 - Hardware Hacking Village - Matt DuHarte - Basic Firmware Extraction
▶︎

DEF CON 24 - Hardware Hacking Village - Matt DuHarte - Basic Firmware Extraction

DEF CON 26  - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons
▶︎

DEF CON 26 - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons

We're 99.9% sure this pattern is true, but no one can prove it
▶︎

We're 99.9% sure this pattern is true, but no one can prove it

Windows Device Drivers Internals and some Reversing
▶︎

Windows Device Drivers Internals and some Reversing

Why AI Can Never Escape Turing's 1936 Proof
▶︎

Why AI Can Never Escape Turing's 1936 Proof

Breaking the x86 Instruction Set
▶︎

Breaking the x86 Instruction Set

Electricity Does Not "Split" H₂O. And That's VERY Useful.
▶︎

Electricity Does Not "Split" H₂O. And That's VERY Useful.

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup
▶︎

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Ghidra - Journey from Classified NSA Tool to Open Source
▶︎

Ghidra - Journey from Classified NSA Tool to Open Source

DEF CON 26 - Dennis Giese - Having fun with IoT: Reverse Engineering and Hacking of Xiaomi IoT
▶︎

DEF CON 26 - Dennis Giese - Having fun with IoT: Reverse Engineering and Hacking of Xiaomi IoT

Reversing WannaCry Part 1 - Finding the killswitch and unpacking the malware in #Ghidra
▶︎

Reversing WannaCry Part 1 - Finding the killswitch and unpacking the malware in #Ghidra

Something is jamming GPS over Europe. Here's what we found
▶︎

Something is jamming GPS over Europe. Here's what we found

How Rockstar fit an entire city into PlayStation 2 memory
▶︎

How Rockstar fit an entire city into PlayStation 2 memory

How to Crack any Software
▶︎

How to Crack any Software