Windows API reference
VirtualFreeEx
Releases memory inside another process.
- Library
- Kernel32.dll
- Category
- Memory Management, Injection
- Suspicion
- medium
- MITRE ATT&CK
- T1055 Process Injection
Detection summary
VirtualFreeEx 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
Every process; heaps, stacks, mapped files and JIT engines.
Related APIs
- VirtualAllocEx — Kernel32.dll