Windows API reference
NtMapViewOfSection
Maps a view of a section object into a specified process virtual address space.
- Library
- Ntdll.dll
- Category
- Injection, Process Hollowing
- Suspicion
- high
- MITRE ATT&CK
- T1055 Process Injection
Detection summary
Used to map a malicious section, often created with NtCreateSection, into a target process for section-backed or file-backed injection; detect ETW-TI section-map events, executable views backed by an unexpected file, cross-process mapping of freshly created sections, and hollowing/doppelganging sequences. NtMapViewOfSection is also normal image-loader behavior, so scope by source process, backing file and target.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Threat-Intelligence
- Notes: There is no default Sysmon event for NtMapViewOfSection. Sysmon 25 ProcessTampering may correlate with image replacement but is not a direct map event.
Sources and documentation
- Microsoft Learn documentation (equivalent API documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Loaders, shared-memory applications and security tools that map sections.
Related APIs
- NtCreateSection — Ntdll.dll
- NtUnmapViewOfSection — Ntdll.dll