Svchost LOLBAS Execution Process Spawn
This brief details the detection of `svchost.exe` spawning Living Off The Land Binaries and Scripts (LOLBAS) processes, indicating potential malicious code execution, privilege escalation, or persistence attempts by adversaries within a Windows environment.
What's new
- l1 new product Jul 27, 19:52 via splunk-escu
This intelligence brief focuses on the detection of svchost.exe, a legitimate Windows process, spawning various Living Off The Land Binaries and Scripts (LOLBAS) executables. This activity is a significant indicator of malicious behavior, as adversaries frequently leverage LOLBAS techniques to execute commands, maintain persistence, and move laterally across networks while attempting to evade detection by blending in with legitimate system processes. The detection mechanism relies on monitoring child processes of svchost.exe and identifying known LOLBAS binaries such as schtasks.exe, bitsadmin.exe, mshta.exe, and wmic.exe, among others. The use of svchost.exe as a parent process for these binaries is highly suspicious and warrants immediate investigation, as it often signifies a compromise where an attacker has gained control over a service or process hosted by svchost. This technique enables stealthy execution of malicious payloads or system modifications, posing a critical risk to endpoint security.
Impact
Successful exploitation involving svchost.exe spawning LOLBAS processes allows attackers to execute arbitrary commands with the privileges of the compromised service or user. This can lead to significant impact, including elevated privileges, lateral movement across the network, installation of additional malware, data exfiltration, or the establishment of long-term persistence mechanisms. The stealthy nature of LOLBAS makes detection challenging, potentially prolonging the dwell time of adversaries within an environment. If undetected, this behavior could result in full system compromise, data breaches, and severe operational disruption, affecting any Windows endpoint in an organization.
Recommendation
- Deploy the Sigma rule in this brief to your SIEM and tune for your environment, paying close attention to the specified
ParentCommandLinefilters to reduce false positives. - Ensure Endpoint Detection and Response (EDR) solutions are configured to collect process creation events, including parent and child process details, command-line arguments, and process GUIDs, as described in the
logsourcesection of the rule. - Review any alerts generated by the
Svchost LOLBAS Execution Process Spawnrule, investigating theParentCommandLineforsvchost.exeto understand the context of the spawned LOLBAS binary. - Implement application control policies to restrict the execution of specific LOLBAS binaries in sensitive environments or from unusual parent processes, where feasible, to mitigate the risk of
svchost.exespawning malicious processes.
Detection coverage 1
Detect Svchost LOLBAS Execution Process Spawn
highDetects instances of 'svchost.exe' spawning Living Off The Land Binaries and Scripts (LOLBAS) processes, indicating potential malicious activity like code execution, privilege escalation, or persistence.
Detection queries are available on the platform. Get full rules →