Skip to content

This proof-of-concept project demonstrates starting processes under different parent processes in Windows using simulated keystrokes.

License

Notifications You must be signed in to change notification settings

dis0rder0x00/SP-UsersWay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Switching Parents - The User's Way

About

This project demonstrates an alternative approach to start processes under a different parent process. Although this approach is somewhat conspicuous (the user might notice a prompt for a brief moment), it offers an (in my opinion) interesting alternative to more traditional techniques.

How It Works

The method leverages the SendInput Windows function to simulate user inputs. Initially, it triggers the key combination [CTRL] + [R] to open the run dialog. Once this dialog is active, it's possible to input any command. In the current release, the script executes cmd.exe with arbitrary commands. For actual engagements, you might want to replace this with a more tailored payload. 😉

Here's how it behaves on different Windows versions:

  • Windows 10: The new process runs under explorer.exe:

    win10

  • Windows 11: The new process runs under svchost.exe:

    win11

Note

Please be aware that this code's stability hasn't been extensively tested. Therefore, its use should be limited to proof-of-concept scenarios or controlled environments.

I'm 100% sure that there are different key-combinations this technique could use to start a new process. I chose [CTRL] + [R] as it seems to be the least notable to the user, but I'm sure you'll think of the other ways if you'd need it.

About

This proof-of-concept project demonstrates starting processes under different parent processes in Windows using simulated keystrokes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages