CyberKit

Virtual-to-Physical Address Translation

Also called Address Translation.

Resolving a process virtual address to its physical RAM offset.

What it is

The procedure of converting a virtual address used by a process into the physical memory offset that holds the data, by walking the relevant page tables for that process's address space. A memory image is a physical capture, so analysis tools perform this translation to read process-relative data.

Why it matters

Without correct translation, a virtual address in one process points to entirely different bytes in physical memory, so getting it right is fundamental to reading the right data and to interpreting kernel and user pointers from a raw capture. It also reveals which pages were resident versus paged out at capture time.

In practice

Translating a kernel pointer found in a driver structure down to a physical frame to confirm the code it referenced was an unsigned, in-memory-only payload.

What to look for

  • The directory table base for the right process.
  • Pages that are paged out and missing from the image.
  • Large pages that change the translation steps.

Common mistake

Translating with the wrong process context. Each process has its own page tables.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Volatility 3 Open source

    A widely used open source framework for analyzing memory images with plugins. Our notes.

  • Velociraptor Open source

    Can collect memory and query live process memory across many hosts. Our notes.

  • CrowdStrike Falcon Commercial

    EDR agents watch memory activity on the host, such as injection and unbacked code.

Read next

  • Page Table: The hardware mapping from virtual pages to physical frames.
  • Demand Paging: Loading pages into RAM only when accessed, leaving gaps in captures.
  • Pagefile Analysis: Recovering evidence from memory pages the OS swapped out to disk.

Sources