Windows WMI Persistence: Script Event Consumer File Writes (scrcons.exe)
Flags file writes performed by scrcons.exe, indicating potential WMI script event consumer persistence activity.
- Product
- windows
- Category
- file_event
- Author
- Thomas Patzke (SigmaHQ), DRL 1.1
- Published
- 2018-03-07
- Updated
- 2026-07-31
ATT&CK techniques
Persistence → Priv EscRecon
Resource Dev
Initial Access
Execution
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags file write events involving the WMI script event consumer executable located at C:\WINDOWS\system32\wbem\scrcons.exe. Attackers can use WMI event consumers to achieve persistence by executing scripts in response to system or management events. Detection relies on Windows file event telemetry that records writes to this specific WMI component, as well as the executable path in the event data.
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 Persistence: Script Event Consumer File Writes (scrcons.exe)"
id: d14a6bbe-7f57-4fe9-aad3-907846abe09c
status: test
description: This rule flags file write events involving the WMI script event consumer executable located at C:\WINDOWS\system32\wbem\scrcons.exe. Attackers can use WMI event consumers to achieve persistence by executing scripts in response to system or management events. Detection relies on Windows file event telemetry that records writes to this specific WMI component, as well as the executable path in the event data.
references:
- https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_event/file_event_win_wmi_persistence_script_event_consumer_write.yml
author: Thomas Patzke, Huntrule Team
date: 2018-03-07
modified: 2021-11-27
tags:
- attack.privilege-escalation
- attack.t1546.003
- attack.persistence
logsource:
product: windows
category: file_event
detection:
selection:
Image: C:\WINDOWS\system32\wbem\scrcons.exe
condition: selection
falsepositives:
- Dell Power Manager (C:\Program Files\Dell\PowerManager\DpmPowerPlanSetup.exe)
level: high
license: DRL-1.1
related:
- id: 33f41cdd-35ac-4ba8-814b-c6a4244a1ad4
type: derived