Detecting Reflective Injection
Andrew King explores detecting reflective injection at DEF CON 20, examining reflective-dll-injection and practical defenses.
Summary
Architecture and Background
Copy of the slides for this talk are here: Detecting Reflective Injection Andrew King Contract Researcher, GrayHat Research, LLC This talk will focus on detecting reflective injection with some mildly humorous notes and bypassing said protections until vendors start actually working on this problem. It seems amazing that reflective injection still works. Why is that?
Vulnerability Analysis
Because programmers are lazy. They don't want to write new engines, they want to write definitions for an engine that already exists. So what do we do about it?
Exploitation and Demonstrations
Release a $5 tool that does what $50 AV has failed epically at for several years now...oh and it took me a week or so...Alternately, you could license it to vendors since their programmers are lazy. Andrew King is a recent graduate. He has been a hobbyist for many years, but has only recently tried to transition into information security as a job field.
Remediation and Defensive Strategies
A previous talk was given at ToorCon on polymorphism as it relates to definitions. He wrote a set of articles demonstrating implementation of simple internal to function encoding and decoding. Additional code will be released to demonstrate automation of binary patching to use this method without using a debugger. It is not a fully functional evasion tool, but it does demonstrate pushing this level of obfuscation into a more automated arena. Adding a couple of small code sections could turn this in to a usable evasion tool. Twitter: @aking1012
Related talks
Blue Team Village·1 hr
Connor Morley
Connor Morley analyzes Windows in-memory injection techniques—including process hollowing and thread hijacking—and how defenders detect them.
Main Stage·44 min
Andrew Case · Chad Sellers · Golden G. Richard III
Memory forensics techniques and Volatility 3 plugins designed to detect direct syscalls, module stomping, and EDR bypasses.
Main Stage·47 min
Ryan O'Neill
Ryan O'Neill introduces the Extended Core File Snapshot (ECFS) format, enabling granular dead-state forensic reconstruction of injected Linux processes.


