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