Windows API reference
CreateFileMappingW
Creates or opens a named file mapping object backed by a file or the pagefile.
- Library
- Kernel32.dll
- Category
- Helper, Injection, Memory Management
- Suspicion
- medium
- MITRE ATT&CK
- T1055 Process Injection
Detection summary
CreateFileMappingW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: User-mode API not logged directly by Sysmon or standard kernel ETW; detect via static import triage, sandbox API hooking, or behavioral correlation.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Common in general Windows applications; usage varies by application type.
Related APIs
- MapViewOfFile — Kernel32.dll
- NtCreateSection — Ntdll.dll