Detectionhightest

Suspicious CustomShellHost Execution

Detects the execution of CustomShellHost.exe where the child isn't located in 'C:\Windows\explorer.exe'. CustomShellHost is a known LOLBin that can be abused by attackers for defense evasion techniques.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-08-19Updated 2025-10-2984b14121-9d14-416e-800b-f3b829c5a14dwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        ParentImage|endswith: '\CustomShellHost.exe'
    filter_main_explorer:
        Image: 'C:\Windows\explorer.exe'
    condition: selection and not 1 of filter_main_*
False Positives

False positives are unlikely, investigate matches carefully.

Rule Metadata
Rule ID
84b14121-9d14-416e-800b-f3b829c5a14d
Status
test
Level
high
Type
Detection
Created
2022-08-19
Modified
2025-10-29
Path
rules/windows/process_creation/proc_creation_win_customshellhost_susp_exec.yml
Raw Tags
attack.stealthattack.t1216
View on GitHub