T1055.012 Sumo Logic CSE · Sumo

Detect Process Hollowing in Sumo Logic CSE

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/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_index=sec_record* objectType="process" action="create"
| where baseImage 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")
| where parentBaseImage not in ("services.exe", "svchost.exe", "explorer.exe",
    "winlogon.exe", "smss.exe", "csrss.exe", "wininit.exe")
| where length(commandLine) < 5 or isNull(commandLine) or commandLine = ""
    or (baseImage = "svchost.exe" and !(commandLine contains "-k"))
| eval hollowingIndicator = if(baseImage = "svchost.exe" and parentBaseImage != "services.exe",
    "CRITICAL - svchost hollowing",
    if(baseImage in ("MSBuild.exe", "RegAsm.exe", "InstallUtil.exe")
        and (length(commandLine) < 10 or isNull(commandLine)),
      "CRITICAL - .NET LOLBin hollow",
      if(length(commandLine) < 5 or isNull(commandLine),
        "HIGH - Empty command line",
        "MEDIUM - Unusual parent-child relationship")))
| fields _messageTime, srcDevice_hostname, user_username, parentBaseImage,
         parentCommandLine, baseImage, commandLine, hollowingIndicator
| sort by _messageTime desc
high severity high confidence

Sumo Logic Cloud SIEM (CSE) detection for process hollowing using normalized process creation records from the sec_record index. Matches hollow-candidate Windows processes created outside authoritative parent chains with empty or minimal command lines consistent with CREATE_SUSPENDED hollowing. Relies on CSE normalization from Sysmon, CrowdStrike Falcon, or Carbon Black sources mapping to the objectType=process schema with baseImage, parentBaseImage, and commandLine normalized fields.

Data Sources

Sumo Logic Cloud SIEM (CSE) with Windows Sysmon normalization mapperSumo Logic CSE with CrowdStrike Falcon mapperSumo Logic CSE with VMware Carbon Black Cloud mapper

Required Tables

sec_record (Sumo Logic CSE normalized index)

False Positives & Tuning

  • Ansible, Chef, or Puppet configuration management agents spawning cmd.exe or PowerShell via non-standard parent wrappers with no command line arguments during node provisioning or configuration drift correction
  • Software license validation modules that launch certutil.exe or InstallUtil.exe with no arguments as a first-pass system check before constructing and passing the actual command line at runtime
  • Helpdesk or remote-support software (TeamViewer, AnyDesk, ConnectWise) spawning explorer.exe or cmd.exe as part of screen-sharing or file-transfer session establishment from their own agent parent process
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