Windows API reference

VirtualLock

Locks pages in physical memory to prevent paging.

Library
Kernel32.dll
Suspicion
low
MITRE ATT&CK
Not mapped

Detection summary

VirtualLock has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Every process; heaps, stacks, mapped files and JIT engines.

Open VirtualLock in the interactive atlas