> For the complete documentation index, see [llms.txt](https://notes.nomanaziz.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.nomanaziz.me/cybersecurity/penetration-testing/tryhackme/main-methodology/4.-post-exploitation/tools/impackets-psexec.md).

# Impacket's Psexec

PsExec is a portable tool from Microsoft that lets you run processes remotely using any user's credentials. It's a bit like a remote access program but instead of controlling the computer with a mouse, commands are sent via Command Prompt.

[Github Script Link](https://github.com/SecureAuthCorp/impacket/blob/master/examples/psexec.py)

You can also use hashes (PASS THE HASH) instead of passwords to connect.
