Skip to content

A simple implementation of Windows Shellcode & Loader written in C++

Notifications You must be signed in to change notification settings

hideckies/shcldr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shellcode & Loader of Windows

Simple implementation of Windows shellcode &loader written in C++.

Install Dependencies

sudo apt install git build-essential nasm g++-mingw-w64 python3-pefile

Compile

We need to compile both shellcode and loader on Linux using MinGW.

# 1. Compile shellcode
cd shellcode && make
file build/shellcode.bin

# 2. Compile loader
cd ldr && make
file build/ldr.exe

Run

Transfer the generated shellcode and loader to Windows machine and execute as below:

.\ldr.exe <PID> <SHELLCODE_PATH>
# e.g.
.\ldr.exe 12345 .\shellcode.bin

About

A simple implementation of Windows Shellcode & Loader written in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published