Windows API reference
NtOpenFile
Native file open with option flags.
- Library
- Ntdll.dll
- Category
- Helper
- Suspicion
- medium
- MITRE ATT&CK
- Not mapped
Detection summary
NtOpenFile maps to Microsoft-Windows-Kernel-File; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Kernel-File
- Notes: Microsoft-Windows-Kernel-File records file create, read, write, rename and close operations when enabled.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Native applications and system tools that open files directly.
Related APIs
- CreateFileW — Kernel32.dll