← Lab /Security & privacy

Memory forensics possible on any Linux kernel without external symbols

Mquire can analyze Linux memory dumps without any external debug symbols by extracting needed information directly from the dump.

Security & privacy Trail of Bits 25 Feb 2026 Tooling Prototype evidence

Published as “mquire: Linux memory forensics without external dependencies”

Why it matters

Enables incident responders and forensic analysts to examine Linux memory dumps from unknown or custom kernels without the overhead of locating matching symbol files.

Summary

The authors built mquire, an open-source tool that parses Linux memory dumps by extracting BTF type information and Kallsyms symbol addresses directly from the dump. This eliminates the need for matching kernel debug symbols or external profiles, allowing analysis of unknown, custom, or updated kernels. The writeup demonstrates the approach conceptually and lists supported tables, but provides no quantitative evaluation.

What they found 1

  1. mquire can analyze Linux memory dumps without external debug information.

    “mquire analyzes Linux memory dumps without requiring any external debug information.”

Caveats 5

  • mquire can only access kernel-level information; BTF doesn’t provide information about user space data structures.
  • The Kallsyms scanner depends on the current format of scripts/kallsyms.c and may need updates if the format changes.
  • Kernel 4.18+ with BTF enabled and kernel 6.4+ for Kallsyms support are required.
  • Only kernel-level structures are accessible; user-space structures are not covered.
  • Future kernel changes to the Kallsyms format could break the scanner.

What’s new here 4

  • Analyzes Linux memory dumps without requiring external debug symbols or profiles.
  • Extracts BTF type information and Kallsyms addresses directly from the dump.
  • Provides an interactive SQL interface for relational queries over kernel data.
  • Includes a .dump command to recover files cached in kernel memory.

In the news