Shellcode Tester for Windows Users
April 13, 2023 ยท View on GitHub
This file shows the specific procedures to Windows users.
General README
Before start this, please, views our general README
Installing Python3
- Download the latest version of Python3 from Python3
- Install Python3 for wide system users (as the step-by-step bellow)
- Make sure to put python at Windows SYSTEM PATH
Installing Python step-by-step
-
Download the latest version of Python3 from Python3 Note: For this project we recommend Python version up to 3.10
-
Execute python installer
-
Select the options
- Install launcher for all users
- Add Python to PATH

-
Select the following optional features
- pip
- py laucher
- for all users

-
Select the following advanced options
- Install for all users
- Associate files...
- Add Python to environment variables

-
Install Python
-
After install, disable path length limit

Set modules folder to windows PATH
After you install any package (as shellcodetester example) using pip install shellcodetester or pythin -m pip install shellcodetester you can receive a message indicating the python scripts folder is not present at SYSTEM Environment PATH, so check this message and path and set this one at your SYSTEM environment PATH

NASM
- Download the latest version of NASM from NASM
- Install NASM
- Put NASM binary folder
C:\Program Files (x86)\NASM\at Windows SYSTEM PATH
ObjDump
- Download Binutils from SourceForge BinUtils
- Create the program files path
C:\Program Files (x86)\BinUtils\ - Extract download file and put all content of
C:\Program Files (x86)\BinUtils\ - Put Binutils binary folder
C:\Program Files (x86)\BinUtils\binat Windows SYSTEM PATH
Install GCC
In order to install GCC you have several options
- Install Visual Studio (the best option)
- Install MinGW64 from Last Release
- Install Dev C++ (the simplest one)
Installing DEV C++
- Download Dev C++ from SourceForge Dev C++
- Install Dev C++
- Put MinGW64 binary folder
C:\Program Files (x86)\Dev-Cpp\MinGW64\binat Windows SYSTEM PATH
Visual C++ 2015-2019
Depending on the version of your Windows maybe you will need install Visual Studio C++
- Download and Install VC_redist.x64.exe
- Download and Install VC_redist.x86.exe
Optional procedures
Depending on what you will test, maybe you will need to disable some windows protections, so follows the instructions.
Disable Windows update
How to Turn Off Automatic Updates on Windows 10
Disable Windows Defender
How to permanently disable Windows Defender Antivirus on Windows 10
Disable Windows Firewall
How to Disable a Windows Firewall
Disable DEP
Open an elevated Command Prompt and run the command bellow
bcdedit.exe /set {current} nx AlwaysOff
Disable ASLR
Download reg file Disable_ASLR.reg
Open an elevated Command Prompt and run the command bellow
Regedit.exe Disable_ASLR.reg
or open an elevated Powershell prompt and run the command bellow
Set-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name MoveImages -Type DWord -Value 0
Disable SEHOP
Download reg file Disable_SEHOP.reg Open an elevated Command Prompt and run the command bellow
Regedit.exe Disable_SEHOP.reg
or open an elevated Powershell prompt and run the command bellow
Set-ItemProperty -Path "HKLM:SYSTEM\CurrentControlSet\Control\Session Manager\kernel" -Name DisableExceptionChainValidation -Type DWord -Value 1