Library / Windows
sudo.exe
sudo
WindowsSysmon-confirmed
OriginalFilename
None. No observed build carries an OriginalFilename, so sensors log -.
No OriginalFilename
Gotchas
- No OriginalFilename in any observed build, so Sysmon logs
-and OriginalFileName rules can't match it. Anchor on the image path, hash or signer instead.
Query snippets
# No OriginalFilename in any observed build: match on the image instead
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\sudo.exe'
condition: selectionprocess_creation logsource. Sigma string matching is case-insensitive.
| tstats summariesonly=false count from datamodel=Endpoint.Processes
where Processes.process_name="sudo.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 FileName =~ "sudo.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and process.name : "sudo.exe"ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
String(Image || '').toLowerCase().endsWith("\\sudo.exe")Filter expression (JavaScript) for events carrying Sysmon's OriginalFileName field.
Values across builds
| OriginalFilename | Builds | Arch | File version | Windows releases | Source | Sysmon |
|---|---|---|---|---|---|---|
| none | 1 | x64 | 1.0.1.0 | Host scan | ✓ 1 |
All 1 parsed builds
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| 91739478be75… | 1.0.1.0 | x64 | none | Host scan | ✓ |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.