In this post, we examine the processor architectures relevant to Microsoft Windows memory forensics. Although Windows has historically supported multiple instruction-set architectures, contemporary analysis focuses primarily on the two that dominate the majority of acquired memory images: x86 (IA-32) and x64 (AMD64/x86-64).
64-bit systems have long since become the norm rather than the exception, driven by the memory requirements of modern applications and operating-system features. Consequently, examiners must be proficient in parsing both 32-bit and 64-bit Windows memory images, including differences in paging structures, virtual-address translation, register state, and kernel data layouts.
We also note the historical IA-64 (Itanium) architecture for completeness. Microsoft discontinued IA-64 support after Windows Server 2008 R2; extended support for that release ended in 2020. Itanium systems are therefore rarely encountered in modern casework and are of limited practical relevance to current memory-forensics workflows. (ARM and ARM64 platforms are increasingly present, particularly on mobile and certain server devices, but fall outside the scope of this discussion).
When architectural questions arise—page-table formats, control-register semantics, interrupt handling, or instruction decoding—examiners should consult the authoritative processor manuals published by Intel and AMD. These multi-volume references are freely available, frequently updated, and intentionally detailed so that operating-system and systems programmers can produce correct code. The same depth that serves developers also benefits forensic practitioners who must accurately interpret memory artifacts produced by those systems.
Why System Architecture Matters
Processor architecture defines the fundamental layout and operational contract of the Central Processing Unit (CPU)—the component that ultimately governs every aspect of system behavior relevant to memory forensics. It dictates how physical and virtual memory are addressed and protected, which instructions are legal, how those instructions are decoded and executed, and how every other hardware component must interact with the CPU. Because so much of a computer’s observable state depends on this contract, support for older architectural features is rarely removed. The result is an accumulated body of legacy behaviors, compatibility modes, and residual structures that persist across decades of hardware generations.
The x86 architecture itself originated in the late 1970s with the Intel 8086 family. While popular accounts sometimes cite the earlier Intel 4004 (1971) as a distant ancestor, the direct instruction-set lineage that examiners encounter today begins with the 8086 and its immediate predecessors. The extraordinary commitment to backward compatibility means that a 16-bit Intel 8088 assembly program written in 1981 can still execute on a modern x86/x64 processor—provided it is run in real mode, virtual-8086 mode, or an appropriate compatibility environment. In pure 64-bit long mode under a modern operating system, additional constraints apply, yet the underlying architectural continuity remains one of the defining characteristics of the platforms most frequently analyzed in digital forensics.
Memory management and address translation are defined by the processor architecture. The size of a process’s virtual address space—32-bit or 64-bit—determines the range of addresses an active process may generate. Processes never reference physical RAM directly; instead, they issue virtual addresses that the Memory Manager, working with the CPU’s page-table hardware, translates into physical frames.
The Memory Manager decides both where a page resides in physical memory and whether it should remain there at all. When physical frames are scarce, the manager can write the page’s contents to the paging file (or another backing store) and reclaim the frame. Subsequent access to that virtual address triggers a page fault, causing the data to be brought back into RAM. This virtual-to-physical translation yields several properties that are fundamental to memory forensics:
- Abstraction and contiguity—Physical memory is frequently fragmented; virtual addressing presents each process with a private, contiguous address space regardless of the actual layout of frames in RAM.
- Isolation—Because the Memory Manager tracks frame ownership, two processes cannot simultaneously write to the same physical page under normal operation.
- Demand allocation—Physical frames are assigned only when a process actually touches a virtual page. Pages may reside in RAM, in the paging file, or remain on disk (file-backed or demand-zero) until first referenced.
Consequently, a live memory image reflects only the subset of virtual memory that is currently resident; the remainder of a process’s address space must be reconstructed from the pagefile, mapped files, or other secondary sources. Understanding these translation and paging mechanics is therefore essential when interpreting page tables, transition entries, prototype PTEs, and non-resident data during forensic analysis.
x86 System Architecture
x86 remains the dominant instruction set architecture underlying most Windows systems an examiner will encounter, though modern hardware overwhelmingly runs in the 64-bit extension (x86-64/AMD64) rather than native 32-bit (IA-32) mode. IA-32 today typically surfaces as a compatibility mode rather than the processor's primary operating state—a distinction worth noting when documenting system specs in a report, since "x86" in casual usage often gets conflated with "32-bit" even on 64-bit hosts.
The architecture originated with Intel but is not solely Intel-governed: AMD holds foundational IP in the 64-bit extension (AMD64), which Intel subsequently licensed and implemented as Intel 64. The two vendors operate under a long-standing cross-licensing arrangement rather than a single controlling standards body—relevant context if you're characterizing firmware or CPU provenance in a report.
For an examiner, the addressing model is the operationally significant detail. A 32-bit address space spans 8 hex digits (32 binary digits), giving a 4 GB linear address ceiling in protected mode—the boundary you'll bump into when correlating memory offsets during memory forensics on a 32-bit target or legacy image.
Boot-time behavior is where precision matters most for anyone examining an MBR, VBR, or early-boot bootkit artifact. On power-on, the processor initializes in real mode, a 16-bit legacy state retained for backward compatibility. Real mode does not limit addressable memory to 64 KB—that figure describes the reach of a single segment given a 16-bit offset. Real-mode addressing uses segment:offset addressing (segment register shifted left 4 bits, plus a 16-bit offset), which extends the practical address space to roughly 1 MB (0x00000–0xFFFFF) by reloading segment registers across the boot sequence—the same mechanic behind the historical A20 line and High Memory Area quirks that any examiner researching legacy boot artifacts will eventually run into. This is the operating environment the boot sector code executes in before any protected-mode transition—relevant when reverse-engineering MBR-resident malware, which often executes its earliest stages entirely in real mode specifically to operate below the OS's visibility.
The transition out of real mode is deliberate, not automatic: the OS loader sets the PE (Protection Enable) bit in control register CR0, switching the processor into protected mode and unlocking 32-bit addressing and the full instruction set. From a forensic standpoint, this transition point is a natural artifact boundary—bootkits and MBR-based malware frequently hook or intercept execution before this switch occurs, which is precisely why real-mode behavior isn't a historical footnote but active tradecraft relevant to boot-sector forensics.
A 32-bit address space yields 2³² addressable locations—4,294,967,296, or exactly 4 GB in binary terms. This 4 GB figure is frequently cited as the hard ceiling for 32-bit systems, and for a single process's virtual address space, it is: any 32-bit process is architecturally confined to a ≤4 GB view, conventionally split between user-mode and kernel-mode ranges (commonly 2GB/2GB, or 3GB/1GB with the /3GB boot switch on older Windows).
Physical Address Extension (PAE), present since the Pentium Pro and supported by 32-bit Windows Server editions and select client builds, widens the physical address bus to 36 bits—allowing a 32-bit OS to page across up to 64 GB of physical memory, even though each individual process remains capped at its ≤4 GB virtual window. The 4 GB limit, in other words, is a per-process virtual-addressing constraint, not necessarily a whole-system physical-memory constraint.
Many consumer 32-bit Windows builds (XP, and 32-bit Vista/7) either disabled PAE by default or restricted its use to enabling the NX bit/DEP rather than true >4GB physical addressing—largely because driver vendors did not reliably certify 32-bit drivers for PAE-enabled operation, and a driver making 32-bit-only assumptions about physical addresses could corrupt memory once PAE was active. The practical result: a 32-bit consumer system with, say, 8 GB installed will often report only ~3.2–4 GB usable via BIOS or OS memory reporting, with the remainder reserved or simply unaddressed by the running configuration—not because the architecture is incapable, but because of OS/driver-ecosystem constraints layered on top of it.
This distinction matters when reconciling installed-vs-reported memory during triage (e.g., cross-referencing wmic memorychip or SMBIOS data against OS-reported total memory)—a discrepancy here can be a config artifact rather than evidence of anything anomalous, and misattributing it to "32-bit architecture caps RAM at 4GB" in a report will read as imprecise to a technically literate reviewer. For scale, the 32-bit address space is 65,536× larger than the 16-bit space (2³²⁄2¹⁶ = 2¹⁶)—a gap large enough that 16-bit's relative footprint becomes visually negligible once plotted against later address-space comparisons (48-bit, 64-bit) in the same scale.
Physical Address Extension is a processor mode, introduced with the Pentium Pro in 1995, that widens the physical address bus from 32 to 36 bits—extending the total physical memory a 32-bit system can address to 64 GB. Mechanically, PAE works by restructuring the paging hierarchy: page table entries are expanded from 32-bit to 64-bit format, and an additional translation level (the Page Directory Pointer Table) is introduced to accommodate the wider physical address field.
Critically, PAE does not change the size of a virtual address. Each process remains confined to a ≤4 GB virtual address space regardless of PAE state—PAE extends how much physical RAM the system as a whole can page across, not how much any single process can directly address. Applications needing to use physical memory beyond their 4 GB virtual ceiling require Address Windowing Extensions (AWE), an API that lets a process reserve a small virtual window and dynamically remap larger pools of physical memory into that window at runtime—the process never holds the full physical range in its address space at once. PAE support first appeared in Windows with NT 4.0 Enterprise Edition (1997), and was carried forward into Windows 2000 Advanced Server and Datacenter Server. The first Windows client release to include PAE support was Windows XP.
This is where an examiner needs to be precise, since it's a widely repeated misconception: since Windows XP SP2, PAE mode is enabled by default on 32-bit client Windows—but solely to support the NX bit (DEP), not to unlock addressing beyond 4 GB. Microsoft enforced a deliberate licensing policy capping recognized physical memory at approximately 4 GB on all 32-bit client SKUs (XP, Vista, 7, 8, 10), independent of PAE state and regardless of how much RAM is physically installed—largely to avoid the driver-compatibility hazards of unvetted 32-bit drivers making unsafe assumptions about physical addresses. Only server SKUs (2000 Advanced Server/Datacenter and later Enterprise/Datacenter editions) were licensed to use PAE for genuine >4 GB physical addressing.
The forensic implication: on a client-OS 32-bit image, PAE being active tells you DEP/NX enforcement was in play—it does not indicate the system had access to more than ~4 GB of RAM, and a report that conflates "PAE enabled" with "more RAM available" will misstate what the artifact actually shows. That distinction matters when correlating installed-RAM figures (SMBIOS, wmic memorychip) against OS-reported totals during triage.
x64 System Architecture
x64 is the 64-bit architecture developed by AMD around the turn of the millennium, first implemented in silicon with the 2003 Opteron/Athlon 64 line. It goes by several current names—x64, x86_64, and AMD64—used largely interchangeably depending on vendor and OS documentation (Microsoft favors "x64," and Linux distributions favor "x86_64"). Two predecessor names are genuinely retired: IA-32e and EM64T were Intel's initial internal and transitional designations before the architecture stabilized. Intel 64, however, is not retired—it remains Intel's current, actively used official term for its AMD64-compatible implementation and appears throughout Intel's present-day Software Developer's Manual. An examiner citing CPU documentation or SDM references should expect to see "Intel 64," not treat it as legacy terminology.
Ownership of the underlying IP is not unidirectional. AMD and Intel operate under a long-standing cross-licensing agreement: Intel licenses its foundational x86 patents to AMD, and AMD licenses its AMD64 extensions back to Intel—each vendor depends on the other's IP to ship a competitive, compatible chip. This is not a general licensing regime AMD extends to arbitrary chipmakers; the set of vendors with legal standing to produce x86/x86-64-compatible processors (Intel, AMD, and historically VIA/Zhaoxin) is small and shaped by decades of specific legal settlements rather than an open standard.
The x64 instruction set is commonly described as a superset of x86, and functionally this holds for practical purposes, but it is not strictly accurate at the instruction level: long mode (native 64-bit execution) drops a handful of legacy x86 instructions—the BCD arithmetic opcodes (AAA, AAS, AAM, AAD, DAA, DAS) among them—that remain valid only in compatibility mode, the sub-mode long mode uses to run unmodified 32-bit code. An examiner disassembling code recovered from a 64-bit process should be aware that mode context determines which legacy opcodes are even valid, which matters when validating whether disassembled bytes represent legitimate instructions or are being misinterpreted due to an incorrect mode assumption in the disassembler.
Boot behavior follows the same real-mode origin discussed for x86: on power-on, both x86 and x64 processors initialize in real mode, addressing memory via segment:offset and executing only 16-bit instructions. The processor must be explicitly transitioned into protected mode to execute 32-bit instructions—the OS does this deliberately by setting the PE bit in CR0. x64 chips add a further mode, long mode, which enables native 64-bit instruction execution and the expanded addressing that comes with it. The practical consequence for an examiner: an x64 processor can run a 32-bit OS entirely within protected mode, with the OS never invoking long mode at all—the extra capability is simply unused, not inaccessible. Carried to its logical extreme, a real-mode or 16-bit OS could run on modern x64 silicon simply by never issuing the transition into protected or long mode; the processor's backward-compatible mode chain permits this by design. One caveat worth flagging for anyone testing this against physical or virtual hardware: modern systems that are UEFI-only without a Compatibility Support Module (CSM) may lack the firmware boot path needed to actually launch legacy real-mode boot code, even though the CPU itself still implements real mode—the limitation in that case is in the firmware, not the processor.
The architectural payoff of x64 is not limited to 64-bit instructions—it's the expanded address width. The AMD64 specification architecturally defines 48-bit virtual addressing (a 256 TB address space) via 4-level paging, with a newer 57-bit extension (5-level paging, LA57) defined for even larger ranges. It's worth being precise here rather than repeating a commonly rounded figure: current Windows versions do not expose the full 256 TB architectural range to a process. Per Microsoft's documentation, a 64-bit Windows process is granted a virtual address space of 0x000'00000000 through 0x7FFF'FFFFFFFF—128 TB, or 2⁴⁷ bytes—not the full 2⁴⁸ (256 TB) the 48-bit specification architecturally permits. Windows 8.1 and Server 2012 R2 were the releases that raised the ceiling from an earlier 8 TB limit up to that 128 TB figure; they did not "fully implement" the 48-bit AMD64 spec, only a substantial fraction of it. This distinction is relevant when reasoning about address-space layout during memory forensics—the addressable range an examiner will actually observe in a live 64-bit Windows process is bounded well short of the architecture's theoretical maximum.
The transition to 64-bit processors resolves several constraints that persist even with PAE in place. PAE extends the physical memory a 32-bit system can page across, but it does not touch the per-process ceiling: each 32-bit process remains confined to a 4 GB virtual address space regardless of PAE state. Under the default Windows split, 2 GB of that space is reserved for kernel/system use, leaving only 2 GB available to user-mode code—a constraint that matters directly for memory-intensive workloads an examiner might encounter (database engines, forensic imaging tools processing large datasets, virtualization hosts).
Two mitigations existed for this before 64-bit adoption became mainstream: Windows' /3GB switch (rebalancing the split to 3 GB user / 1 GB kernel) and the Linux 4G/4G split kernel configuration, which gives user space the full 4 GB by relocating the kernel mapping out of the process's address space entirely, at some TLB-performance cost. Both were stopgaps, not solutions—some workloads genuinely require more than 2–3 GB of directly addressable memory, full stop.
In the window before roughly 2004, Intel's only 64-bit offering was Itanium (IA-64)—an entirely separate, x86-incompatible architecture launched in 2001 that never achieved mainstream desktop/server adoption outside specific enterprise deployments. During that period, an application genuinely needing more addressable memory and x86 compatibility had nowhere to go, which pushed some workloads toward architectures like SPARC or Itanium-based systems instead. That gap closed in 2004, when Intel began shipping AMD64-compatible chips of its own (initially branded EM64T, later Intel 64)—meaning any claim that x86-based systems "must go to SPARC" for 64-bit needs has been factually obsolete for roughly two decades and should be presented as historical context, not present-tense fact, in any writeup that reproduces it.
64-bit adoption benefits workloads beyond just memory-hungry processes. The architecture adds a substantially larger general-purpose register file, useful for fast access and computation independent of addressing concerns. It also natively handles arithmetic on values wider than 32 bits without the multi-instruction EDX:EAX-pairing sequences 32-bit code required for 64-bit integer math—worth noting for precision that this is a native-integer-arithmetic improvement specifically, not the introduction of large-number computation generally, since the x87 FPU (80-bit extended precision) and MMX/SSE (64-/128-bit SIMD) already existed on 32-bit x86 for other numeric workloads.
RIP-relative addressing—a new addressing mode allowing instructions to reference memory relative to the current instruction pointer—is part of the AMD64 specification, designed by AMD. Intel implemented it as a licensee upon adopting AMD64 compatibility. The forensic-relevant payoff is real regardless of attribution: RIP-relative addressing removes the need for the classic 32-bit position-independent-code trick of a call/pop sequence solely to read the instruction pointer into a general-purpose register—fewer instructions, less exposure of intermediate control-flow state, and a cleaner disassembly signature. An examiner reverse-engineering 64-bit shellcode or PIC-compiled malware should expect RIP-relative memory operands as the norm rather than the call/pop idiom still common in 32-bit samples.
The principal architectural advantage of 64-bit processing is address-space scale. A full 64-bit virtual address space yields a theoretical ceiling of 2⁶⁴ bytes—16 exabytes (EB). For scale: 1 EB is 1,024 TB, well over a million GB, several orders of magnitude beyond any physical memory configuration an examiner is likely to encounter in practice.
No current x86-64 implementation exposes the full 64-bit range, however. The AMD64 specification currently caps virtual addressing at 48 bits, yielding a 256 TB virtual address space. It's worth being precise about why this ceiling exists, since the rationale is often stated backwards: 48-bit addressing was chosen specifically because it maps cleanly onto a 4-level page table with 4 KB pages (four 9-bit table indices plus a 12-bit page offset), keeping page-table walks and TLB pressure manageable. Extending to the architecture's full 64-bit range would require additional paging levels—as seen in the newer 57-bit (5-level paging / LA57) extension—adding sequential memory accesses per address translation. The 48-bit limit is a page-walk-efficiency tradeoff, not a mechanism that itself produces faster lookups.
48-bit virtual addressing describes address-space size, not installed physical memory. The 256 TB figure is how much distinct virtual address space a process or the OS can reference—it says nothing about how much physical RAM a given system actually has installed, which is instead bounded by the CPU's physical address width (commonly 40–52 bits depending on the specific silicon) and by what the motherboard and chipset support. A system can have a full 48-bit virtual address space while holding a small fraction of that in physical RAM.
The expanded address space has a direct security-relevant consequence: high-entropy Address Space Layout Randomization (ASLR), introduced with Windows 8 via the /HIGHENTROPYVA linker flag. Per Microsoft's own published mitigation research, a properly-flagged 64-bit image loaded above the 4 GB boundary receives 24 bits of entropy for its base address—a 1-in-16,777,216 chance of a correct guess. Entropy is not a single flat figure across all regions, however: Microsoft's published data shows 32-bit EXEs receive only 8 bits of entropy and 32-bit DLLs 14 bits, while 64-bit EXEs and DLLs receive materially more (documented separately for image-base randomization versus bottom-up heap/stack allocations). An examiner should treat "ASLR entropy" as region- and image-type-dependent rather than a single number to cite.
The forensic-relevant consequence is that address-space spraying and brute-force base-address-guessing attacks become largely impractical against properly flagged 64-bit targets—heap spraying and JIT spraying in particular lose effectiveness once the target region is drawn from a 256 TB space rather than a 4 GB one. This raises the bar for Return-Oriented Programming (ROP) specifically: an attacker chaining together existing code gadgets needs to know where those gadgets sit in memory, and high-entropy ASLR removes reliable guessing as a viable path to that knowledge. It's worth noting for balance, since it matters when assessing real-world exploit chains rather than the mitigation in isolation: ASLR of any entropy level is routinely defeated not through brute-force guessing but through a separate information-disclosure vulnerability that leaks a pointer or base address directly—a pattern common in modern exploit chains, where an info-leak bug is paired with a memory-corruption primitive specifically to route around ASLR rather than defeat it head-on.
Other CPU Architectures
ARM has become the dominant architecture in mobile devices and smartphones, and the primary driver is power efficiency, not raw execution speed. ARM implements a Reduced Instruction Set Computing (RISC) design — simpler, fixed-length instructions with correspondingly simpler decode logic — which draws meaningfully less power per cycle than the more complex, variable-length instruction decoding required by Complex Instruction Set Computing (CISC) architectures like x86. It's worth being precise here rather than repeating a common oversimplification: framing RISC as inherently "faster" than CISC hasn't reflected practical reality since roughly the Pentium Pro era, when x86 processors began internally translating their CISC instructions into simpler RISC-like micro-ops executed on an out-of-order superscalar back-end. Modern CISC chips aren't meaningfully slower per instruction as a category — the real RISC/CISC distinction today is about instruction density and decoder complexity, and it's the power side of that trade-off, not raw speed, that makes RISC the natural fit for battery-constrained mobile hardware. Worth noting for completeness: current high-performance ARM implementations (e.g., Apple's M-series) now compete with or exceed x86 on raw performance as well, further undercutting "RISC is faster" as a standalone justification.
The Volatility Framework added support for a 32-bit ARM address space specifically with the 2.3.1 release, introduced alongside Mac OS X support, to enable analysis of Android memory images. As mobile devices become increasingly central to forensic casework, ARM memory-image analysis will only grow in relevance — but an examiner should verify current plugin support directly against present-day documentation rather than assume parity: Volatility 3, a full framework rewrite released in 2020, replaced the profile-based approach of Volatility 2.x with a symbol-table architecture, and specific plugin coverage should be confirmed against the version actually in use for a given engagement rather than inferred from historical release notes.
A second, now largely obsolete 64-bit architecture an examiner may still encounter in legacy environments is Intel Itanium (IA-64). Itanium today survives almost exclusively in aging high-end enterprise server deployments, and its footprint continues to shrink. Confirmed against Microsoft's own product lifecycle documentation: Windows Server 2008 R2 was the last Windows release to support Itanium, with mainstream support ending July 9, 2013, and extended support concluding July 10, 2018 — meaning any Itanium system an examiner encounters today has been unpatched for several years at minimum, independent of any case-specific compromise. Current memory-acquisition and parsing tooling offers little to no native Itanium support, which limits an examiner's practical options considerably. The recommended acquisition path for a live Itanium-based Windows system is to force a crash dump, capturing memory contents to an output file for subsequent analysis — a workaround necessitated by the near-total absence of dedicated live-acquisition tooling for the platform, rather than a preferred technique in its own right.
Virtual-to-Physical Address Translation
Having established how architecture and OS configuration bound the addressable memory space, the next layer of detail an examiner needs is the virtual-to-physical translation process, commonly abbreviated vtop. This is the mechanism by which the virtual (or linear) addresses a running process references are resolved into the actual physical locations—real addresses on RAM chips—where the underlying data resides.
Depending on architecture and OS paging configuration, vtop is implemented as a two-, three-, four-, or five-stage page-table walk. It's worth being precise about the full range here, since the most basic case is easy to omit if a discussion starts from PAE onward:
- Two-level: standard 32-bit x86 without PAE—a Page Directory indexes into a Page Table, which resolves the final 12-bit offset within a 4 KB page. This is the baseline case for legacy 32-bit systems.
- Three-level: 32-bit x86 with PAE—a Page Directory Pointer Table (PDPT) is added ahead of the Page Directory and Page Table to accommodate PAE's extended physical addressing reach.
- Four-level: standard x86-64, using the architecture's default 48-bit virtual addressing—PML4 → PDPT → PD → PT.
- Five-level: x86-64 with LA57 enabled, extending virtual addressing to 57 bits by adding a PML5 table above PML4.
ARM follows a comparable pattern rather than a fixed stage count: 32-bit ARM using short descriptors typically resolves in two levels, LPAE (Large Physical Address Extension) adds a third, and AArch64 can extend to four levels depending on the configured virtual address size and page granule. An examiner should treat the stage count as architecture- and configuration-dependent, not a fixed property of "ARM" or "x86" as a category.
Responsibility for vtop is split between hardware and software. The processor's memory management unit (MMU) performs the actual page-table walk—on x86, beginning from the physical address held in the CR3 register, which locates the top-level table—while the operating system is responsible for constructing, populating, and maintaining the page tables the hardware traverses and for handling the fault raised when a translation cannot complete.
No memory forensics tool requires the examiner to perform this arithmetic manually—Volatility and comparable frameworks resolve vtop translations internally. But the same logic applies here as it does to a filesystem artifact like an NTFS alternate data stream: you will never walk a page table by hand during casework, but understanding what the walk is—and what each stage represents—is what lets an examiner correctly interpret a translation failure rather than treat it as an unexplained tool error. A failed vtop resolution can indicate anything from a swapped-out page to deliberate anti-forensic manipulation of paging structures, and distinguishing between those requires knowing what a successful walk looks like in the first place.
The worked example we will consider starts from a virtual address—the address a running process actually references—and traces it through to an offset in physical memory: the corresponding location within the memory image an examiner would actually acquire and analyze. In practice, that physical offset is what you'd seek directly within a raw memory dump to locate the byte in question. This particular walk-through is scoped to 32-bit virtual-to-physical translation without PAE—the two-level Page Directory/Page Table case established previously. The PAE variant, which adds a third translation level, follows in its own section rather than being folded in here.
As with vtop generally, no memory forensics tool requires an examiner to perform this translation by hand—Volatility and comparable frameworks resolve it internally. But working through the mechanism manually, once, is what turns "the tool says X" into an understanding of why it says X—which matters directly when a translation fails or produces an unexpected result rather than a clean resolution. The same principle applies elsewhere in DFIR: you will never manually parse the on-disk structure of an NTFS Alternate Data Stream during casework, since your forensic suite handles that automatically—but understanding what an ADS actually is, structurally, is what lets you correctly interpret one when it surfaces in your tool's output, rather than treating it as an anomaly you can't explain. The worked vtop example we will consider serves the same purpose: not a calculation you'll repeat in practice, but the foundation for reading your tool's output with genuine understanding rather than blind trust.
x86 Process Virtual Address Space
Before walking through the vtop process itself, it's worth establishing the memory-management model it operates on. On 32-bit systems, each process is presented with its own 4 GB virtual address space—a range of 0 to 2³²−1, since a 32-bit processor's addresses, like every other value it handles, are exactly 32 bits wide. This is strictly an abstraction: very few systems allocate a literal 4 GB of physical RAM per process, and the actual physical memory installed may be more or less than 4 GB entirely. The abstraction exists because it simplifies programming and lets the operating system manage physical resources independently of what any individual program believes it has access to.
This specific 2 GB/2 GB split is Windows' default behavior, not a universal property of 32-bit architecture—worth anchoring explicitly, since this post has already covered a differently-defaulted split in an earlier paragraph. Under Windows' default configuration, the lower 2 GB of the 4 GB virtual space is reserved for user space (process memory), and the upper 2 GB for kernel space (the operating system). Linux's traditional default runs the opposite emphasis—3 GB user / 1 GB kernel—with the earlier-discussed 4G/4G split as an optional reconfiguration for extreme cases, not Linux's baseline. An examiner should treat the user/kernel boundary as OS- and configuration-dependent, not a fixed architectural constant, before assuming which convention applies to a given image.
Under Windows' default split, kernel space begins at offset 0x80000000. This checks out arithmetically: 0x80000000 = 2³¹, exactly the 2 GB boundary, and the leading hex digit's high bit corresponds precisely to bit 31 of the full 32-bit address—meaning an examiner can, in principle, determine user- vs. kernel-space membership by inspecting that single bit. "In principle" is the operative qualifier, though: this only holds when the standard 2 GB/2 GB split is actually in effect.
That caveat isn't academic. Windows exposes a boot-time option—the /3GB switch—that reallocates the split to 3 GB user / 1 GB kernel, intended for RAM-hungry workloads such as database engines or Exchange servers. It's uncommon on home systems and unlikely to appear in most casework by default. But an examiner should not rule it out reflexively: a non-standard split is a viable anti-forensic technique, precisely because most memory forensics tools assume the standard 2 GB/2 GB division as a baseline configuration. If that assumption is invalidated on a given image and goes unnoticed, address-space interpretation built on the default boundary will be wrong—silently, not with an obvious error—which is a materially worse failure mode for an examiner than a tool crashing outright.
Consider a sample virtual address an examiner might encounter during a vtop walkthrough: 0x80485760. The first task is determining which region of the address space it falls into.
Recall the boundary established previously: under Windows' default 2 GB/2 GB split, kernel space begins at 0x80000000—an 8 followed by seven 0s across the address's eight hex digits, marking the 2 GB threshold. Comparing our sample address against that boundary digit by digit, 0x80485760 exceeds 0x80000000 (the third hex digit, 4, is already greater than 0), placing this address in kernel space—consistent with the high-bit check from the prior section: the leading 8 has bit 31 set, the same single-bit signal that flags kernel-space membership under the standard split.
This classification carries the same dependency flagged earlier and is worth restating explicitly for anyone reading this example in isolation: it holds only under the assumption that the default 2 GB/2 GB user/kernel division is actually in effect on the system being examined. If the /3GB boot switch—or any other non-standard configuration—has altered that boundary, this same address could fall on the opposite side of the line, and a bit-31 check performed without first confirming the active split would misclassify it. An examiner should verify the operative split before relying on this shortcut, not assume it.
With the address's region identified, the next step in the vtop process is decomposing the address itself. Under the two-level, non-PAE paging structure this walk-through is scoped to, the 32-bit virtual address splits into exactly three components used as sequential lookup values: a Page Directory Entry (PDE) index, a Page Table Entry (PTE) index, and a final offset into the resolved physical page. For the arithmetic to resolve correctly across all 32 bits, this splits as 10 bits (PDE index) + 10 bits (PTE index) + 12 bits (offset)—the same structure that defines the two-level Page Directory/Page Table walk established earlier in this section. Writing the address out in binary at this stage is what makes those three divisions mechanically visible, setting up the lookup sequence the next stage of the walk-through will perform.
The full translation path for a 32-bit virtual address, absent PAE, follows the structure documented in Windows Internals and proceeds through two table lookups anchored by a single starting value: the Directory Table Base (DTB).
The DTB is persisted in the KPROCESS structure—the kernel's per-process bookkeeping object—and while a process is actively scheduled, the same value is mirrored into the processor's CR3 register. This is precisely why CR3 reflects only the currently-running process at any given instant: on every context switch, the OS loads the incoming process's DTB from its KPROCESS structure into CR3, discarding whatever value CR3 held for the previous process. An examiner reconstructing per-process paging context from a memory image needs the DTB from the process's own KPROCESS structure, not a live CR3 snapshot, since CR3 only ever represents one process at the instant of acquisition.
The DTB is a physical offset—the address, in the memory image itself, of a frame containing a table of Page Directory Entries (PDEs). The terminology distinction here is deliberate and worth holding onto precisely: this is called a frame, not a page, because "page" conventionally denotes a unit of virtual memory, while "frame" denotes the corresponding unit of physical memory—a distinction sloppier DFIR writing often collapses, to the detriment of clarity.
Stage one: bits 22–31 of the virtual address (10 bits) serve as an index into the PDE table located at the DTB. To be precise about the arithmetic an examiner would actually perform by hand: this index selects a specific 4-byte PDE entry within the table, so the physical address being read is the DTB's base address plus (PDE index × 4 bytes)—not a raw bitwise combination of the index with the DTB value. The entry retrieved at that location contains status flags along with the physical offset of the next table: the Page Table Entries (PTEs).
Stage two: bits 12–21 of the virtual address (10 bits) index into that PTE table, using the same entry-size logic—PTE table base plus (PTE index × 4 bytes). The value retrieved here identifies the physical frame in RAM where the target data actually resides.
Final stage: the remaining 12 bits (bits 0–11) of the original virtual address serve directly as the offset within that frame—the exact byte position of the data being sought.
Together, this is the same 10/10/12 decomposition established earlier in this walk-through, now mapped onto its two concrete lookup stages. As with every prior stage of this discussion, no examiner performs this arithmetic by hand during actual casework—memory forensics tooling resolves it automatically—but understanding the DTB → PDE → PTE → frame+offset chain explicitly is what makes a translation failure interpretable rather than opaque when it occurs on real evidence.
The example referenced here comes from WindowsSCOPE Ultimate, a GUI-based memory forensics tool supporting analysis of both saved memory images and the virtual/physical memory of a live system—surfacing kernel structures, running processes, loaded DLLs and drivers, open file handles, network sockets, and registry keys. Before citing this tool in current material, its present-day availability and maintenance status should be verified independently—the functional description above reflects how it was historically documented, and product status isn't something to assert without checking.
The example examines a Page Table Entry (PTE) belonging to the process alg.exe. Reading the flag bits correctly matters here, since two adjacent flags are easy to conflate and the distinction is forensically meaningful:
- The Valid/Present flag confirms the data referenced by this PTE is actively loaded into physical memory rather than paged out or otherwise unmapped.
- Bit 8 is the Global flag. When set, it marks the entry as belonging to kernel-space mappings shared across all processes—content the OS deliberately exempts from cache invalidation when this particular process is paged out, since the mapping remains valid system-wide regardless of which process is currently scheduled.
- Bit 6 is the Dirty flag—and it's worth being precise about what it actually tracks, since it's commonly (and incorrectly) described as tracking any access. "Dirty" specifically indicates the page has been written to—modified—since it was loaded. This is distinct from bit 5, the Accessed flag, which is set whenever a page is referenced at all, whether read or written. Every dirty page is necessarily also accessed, but a page can be accessed (read) without ever being marked dirty. For an examiner, this distinction has real value: it's the difference between "this process merely mapped or read this page" and "this process actively modified this page's contents"—a meaningfully different claim to be able to support when characterizing process behavior from memory artifacts.
For authoritative detail beyond the summary above, Chapter 5 ("Memory Management") of Windows Internals, 7th Edition, remains the primary reference, supplemented by Microsoft's own NT Debugging blog series on PTE flags and large-page behavior for additional worked detail.
Enabling PAE adds an additional translation layer to the vtop process, expanding the walk from the two-level non-PAE structure discussed earlier into a four-field, three-level lookup. The 32-bit virtual address is decomposed as follows:
- Bits 30–31 (2 bits)—the PDPT index, selecting one of four entries in the Page Directory Pointer Table (PDPT)—the additional structure PAE introduces ahead of the standard Page Directory. This is the field a non-PAE walk doesn't have at all.
- Bits 21–29 (9 bits)—the PDE index, into the Page Directory selected by the PDPT entry above it.
- Bits 12–20 (9 bits)—the PTE index, into the Page Table selected by that PDE.
- Bits 0–11 (12 bits)—the final offset into the resolved physical frame.
The arithmetic checks out across all four fields: 2 + 9 + 9 + 12 = 32 bits, accounting for the entire virtual address. Note the sizing shift relative to the non-PAE case: the PDE and PTE index fields shrink from 10 bits each (non-PAE) to 9 bits each under PAE, with the freed 2 bits reallocated to the new top-level PDPT index—the structural trade-off that gives PAE its expanded physical-addressing reach.
Precision on naming matters here specifically because it's a common point of confusion: the top-level 2-bit field is the PDPT index, not a generic "Page Directory "Index"—that phrasing invites confusion with the separate, lower PDE index field two levels down. Intel's own SDM and standard DFIR references (Windows Internals included) consistently distinguish the PDPT index from the PDE index by name specifically to avoid this ambiguity, and an examiner cross-referencing tool output or raw hex against official documentation will hit a mismatch immediately if the top-level field is mislabeled.
The virtual-to-physical translation process differs meaningfully once PAE is enabled, but it's worth being precise about which change is actually responsible for extending physical addressing. Recall from earlier in this discussion that PAE allows a 32-bit system to use more than 4 GB of physical RAM via a hardware extension—but this applies to the system as a whole, not to any individual process. Virtual addresses remain 32 bits regardless of PAE state, so each process is still confined to its 4 GB virtual ceiling.
PAE achieves its extended physical reach by widening PDE and PTE entries from 4 bytes to 8 bytes, and this widening is also what necessitates the fourth lookup step — the Page Directory Pointer Table (PDPT) — established in the prior paragraphs. It's worth isolating cause from side effect here, since it's easy to conflate the two: the ability to address additional physical memory comes specifically from the wider PDE/PTE entries, not from the extra PDPT lookup step itself. The PDPT exists as a structural consequence of the entry-size change — doubling entry size halves how many entries fit in a 4 KB table (512 rather than 1,024), so an additional top-level index is required simply to preserve the same 4 GB per-process virtual coverage. The actual expansion in physical addressing reach comes from the wider frame-number field the 8-byte entry can hold: a 4-byte, non-PAE PTE can represent physical addresses only up to the 4 GB boundary, while an 8-byte PAE PTE can reference a substantially wider physical address—the mechanism behind PAE's extended reach in full.
On the specific ceiling Microsoft has historically supported, precision matters for anyone examining an older 32-bit Windows Server image: 64 GB was not always the limit, and stating it as a flat, static figure risks misrepresenting older systems. The original 32-bit maximum was 128 GB, supported by Windows Server 2003 Datacenter Edition—a limit driven by the same structural constraint discussed below, just tolerated at a higher ceiling in that release. It was Windows Server 2008 that deliberately lowered the supported 32-bit physical memory ceiling to 64 GB, trading maximum addressable RAM for more available system (kernel) virtual address space—a deliberate performance decision, not an architectural hard limit.
The rationale behind capping supported physical memory at all—rather than allowing PAE's 8-byte entries to address their full architectural reach—comes down to the Page Frame Number (PFN) database: the structure the Memory Manager uses to track which physical frame maps to which virtual page. Because the entire PFN database is mapped into the kernel virtual address space for performance, and kernel space is itself capped at 2 GB under the standard Windows split, addressing more physical memory than the supported ceiling would cause the PFN database to consume an outsized share of that already-constrained 2 GB kernel range—a resource-exhaustion problem, not a hardware ceiling. This is precisely the kind of internal Windows memory-management constraint an examiner should understand conceptually rather than treat as an arbitrary vendor limitation, since it directly explains supported-memory figures that otherwise look inconsistent across Windows Server releases.
x64 Virtual Memory (48-Bit Implementation)
On 64-bit systems, each process is presented with its own 256 TB virtual address space, entirely independent of how much physical memory the underlying system actually has installed—the same virtual/physical decoupling established repeatedly throughout this discussion, just at a far larger scale than the 32-bit case. This 256 TB figure follows directly from 48 bits of addressing, the current AMD64 specification's virtual-addressing ceiling established earlier in this thread.
The 256 TB space does not divide asymmetrically between user and kernel. It splits into two equal 128 TB halves, governed by canonical addressing rather than an arbitrary boundary value. With 48 significant bits, a valid address requires bits 48–63 to be a sign-extension of bit 47—producing exactly two valid ranges: low canonical addresses, spanning 0x0000000000000000 to 0x00007FFFFFFFFFFF (128 TB), reserved for user space; and high canonical addresses, spanning 0xFFFF800000000000 to 0xFFFFFFFFFFFFFFFF (128 TB), reserved for kernel space.
This is a meaningfully different structure from the 32-bit case discussed earlier, where user/kernel boundaries were configurable (the default 2GB/2GB split, alterable via /3GB). On x64, the 128 TB/128 TB division is fixed by the canonical-addressing rule itself, not an OS-configurable policy choice.
A forensically useful consequence of this structure: the range of addresses between the two canonical halves—everything with a non-matching sign-extension pattern in bits 48–63—is non-canonical. It is not a third region of legitimate address space; it's simply invalid. An examiner encountering a non-canonical value where a valid pointer, return address, or virtual address field is expected should treat that as a signal worth investigating directly—it can indicate memory corruption, a parsing error in the analysis tool itself, or, in some cases, an artifact of code (such as certain injection or exploitation techniques) that manipulates address values incorrectly. Recognizing the canonical/non-canonical boundary is what allows an examiner to distinguish "this is legitimately kernel space" from "this value isn't a valid address at all"—a distinction the raw hex alone won't reveal without understanding the underlying structure.
Worth noting for anyone cross-referencing older material: earlier x64 Windows implementations used only 44 significant bits of addressing rather than the full 48, which splits into two 8 TB halves (8 TB user, 8 TB kernel) rather than today's 128 TB/128 TB. That older 44-bit, 16 TB-total configuration is the source of the smaller figures sometimes still seen in legacy documentation—a distinct, obsolete configuration from the 48-bit split described above, not an alternate way of describing the same thing.
Consider the sample virtual address 0xfffffa8018dd3040. As established earlier in this discussion, 64-bit x86-64 systems implement only 48 bits of actual addressing despite the full 64-bit register width—meaning the hex representation of a real address will look unfamiliar to an examiner trained primarily on 32-bit memory images, since the upper 16 bits are consumed entirely by sign-extension rather than contributing to the address itself.
Decomposing this value nibble-by-nibble into its full 64-bit binary representation and slicing it according to the four-level paging structure established earlier (a 16-bit sign-extension field, followed by four 9-bit table indices, followed by a 12-bit offset) yields the following, independently verified field-by-field:
- Sign-extension (bits 63–48):
1111111111111111—all set, consistent with a high-canonical kernel-space address, matching the 0xFFFF800000000000+ range established previously. This is precisely the source of the "strange-looking" hex an examiner accustomed to 32-bit images will notice immediately. - PXE / PML4 index (9 bits):
111110101→ 0x1F5 - PPE index (9 bits)—the field commonly mislabeled "Page Directory" in older training material, but which actually indexes the Page Directory Pointer Table (PDPT), one level above the true Page Directory:
000000000→ 0x000 - PDE index (9 bits):
011000110→ 0xC6 - PTE index (9 bits):
111010011→ 0x1D3 - Offset (12 bits):
000001000000→ 0x040
A naming precision worth carrying forward from this example: the four translation levels in x86-64 paging are cleanly disambiguated in Microsoft's own WinDbg !pte output as PXE → PPE → PDE → PTE—Page Map Level 4 Entry, Page Parent-directory Entry, Page Directory Entry, and Page Table Entry, respectively. Labeling the second field "Page Directory" (as some legacy slide decks do) collides with the separately-labeled PDE field immediately after it, creating exactly the kind of ambiguity that makes a diagram harder to reconcile against real tool output or Intel's own documentation. Adopting the PXE/PPE/PDE/PTE convention consistently avoids that collision entirely.
An examiner walking this address by hand would use each extracted index value—0x1F5, 0x000, 0xC6, 0x1D3—as a sequential offset multiplier (index × entry size) into each successive table, ultimately arriving at a physical frame, to which the final 12-bit offset (0x040) is applied to reach the exact byte in question. As with every prior stage of this walk-through, no examiner performs this by hand during real casework—but being able to independently verify a tool's reported translation against the raw hex, as done here, is what separates trusting a result from understanding it.
The vtop process on x64 systems follows the same fundamental logic established for the 32-bit non-PAE and PAE cases: the original virtual address is divided into sequential fields, each used as an index into a successive lookup table, beginning from the Directory Table Base (DTB) for the process. What changes is the number of levels involved.
Standard x64 addressing is a four-stage lookup, not five—worth stating precisely, since this directly matches the worked hex example completed earlier in this thread, which decomposed cleanly into exactly four 9-bit index fields plus a 12-bit offset. The four stages, in query order, are: PML4 (Page Map Level 4, queried first via the DTB/CR3), followed by PPE (the Page Directory Pointer Table index—the field sometimes mislabeled "Page Directory" in older material), then PDE, then PTE. Each stage's entry supplies the physical base address for the next table down, until the final PTE lookup resolves to the physical frame the 12-bit offset applies against.
A genuine five-stage variant does exist, but it's a distinct, separately-enabled configuration rather than the standard x64 case: LA57 (57-bit linear addressing) adds a fifth table, PML5, above PML4—meaning PML4 becomes the second stage under LA57, immediately below the newly-inserted PML5, never the fifth. An examiner should treat "four-stage" as the default assumption for x64 and confirm LA57 is actually in effect before assuming a fifth level applies.
IA-64 (Itanium) is correctly out of scope here, though the gap between it and the x64 scheme just described is larger than "slightly different" implies. Itanium doesn't use the PML4/PPE/PDE/PTE hierarchy at all—it relies on region registers paired with a Virtual Hash Page Table (VHPT), a fundamentally different hardware/software-cooperative translation mechanism. An examiner who encounters an Itanium memory image should not attempt to apply the x64 vtop logic covered in this material; it doesn't transfer.
Finally, it's worth reinforcing a point already made once in this thread and equally applicable here: this four-stage PML4/PPE/PDE/PTE structure is specific to x86-64, not a universal property of "64-bit systems" as a category. AArch64 (ARM64) implements its own distinct translation-table structure, with its own level-count and naming conventions—an examiner working on an ARM64 memory image should not assume the x64 field layout or stage count carries over directly.
Having walked the vtop process by hand across the non-PAE, PAE, and x64 cases, it's worth examining how a real memory forensics framework automates the identical logic. The example above is output from Rekall's vtop plugin, resolving a specific virtual address against a live or acquired image.
A context note before the walkthrough itself: this example uses a 32-bit virtual address (0x77fe0000, eight hex digits) and resolves through exactly three lookup stages — pdpte, pde, pte—which identifies it as the 32-bit PAE case established earlier in this post, not the four-stage PML4/PPE/PDE/PTE x64 structure covered immediately prior. The output resolves as follows, and every step below has been independently verified by hand against the PAE 2/9/9/12 bit decomposition established earlier.
- Decomposing
0x77fe0000yields a PDPT index of 1, a PDE index of 447 (0x1BF), and a PTE index of 480 (0x1E0). - PDPT lookup: the DTB—labeled "Page Directory" in Rekall's output at
0x1a698580, though it is more precisely the PDPT base, the same naming looseness flagged twice previously in this post—plus (index 1 × 8 bytes) resolves to0x1a698588, matching the reportedpdpte@exactly. - PDE lookup: extracting the physical frame from the pdpte value (
0x70275001) gives a Page Directory base of0x70275000; adding (index 447 × 8 bytes) resolves to0x70275df8, matching the reportedpde@exactly. - PTE lookup: extracting the physical frame from the pde value (
0x701b9067) gives a Page Table base of0x701b9000; adding (index 480 × 8 bytes) resolves to0x701b9f00, matching the reportedpte@exactly. - The resolved PTE's
PageFrameNumberfield (0x175FE) shifts into a final physical frame base of0x175fe000; combined with the original virtual address's zero-value 12-bit offset, this is the physical location an examiner would seek directly within the memory image to retrieve the actual data.
A useful independent corroboration worth citing: the PTE flag table reports Accessed at bit 5 and Dirty at bit 6—precisely matching the distinction established earlier in this post between the two flags, confirmed here against real tool output rather than documentation alone.
The practical value of this automation is exactly the reduction from "hours of manual table-walking" to "a single plugin invocation"—but as with every prior stage of this discussion, understanding what the plugin is doing under the hood is what allows an examiner to sanity-check its output rather than accept it uncritically. Rekall's ability to incorporate the system's page file(s) into its analysis extends this further: a PTE reporting a type other than Valid—for example, one whose Present/Valid bit is clear—redirects the remaining bits toward locating the data within the page file rather than physical RAM, meaning vtop output can tell an examiner definitively whether a given virtual address's data currently resides in memory or has been paged out to disk.
Translation Lookaside Buffers
Multi-level page-table walks—whether three, four, or five stages depending on the paging mode—are computationally expensive. To avoid repeating these costly translations on every memory access, the processor maintains a hardware cache of recent virtual-to-physical mappings known as the Translation Lookaside Buffer (TLB). The TLB resides entirely within the CPU, contains a fixed number of entries, and is inaccessible to the operating system. Consequently, its contents are also invisible to a forensic examiner working from a memory image.
On x86 and x64 architectures, the TLB is typically implemented as at least two separate structures per logical processor: an Instruction TLB (ITLB) that caches translations for code fetches and a Data TLB (DTLB) that caches translations for data accesses. Modern designs often add further levels (for example, an L2 unified TLB), but the ITLB/DTLB distinction remains fundamental. Under normal execution, the two buffers remain coherent and map the same virtual addresses to the same physical frames; temporary divergence can occur with self-modifying code or explicit invalidation, yet this is rare in ordinary process contexts.
Because each process possesses its own set of page tables, a context switch (CR3 reload) requires the TLB to be invalidated. A dedicated bit in each page-table entry—the Global bit (bit 8)—marks pages that should be exempt from this invalidation. Kernel-mode pages are routinely marked global so that the large, shared kernel address space survives process switches and does not have to be re-walked.
From a forensic perspective, this architecture has a practical consequence: while page-table structures and the Global bit itself are recoverable from a memory image, the live TLB state is not. Examiners must therefore reason about translation behaviour from the page tables alone, recognizing that the processor’s actual runtime view of memory may have been accelerated by TLB entries that no longer exist in the captured image.










Post a Comment