private memory
Memory a process allocates for itself, not mapped from any file, as opposed to image-mapped memory loaded from an EXE or DLL.
In more detail
Code normally lives in image-mapped memory with a file on disk behind it. Executable private memory with no file behind it is the tell of injected code, though just-in-time compilers create it too.
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.
- memory protection — The permissions on a region of memory: whether it may be read, written, executed, or a combination.
- JIT compiler — A compiler inside a runtime that turns intermediate code into native machine code while the program runs.
Taught in
- Memory Forensics: Process Trees & Injection — Security Operations & Threat Hunting (SOC)