PsExec is Microsoft's replacement for Telnet and can be downloaded from https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx.
The PsExec module is normally utilized by attackers to obtain access to, and communicate with, the remote system on the network with valid credentials:
Originally, the executable was designed for system internals to troubleshoot any issues as part of the framework. The same can now be utilized by running the PsExec Metasploit module and performing remote options. This will open up a shell; testers can either enter the username and password, or just pass the hash values so there ...