LinuxCommandLibrary

nxc-wmi

TLDR

Check WMI credentials

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

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.
nxc wmi executes via WMI.

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), wmic(1), impacket(1)

Copied to clipboard