Library / Windows
hcsdiag.exe
Hyper-V Host Compute Service Diagnostics Tool · Microsoft Corporation
WindowsParsed
OriginalFilename
Hyper-V Host Compute Service Diagnostics Tool
Differs from file name
Gotchas
- OriginalFilename doesn't match the file name: a rule using
OriginalFileName: hcsdiag.exenever fires.
Query snippets
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\hcsdiag.exe'
- OriginalFileName: 'Hyper-V Host Compute Service Diagnostics Tool'
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="Hyper-V Host Compute Service Diagnostics Tool" OR Processes.process_name="hcsdiag.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~ ("Hyper-V Host Compute Service Diagnostics Tool")
or FileName =~ "hcsdiag.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and
(process.pe.original_file_name in~ ("Hyper-V Host Compute Service Diagnostics Tool") or
process.name : "hcsdiag.exe")ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
['hyper-v host compute service diagnostics tool'].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 |
|---|---|---|---|---|---|---|
| Hyper-V Host Compute Service Diagnostics Tool | 1 | x64 | 10.0.26100.9278 | Host scan |
All 1 parsed builds
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| 9b2d905361f0… | 10.0.26100.9278 | x64 | Hyper-V Host Compute Service Diagnostics Tool | Host scan |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.