MemDiver

MemDiver logo

Interactive platform for identifying and analyzing data structures in memory dumps.

Note

MemDiver is the research artifact accompanying a submission to the IMF conference (IT Security Incident Management & IT Forensics). The accompanying study analyzed ~30K memory dumps across 13 TLS libraries (TLS 1.2 and 1.3) to answer a concrete forensic question: which TLS secrets survive in process memory, and for how long?

What it does

MemDiver is a browser-based workbench for exploring binary memory dumps. A FastAPI backend drives a React IDA-Pro-style dockable workspace; an optional Marimo sandbox hosts deeper research workflows; an MCP server exposes the same analysis engine to AI assistants. It combines known-key search, entropy scanning, change-point detection, structural parsing, and cross-run differential analysis to locate and classify data structures in memory.

Get started

🚀 Quick start

Install MemDiver and run the web UI, CLI, MCP server, or experiment harness in under five minutes.

Quick start
🧭 User guide

Tour the workspace, learn the CLI, wire the MCP server into Claude Code, and reproduce the hero screenshots.

Web UI tour
🏗️ Architecture

Walk through the ten subsystems: core, engine, harvester, msl, architect, algorithms, api, mcp_server, ui, frontend.

Architecture
🔬 Algorithms & views

Reference pages for the eight detection algorithms and nine visualization views shipped today.

Algorithms

At a glance

Surface

Count

Location

Detection algorithms

8

algorithms/

CLI subcommands

20

cli.py

FastAPI routers

12 + WebSocket

api/routers/

MCP tools

15

mcp_server/

Exporters

YARA · JSON · Volatility3

architect/

Dump backends

memslicer · lldb · fridump

core/dump_driver.py

Visualization views

4 SPA + 5 research-mode (Marimo)

frontend/ + ui/

Under the hood: DuckDB ProjectDB, .memdiver SessionStore, Welford incremental consensus, Aho-Corasick multi-pattern scan, Kaitai Struct parsing, ASLR-aware region alignment, auto-discovered KDF plugins, BYO decryption oracles, first-class Volatility3 plugin emission.