Experiment quickstart
The experiment harness spawns a target process, lets it reach a known state, and triggers memory capture from each available backend.
Backends
Backend |
Output |
Install |
|---|---|---|
|
|
|
|
|
OS package — Xcode CLT on macOS, |
|
|
|
Note
fridump is a Frida-based bulk memory dumper. It is not the same as friTap, despite the name similarity.
First experiment
pip install "memdiver[experiment]"— installsfrida-tools+memslicer. Optionallybrew install --caskXcode CLT orapt install lldbfor the LLDB backend.Write a target script that prints
MEMDIVER_PID=<pid>,MEMDIVER_KEY=<hex>,MEMDIVER_IV=<hex>,MEMDIVER_READY=1on stdout, then idles with the key in memory.Run:
memdiver experiment --target path/to/target.py --num-runs 10 --output-dir ./experiment_output
Inspect
./experiment_output/AES256/aes_key_in_memory/<tool>/for dumps +keylog.csv, and./experiment_output/plugins/*.pyfor the auto-generated Volatility3 plugin.
Layout produced
experiment_output/
AES256/aes_key_in_memory/<tool>/<tool>_run_256_<N>/
<TIMESTAMP>_pre_snapshot.<msl|dump>
keylog.csv
plugins/<tool>_aes256_key.py # Volatility3 plugin
plugins/<tool>_aes256_key.yar # YARA rule