T1055.012 CrowdStrike LogScale · LogScale

Detect Process Hollowing in CrowdStrike LogScale

Adversaries may inject malicious code into suspended and hollowed processes in order to evade process-based defenses. Process hollowing is commonly performed by creating a process in a suspended state then unmapping/hollowing its memory, which can then be replaced with malicious code. A victim process can be created with native Windows API calls such as CreateProcess (which includes a flag to suspend the processes primary thread). At this point the process can be unmapped using APIs calls such as ZwUnmapViewOfSection or NtUnmapViewOfSection before being written to, realigned to the injected code, and resumed via VirtualAllocEx, WriteProcessMemory, SetThreadContext, then ResumeThread respectively. This is a widely-used technique employed by Cobalt Strike, Emotet, QakBot, and many other threat actors.

MITRE ATT&CK

Tactic
Defense Evasion Privilege Escalation
Technique
T1055 Process Injection
Sub-technique
T1055.012 Process Hollowing
Canonical reference
https://attack.mitre.org/techniques/T1055/012/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName = "ProcessRollup2"
| FileName in ["svchost.exe", "explorer.exe", "rundll32.exe", "notepad.exe", "cmd.exe",
               "mspaint.exe", "calc.exe", "dllhost.exe", "werfault.exe", "iexplore.exe",
               "MSBuild.exe", "RegAsm.exe", "InstallUtil.exe", "vbc.exe", "certutil.exe"]
| not ParentBaseFileName in ["services.exe", "svchost.exe", "explorer.exe",
                              "winlogon.exe", "smss.exe", "csrss.exe", "wininit.exe"]
| CmdLen := length(CommandLine)
| CmdLen < 5 or CommandLine = ""
| case {
    FileName = "svchost.exe" and ParentBaseFileName != "services.exe"
      | HollowingIndicator := "CRITICAL - svchost.exe hollowing" ;
    FileName in ["MSBuild.exe", "RegAsm.exe", "InstallUtil.exe"] and CmdLen < 10
      | HollowingIndicator := "CRITICAL - .NET LOLBin hollow" ;
    CmdLen < 5 or CommandLine = ""
      | HollowingIndicator := "HIGH - Empty command line" ;
    *
      | HollowingIndicator := "MEDIUM - Unusual parent-child relationship"
  }
| table([@timestamp, ComputerName, UserName, ParentBaseFileName, ParentCommandLine,
         FileName, CommandLine, HollowingIndicator])
| sort(field=@timestamp, order=desc)
high severity high confidence

CrowdStrike Falcon LogScale (CQL) detection for process hollowing using ProcessRollup2 endpoint telemetry events. Leverages Falcon's pre-normalized FileName and ParentBaseFileName fields (base image names without full path) to detect hollow-candidate processes launched from anomalous parent processes with near-empty command lines — consistent with the CREATE_SUSPENDED + NtUnmapViewOfSection + WriteProcessMemory + ResumeThread hollowing chain used by Cobalt Strike, Emotet, and QakBot. The CmdLen filter is computed inline before the case classification.

Data Sources

CrowdStrike Falcon sensor telemetry via Falcon LogScale (ProcessRollup2 events)

Required Tables

ProcessRollup2 (CrowdStrike Falcon event type)

False Positives & Tuning

  • Package management or software deployment agents (Chocolatey, WinGet wrappers) that invoke cmd.exe or certutil.exe with empty arguments under a non-standard updater parent process during silent install pre-checks
  • Endpoint backup or DR recovery agents that spawn notepad.exe or calc.exe with no arguments as a live user-session canary to confirm interactive desktop presence before initiating file-level backup operations
  • Some enterprise monitoring or observability agents spawn dllhost.exe or werfault.exe with minimal arguments as COM surrogate health probes from their own service process rather than from the expected svchost.exe parent
Download portable Sigma rule (.yml)

Other platforms for T1055.012


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Process Hollowing Detection - Anomalous svchost.exe Parent

    Expected signal: Sysmon Event ID 1: svchost.exe with ParentImage=powershell.exe and empty/minimal CommandLine. This is a CRITICAL indicator — svchost.exe should only be spawned by services.exe with -k arguments.

  2. Test 2MSBuild.exe Hollowing Target Simulation

    Expected signal: Sysmon Event ID 1: MSBuild.exe spawned by PowerShell with empty CommandLine. MSBuild.exe normally requires a project file as argument — empty execution is anomalous.

  3. Test 3Hollowed notepad.exe with Network Connection Check

    Expected signal: Sysmon Event ID 1: notepad.exe spawned by cmd.exe. Sysmon Event ID 3: If notepad.exe makes network connections (it shouldn't normally). Security Event ID 4688 with command line auditing.

Unlock Pro Content

Get the full detection package for T1055.012 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections