#ebpf #memory #forensics #acquisition #security

bin+lib emd-ebpf-impl

The internal eBPF implementation (for use by emd-ebpf). This implementation is intended to use only with bpfel-unknown-none target

1 stable release

new 1.0.1 Mar 10, 2025

#12 in #acquisition


Used in 2 crates

GPL-3.0 license

11KB
135 lines

emd

The eBPF memory dumper is able to dump the physical memory on a linux machine, using an eBPF filter.
This works even the kernel is in lock down mode (integrity) or /proc/kcore is not available on system.
You need root privileges to use this tool.

Prerequisites

  1. stable rust toolchains: rustup toolchain install stable
  2. nightly rust toolchains: rustup toolchain install nightly --component rust-src
  3. bpf-linker: cargo install bpf-linker

build

cargo build --release

install via cargo

cargo install emdumper

usage

sudo ./emd -o output-file.bin

to show all options, you can use

./emd -h

Dependencies

~1.4–3MB
~64K SLoC