memory protection
The permissions on a region of memory: whether it may be read, written, executed, or a combination.
In more detail
Windows names these with constants such as PAGE_READWRITE (RW), PAGE_EXECUTE_READ (RX) and PAGE_EXECUTE_READWRITE (RWX). Normal code is RX; RWX private memory is suspicious because code can be written and run there. Careful loaders write as RW and then flip to RX, so the absence of RWX proves little.
Related terms
- VAD — Virtual address descriptor: the Windows kernel's record of each memory region in a process, with its protection and what backs it.
- windows.malfind — A Volatility plugin that looks for memory regions likely to hold injected code: private, executable and not backed by a file.
- process injection — Running malicious code inside another, legitimate process, so it hides behind that process's name and permissions.
Taught in
- Memory Forensics: Process Trees & Injection — Security Operations & Threat Hunting (SOC)