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