Detection of Malicious Process Execution from Non-Standard File Paths
Adversaries frequently utilize unconventional Windows directory paths to execute malicious payloads while evading traditional file-based security controls and detection mechanisms.
Adversaries targeting Windows environments regularly employ living-off-the-land techniques by executing malicious binaries from directories not intended for application execution. These paths, including font folders, Recycle.bin, and debug directories, are often overlooked by standard security monitoring policies. This technique allows attackers to persist, escalate privileges, and maintain a low profile during the post-exploitation phase. Security operations centers must monitor for process creation events originating from these non-standard paths to identify potential compromise, as seen in numerous campaigns including Volt Typhoon, AsyncRAT, and various ransomware operations. Effective detection requires normalized EDR telemetry capturing process execution, path, and command-line arguments to distinguish legitimate administrative activity from unauthorized software execution.
Impact
Successful exploitation of this technique can lead to stealthy persistence, unauthorized code execution with user-level privileges, and facilitate lateral movement or data exfiltration. Failure to monitor for these execution paths increases the dwell time of sophisticated threat actors who leverage these directories to obscure their activities from host-based security tools.
Recommendation
- Deploy the provided Sigma rule to monitor for process creation events in suspicious directories across the enterprise environment.
- Enable Sysmon Event ID 1 (Process Creation) or Windows Security Event ID 4688 to capture the
ProcessPathandCommandLinefields. - Implement a baseline of legitimate software execution paths to reduce false positives generated by administrative scripts or specialized installers.
Immediate actions
Deploy the suspicious process path detection rule to SIEM environment.
Threat Hunt
Search for process execution events originating from the specific directories identified in the Sigma rule over the past 30 days.
Data: Endpoint process creation logs (Sysmon 1, 4688)
Detection coverage 1
Detect Suspicious Process Execution from Non-Standard File Paths
mediumDetects processes executing from directories frequently used by attackers to hide binaries, such as font folders, public areas, and temporary/debug directories.
Detection queries are available on the platform. Get full rules →