Lucene search
K

win32/xp sp3 (Ru) IsDebuggerPresent() 9 bytes

🗓️ 10 Mar 2010 00:00:00Reported by lord KelvinType 
zdt
 zdt
🔗 0day.today👁 16 Views

win32/xp sp3 (Ru) IsDebuggerPresent() 9 bytes exploi

Code
=============================================
win32/xp sp3 (Ru) IsDebuggerPresent() 9 bytes
=============================================

Tested on Windows XP Pro Rus sp3. Should work anywhere, starting with WinNT.
33 C0        xor eax,eax
64 8B 50 30  mov edx,[fs:eax+0x30]
8A 42 02     mov al,[edx+2]

The idea is simple - we copy PEB adress from TIB (dword [fs:0x30]) and return DebuggerPresent byte (byte [PEB+2]).
 
We can go even further, get value in ecx and use jump if ecx zero.
 
33 C1        xor eax,ecx
64 8B 51 30  mov edx,[fs:ecx+0x30]
8A 4A 02     mov cl,[edx+2]
E3 ??        jecxz noDebugger
 
P.S. coded via lord Kelvin



#  0day.today [2018-01-24]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Mar 2010 00:00Current
7High risk
Vulners AI Score7
16