Library / LOLBin
netsh.exe
Network Command Shell · Microsoft Corporation
OriginalFilename
netsh.exe
Query snippets
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\netsh.exe'
- OriginalFileName: 'netsh.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="netsh.exe" OR Processes.process_name="netsh.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~ ("netsh.exe")
or FileName =~ "netsh.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and
(process.pe.original_file_name in~ ("netsh.exe") or
process.name : "netsh.exe")ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
['netsh.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 |
|---|---|---|---|---|---|---|
| netsh.exe | 12 | x64, x86 | 10.0.10240.16384 → 10.0.28000.2179 | Win10 1507 → Win11 26H1 (6) | Host scan, Winbindex | ✓ 2 |
All 12 parsed builds · 28 Windows release groups not verifiable
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| c8e915989db9… | 10.0.28000.2179 | x86 | netsh.exe | Win11 26H1 | Unsigned | Winbindex | |
| 945cbb6ec2db… | 10.0.28000.2179 | x64 | netsh.exe | Win11 26H1 | Unsigned | Winbindex | |
| e16f0ef226e2… | 10.0.26100.8328 | x86 | netsh.exe | Win11 24H2 | Unsigned | Host scan, Winbindex | ✓ |
| b4fe2ea236ed… | 10.0.26100.8328 | x64 | netsh.exe | Win11 24H2 | Unsigned | Host scan, Winbindex | ✓ |
| 9f62b477c197… | 10.0.26100.5074 | x64 | netsh.exe | Win11 24H2, Win11 25H2 | Unsigned | Winbindex | |
| 6a3e084827c4… | 10.0.26100.5074 | x86 | netsh.exe | Win11 24H2, Win11 25H2 | Unsigned | Winbindex | |
| e5888e649c88… | 10.0.14393.0 | x64 | netsh.exe | Win10 1607 | Unsigned | Winbindex | |
| 00b424fce60e… | 10.0.14393.0 | x86 | netsh.exe | Win10 1607 | Unsigned | Winbindex | |
| 329326ac87ca… | 10.0.10586.0 | x86 | netsh.exe | Win10 1511 | Unsigned | Winbindex | |
| 1651ff286ddd… | 10.0.10586.0 | x64 | netsh.exe | Win10 1511 | Unsigned | Winbindex | |
| e9e24fb71b09… | 10.0.10240.16384 | x86 | netsh.exe | Win10 1507 | Unsigned | Winbindex | |
| 9d726eefa3d5… | 10.0.10240.16384 | x64 | netsh.exe | Win10 1507 | Unsigned | Winbindex |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.