LiME
Linux Memory Extractor (kernel module)
Open source. Platform: macOS & Linux.
What it is
A Loadable Kernel Module that extracts volatile memory from Linux (and Android) systems.
Why it matters
It's a long-standing method for full Linux memory capture when loading a kernel module is acceptable.
In practice
Loading LiME dumps RAM to a file before the incident host is rebooted.
Install
Build from source against the target kernel headers (make)
Commands
- Load LiME as a kernel module to dump memory to a mounted evidence share
insmod lime-$(uname -r).ko "path=/mnt/evidence/mem.lime format=lime"
- Dump memory directly over the network to a listening collector instead of writing to local disk
insmod lime-$(uname -r).ko "path=tcp:4444 format=lime"
- Dump memory to local disk while generating a SHA-256 hash sidecar file for chain-of-custody integrity verification
insmod lime-$(uname -r).ko "path=/mnt/evidence/mem.lime format=lime digest=sha256"
Similar tools
- Volatility 3: Memory image analysis & plugin framework
- MemProcFS: Mount a memory image as a browsable file system
- System Informer: Live process, handle & token inspection
- WinPmem: Windows physical-memory acquisition
- AVML: Acquire Linux memory to an image