Library / LOLBin
customshellhost.exe
CustomShellHost · Microsoft Corporation
OriginalFilename
CustomShellHost.exe
Query snippets
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\customshellhost.exe'
- OriginalFileName: 'CustomShellHost.exe'
condition: selectionprocess_creation logsource. Sigma string matching is case-insensitive.
| tstats summariesonly=false count values(Processes.original_file_name) as original_file_name
from datamodel=Endpoint.Processes
where (Processes.original_file_name="CustomShellHost.exe" OR Processes.process_name="customshellhost.exe")
by Processes.dest Processes.process_name Processes.process_path Processes.process
| rename Processes.* as *Endpoint.Processes data model. On raw Sysmon events the field is OriginalFileName.
DeviceProcessEvents
| where ProcessVersionInfoOriginalFileName in~ ("CustomShellHost.exe")
or FileName =~ "customshellhost.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and
(process.pe.original_file_name in~ ("CustomShellHost.exe") or
process.name : "customshellhost.exe")ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
['customshellhost.exe'].includes(String(OriginalFileName || '').toLowerCase())Filter expression (JavaScript) for events carrying Sysmon's OriginalFileName field.
Values across builds
| OriginalFilename | Builds | Arch | File version | Windows releases | Source | Sysmon |
|---|---|---|---|---|---|---|
| CustomShellHost.exe | 12 | x64 | 10.0.17763.9376 → 10.0.28000.3086 | Win10 1809 → Win11 26H1 (13) | Host scan, Winbindex | ✓ 1 |
All 12 parsed builds · 1 Windows release groups not verifiable
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| d066f1ccc0b0… | 10.0.26100.9711 | x64 | CustomShellHost.exe | Win11 24H2 | Unsigned | Host scan, Winbindex | ✓ |
| 7db031e345b5… | 10.0.17763.9376 | x64 | CustomShellHost.exe | Win10 1809 | Unsigned | Winbindex | |
| d292b7d864d0… | 10.0.28000.3086 | x64 | CustomShellHost.exe | Win11 26H1 | Unsigned | Winbindex | |
| d8ce2f8f461a… | 10.0.19041.7548 | x64 | CustomShellHost.exe | Win10 21H2 | Unsigned | Winbindex | |
| b1917deb8b3b… | 10.0.19041.6392 | x64 | CustomShellHost.exe | Win10 21H2, Win10 22H2 | Unsigned | Winbindex | |
| 23832d7a6e85… | 10.0.22621.5983 | x64 | CustomShellHost.exe | Win11 22H2, Win11 23H2 | Unsigned | Winbindex | |
| 8dd2104593f9… | 10.0.26100.5074 | x64 | CustomShellHost.exe | Win11 24H2, Win11 25H2 | Unsigned | Winbindex | |
| 4eeb4c841992… | 10.0.22000.2482 | x64 | CustomShellHost.exe | Win11 21H2 | Unsigned | Winbindex | |
| 85310c09439e… | 10.0.19041.2913 | x64 | CustomShellHost.exe | Win10 20H2, Win10 22H2 | Unsigned | Winbindex | |
| eec698cad03d… | 10.0.18362.1766 | x64 | CustomShellHost.exe | Win10 1909 | Unsigned | Winbindex | |
| 20033667367c… | 10.0.19041.1387 | x64 | CustomShellHost.exe | Win10 2004, Win10 20H2 | Unsigned | Winbindex | |
| 3df826c4524e… | 10.0.18362.1171 | x64 | CustomShellHost.exe | Win10 1903 | Unsigned | Winbindex |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.