Anomalous Windows Process Creation Detected by Machine Learning
Elastic Security's machine learning rule `v3_windows_anomalous_process_creation_ea` detects unusual parent-child process relationships on Windows systems, indicating potential malware execution or persistence mechanisms and allowing for early detection of new or emerging threats that bypass traditional antivirus.
Elastic Security's machine learning rule v3_windows_anomalous_process_creation_ea identifies unusual parent-child process relationships on Windows systems. This detection mechanism helps defenders spot new and emerging malware that might bypass traditional antivirus solutions by flagging anomalous process creation events, such as legitimate applications like Microsoft Office programs or Outlook spawning unexpected script interpreters (e.g., PowerShell, cmd.exe) or other binaries. These anomalies are strong indicators of malware execution, persistence mechanisms, or exploit payloads being delivered. The rule uses entity analytics (EA) fields and has a low severity, suggesting it's designed for broad baseline monitoring across the enterprise to establish a baseline of normal behavior and flag deviations.
Attack Chain
- Initial Access / Execution: An attacker gains initial access, often via a malicious document, email attachment, or exploit, leading to execution on the victim's system.
- Legitimate Application Launch: A benign, user-facing application (e.g., Microsoft Word, Excel, Outlook) is launched as part of the initial access vector.
- Anomalous Child Process Creation: The legitimate application then spawns an unusual or unexpected child process, which deviates from established normal behavior for that parent-child relationship.
- Script Interpreter Execution: This unexpected child process is often a script interpreter (e.g.,
powershell.exe,cmd.exe,wscript.exe), launched to execute a malicious script or command. - Malware Delivery/Execution: The script then downloads, decrypts, or directly executes additional malicious payloads (e.g., ransomware, infostealers, remote access tools).
- Persistence Establishment: The deployed malware may then attempt to establish persistence on the compromised system using various techniques, further leveraging unusual process creation.
- Machine Learning Detection: The
v3_windows_anomalous_process_creation_eamachine learning model detects the anomalous parent-child process relationship as a deviation from the learned normal behavior baseline.
Impact
The successful exploitation indicated by anomalous process creation can lead to various forms of system compromise, including unauthorized code execution, malware installation, establishment of persistence, and potential data exfiltration or encryption. Since this detection targets general anomalous behavior, the specific impact varies depending on the attacker's ultimate objective and the malware deployed. Early detection through this machine learning rule aims to prevent the progression of attacks that leverage novel execution and persistence techniques, thereby mitigating broader organizational damage, data breaches, and financial losses.
Recommendation
- Deploy the Elastic Machine Learning job
v3_windows_anomalous_process_creation_eaas detailed in the setup instructions for this rule. - Ensure Elastic Defend is fully integrated and configured for 'Complete EDR' to provide comprehensive endpoint telemetry for analysis to the Elastic Security platform.
- Enable the Windows integration in Elastic Agent to collect relevant process and event logs from endpoints.
- Investigate alerts from
Anomalous Windows Process Creationby examining the process execution chain and associated metadata, including digital signatures and file paths. - Utilize Osquery commands, such as those provided for DNS cache, services, and unsigned executables, during investigation to gather additional host context.
- Analyze suspicious executables in a private sandboxed environment and check SHA-256 hashes against public threat intelligence sources like VirusTotal.