Defense Evasion via Sysmon Driver Unloading
Adversaries utilize the fltMC.exe utility to unload the Sysmon filter driver, effectively blinding security monitoring and suppressing telemetry generation to facilitate further malicious activity.
Adversaries often attempt to disable or bypass security controls to minimize their footprint during post-exploitation activities. A documented technique involves the use of the built-in Windows utility fltMC.exe to unload the Sysmon filter driver (SysmonDrv). By successfully executing this command, an attacker forces the Sysmon service to stop recording system activity, effectively blinding the security operations team to subsequent actions such as process execution, file modifications, and network connections.
This technique is significant because it represents a deliberate effort to neutralize endpoint detection and response capabilities. Once the driver is unloaded, the endpoint stops generating critical telemetry, providing the attacker with a window of opportunity to move laterally, escalate privileges, or exfiltrate data without leaving an audit trail in the standard Sysmon operational logs. Defenders must monitor for the invocation of fltMC.exe with arguments specifically targeting the Sysmon driver.
Attack Chain
- Attacker gains initial access or achieves sufficient local administrative privileges on a Windows host.
- Attacker identifies that Sysmon is active and providing monitoring coverage.
- Attacker executes
fltMC.exevia the command line with administrative tokens. - Attacker provides the
unloadargument to the filter driver management utility. - Attacker specifies
SysmonDrvas the target for the unloading operation. - The system processes the request, unhooking the Sysmon filter from the kernel.
- Sysmon event logging ceases, effectively blinding the host to further malicious activity.
- Attacker proceeds with follow-on objectives (e.g., credential theft, persistence, or data staging) while the host remains unmonitored.
Impact
The successful execution of this technique results in the total loss of visibility from the Sysmon service on the targeted endpoint. This lack of telemetry prevents the identification of further attacker actions, significantly increasing the risk of data breaches, unauthorized persistent access, and undetected privilege escalation. If left unmonitored, an attacker can maintain control over the compromised host indefinitely without triggering further security alerts based on Sysmon telemetry.
Recommendation
- Deploy the Sigma rule below to detect attempts to unload the Sysmon driver using
fltMC.exe. - Ensure that Sysmon process creation logs (Event ID 1) are ingested into the SIEM and mapped to the Endpoint data model.
- Enable alerts for
fltMC.exeactivity, particularly when the command line includesunloadandSysmonDrv, as this is highly anomalous in production environments. - Restrict administrative privileges to prevent unauthorized users from executing filter management utilities.
Immediate actions
Deploy the Sigma detection rule to monitor for Sysmon driver unloading
Threat Hunt
Search historical logs for fltMC.exe usage targeting SysmonDrv
Data: Process creation telemetry
Mitigations
Restrict administrative rights on endpoints
T1562.001
Detection coverage 1
Detect Sysmon Filter Driver Unloading via fltMC.exe
highDetects the use of fltMC.exe to unload the Sysmon driver, which blinds security monitoring.
Detection queries are available on the platform. Get full rules →