Skip to content

whokilleddb/lordran.polymorphic.shellcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lordran.polymorphic.shellcode

"Buy Me A Coffee"

This mini project was inspired by the following meme tweeted by @jamieantisocial:

And, I found it really interesting so here is a mini PoC of some of the things mentioned in the meme.

Objectives

I had 3 main objectives with this program - Produce a shellcode which :

  • Does normal execution stuff
  • Overwrites previously executed stub to prevent forensic analysis
  • Reuse the memory segment for executing new shellcode

Usage:

Compile everything with:

$ make

Running the EXE:

$ ./overwrite.exe

Running the shellcode:

$ python runshellcode.py shellcode.bin

Output

First, you should get a MessageBox popup with the text: Bonfire, which signifies that the first part of the shellcode has run successfully, and then a Hello World messagebox as a result of the execution of the second shellcode blob

Notes:

K. Bye.

About

Things i do because i saw it on twitter on a weekend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published