Skip to content
Threat Feed
high advisory

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

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 ParentCommandLine filters 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 logsource section of the rule.
  • Review any alerts generated by the Svchost LOLBAS Execution Process Spawn rule, investigating the ParentCommandLine for svchost.exe to 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.exe spawning malicious processes.

Detection coverage 1

Detect Svchost LOLBAS Execution Process Spawn

high

Detects 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.

sigma tactics: execution techniques: T1053.005, T1218 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →