A forum for reverse engineering, OS internals and malware analysis 

Forum for discussion about kernel-mode development.
 #21866  by FileSystem_Driver
 Sun Jan 05, 2014 6:25 am
hi ,
I wrote a filter driver that will hook processing functions ,I want to detect that Which process runs in debug mode at runtime ?
I first got the Peb structure address and then got a field value BeingDebug , This field has the wrong number ,

Please tell me how can I detect that a debugger executes the process? thanks ,