September 2024
Intermediate to advanced
488 pages
13h 29m
English

Anti-debugging is a series of anti-reversing techniques used by malware (and even some legitimate programs) to hamper or prevent debugging. For example, the malware might try to interfere with the debugger process if it detects that it’s attached to a debugger, or it might try to prevent debugging altogether by using so-called anti-attach mechanisms or crashing the debugger program. In this chapter, we’ll explore some of these techniques in detail.
As you learned in Chapter 1, the Process Environment Block (PEB) is a structure that contains pointers to information in memory ...