Skip to content

mobdk/CloneProcess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CloneProcess

Clone running process with ZwCreateProcess (syscall)

Compile as https://github.com/mobdk/compilecs and insert entrypoint Executing: rundll32 CloneProcess.dll,#1 or rundll32 CloneProcess.dll,DllMain

Tested on 64 bit Windows 10 build 2004 19041.572

Cloning non admin process works also, if one like to clone svchost.exe with arguments fx: svchost.exe -k PrintWorkflow -s PrintWorkflowUserSvc

int ProcId = FindTheRightPID("svchost.exe", "PrintWorkflow", "PrintWorkflowUserSvc", ""); FindTheRightPID will return the correct PID

Cloning admin process like lsass.exe fx: int ProcId = FindTheRightPID("lsass.exe", "", "", ""); rundll32 CloneProcess.dll,#1 must be running as admin.

About

Clone running process with ZwCreateProcess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages