Windows API reference
VirtualProtectEx
Changes the memory protection of a region inside another process.
- Library
- Kernel32.dll
- Category
- Injection, Memory Management, Process Hollowing
- Suspicion
- high
Detection summary
VirtualProtectEx maps to Microsoft-Windows-Threat-Intelligence; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Threat-Intelligence
- Notes: Microsoft-Windows-Threat-Intelligence emits kernel memory and thread events only when the provider is enabled; it is not a default ETW channel.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Debuggers, accessibility tools, EDR/AV self-protection, game overlays and some installers.
Related APIs
- VirtualAllocEx — Kernel32.dll
- WriteProcessMemory — Kernel32.dll
- VirtualProtect — Kernel32.dll