Skip to content
Skillpedia
Analysis & spreadsheets35k · #5469

analyzing-memory-forensics-with-lime-and-volatility

Helps your agent collect and analyze memory from Linux computers. It looks for processes, connections, and commands used by attackers.

What it does

This tool helps investigate Linux computers that might have been attacked. It takes a 'snapshot' of the computer's memory and looks for suspicious activity, like running programs, typed commands, and network connections.

When to use it

  • ✓When you suspect a Linux computer has been compromised.
  • ✓To look for signs of attacks on Linux systems.
  • ✓To understand what happened during a security incident on a Linux machine.

Example of what to ask your AI

“Analyze the memory of this Linux computer to find suspicious processes and recent commands.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

First, it captures the system's memory using a tool called LiME. Then, it uses another tool, Volatility, to examine this capture and extract important information.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Analyzing Memory Forensics with LiME and Volatility

When to Use

  • When investigating security incidents that require analyzing memory forensics with lime and volatility
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Acquire Linux memory using LiME kernel module, then analyze with Volatility 3 to extract forensic artifacts from the memory image.

# LiME acquisition
insmod lime-$(uname -r).ko "path=/evidence/memory.lime format=lime"

# Volatility 3 analysis
vol3 -f /evidence/memory.lime linux.pslist
vol3 -f /evidence/memory.lime linux.bash
vol3 -f /evidence/memory.lime linux.sockstat
import volatility3
from volatility3.framework import contexts, automagic
from volatility3.plugins.linux import pslist, bash, sockstat

# Programmatic Volatility 3 usage
context = contexts.Context()
automagics = automagic.available(context)

Key analysis steps:

  1. Acquire memory with LiME (format=lime or format=raw)
  2. List processes with linux.pslist, compare with linux.psscan
  3. Extract bash command history with linux.bash
  4. List network connections with linux.sockstat
  5. Check loaded kernel modules with linux.lsmod for rootkits

Examples

# Full forensic workflow
vol3 -f memory.lime linux.pslist | grep -v "\[kthread\]"
vol3 -f memory.lime linux.bash
vol3 -f memory.lime linux.malfind
vol3 -f memory.lime linux.lsmod
FAQ

What are LiME and Volatility?

LiME is a tool to copy the memory from a Linux system. Volatility is a tool to analyze that copy for clues of malicious activity.

Do I need to be an expert to use this?

It's recommended to have some knowledge of computer security and how the tools work. It's best to practice in a safe environment before using it on a live system.

What are 'forensic artifacts'?

These are pieces of information left on the system that help understand what happened, like lists of running programs, command history, and network connections.

Details

Original description by the author

Performs Linux memory acquisition using LiME (Linux Memory Extractor) kernel module and analysis with Volatility 3 framework. Extracts process lists, network connections, bash history, loaded kernel modules, and injected code from Linux memory images. Use when performing incident response on compromised Linux systems. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5469
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills