Library / Windows
setspn.exe
Query or reset the computer's SPN attribute · Microsoft Corporation
WindowsSysmon-confirmedSigma refs: 1
OriginalFilename
setspn.exe
Query snippets
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\setspn.exe'
- OriginalFileName: 'setspn.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="setspn.exe" OR Processes.process_name="setspn.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~ ("setspn.exe")
or FileName =~ "setspn.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and
(process.pe.original_file_name in~ ("setspn.exe") or
process.name : "setspn.exe")ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
['setspn.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 |
|---|---|---|---|---|---|---|
| setspn.exe | 6 | x64, x86 | 10.0.10240.16384 → 10.0.28000.1896 | Win10 1507 → Win11 26H1 (6) | Host scan, Winbindex | ✓ 1 |
All 6 parsed builds · 14 Windows release groups not verifiable
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| a986b07d96be… | 10.0.28000.1896 | x64 | setspn.exe | Win11 26H1 | Winbindex | ||
| 517175a4d5d8… | 10.0.28000.1896 | x86 | setspn.exe | Win11 26H1 | Winbindex | ||
| 52619a89e3b5… | 10.0.26100.1 | x64 | setspn.exe | Win11 24H2, Win11 25H2 | Signed (Catalog file) | Host scan, Winbindex | ✓ |
| 909c2ddf06cf… | 10.0.14393.0 | x64 | setspn.exe | Win10 1607 | Unsigned | Winbindex | |
| 0bc8830faf6b… | 10.0.10586.0 | x64 | setspn.exe | Win10 1511 | Unsigned | Winbindex | |
| 23bb3fa346bf… | 10.0.10240.16384 | x64 | setspn.exe | Win10 1507 | Unsigned | Winbindex |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.