Windows WMI DLL Hijack via Network-placed wbemcomn.dll in System32\wbem
Alerts when System creates wbemcomn.dll in C:\Windows\System32\wbem\, consistent with WMI DLL hijack file staging.
- Product
- windows
- Category
- file_event
- Author
- Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) (SigmaHQ), DRL 1.1
- Published
- 2020-10-12
- Updated
- 2026-07-31
ATT&CK techniques
Execution → Lateral MovementRecon
Resource Dev
Initial Access
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
Identifies creation of a file named wbemcomn.dll under C:\Windows\System32\wbem\ when the process image is System. This pattern matters because placing a WMI-related DLL in that location can enable WMI DLL hijacking to run attacker-controlled code during WMI execution. The rule relies on file creation telemetry (process Image and TargetFilename) that captures the originating process and the destination path.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows WMI DLL Hijack via Network-placed wbemcomn.dll in System32\wbem
id: edcf49e3-345a-42c9-8950-5858f6d2febc
status: test
description: Identifies creation of a file named wbemcomn.dll under C:\Windows\System32\wbem\ when the process image is System. This pattern matters because placing a WMI-related DLL in that location can enable WMI DLL hijacking to run attacker-controlled code during WMI execution. The rule relies on file creation telemetry (process Image and TargetFilename) that captures the originating process and the destination path.
references:
- https://threathunterplaybook.com/hunts/windows/201009-RemoteWMIWbemcomnDLLHijack/notebook.html
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_event/file_event_win_wmiprvse_wbemcomn_dll_hijack.yml
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), Huntrule Team
date: 2020-10-12
modified: 2022-12-02
tags:
- attack.execution
- attack.t1047
- attack.lateral-movement
- attack.t1021.002
logsource:
product: windows
category: file_event
detection:
selection:
Image: System
TargetFilename|endswith: \wbem\wbemcomn.dll
condition: selection
falsepositives:
- Unknown
level: critical
license: DRL-1.1
related:
- id: 614a7e17-5643-4d89-b6fe-f9df1a79641c
type: derived