Potential EDR-Freeze via WerFaultSecure Abuse
editPotential EDR-Freeze via WerFaultSecure Abuse
editIdentifies the Windows Error Reporting Protected Process Light (PPL) binary WerFaultSecure.exe being started by a process other than the Windows Error Reporting service, with command-line arguments used to take a secure memory dump of a target process. Because MiniDumpWriteDump suspends all threads of the target while the dump is produced, an attacker can suspend WerFaultSecure.exe mid-dump to leave the targeted EDR or antivirus suspended ("frozen") without ever terminating it, a defense-evasion technique publicly known as EDR-Freeze.
Rule type: eql
Rule indices:
- winlogbeat-*
- logs-endpoint.events.process-*
- logs-windows.sysmon_operational-*
- endgame-*
- logs-sentinel_one_cloud_funnel.*
- logs-m365_defender.event-*
Severity: high
Risk score: 73
Runs every: 5m
Searches indices from: now-9m (Date Math format, see also Additional look-back time)
Maximum alerts per execution: 100
References:
- https://www.zerosalarium.com/2025/09/EDR-Freeze-Puts-EDRs-Antivirus-Into-Coma.html
- https://binarydefense.com/resources/blog/dont-freeze-me-out-bro-arc-labs-technical-analysis-of-edr-freeze
- https://www.bleepingcomputer.com/news/security/new-edr-freeze-tool-uses-windows-wer-to-suspend-security-software/
Tags:
- Domain: Endpoint
- OS: Windows
- Use Case: Threat Detection
- Tactic: Defense Evasion
- Data Source: Elastic Endgame
- Data Source: Elastic Defend
- Data Source: Microsoft Defender XDR
- Data Source: Sysmon
- Data Source: SentinelOne
- Resources: Investigation Guide
Version: 1
Rule authors:
- Aryu Zaw
Rule license: Elastic License v2
Investigation guide
editTriage and analysis
Investigating Potential EDR-Freeze via WerFaultSecure Abuse
WerFaultSecure.exe is the Protected Process Light (PPL) variant of Windows Error Reporting, normally launched by the WER service hosted in svchost.exe to capture secure crash dumps of protected processes. Because it runs as a PPL and can read the memory of other protected processes, adversaries abuse it to dump or freeze security software.
In the EDR-Freeze technique, an attacker starts WerFaultSecure.exe from their own process and directs it to dump a security process (for example MsMpEng.exe). MiniDumpWriteDump suspends every thread of the target while the dump is produced; the attacker then suspends WerFaultSecure.exe itself at that moment, leaving the EDR or antivirus frozen in a "coma" without ever terminating it, so traditional process-termination and tamper alerts never fire.
This rule identifies WerFaultSecure.exe started by a parent other than the WER service with command-line arguments characteristic of a secure process memory dump (/pid and /encfile). Legitimate secure dumps are initiated by the WER service, so an abnormal parent process is the primary signal of abuse.
Possible investigation steps
-
Identify the parent process via
process.parent.name,process.parent.executable, andprocess.parent.command_line. Launches from shells, scripting engines,rundll32.exe, or unsigned binaries in user-writable paths are highly suspicious. -
Resolve the target process from the
/pidargument value and determine whether it corresponds to a security product (EDR or antivirus such asMsMpEng.exe),lsass.exe, or another sensitive process. -
Review the full command line for the dump-type value (the public proof of concept uses
/type 268310, a full dump) and for the/cancelevent handle, which together with/encfileindicate a full secure memory dump. -
Look for a ProcessAccess event (Sysmon Event ID 10) or an Elastic Defend API event in which
WerFaultSecure.exeis opened withPROCESS_SUSPEND_RESUME(access mask0x800/2048) by a non-WER process shortly after this execution. This is the act that freezes the dumper and keeps the target suspended. - Check whether the targeted security agent stopped reporting telemetry (a heartbeat gap) around the time of the alert.
- Examine the parent process for prevalence, code signature, on-disk location, and any preceding download, injection, or privilege-escalation activity.
- Review activity for the user and host over the preceding 24-48 hours for related defense-evasion, credential-access, or lateral-movement behavior.
False positive analysis
-
This activity is highly unusual: secure WER dumps are normally initiated by the WER service in
svchost.exe, not by interactive or third-party processes, so benign matches are rare. -
Specialized crash-analysis, debugging, or enterprise diagnostics tooling could invoke
WerFaultSecure.exedirectly. If such a tool is confirmed and authorized, add an exception scoped to itsprocess.parent.executableand code signature.
Response and remediation
- Isolate the affected host to prevent further post-compromise activity while the EDR or antivirus may be suspended.
- Verify the state of the targeted security agent and restart or resume it, then confirm that protection and telemetry have been restored.
-
Terminate the suspicious
WerFaultSecure.exeprocess and its parent, preserving command lines, handles, and any dump files for analysis. - Investigate the parent process and its origin to determine the initial access vector and scope of compromise, and search the environment for the same parent binary or behavior on other hosts.
- Reset credentials that may have been exposed while the security agent was disabled, and run a full scan once protection is restored.
- Escalate to incident response when the targeted process is a security control, as a successful freeze indicates a hands-on-keyboard defense-evasion attempt.
Setup
editSetup
This rule is designed for data generated by Elastic Defend, which provides native endpoint detection and response, along with event enrichments designed to work with our detection rules.
Setup instructions: https://ela.st/install-elastic-defend
Additional data sources
This rule also supports the following third-party data sources. For setup instructions, refer to the links below:
Rule query
editprocess where host.os.type == "windows" and event.type == "start" and
process.executable : "?:\\Windows\\System32\\WerFaultSecure.exe" and
/* WerFaultSecure secure dumps are normally initiated by the WER service hosted in svchost.exe */
process.parent.executable != null and
not process.parent.executable : ("?:\\Windows\\System32\\svchost.exe", "?:\\Windows\\System32\\wermgr.exe", "?:\\Windows\\System32\\WerFault.exe", "?:\\Windows\\System32\\WerFaultSecure.exe") and
/* arguments used to take a secure memory dump of a target process (e.g. /pid <target> /encfile <handle> /type 268310) */
process.args : "/pid" and process.args : "/encfile"
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Defense Evasion
- ID: TA0005
- Reference URL: https://attack.mitre.org/tactics/TA0005/
-
Technique:
- Name: Impair Defenses
- ID: T1562
- Reference URL: https://attack.mitre.org/techniques/T1562/
-
Sub-technique:
- Name: Disable or Modify Tools
- ID: T1562.001
- Reference URL: https://attack.mitre.org/techniques/T1562/001/