Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2013, 20:30
Coldzer0 Coldzer0 is offline
Friend
 
Join Date: May 2013
Posts: 20
Rept. Given: 7
Rept. Rcvd 12 Times in 6 Posts
Thanks Given: 19
Thanks Rcvd at 79 Times in 17 Posts
Coldzer0 Reputation: 12
MASM RunPE Shell Code

First I don't know if this the Right forum to post My code

so

Here's My MASM Shell Code

http://pastebin.com/32Ntt5zG#

and Shell AS Bytes ( Delphi )

http://pastebin.com/tFP1UpqR#

and remember

{
XOR AL,00h ; XOR Key 1 (Byte Number $686 )
XOR AL,00h ; XOR Key 2 (Byte Number $684)
}

{
NewRunPE [$684] := KEY2;
NewRunPE [$686] := KEY1;
}

i hope it helps
Reply With Quote
The Following User Gave Reputation+1 to Coldzer0 For This Useful Post:
nikre (09-23-2013)
The Following User Says Thank You to Coldzer0 For This Useful Post:
Dr.FarFar (11-20-2021)
  #2  
Old 09-26-2013, 18:43
DaGoN DaGoN is offline
Friend
 
Join Date: Jan 2004
Posts: 45
Rept. Given: 15
Rept. Rcvd 6 Times in 4 Posts
Thanks Given: 25
Thanks Rcvd at 18 Times in 7 Posts
DaGoN Reputation: 6
Thanks Coldzer0, i'll try it. Is it works also in x64 machine?
Reply With Quote
The Following User Gave Reputation+1 to DaGoN For This Useful Post:
Coldzer0 (09-26-2013)
  #3  
Old 09-26-2013, 20:19
Coldzer0 Coldzer0 is offline
Friend
 
Join Date: May 2013
Posts: 20
Rept. Given: 7
Rept. Rcvd 12 Times in 6 Posts
Thanks Given: 19
Thanks Rcvd at 79 Times in 17 Posts
Coldzer0 Reputation: 12
thanks DaGoN for reply

and yes i test it on x64 and x32

and here's some update in shellcode

i add small code to convert module name to UpperCase

cuz in XP module name in lowerCase and in Win8 it's UpperCase

new code : http://pastebin.com/WgMv0ncX
Reply With Quote
The Following User Gave Reputation+1 to Coldzer0 For This Useful Post:
DaGoN (09-26-2013)
The Following User Says Thank You to Coldzer0 For This Useful Post:
Dr.FarFar (11-20-2021)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 00:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )