βœ“
tool v1.9.1 open source Actively Maintained

LiME (Linux Memory Extractor)

β˜… 3,100 GitHub Stars Release v1.9.1

Loadable Kernel Module for forensically sound volatile memory acquisition on Linux and Android systems

// At a Glance
Category
Analysis
Platforms
linux, android
Pricing / License
GPL-2.0
Focus / Scope
1 MITRE Tactics

πŸ“‹ Tool Overview & Technical Brief

LiME (Linux Memory Extractor) - Live Application Interface

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_DEVMEM Restrictions: 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
>_ Inspect via Terminal API (ToolWar v1)
curl -fsSL https://toolwar.com/api/v1/tools/lime/install

πŸ’¬ Discussion & Community Field Notes

0 comments
No reviews or comments yet. Be the first to share operational field notes!

Specification Matrix

Status
active
License / Model
GPL-2.0
Type
tool
Supported Platforms
linux android
GitHub Telemetry
β˜… 3,100 540
Latest Release
v1.9.1
Maintenance
actively maintained
Community Rating
β˜… Unrated (0)
Total Views
2
Last Verified
Nov 2026
Curated By
ToolWar Research Team

Maintainer Badge

Listed on ToolWar badge

Add this verified ToolWar badge to your repository README or project documentation.

Rate This Tool

Help fellow researchers evaluate tool effectiveness

Click a star to submit rating Registering rating... βœ“ Rating registered! Average: ( votes)