Windows Memory Layout Flashcards
The Kernel Land portion of memory is reserved for?
Reserved by the OS for device drivers, system cache, paged/non-paged pool, HAL, etc. There is no user access to this portion of memory.
What is EPROCESS?
A Windows processes executive process
What does EPROCESS contain?
Attributes and structures related to data structures
What is PEB and what does it contain?
The Process Environment Block resides in user-accessible memory and contains various user-mode parameters about the running process.
What do Symbol Files provide?
Provide useful, descriptive information for functions, variables, etc
What is TEB and what does it contain?
The Thread Environment Block stores information for the image loader and various Windows DLLs, as well as the location for the exception handler list
What resides in the process address space since user-mode components require writable access.
TEB
What is a DLL?
Dynamic Link Library
[Immunity] Shortcut for Executable Mode?
ALT+E
In an x86 memory map, what are the relevant Low Memory Address space components?
Stack, Heap, Program Image, DLLs, TEB(s), PEB
In an x86 memory map, where does the executable reside?
Program Image
In the Program Image, where does the executable code/CPU instructions reside?
.text
In the Program Image, where does the program’s global data reside?
.data
In the Program Image, where does the program’s non-executable resources, including icons, images, and strings, reside?
.rsrc
The dynamically allocated portion of the memory is also known as?
The Heap