Automated Web Application Security & Vulnerability Scanner for macOS
LiME (Linux Memory Extractor)
Loadable Kernel Module for forensically sound volatile memory acquisition on Linux and Android systems
- Category
- Analysis
- Platforms
- linux, android
- Pricing / License
- GPL-2.0
- Focus / Scope
- 1 MITRE Tactics
π Tool Overview & Technical Brief
Overview & Engineering Philosophy
LiME (Linux Memory Extractor) is a Loadable Kernel Module (LKM) maintained by 504ensics Labs that enables forensically sound volatile RAM acquisition on Linux hosts and Android devices. Traditional user-space tools like /dev/mem and /dev/kmem are blocked or restricted by modern kernel hardening (CONFIG_STRICT_DEVMEM), making kernel-level acquisition mandatory for complete physical memory dumps.
LiME minimizes memory page disturbance by streaming physical RAM directly from kernel space either to an isolated local USB volume or over an encrypted TCP socket to an incident response collection workstation.
Key Capabilities & Technical Highlights
- Bypass
STRICT_DEVMEMRestrictions: Operates inside kernel space to read the entire physical address map cleanly without incomplete truncated pages. - Minimal Memory Footprint: Minimizes overwrite of volatile user-space heaps and forensic artifacts during live incident capture.
- Multiple Output Formats: Supports raw linear memory dumps (
raw), padded dumps (padded), and the standard LiME format (lime) compatible with Volatility 3. - Local Disk or Network Acquisition: Streams memory dumps directly to external forensic media or over TCP (
tcp:4444) to avoid touching local compromised storage. - Broad Kernel & Architecture Support: Compiles cleanly across x86_64, ARM, and ARM64 kernels for cloud VMs, servers, and embedded Linux appliances.
Step-by-Step Tutorial & Practical CLI Workflows
# 1. Compile the kernel module against matching target kernel headers
cd LiME/src && make
# 2. Acquire full RAM in LiME format directly to an external forensic USB drive
sudo insmod ./lime-$(uname -r).ko "path=/mnt/usb/host_ram.lime format=lime"
# 3. Acquire RAM over the network without writing to suspect disk (run listener first)
# On Forensic Collector Workstation:
nc -l 4444 > incident_host.lime
# On Target Linux Server:
sudo insmod ./lime-$(uname -r).ko "path=tcp:4444 format=lime"
# 4. Unload the kernel module immediately after acquisition completes
sudo rmmod lime
Real-World Operational Context
DFIR responders pre-build signed LiME kernel modules matching their production fleet kernel versions prior to incidents. Paired immediately with Volatility 3 and Dwarf2json symbol tables, LiME enables full recovery of fileless memory implants, decrypted SSH keys, and hidden kernel modules.
β‘ Installation & Quick Start
git clone https://github.com/504ensicsLabs/LiME.git
cd LiME/src
make
sudo apt update && sudo apt install -y build-essential linux-headers-$(uname -r) git
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KDIR=/path/to/kernel/headers
curl -fsSL https://toolwar.com/api/v1/tools/lime/install
βοΈ Compare LiME (Linux Memory Extractor) with Alternatives
Benchmark capabilities, deployment models, telemetry, and architecture side-by-side
π¬ Discussion & Community Field Notes
0 commentsSpecification Matrix
- Status
- active
- License / Model
- GPL-2.0
- Type
- tool
- Supported Platforms
- linux android
- Categories
- Analysis Forensics Incident Response
- GitHub Telemetry
- β 3,100 540
- Latest Release
- v1.9.1
- Maintenance
- actively maintained
- MITRE ATT&CK Matrix β
- TA0009: Collection
- Featured in Collections
- Volatile Memory Forensics & Rootkit Triage Workbench β
- Community Rating
- β Unrated (0)
- Total Views
- 2
- Last Verified
- Nov 2026
- Curated By
- ToolWar Research Team
Maintainer Badge
Add this verified ToolWar badge to your repository README or project documentation.
Rate This Tool
Help fellow researchers evaluate tool effectiveness