Web UI tour

Use this tour to open a capture, inspect its bytes, and follow an analysis through to its results. The Playwright screenshot procedure is in the contributor guide.

Session landing

Open http://127.0.0.1:8080. Use Load or Delete on a saved session, or select New Session to open the wizard. If you discarded unsaved work, look for Recovered work at the top of the list. Deleting this entry removes the recovered copy.

MemDiver session landing page, listing previously saved analysis sessions

The session-landing view enumerates .memdiver SessionStore entries and offers a “New Session” entry point into the wizard.

Starting a new session

New Session in the workspace toolbar (or Ctrl+N) resets the workspace. If the workspace has changes that were not saved yet, a Start a new session? dialog lists what is at stake (dumps loaded, analysis results, bookmarks) and offers:

  • Save and start new — saves under the name in Save as (default: <input folder>-YYYY-MM-DD-HHmm) and then resets. Saving under an existing name replaces that session, so when the name matches a saved session the dialog warns “A session named “…” already exists and will be overwritten.” The saved-session list is fetched each time the dialog opens; if that fetch fails, the warning is simply not shown. The warning does not block saving.

  • Discard and start new — keeps the discarded workspace as the Recovered work session on the landing page, then resets.

  • Cancel.

A clean workspace resets without asking. Closing or reloading the browser tab with unsaved changes triggers the browser’s own “leave this page?” confirmation.

Wizard — select data

Type a path or click Browse to open the file-browser modal.

The browser opens in the folder you last picked from (falling back to your home directory). Click ☆ Favourite in the path bar to save the current folder; it then reads Favourited, and clicking it again removes it. Saved folders appear in the collapsible Favourites section — click one to jump there, or hover and press ✕ to remove it. Favourites and the last-browsed folder are stored per user on the server in ~/.memdiver/config.json (or $XDG_DATA_HOME/memdiver/config.json), next to the upload and oracle directories, so they survive browser resets.

Wizard step one, showing path input and a file-browser modal

Accepted input types: a single .dump or .msl file, a run directory (auto-detected), or a full dataset root.

Check a process-dump cohort

Before comparing a folder of process captures, review the preflight result. The check compares the recorded OS and architecture and looks for captured pages at matching region coordinates. It reports executable identity separately. Unverified means the captured metadata could not confirm a common executable hash. A successful alignment check does not establish that every page or object has a counterpart in all captures.

Wizard — analysis algorithms

Wizard step three, showing the 8-algorithm checkbox grid with availability hints

Algorithms unavailable for the selected mode (verification vs exploration) are dimmed. Defaults match the recommended set from Algorithms.

Workspace — default layout

MemDiver workspace in dark theme, showing hex viewer, sidebar, and bottom analysis panel

The IDA-Pro-style dockable workspace: main hex panel, sidebar with six tabs, detail overlay, and a mode-gated bottom-tabs row.

Hex viewer with structure overlay

Hex viewer with a TLS-13 structure overlay highlighting bytes by classification

Structural fields are colored by class (static, dynamic, key_material); overlays drive the investigation panel on the right.

The toolbar’s search box finds a byte sequence typed as hex, text, UTF-16LE text, base64, or a 32/64-bit integer, and previews the resolved bytes before searching — see Byte search for the accepted formats. With two or more dumps selected, the Main view layout switcher offers Single, Side by side, and Overlay.

Entropy profile

Entropy profile chart with Shannon entropy plotted against byte offset and high-entropy regions shaded

Sliding-window Shannon entropy: a min–max band per pixel column over every window position, with the maximum drawn as a line so a single key-sized spike stays visible. Shaded regions reach the threshold (default 4.5 bits/byte at the 32-byte window; a 32-byte window can reach at most log2(32) = 5.0, marked as a dashed line). Large dumps show a sampled preview first and refine to full resolution.

Consensus view

Consensus view — stacked bars showing per-byte classification counts across N dumps

Consensus over multiple dumps from the same library and phase. Classification bands: INVARIANT, STRUCTURAL, POINTER, KEY_CANDIDATE.

The same consensus vector can be painted onto the hex bytes: switch the main view to Overlay, then use the Regions tab to list runs by class, filter them to an exact key size (16 B, 24 B, 32 B, 48 B) and sort Longest first. See Hex overlay.

Pipeline — wizard

The pipeline bottom tab is a six-step wizard: Recipe → Dumps → Oracle → Thresholds → Run → Results.

  • Recipe — Start blank (store defaults) or Replicate gocryptfs IMF result (a preset that also turns on the N-sweep).

  • Dumps — paste paths and Add paths, or Browse folder…. At least one dump is required; three or more make variance filtering meaningful. Dump 1 is marked reference: only its bytes are verified against the oracle.

  • Oracle — Upload a .py oracle and Arm oracle it, or pick one from Examples (Use this example; examples that need config ask for it, then offer Load + arm). Alternatively, verify against a pcap instead of a BYO oracle. A smoke test (below) checks the oracle before you continue.

  • Thresholds — search-reduce and brute-force parameters, plus optional Emit a Volatility 3 plugin from the best hit and Run the N-sweep harness and build the interactive report. Run pipeline submits the job.

Pipeline — oracle smoke test

Pipeline oracle-stage wizard showing uploaded decryption oracle with dry-run status

Upload a bring-your-own decryption oracle (Python module matching the oracle interface), arm it, and smoke-test it before committing to a full sweep.

The smoke test (Test on 16 samples) is a discrimination test, not a pass count. The server feeds the oracle one candidate it must accept — the master key the run’s meta.json records — and fifteen it must reject, read at random offsets from the dump itself. The verdict is shown as a sentence; its id (discriminates, accepts_noise, never_accepts, no_positive_control, inconclusive) is what the API returns. A green discriminates verdict means both halves held, and only then does Continue to Thresholds → appear. accepts_noise means the oracle accepted arbitrary memory and would flood a real sweep with false positives; never_accepts means it rejected its own known-good key, so the oracle or its config is wrong. When the dump has no meta.json there is no ground truth to test against, and the verdict says no_positive_control (“Half-tested”) rather than pretending to a result. inconclusive means the run did not produce enough clean signal to judge the oracle; check the listed errors.

The positive control uses the dataset’s recorded answer key, so it proves the oracle works — it is not itself a finding.

Pipeline — run dashboard

Live pipeline run dashboard with funnel chart, stage timings, and live oracle log

Stages: consensus → search_reduce → brute_force, then the optional escalate, nsweep, and emit_plugin. Candidates are reduced in rank order and escalation is on by default; it runs when brute force verifies no key, or fewer distinct keys than the expected minimum, and every additional key it verifies is merged into escalate/hits.json, the run’s final hit set. The Reduction funnel shows candidates surviving each step (Raw → Variance → Aligned → Entropy → Candidates → Verified); the live log streams oracle hits, and Verified hits rows offer Open in hex.

Android Scudo heaps across cold boots

After an Android cold boot Scudo has placed every heap chunk somewhere else, so the positional consensus compares unrelated bytes. Pick the Android Scudo (cold boots) recipe, or set Reduction method on the Thresholds step, to run the same chunk-consensus reduction as the CLI. It needs .msl dumps from at least two runs, and dump 1 is the reference, so the oracle or capture must belong to that run.

  • Allocator: Detect on dump 1 refuses a dump whose heap is not recognised as Scudo; Force Scudo skips that check.

  • Key sizes: the window sizes brute-force tries, for example 48 for a SHA-384 TLS 1.3 traffic secret.

  • Scudo chunk verdicts replaces the funnel: every chunk of the reference gets one verdict and counts as kept, dropped or not judged. A chunk whose signature is absent from another run was never compared, so it is not judged rather than ruled out. Warnings about the scan appear below the table.

The method stops at brute-force. Volatility 3 plugin generation is not supported yet with it, because a plugin is built from the per-byte variance around a hit and this method compares whole chunks across runs instead of byte positions. The N-sweep, escalation and Refine need the positional consensus for the same reason. See also Android Scudo.

Windows heap across processes

Separate Windows processes place their heap blocks at different addresses, so the positional consensus does not line up across them. Reduction method on the Thresholds step defaults to Automatic (recommended), which picks Windows heap when every dump is a Windows .msl with a parsed heap; the method is also selectable as Windows heap (processes). Below the selector an information notice (Automatic will use: …, or For these dumps the automatic method would use: … when another method is selected) names the method auto picks for the selected dumps and why; it never changes the selection. It pairs segment-heap and NT-heap blocks by signature and content, needs .msl dumps from at least two processes, and dump 1 is the reference. Windows heap block verdicts replaces the funnel, and heap areas the parser cannot decode are listed as not judged with a readable reason. As with Scudo, the method stops at brute-force: no plugin generation, N-sweep, escalation or Refine. A positional run on such dumps that drops their heaps shows the warning Heap and private memory from separate processes is not at the same addresses, so it can’t be compared: …% of captured bytes were dropped. Keys stored on the heap will not be found by the differential search. in the run verdict summary (alignment.private_memory_not_comparable), followed by a remedy that fits how the method was chosen: Positional chosen by hand points to Automatic or Windows heap; Automatic held to positional by an option such as an N-sweep names those options to clear; Automatic finding no heap method for the dumps gives the reason and points to a known-key (anchor/keylog) route. See Windows heap blocks across processes. See also Windows heaps.

Go heap slots across processes

Separately started Go processes do not place heap objects at the same addresses either. Go heap (processes) under Reduction method pairs Go heap slots, live and freed, by span, then by anchor label and block signature; auto picks it when dump 1 has a validated Go heap with readable Go runtime metadata and every other dump is a native .msl of the same OS with a Go arena mapping. It needs .msl dumps from at least two processes, dump 1 is the reference, and like the other heap methods it stops at brute-force: no plugin generation, N-sweep, region filter, search-reduce settings or escalation. See Go heap slots across processes and Go heap.

Automatic also picks Android Scudo when every dump is a readable .msl of one OS that names a writable [anon:scudo:primary*] mapping and dump 1’s heap is detected as Scudo (see Choosing a method); select it explicitly (or use its recipe) to force it, or select Positional consensus to keep such dumps on the positional method.

Pipeline — results

Pipeline results with survivor-curve chart and downloadable artifacts

Downloadable artifacts include the finalized consensus state (consensus/state.json, which points at the Welford mean.npy / m2.npy arrays written next to it), the variance vector, search_reduce/candidates.json, the brute_force/hits.json catalog, the N-sweep report, and the synthesized Volatility 3 plugin with its YARA rule. The results view has Plugin, Report, and Raw tabs.

Return to a finding

Select Copy finding reference where the finding has a saved location. In the receiving workspace, select Open finding reference and paste the reference. MemDiver opens the source view and selects the saved range in the hex viewer. The receiving workspace must be able to access the source. For an image-derived finding, the original process view must match the image and PID recorded during extraction.

Use Hunt runs for this capture selection to find previous runs for the selected captures. In the results, select a finding in Localize to preview its signature. Download masked pattern exports the anchor bytes and wildcards with the finding bytes masked.

Heap mode

The mode banner offers a third mode, Heap, next to verification and exploration. Heap mode is exploration plus allocator-aware panels:

  • The Heap side tab opens on entering the mode. It shows the detected allocator with its confidence and evidence, a Partial or Heuristic tag when the parser covers only part of the allocator, the platform and version hint, the heap regions (click one to jump there) and the chunk counts by state.

  • The Heap bottom tab holds the chunk table (filter by state, size and address range; click a row to jump to the chunk), a size histogram, the free-list tree and a chunk inspector with the header fields and neighbouring chunks.

  • The hex viewer paints a heap layer: every byte is colored by its role (chunk header, user data, free-list link, freed data, allocator metadata, top chunk, slack), and a tick marks each chunk start. The heap legend explains the colors. The Heap layer toolbar button hides the layer while you stay in the mode.

Allocators, roles and limitations are covered in Heap allocator awareness.

Theme triptych

Three workspace panels side by side in light, dark, and dark-plus-high-contrast themes

Light, dark, and dark+high-contrast modes. High-contrast mode passes WCAG AAA for text legibility.

Keyboard shortcuts

Shortcut

Action

Ctrl+N

New session

Ctrl+S

Save the workspace as the session autosave

Ctrl+G

Go to offset

Ctrl+B

Toggle sidebar

Arrow, Shift+Arrow

Hex navigation / selection

PageUp, PageDown

Page-wise scrolling

Home, End

Start / end of the row; with Ctrl, start / end of the file

n, p

Jump to the next / previous region of the class chosen in the Regions panel

Tab

Move focus from the hex to the ASCII column (a second Tab leaves the grid)

Esc

Clear selection / back in wizard

On macOS, ⌘ works wherever Ctrl is listed.

Guided tours

The first time you reach the workspace a short layout tour runs, followed by a structure-overlay tour; the pipeline tab has its own tour the first time it opens. Dismissed or finished tours are remembered in the browser. Replay one from Settings → Run onboarding tour.