Skip to main content

Impacket — wmiexec

Semi-interactive shell. Runs as user (not SYSTEM).

Execute Single Command


CrackMapExec (WMI)

CrackMapExec has no wmi protocol. Run the command over smb with the wmiexec exec method, or use NetExec’s native wmi protocol.

PowerShell (From Windows)

wmic


Advantages

  • No binary uploaded to target
  • Uses WMI (port 135 + dynamic)
  • Less detection than PsExec
  • No service creation

Limitations

  • Semi-interactive (not fully interactive)
  • Output via SMB share (needs ADMIN$ access)
  • Runs as calling user, not SYSTEM

Quick Reference