Windows: Suspicious CustomShellHost.exe execution spawned by non-Explorer parent

Alerts on CustomShellHost.exe executions where explorer.exe is not the expected parent process image.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-08-19
Updated
2026-07-31
title: "Windows: Suspicious CustomShellHost.exe execution spawned by non-Explorer parent"
id: 38e0e9e8-222f-48ba-b0d1-741c22e8a00a
status: test
description: This rule flags process creation events where the parent process image ends with \CustomShellHost.exe, but the corresponding child process is not located under C:\Windows\explorer.exe. CustomShellHost is a signed Windows binary that attackers may misuse to reduce visibility and evade defenses. The detection relies on Windows process creation telemetry, specifically the parent image path ending pattern and the child image path matching explorer.exe.
references:
  - https://github.com/LOLBAS-Project/LOLBAS/pull/180
  - https://lolbas-project.github.io/lolbas/Binaries/CustomShellHost/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_customshellhost_susp_exec.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-08-19
modified: 2025-10-29
tags:
  - attack.stealth
  - attack.t1216
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    ParentImage|endswith: \CustomShellHost.exe
  filter_main_explorer:
    Image: C:\Windows\explorer.exe
  condition: selection and not 1 of filter_main_*
falsepositives:
  - False positives are unlikely, investigate matches carefully.
level: high
license: DRL-1.1
related:
  - id: 84b14121-9d14-416e-800b-f3b829c5a14d
    type: derived