Windows Anti-Debug Reference

by Nicolas Falliere
Sept. 15, 2017 1 comment Symantec Pen Testing & Audits

This paper classifies and presents several anti-debugging techniques used on Windows NT-based operating systems. Anti-debugging techniques are ways for a program to detect if it runs under control of a debugger. They are used by commercial executable protectors, packers and malicious software, to prevent or slow-down the process of reverse-engineering. We'll suppose the program is analyzed under a ring3 debugger, such as OllyDbg on Windows platforms. The paper is aimed towards reverse-engineers and malware analysts. Note that we will talk purely about generic anti-debugging and anti-tracing techniques. Specific debugger detection, such as window or processes enumeration, registry scanning, etc. will not be addressed here.

Steven Ulm 6 months ago

Debugging on Windows. Wow. Good luck with that :) (not saying it is not possible by using the described method(s), but it is a hell of work in doing it...)