MemDiver Volatility 3 Plugins: Validation Guide
Introduction
This guide lists the captures used to test the MemDiver Volatility 3 plugins, the reference data for each check, and the results. Run make validate to repeat the checks for the datasets you have.
The plugins label each recovered key with a status. A key is proven when an oracle confirms it independently of how the plugin located it: a MAC or AEAD tag over ciphertext still in memory, the key digest of a LUKS header, a decrypted filesystem block, or a derivation of the key (AES round keys, HMAC midstates, an HKDF chain) found elsewhere in the same memory. A key no oracle confirms stays unverified; absence of a proof is not evidence against the key. The plugin documentation explains the statuses in What Proven means. Proof labels such as O1+O2:luks-digest or oracle:derived-state are the plugins’ own output strings; Technical details defines each one.
The validation then asks a second question: is the proven key the right one? Each result below is compared with one of three kinds of reference:
Reference |
What it is |
|---|---|
Guest ground truth |
Data that does not come from the plugin: the guest’s own |
Build-time keylog |
Keys an implementation logged in-process while an in-repo sample was made. The verdict labels and addresses stored next to them in |
Self-consistency |
The plugin’s output on one process compared with its output on another (for example the client and the server of one SSH connection), where the capture holds no ground truth for the keys. Where this is the only reference, each proven key is also re-verified with the |
The final run of 2026-11-30 executed 52 checks as 387 result rows (one row per check, Volatility tree and capture or case) on Volatility 2.27.0, Volatility 2.28.2 and a bare vol without MemDiver, with Docker available and every optional corpus configured: 383 passed, 0 failed, 4 skipped as known limits. Six checks were added after that run, so the suite now has 58 checks: decryption of the recorded SSH and WireGuard traffic of two traffic captures with the exported keys, wireguard-go on a full image, blind discovery with plugin synthesis on five libssh sessions, on five wireguard-go runs per role and on a Windows image alone. The new checks, and the existing wireguard-go and Windows checks on the data prepared for publication, were run individually on 2026-11-30 (109 rows, all passed; see Results History), not yet in one full run. The plugin write-up is in vol3plugins/README.md; a walk-through of the in-repo samples with their expected keys is in samples/README.md.
Test Captures
The Zenodo identifiers below are placeholders pending verified public links.
The checks run on three groups of data: small samples committed to the repository, data prepared for two Zenodo records (the Linux record <ZENODO_DOI_LINUX>: the six x86_64 reference captures, the traffic captures, the wireguard-go dumps and the SSH slices; the Windows record <ZENODO_DOI_WINDOWS>: the redacted Windows 10 ChaCha set), and further corpora that are private.
Capture |
OS / kernel / arch |
Workload (planted secrets) |
Size |
Where to get it |
SHA-256 (short) |
|---|---|---|---|---|---|
In-repo samples |
Linux userspace slices ( |
gocryptfs aes-gcm and xchacha20-poly1305 daemons, a tampered and an encrypted copy, the vault oracle samples, a libssh 0.10.6 client and a wolfSSH 1.4.20 client, two wireguard-go 0.0.20250522 slices (one with a preshared key) and the packet captures of their two runs, the synthesized gocryptfs plugin |
about 3.0 MB |
per file in |
|
v1, 4-level paging |
Ubuntu 24.04, kernel 6.8.0-136-generic, x86_64, 4 GiB RAM |
LUKS2, LUKS1, VeraCrypt, WireGuard (3 peers, a PSK, a rekey, an in-flight handshake), fscrypt v1 and v2, eCryptfs, gocryptfs, OpenSSH and Dropbear sessions; |
4.29 GB LiME (2.6 GiB |
Linux record |
|
v1, 5-level paging (LA57) |
as v1, on a CPU model with five-level paging |
the 4-level twin; the sidecar records |
same size (2.5 GiB |
Linux record |
|
v2b, 4-level |
as v1 |
the v1 set plus three sibling groups (4 forked Dropbear sessions, 4 re-exec OpenSSH connections, 3 independent gocryptfs daemons) with per-process page-frame ground truth; a derived fscrypt v1 descriptor and a |
same size (2.1 GiB |
Linux record |
|
v2c, 5-level (LA57) |
as v1 LA57 |
the v2b secret set, sibling groups and |
same size (2.1 GiB |
Linux record |
|
v2d, 4-level |
as v1 |
the v2 kernel and ISF with two code-patch cases and one control ( |
same size (2.2 GiB |
Linux record |
|
v2e, 4-level |
as v1 |
the v2 kernel and ISF with Serpent and Twofish dm-crypt volumes (LUKS2 serpent-xts-plain64 and twofish-xts-plain64 with the kernel keyring, plain serpent-cbc-essiv:sha256) and a VeraCrypt AES-Twofish-Serpent cascade opened by cryptsetup as three stacked dm-crypt devices (one sidecar record per layer with |
same size (2.3 GiB |
Linux record |
|
v2f, 4-level, traffic |
as v1 |
the v2 kernel and ISF with SSH sessions (libssh, Paramiko, OpenSSH, Dropbear) and a kernel WireGuard tunnel, plus the wire captures recorded while the image was taken ( |
about 2.3 GB |
Linux record ( |
|
v2g, 4-level, traffic |
as v1 |
the v2 kernel and ISF with two wireguard-go daemons (stock binary, one tunnel with a preshared key, kernel WireGuard module not loaded) and the wire capture of the underlay ( |
about 2.6 GB |
Linux record ( |
|
SSH session slices |
Linux userspace |
client slices of Go, libssh, wolfSSH and Paramiko, each with |
652 MB, one |
Linux record ( |
|
wireguard-go archive |
Linux userspace dumps |
140 dumps: 5 runs (one with a preshared key), 2 roles, 14 lifecycle dumps each, with in-process keylogs. The layout prepared for publication has no keylogs and no pcaps: each run carries a residency report (the first 16 hex digits of each key’s SHA-256), and identifying strings in the dumps are overwritten with same-length replacements |
10.6 GB, one |
Linux record ( |
|
gocryptfs corpus |
Linux userspace |
95 sessions, used for the synthesis sweep (95 of 95 proven) |
external |
||
Acquisition images |
21 Linux images, kernels 3.10 to 6.19, one of them ARM64 |
each acquired over a live SSH session; the images’ own keys are not recorded |
private, not redistributed ( |
||
Windows 11 minidumps |
Windows 11 ARM64, OpenSSH for Windows |
6 full-memory minidumps: three |
private, not redistributed ( |
||
Windows 10 minidumps and image, ChaCha |
Windows 10 x64 22H2, |
4 minidumps ( |
35.4 GB raw image, 4 minidumps of 27.6 MB |
Windows record, redacted ( |
|
Windows 10 minidumps and image, AES |
Windows 10 x64 22H2, |
4 minidumps ( |
private, not redistributed ( |
The short hashes are the first eight hex digits of the SHA-256 of each capture’s .lime.xz in the Linux record; the record’s SHA256SUMS lists the full hashes of every file. All six reference captures share one ISF (.isf.json.xz, SHA-256 c12e4a4b). Every in-repo .msl carries a SHA-256 integrity chain that a bare vol can verify; the ground truth of the samples is in samples.json, their hashes in SHA256SUMS.
The Linux record (<ZENODO_DOI_LINUX>, 81 files) holds the six reference captures, about 15.0 GB compressed and 26.5 GB decompressed, and the traffic captures v2f and v2g (about 4.9 GB compressed and 8.8 GB decompressed), which only the traffic-decryption checks use. It also holds the wireguard-go runs (five .tar.xz, 10.6 GB unpacked) and the SSH sessions (eleven .tar.xz with the capture rig, 0.65 GB unpacked), about 0.2 GB compressed together, so the whole record is about 20.1 GB compressed and 46.5 GB laid out. The Windows record (<ZENODO_DOI_WINDOWS>) holds the redacted Windows 10 ChaCha set: the raw image and the four minidumps as .xz, the symbol file in symbols.tar and REDACTION.md. The v2b capture includes the earlier v2 cases, so the six captures cover every reference case.
The reference captures were made with the capture tools: a QEMU guest, LiME, and pahole for layout evidence. In the recorded Apple-silicon TCG runs the four-level capture took 53 minutes and the five-level capture 3 hours 23 minutes.
The acquisition images, the Windows 11 minidumps and the Windows 10 AES set are private. They are described here so that the results can be read, but they are not redistributed, and the checks that use them skip without them. The Windows 10 ChaCha set (the four minidumps and the raw image) is published in the Windows record in redacted form: identifying strings are overwritten, the pages that hold the session keys keep their key bytes, and the Windows 10 ChaCha checks were rerun on the redacted bytes.
Ground Truth
Reference captures. Before each dump the planting scripts in the guest wrote the secrets they planted, and the guest’s own view of them, into a sidecar beside the image: secrets.json, secrets.tar.gz (with, for example, dmsetup_table_showkeys.txt), the process list at dump time (ps_at_dump.txt) and, for v2b and v2c, containers.tar. The sidecar holds the outputs of dmsetup table --showkeys, wg show all dump and /proc/keys, the fscrypt, eCryptfs and gocryptfs master keys, the planted files and their hashes (samples.sha256), per-process smaps_rollup values and page frames of the sibling processes, the lineage cases and the code patches. The ChaCha20 session keys of the OpenSSH and Dropbear sessions are the exception: the sidecar marks them unavailable-without-instrumentation, so those keys are checked by self-consistency.
In-repo samples. Each sample’s keys were logged in-process while the sample was built and stored in samples/samples.json, together with key addresses, PIDs and the offset of the flipped byte. The SSH keys come from key-derivation hooks in the sessions, the wireguard-go keys from the program’s own keylog.
External corpora. The SSH session slices carry gt.json from each implementation’s key hooks. The wireguard-go archive carries the in-process keylogs written during each run; in the layout prepared for publication, which has no keylogs, each run’s residency report (SHA-256 prefixes of the same keys, written from those keylogs) is the reference.
Traffic captures. The v2g sidecar holds the guest’s wg show output for both wireguard-go daemons. The wire captures recorded while the image was taken are a second, outside reference: a key is right if the packets it decrypts carry valid MACs or AEAD tags. No pcap is an input to any plugin verdict.
Acquisition images and Windows captures. No keylog was captured, so there is no guest ground truth. Each proven key is re-verified with cryptography (or the test’s own SHA-256 and FIPS-197 code) on the process’s own memory, a one-bit-off copy must match nothing, and the keys are pinned by their SHA-256, never stored as bytes.
Mount proof. The answer key is samples.sha256, which the guest wrote when it planted the files and which ships inside containers.tar. No key from the sidecar is used.
Running the Validation
Install MemDiver with Volatility and the test tools, then run the suite from a clone. The Makefile calls python, so activate the virtual environment first (stock Ubuntu has only python3). tests/conftest.py imports hypothesis, so pytest alone is not enough.
# Install MemDiver, Volatility 3 and the test dependencies
pip install "memdiver[vol,dev]"
# Minimum alternative
pip install "memdiver[vol]" pytest hypothesis
Samples only
# Run every check; checks without their data skip with a reason
make validate
make validate runs python -m pytest -q -p no:cacheprovider -rs tests/test_vol3plugins_corpus_gate.py. Without any environment variable, the checks on the in-repo samples and the repository run: the .msl layer, encryption, tamper and msl.* plugin checks, the synthesis check, the import-hygiene check, the libssh and wolfSSH slice checks, and the two wireguard-go slice checks. The synthetic case of the OpenSSH host-key check (three shielded keys built by cryptography, then two one-bit flips) also runs. Every check that needs a capture skips cleanly and prints its reason.
At the end of a run the suite prints a table with one row for every result: check, Volatility version, result, seconds and reason, including rows whose setup failed (ERROR) and rows that skipped. The check column carries the internal test identifier. The table ends with a count line and, whenever a row did not pass, with NOT A FULL VALIDATION. The last lines of the final run:
claim rows: 387; passed 383, skipped 4
NOT A FULL VALIDATION: 4 claim row(s) did not pass (see result and reason; 4 skipped: optional vol tree, corpus or Docker not configured)
...
435 passed, 4 skipped, 14 warnings in 17713.22s (4:55:13)
With the reference captures
# Fetch the Linux record, verify and lay it out, then run in strict mode
make validate CORPUS_FETCH=1 CORPUS_RECORD=<ZENODO_DOI_LINUX> CORPUS_DIR=/path/with/70GB/free
# Same, from a local copy of the record
make validate CORPUS_FETCH=1 CORPUS_MIRROR=/local/copy/of/the/record CORPUS_DIR=/path/with/50GB/free
# Run a subset: VALIDATE_ARGS is passed to pytest
make validate CORPUS_FETCH=1 CORPUS_MIRROR=/local/copy/of/the/record VALIDATE_ARGS='-k dmcrypt'
scripts/fetch_reference_corpus.py downloads the record and refuses it unless all six reference captures and both traffic captures are complete (including v2b’s containers.tar), the five wireguard-go runs and the ten SSH sessions are present, and every file matches SHA256SUMS; a corrupt download is fetched once more. It then decompresses the .xz files, lays the captures out under the names the tests expect, unpacks the run and session tarballs into wireguard-go-lifecycle/ and ssh-msl-corpus/, removes the download folder and prints the export lines (MEMDIVER_SECRETS_CORPUS, MEMDIVER_TRAFFIC_CORPUS, MEMDIVER_WG_GO_CORPUS, MEMDIVER_SSH_CORPUS), which make validate sets for the run.
The Windows record is fetched on its own and is not part of CORPUS_FETCH=1:
# Lay out the Windows record under /path/to/corpus/windows/win10_x64/
python scripts/fetch_reference_corpus.py --windows-record <ZENODO_DOI_WINDOWS> --target /path/to/corpus
# Same, from a local copy
python scripts/fetch_reference_corpus.py --windows-mirror /local/copy/of/the/windows/record --target /path/to/corpus
It prints export MEMDIVER_WINDOWS_CORPUS=<target>/windows and export MEMDIVER_WINDOWS_IMAGE=<target>/windows/win10_x64/win10_x64.raw (the image needs about 36 GB).
CORPUS_FETCH=1 also turns on strict mode (MEMDIVER_CORPUS_REQUIRED=1): a capture file missing from the corpus directory then fails its check instead of skipping, and any failed or errored row fails the run (STRICT VALIDATION FAILED, exit 1). A fetched corpus that lacks a capture can therefore never pass as a green run. Rows skipped because an optional input is not configured (the second or bare Volatility tree, the SSH or wireguard-go corpus, Docker for the mount proof, the private Windows corpus and images) stay skipped with their reason and keep exit status 0; the table still ends with NOT A FULL VALIDATION.
With every corpus
export MEMDIVER_SECRETS_CORPUS=/path/to/acquired_secrets # the x86_64 captures
export MEMDIVER_SSH_CORPUS=/path/to/ssh_corpus # <session>/gt.json
export MEMDIVER_WG_GO_CORPUS=/path/to/WireGuard/archive # run_*/<role>/{dumps,keylogs}; keylog-free: residency_*.json
export MEMDIVER_TRAFFIC_CORPUS=/path/to/traffic_captures # v2f and v2g with their pcaps
export MEMDIVER_VOL3_ALT_VOL_PY=/path/to/volatility3-2.28.2/vol.py # second tree: every check runs on both
export MEMDIVER_VOL3_BARE_VOL=/path/to/bare-venv/bin/vol # vol without MemDiver and without a crypto library
make validate
Variable |
Purpose |
|---|---|
|
The stock |
|
A second Volatility 3 tree; every check runs once per tree present |
|
A |
|
Directory with |
|
|
|
The SSH and wireguard-go corpora (Linux record, laid out as |
|
Optional: the traffic captures v2f and v2g ( |
|
Optional, private: the 21 acquisition images; unset, those rows skip; set but missing an image, it is a corpus gap |
|
Optional: full-memory minidumps of the OpenSSH for Windows |
|
Optional, redacted for the Windows record: the Windows 10 x64 raw image that holds the four |
|
Optional, private: the second Windows 10 x64 raw image, taken while the four |
|
The gocryptfs |
|
A Volatility 3 tree with an AArch64 layer, for the optional aarch64 capture tests; unit tests only |
Every Volatility run gets a fresh, pre-created --cache-path.
# Create a bare Volatility: no MemDiver, no crypto library
python3 -m venv bare && bare/bin/pip install volatility3
When MEMDIVER_VOL3_VOL points at the bare environment, the encrypted-slice check fails on purpose, because the encrypted sample needs MemDiver. The layer-parity and tamper checks pass there too, since the samples’ SHA-256 chain needs no blake3.
Reproduction in four steps
Samples only (minutes, no downloads). Install
memdiver[vol]and run the commands in Quick start, or runmake validatefrom a clone as above.Bare Volatility. Create a virtual environment with only
volatility3and run the committed plugin againstsamples/gocryptfs_aes.msl. The key is proven with the pure-Python oracle, scopemsl:65219, and the oracle logs one warning that it uses pure Python. On the tampered sample only one row is proven.Kernel plugins. Fetch the reference captures and run the suite in one step with
CORPUS_FETCH=1, as above. Or run one plugin by hand and compare theKeycolumn withdmsetup_table_showkeys.txtinsecrets.tar.gz:# Place the ISF where Volatility finds it mkdir -p symbols/linux && cp ubuntu-24.04-secrets-x86-4level_6.8.0-136-generic.isf.json symbols/linux/ # Every dm-crypt device, its key and proof vol -p "$(memdiver vol3 plugin-dir)" -s symbols --offline \ -f ubuntu-24.04-secrets-x86-4level_6.8.0-136-generic.lime linux.dmcrypt
Mount proof. Needs Docker; see Mount proof.
The fetch target needs a directory with about 70 GB free for a download (about 50 GB from a local copy): the Linux record is about 20.1 GB compressed and 46.5 GB laid out, and the download folder is removed after the layout. The Windows record needs about 36 GB more laid out.
Results
Each table lists what was checked, on which data, against which reference, and the rows of the final run of 2026-11-30; checks added after that run give the rows of their individual run. “Both trees” means stock Volatility 2.27.0 and 2.28.2; every check runs once per tree present. A bare vol has neither MemDiver nor a crypto library installed.
Memory Slice container and plugin synthesis
C-MSL4 (reader parity) · C-SYN1 (synthesis and proof)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
Layer parity: stock |
samples |
MemDiver’s own |
2 of 2 passed, both trees |
Encrypted |
samples |
the plaintext slice’s rows |
2 of 2 passed, both trees |
Tamper evidence: one flipped byte makes |
samples |
the intact copy; the known flipped byte |
2 of 2 passed, both trees |
The |
samples |
MemDiver’s own |
7 of 7 passed, both trees and bare |
The |
capture v2b |
|
6 of 6 passed, both trees and bare |
Synthesis: a plugin built from the two in-repo slices (aes-gcm and xchacha, one key each) has a |
samples |
build-time keylog (slice keys and addresses in |
2 of 2 passed, both trees |
No-MemDiver path: the committed |
samples, bare |
build-time keylog (slice keys and addresses in |
1 of 1 passed, bare |
Import hygiene: no module-level import outside the standard library and |
repository |
the AST import rule; wall-clock time |
2 of 2 passed, both trees |
dm-crypt, LUKS and VeraCrypt (linux.dmcrypt)
C-DM1 (volume keys) · C-DM2 (proof status)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
Every dm-crypt device of the capture (LUKS1, LUKS2, VeraCrypt) is found and its key equals the guest’s ground truth byte for byte; |
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
Every key is |
capture v1 4-level |
guest ground truth (sidecar device types) |
2 of 2 passed, both trees |
With the built-in offset table hidden ( |
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
|
capture v1 4-level |
guest ground truth (sidecar volume keys and device types) |
2 of 2 passed, both trees |
AES-192-XTS (48-byte keys): the LUKS2 volume proven by |
capture v2d |
guest ground truth (sidecar volume keys and device types) |
2 of 2 passed, both trees |
Serpent, Twofish and a cipher cascade: the LUKS2 serpent-xts and twofish-xts volumes, whose raw keys the kernel keyring wiped and which are rebuilt from the in-memory |
capture v2e |
guest ground truth (sidecar volume keys and per-layer |
2 of 2 passed, both trees |
Kernel WireGuard (linux.wireguard)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
Both interfaces’ private keys, every peer public key, endpoint, allowed IPs and the PSK equal |
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
The in-flight handshake is proven through |
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
The keylog export follows Wireshark’s WireGuard grammar (only the four key types, 44-character base64, a PSK only right after an ephemeral line); static private keys equal the ground truth; the transport JSON ( |
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
Transport keys proven by packet residue ( |
captures v1, v1 LA57, v2b, v2c, v2d, v2e |
the capture’s own bytes (raw |
12 of 12 passed, both trees |
Traffic decryption (optional, |
capture v2f and its wire capture |
the wire capture (AEAD tag of every packet) |
2 of 2 passed, both trees (individual run of 2026-11-30, 8.2 to 8.6 s) |
The previous slot of each capture, as send / recv per interface (gtwgA is the initiator, gtwgB its responder). The current slot is proven in both directions on every capture. Every packet found is a 96-byte ICMP message the receiver decrypted in place (form plaintext). Both tunnel ends are in one image, so one packet proves the recv key of one end and the send key of the other. Measured on 2026-11-13 under Volatility 2.27.0 and 2.28.2, identical to an independent cryptography census of every needle hit.
Capture |
gtwgA |
gtwgB |
|---|---|---|
v1 4-level |
unverified / unverified |
unverified / unverified |
v1 LA57 |
unverified / unverified |
unverified / unverified |
v2b |
proven / unverified |
unverified / proven |
v2c |
proven / proven |
proven / proven |
v2d |
unverified / unverified |
unverified / unverified |
v2e |
proven / proven |
proven / proven |
Kernel keyring, fscrypt and eCryptfs
C-KR1 (keyring) · C-FS3 (per-file fscrypt proof) · C-EC1 (eCryptfs)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
|
capture v1 4-level |
guest ground truth ( |
2 of 2 passed, both trees |
The |
capture v2b |
guest ground truth (sidecar); |
2 of 2 passed, both trees |
|
capture v1 4-level |
guest ground truth (sidecar master key) |
2 of 2 passed, both trees |
fscrypt v2: the exported HKDF HMAC-SHA512 midstates belong to the PRK of the ground-truth key: HMAC computed from them with the capture rig’s own SHA-512 equals the standard library’s |
capture v1 4-level |
guest ground truth (sidecar master key and identifier); stdlib |
2 of 2 passed, both trees |
The per-file proof is complete: every decrypted inode of both policies matched, and at least the 4 files the guest planted per policy were checked ( |
capture v1 4-level |
guest ground truth (sidecar policies; 4 planted files per policy) |
2 of 2 passed, both trees |
fscrypt v1 descriptor cross-check: |
capture v2b |
guest ground truth (sidecar); |
2 of 2 passed, both trees |
|
capture v1 4-level |
guest ground truth (sidecar; the 4 planted files) |
2 of 2 passed, both trees |
Tag-3 packets inside the plugin: on both v1 captures one row per planted file, and every FEK row ends |
captures v1, v1 LA57 |
guest ground truth (sidecar FEKEK; the 4 planted files); stock |
4 of 4 passed, both trees |
Five-level paging (LA57)
C-LA57 (kernel plugin verdict parity)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
The 5-level twin really uses 5-level paging: its sidecar records 5 page-table levels and mappings above 2^47, and every |
captures v1 4-level and v1 LA57 |
guest ground truth of each capture’s own sidecar; the 4-level capture’s verdicts |
24 of 24 passed, both trees |
SSH session and host keys
C-SSH8 (TShark MAC verification) · C-SSH6 (host keys)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
|
samples, captures v1 4-level and v1 LA57, SSH corpus |
build-time key hooks (in-repo slices, |
18 of 18 passed, both trees |
|
capture v2b |
guest ground truth (the libssh client’s own key hook, recorded in the sidecar) |
4 of 4 passed, both trees |
ChaCha20-Poly1305 keys from memory alone on the v1 4-level, v1 LA57, v2b and v2c full images. The sidecar holds no ChaCha session key ( |
captures v1 4-level, v1 LA57, v2b, v2c |
self-consistency (the same key in client and server); one-bit-flip negative control |
16 of 16 passed, both trees |
The AES and HMAC-SHA2 keys of the sibling sessions on v2b and v2c (Paramiko clients, aes256-ctr), held by their servers, from |
captures v2b, v2c |
guest ground truth (sidecar |
4 of 4 passed, both trees |
|
captures v2b, v2c; synthetic |
guest ground truth (the Ed25519 |
8 of 8 passed, both trees and bare |
Both ends of every in-image SSH connection: |
captures v2b, v2c |
guest ground truth (sidecar |
4 of 4 passed, both trees |
Exported packets: |
captures v2b, v2c |
the written files themselves (independent tag recomputation); the plugin’s own |
8 of 8 passed, both trees |
SSH session keys on 21 acquisition images (optional, private corpus): every proven row belongs to an |
21 private acquisition images |
self-consistency plus the independent re-check; no guest ground truth (the images’ own keys are not recorded) |
38 passed, 4 skipped (known limits), both trees |
Traffic decryption (optional, |
capture v2f and its wire capture |
the wire capture (Wireshark’s MAC check) |
2 of 2 passed, both trees (individual run of 2026-11-30, 145 to 156 s) |
wireguard-go (memdiver.wireguard_go)
C-WGGO3 (image and packet checks) · C-WGGO4 (held-out run)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
The in-repo slice gives the static key, the peer and the ephemeral proven, and both transport keys |
samples, wireguard-go archive |
build-time keylog (in-repo slice, also its build-time verdicts and addresses); in-process keylogs, or the residency reports written from them (archive) |
22 of 22 passed, both trees; individual runs of 2026-11-30 on the archive with keylogs, on the keylog-free layout and on the redacted dumps: 22 of 22 each |
Preshared key on real data: the PSK slice gives static, peer, ephemeral and |
samples |
build-time keylog (also its build-time verdicts and addresses) |
2 of 2 passed, both trees |
wireguard-go on a full image (optional, |
capture v2g and its wire capture |
guest ground truth ( |
2 of 2 passed, both trees (individual run of 2026-11-30, 78.6 to 80.3 s) |
Blind discovery and synthesis over N dumps (optional, |
wireguard-go archive (5 runs, both roles) |
in-process keylogs through the residency reports (scoring only) |
6 of 6 passed: 2 discovery rows (280 to 286 s), 4 plugin rows (2.5 to 3.0 s), both trees (individual run of 2026-11-30) |
Process sharing, siblings and extraction
C-SIB1 (page sharing and sibling recall) · C-EXT1 (extraction parity)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
|
captures v2b, v2c |
guest ground truth (sidecar |
8 of 8 passed, both trees |
|
capture v2c |
guest ground truth |
2 of 2 passed, both trees |
|
captures v2d, v2b, v2c |
guest ground truth (sidecar |
8 of 8 passed, both trees |
The sibling differential ranks the ground-truth keys without using them. MemDiver’s |
captures v2b, v2c |
guest ground truth (sidecar |
2 of 2 passed, MemDiver only (no |
Learn inside one image, prove on an unseen sibling. |
captures v2b, v2c |
guest ground truth (sidecar keys: learning input, held-out row filter, final comparison) |
16 of 16 passed, both trees |
The Volatility plugin |
captures v2b, v2c |
guest ground truth (sidecar |
4 of 4 passed, both trees |
|
capture v2b |
the image’s own process view; |
4 of 4 passed, both trees |
Sibling differential ranks. Each cell is the best rank of a candidate that overlaps the ground-truth key, taken for the worst member of the group (all members measured the same), with analysis.sibling_diff defaults; each rank may move by 1. Measured on 2026-11-13.
Capture |
Dropbear (4 sessions) |
OpenSSH (4 sessions) |
gocryptfs (3 daemons) |
|---|---|---|---|
v2b, 4-level |
|
|
master key 5 |
v2c, 5-level |
|
|
master key 11 |
Dropbear’s encryption keys are not ranked because the sidecar records page frames only for its MAC keys. The v2c gocryptfs key is the one key outside the top 10: freed residue slots of the key’s span outrank it.
Protocol-blind scan and blind discovery
C-SCAN1 (session keys) · C-DISC1 (held-out process and second image) · C-DISC2 (held-out slice)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
|
captures v2b, v2c; in-repo samples |
guest ground truth (sidecar |
12 of 12 passed, both trees and bare |
Blind discovery with |
captures v2b, v2c |
guest ground truth (sidecar keys and |
18 of 18 passed, both trees |
Blind discovery and synthesis over N slices (optional, |
SSH corpus (5 libssh sessions) |
|
3 of 3 passed: discovery 65.5 s, plugin 7.3 to 7.6 s, both trees (individual run of 2026-11-30) |
Blind discovery. memdiver.discover.Discover runs the sibling differential, then a memory-only oracle on each candidate window, then reports proven keys and writes a plugin. There is one run per capture, group and tree, and its only input is the process name (--comm sshd; --comm dropbear --residue; --comm gocryptfs). No ground truth enters the run; the sidecar only scores its rows afterwards (each row carries a key_id, a SHA-256 prefix, never key bytes).
Capture |
OpenSSH |
Dropbear |
gocryptfs master keys |
|---|---|---|---|
v2b |
16 of 16 |
16 of 16 |
4 of 4 |
v2c |
16 of 16 |
16 of 16 |
4 of 4 |
The v2c Dropbear result has a history. With the capped residue pass alone (before 2026-11-20) v2c Dropbear was 12 of 16: every session’s mac_s2c was missing, because Dropbear’s MAC keys are proven only by packet residue, which sweeps the top 8 ranked regions, and the differential ranks that key 9th on v2c (deterministic: the same 12 under load and alone). Since 2026-11-20 the residue completion (engine.candidate_oracle, on by default) is in place, and 16 of 16 is required. After the top-8 residue pass a session has 2 proven cipher keys and 1 MAC key, so the MAC-length windows past the cap are tried in rank order until the counts balance; the first one, rank 9, is mac_s2c, proven by mode C with the enc_s2c key’s residue (pr:ssh@r9+0/32). v2b is unchanged (2 and 2, no completion). Re-measured: 16 rows passed in 45 min (v2c Dropbear 131 s / 136 s against 124 s / 125 s before), 0 false everywhere.
A proven key counts as false unless one of two conditions holds. Either its bytes (as stored, word-swapped, or zero-padded to the row length) are a target key or another named live key of its own member, recomputed from the sidecar (SSH keys A to F; for gocryptfs the HKDF content and EME keys and the PRK of the master key, the all-zero HKDF salt, the scrypt key-encryption key from the sidecar password and the vault’s .conf salt, and its HKDF children). Or that member’s process view holds, at the row’s VA, the key followed by its full AES-256 schedule, re-expanded by the test’s own FIPS-197 code (OpenSSH: 3 such live AES keys of unknown role per session, label ks:aes). Under this rule false proven is 0. The gocryptfs runs also prove the all-zero HKDF salt as an HMAC key (ds:hmac-sha256), and these rows count as that one live key. Before 2026-11-30 it was proven at every all-zero window (9,080 rows on v2b, 24,193 on v2c); since the proof rows are de-duplicated it gives 8 rows on v2b and 13 on v2c, and a gocryptfs run gives 28 key rows in all on v2b and 31 on v2c (individual rerun of the 18 discovery rows on 2026-11-30: all passed, 0 false, 55 min). The key and verdict rows of 2.27.0 equal those of 2.28.2.
Synthesis from the blind keys (Dropbear, OpenSSH and gocryptfs, in the stock v2b run with --synthesize-dir): the plugin is written, learned on 3 sessions, and proves the held-out 4th in the full image (the synthesis’s own oracle proof, not scored against the sidecar); the same file under each tree proves all 16 sidecar keys of the 4 v2c sessions from memory alone (derived-state, plus packet-residue for Dropbear), 0 false. Until 2026-11-20 gocryptfs synthesis was refused: its proven slots need a multi-key plugin, which needed module-rooted pointer paths, and none reaches the Go-heap keys. Since 2026-11-20 (per-label fallbacks, architect.vol3_recipe_multikey) a label without a module-rooted path falls back to a value-rooted path (a live heap object type-tagged by a pointer into the binary’s read-only data) and then to a labelled anchor. The gocryptfs plugin (learned on 9945/11970/12011, 185,610 bytes) finds the content and EME keys by value-rooted paths and the master key (two copies, labels key_1 / key_2) by one anchor; it proves held-out 12056 in the full image and, under each tree, the master key of all 4 v2c members (4 of 4, derived-state only, 0 false). Measured cost of the 18 rows: 54 min 42 s (the stock v2b gocryptfs run with synthesis 573 s against 227 s without it under 2.28.2; the cross-image rows 13 s each).
gocryptfs (memdiver.gocryptfs) and plugin scoring
C-GOI1 (vault proof) · C-REF1 (plugin scores)
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
|
captures v2b, v2c (including |
guest ground truth (sidecar master keys, HKDF-derived by the test); the daemons’ own vaults |
4 of 4 passed, both trees |
The plugin scorer is honest: |
captures v1 4-level, v2b |
guest ground truth (sidecar) |
3 of 3 passed, 2.27.0 |
Plugin matrix, public subset ( |
captures v1, v1 LA57, v2b, v2c, v2d, v2e |
sidecar feature lists (negative controls) |
2 of 2 passed, both trees |
Windows OpenSSH client (optional datasets)
C-XOS3 (image-only synthesis and held-out verification) · C-XOS2 (held-out minidump) · C-XOS2 (same plugin on the image)
These checks are keyed on MEMDIVER_WINDOWS_CORPUS and, for the image rows, MEMDIVER_WINDOWS_IMAGE and MEMDIVER_WINDOWS_IMAGE_AES. The Windows 10 ChaCha set (win10_x64/ and its image) was redacted for the Windows record (<ZENODO_DOI_WINDOWS>); the Windows 11 dumps and the Windows 10 AES set are private. The rows skip with their reason when the variables are unset; a missing dump is a corpus gap only when a variable is set. Every minidump is converted with memdiver import to a .msl first, and every key is pinned by its SHA-256, never as bytes.
What was checked |
Data |
Checked against |
Final run |
|---|---|---|---|
Windows 11 ARM64, segment heap. |
6 private Windows 11 ARM64 minidumps |
self-consistency plus the independent re-check; no guest ground truth (no keylog was captured) |
24 of 24 passed, both trees |
Windows 10 x64 22H2, NT heap with an active LFH, |
4 private Windows 10 x64 minidumps; 1 private Windows 10 x64 raw image |
self-consistency plus the independent re-check; no guest ground truth (no keylog was captured) |
part of 54 of 54 passed, both trees and MemDiver; 27 of 27 on the redacted bytes |
Windows 10 x64, second capture (added 2026-11-29): four |
4 private Windows 10 x64 minidumps; 1 private Windows 10 x64 raw image |
self-consistency plus the independent re-check; no guest ground truth (no keylog was captured) |
part of 54 of 54 passed, both trees and MemDiver |
Windows image alone, no minidump (optional, |
1 private Windows 10 x64 raw image |
the pinned keys of the minidump checks (self-consistency; no keylog exists) |
1 of 1 passed, 128.4 s (individual run of 2026-11-30) |
Mount proof
C-MOUNT1 (container and file checks)
A proven key is confirmed by an oracle; opening the real encrypted data with it is the stronger check. tools/vol3_capture/mount_proof.sh runs the plugins on the v2b image and, in Docker, opens the capture’s real encrypted containers with only the keys the plugins exported. The script compares the extracted files with samples.sha256, which the guest wrote when it created the files. The checksum list is included in containers.tar. Each planted file’s SHA-256 must equal samples.sha256, and no loop device may be left behind.
# Run the plugins on v2b and open the real containers in Docker (about 200 MB of scratch)
tools/vol3_capture/mount_proof.sh \
--stem "$MEMDIVER_SECRETS_CORPUS/ubuntu-24.04-secrets-x86-4level-v2b_6.8.0-136-generic" \
--work /path/to/scratch/mount_proof
Result on capture v2b, on stock Volatility 2.27.0 (about 2 min 40 s including the plugin runs) and on 2.28.2 (2 min 23 s): 12 methods across 7 targets, 28 of 28 planted files hash-match on both; the --export dmsetup and --export cryptsetup files of the two versions are byte-identical. The validation suite asserts exactly these 12 rows, each 4 of 4, once per Volatility tree (final run: 2 of 2 passed, both trees).
Target |
Method |
Files matched |
|---|---|---|
LUKS1 (XFS) |
kernel |
4/4 each |
LUKS2 (ext4) |
kernel |
4/4 each |
VeraCrypt (vfat) |
kernel |
4/4 each |
fscrypt v1 |
kernel |
4/4 |
fscrypt v2 |
userspace: per-file keys HKDF-expanded from the recovered midstates (the kernel cannot take midstates, and wipes the v2 master key) |
4/4 |
eCryptfs |
userspace: per-file FEKs from |
4/4 |
gocryptfs |
|
4/4 |
Notes:
The kernel half runs in a privileged container. It needs a working
docker info; otherwise the check skips.The LUKS2
dmsetupline names its key by keyring reference, so a replay must first load the recovered master key under that name. The VeraCrypt replay needsDM_DISABLE_UDEV=1in containers.The userspace paths use AES from the
cryptographypackage and an independent SHA-512, so they do not depend on the plugins’ code.Run on Volatility 2.27.0 and 2.28.2, on the 4-level v2b capture only.
shellcheckwas not available for the shell scripts.The mount proof found no dm-crypt plugin bug. It found a leaked loop device in its own first version, which was fixed.
Results History
Date |
Scope |
Result rows |
Passed |
Failed |
Skipped |
Checks |
Tests |
Wall time |
|---|---|---|---|---|---|---|---|---|
2026-11-30 (after the final run) |
individual runs of the six new checks: SSH and kernel WireGuard traffic decryption on v2f and wireguard-go on v2g; Windows image alone; libssh N-slice discovery; wireguard-go N-dump discovery, both roles |
16 |
16 |
0 |
0 |
6 |
478 s, 129 s, 81 s, 579 s |
|
2026-11-30 (after the final run) |
individual reruns on the data prepared for publication: wireguard-go archive with keylogs, keylog-free and redacted (22 rows each); Windows 10 ChaCha rows on the redacted bytes (27) |
93 |
93 |
0 |
0 |
69 s, 62 s, 62 s, 475 s |
||
2026-11-30 (after the final run) |
individual rerun after the proof-row de-duplication: blind discovery on v2b and v2c (18) and the two Windows 10 discovery rows (2) |
20 |
20 |
0 |
0 |
55 min |
||
2026-11-30 (final, code freeze) |
strict mode on 2.27.0, 2.28.2 and bare |
387 |
383 |
0 |
4 (the known-limit images, on both trees) |
52 |
435 |
4 h 55 min |
2026-11-29 |
subset: Windows 10 AES capture with the ChaCha rows |
54 |
54 |
0 |
0 |
699 s |
||
2026-11-29 |
subset: |
4 |
4 |
0 |
0 |
685 s |
||
2026-11-16 |
strict mode on 2.27.0, 2.28.2 and bare |
261 |
257 |
0 |
4 (the known-limit images, on both trees) |
45 |
289 |
3 h 36 min |
2026-11-15 |
strict mode |
219 |
219 |
0 |
0 |
44 |
250 |
2 h 48 min |
2026-11-14 |
full strict mode on 2.27.0, 2.28.2 and bare |
179 |
179 |
0 |
0 |
39 |
205 |
1 h 55 min (the machine was also running a VM capture) |
2026-11-13 |
124 |
30 min 47 s |
In the final run the Windows checks gave 24 rows (Windows 11) and 54 rows (Windows 10), and memdiver.gocryptfs 4 rows, all passed. Fresh-install runs on Docker ubuntu:24.04 and on macOS are recorded in COMPATIBILITY.
Measured timings quoted in this documentation:
Figure |
Value |
Source |
|---|---|---|
|
0.40 to 0.42 s, median 0.41 s (best of three 0.54 s earlier, before the |
import-hygiene check and log |
|
about 25 s warm |
log |
|
6.8 to 7.3 s warm |
log |
Stock 2.28.2 cold run |
about 74 s (ISF schema validation); 90.7 s for |
log |
gocryptfs full-image proof |
74 s cold, 7 s warm |
log |
|
about 11 to 13 s per run on a warm symbol cache (the first run on an image builds the cache: about 80 to 120 s); about 2.3 s on an extracted sshd |
log |
Known Limits
The final run skipped 4 rows, all in the optional check on the 21 acquisition images, each on both Volatility trees. They are named in the output and are not passes:
Image |
Reason |
|---|---|
Ubuntu 22.04, kernel 5.15.0-131, ARM64 |
Stock Volatility 3 has no AArch64 layer: no x86 task list, so no session process to prove |
Arch Linux, kernel 6.19.10 |
|
Other limits visible in the results:
WireGuard transport keys are proven only when a data message sealed with them is still in memory; the
previousslot staysunverifiedon v1 4-level, v1 LA57 and v2d. The kernel PSK isPSK:bound-to-proven-peer, not oracle-proven.linux.dmcrypt --nosymbolsleaves VeraCrypt’s keyunverified.SSH IV rows stay
unverifiedand are not asserted. A Paramiko process whoseKis gone (the v2b server, the corpus client slice) proves nothing on its own.The sibling differential is not a universal top 10: the v2c gocryptfs key ranks 11, and Dropbear’s encryption keys are not ranked because the sidecar records page frames only for its MAC keys.
On the Windows 10 AES capture, blind discovery proves 6 of the 8 HMAC keys (2 of 8 before the proof rows were de-duplicated); the fourth dump’s two HMAC keys are not recovered.
Traffic decryption: stock Wireshark decrypts 9 of the 11 SSH connections of v2f; the two
chacha20-poly1305+sntrup761sessions stay encrypted because Wireshark takes no key log for that key exchange. Kernel WireGuard opens 482 of 1661 and wireguard-go 490 of 1661 transport packets: only keypairs still in memory can be exported.The six checks added after the final run of 2026-11-30 were run individually, not yet in one full run.
Pss is compared within 8 kB, because page-cache mapcounts change between the guest’s read and the dump.
The keyring comparison tolerates at most 2 keys garbage-collected before the dump.
The mount proof runs on the 4-level v2b capture only and needs Docker.
The acquisition images, Windows 11 dumps and Windows 10 AES set are private. The Windows checks skip when their data is unavailable. These captures have no guest-recorded reference keys.
Appendix: How the Checks Map to the Test Suite
Each row of the result tables corresponds to one named test, or one parametrized group of tests, in tests/test_vol3plugins_corpus_gate.py. The module docstring gives the authoritative wording of every check, and the identifiers in the run’s result table point to those tests, so a maintainer can trace any result in this guide to the code that asserts it.