Detection of Suspicious File Writes by Core Windows Processes
Detection of suspicious file creation events where critical Windows system binaries write files with potentially malicious extensions, indicating potential process masquerading or system compromise.
This detection focuses on identifying suspicious file write operations performed by core Windows system binaries. Adversaries often attempt to abuse legitimate system processes to drop malicious payloads, such as scripts (ps1, bat, vbs, hta) or executables (exe, dll), to maintain persistence, elevate privileges, or facilitate further lateral movement. Because critical system binaries like lsass.exe, wininit.exe, or svchost.exe rarely write new executable files or scripts to the filesystem during normal operation, these events are high-fidelity indicators of potentially malicious activity or process masquerading. This brief provides logic to monitor for these file creation patterns while accounting for legitimate administrative activity such as Group Policy script processing or application updates.
Impact
Successful exploitation where an attacker leverages trusted system processes to write malicious files can lead to complete system compromise, persistent backdoor access, and lateral movement within the network. By masquerading actions under signed, trusted binaries, attackers can bypass basic signature-based security controls and deceive monitoring efforts.
Recommendation
Deploy the provided Sigma rule to your SIEM/EDR platform to gain visibility into anomalous file creation events. Given the high-signal nature of core process file writes, prioritize investigation of any alerts generated by this rule. Validate current exclusions against your environment to ensure that custom deployment scripts or legitimate system management tools are accounted for, preventing alert fatigue while maintaining coverage for true malicious activity.
Immediate actions
Deploy the Sigma rule to monitor for suspicious file writes.
Mitigations
Review and harden GPO script deployment paths.
T1036
Detection coverage 1
Detect Windows Binaries Writing Suspicious File Extensions
highDetects core Windows system processes creating files with extensions often used for malicious payloads
Detection queries are available on the platform. Get full rules →