nxc-wmi

netExec WMI module

TLDR

Check WMI credentials
$ nxc wmi [target] -u [user] -p [password]
Execute command via WMI
$ nxc wmi [target] -u [user] -p [password] -x "[command]"
Query WMI
$ nxc wmi [target] -u [user] -p [password] --wmi "[query]"
Use hash authentication
$ nxc wmi [target] -u [user] -H [hash]

SYNOPSIS

nxc wmi [target] [options]

DESCRIPTION

nxc wmi is the NetExec WMI module. Executes via Windows Management Instrumentation.The tool uses WMI for remote execution. Part of NetExec suite.

PARAMETERS

TARGET

Windows host address.
-u USER
Username.
-p PASSWORD
Password.
-x COMMAND
Execute command.
--wmi QUERY
WMI query string.
-H HASH
NT hash for pass-the-hash.
--help
Display help information.

CAVEATS

Security tool. Authorized use only. Part of NetExec.

HISTORY

nxc wmi provides WMI-based execution capabilities within NetExec.

SEE ALSO

nxc(1), impacket(1)