Skip to content

C++ script to migrate your running process to another, by injecting your shell code into 64 bit process knowing its id.

Notifications You must be signed in to change notification settings

MrSl3d/Windows-Process-Injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Windows-Process-Injection

C++ script to migrate your running process to another, by injecting your shell code into 64 bit process knowing its id.

Steps

  • Update the code by generating new msfvenom with your local address and local port, noting that the payload used for that code is windows/x64/meterpreter/reverse_tcp, after generating your venom update the "shellcode" variable with your venom.

  • Compile the code using g++ inject.cpp -o inject.exe.

  • Upload your exe file to the target machine.

  • Configure the listner in new metasploit window.

    Screenshot 2021-08-29 171155

  • Choose the target process to which you would like to migrate.

  • run migrate.exe <process_id>

Screenshots

Screenshot 2021-08-29 172638

Screenshot 2021-08-29 172607

About

C++ script to migrate your running process to another, by injecting your shell code into 64 bit process knowing its id.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages