evilcry
September 14th, 2008, 02:42
Hi,
NtSystemDebugControl() is a really powerful undocumented function, that allows you Direct Manipulation of System's Structures.
Here a definition of NtSystemDebugControl:
http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Debug/NtSystemDebugControl.html
The use of this function is only limited to the fancy of the coder
I've rewritten some basical Anti Debugging Techniques with Direct Structure Reading with NtSystemDebugControl. Obviously there are shorter ways to implement these Anti-Dbg Apps, but I think that more reimplementations exists and more are possibilities to trick an attacker, that may not know/understands the application..especially if embedded in many..many.. Junk Code
Here you can download the Source Code sample:
http://evilcry.netsons.org/other/ntsd.zip
Have a nice Day,
Evilcry
NtSystemDebugControl() is a really powerful undocumented function, that allows you Direct Manipulation of System's Structures.
Here a definition of NtSystemDebugControl:
http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Debug/NtSystemDebugControl.html
The use of this function is only limited to the fancy of the coder

I've rewritten some basical Anti Debugging Techniques with Direct Structure Reading with NtSystemDebugControl. Obviously there are shorter ways to implement these Anti-Dbg Apps, but I think that more reimplementations exists and more are possibilities to trick an attacker, that may not know/understands the application..especially if embedded in many..many.. Junk Code

Here you can download the Source Code sample:
http://evilcry.netsons.org/other/ntsd.zip
Have a nice Day,
Evilcry