Skip to main content
skill CX Codex

analyzing-memory-forensics-with-lime-and-volatility: Claude Code skill

Acquires Linux memory images with the LiME kernel module and extracts artifacts via Volatility 3 during security incident investigations.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a claude-code
Open on GitHub

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

This skill guides incident responders through Linux volatile memory analysis. It targets compromised Linux hosts. The workflow covers memory acquisition using the LiME kernel module in lime or raw format, followed by artifact parsing with Volatility 3.

The skill details core analysis plugins: linux.pslist paired with linux.psscan to reveal unlinked processes, linux.bash for recovering shell history, and linux.sockstat for identifying suspicious network activity. It includes commands for linux.lsmod and linux.malfind to detect kernel rootkits and injected code. It also provides a Python snippet using volatility3.framework.contexts for automated triage scripts.

You cannot capture memory without a LiME kernel module compiled specifically for the target Linux kernel version. Running the analysis also requires Python 3.8+ and authorized lab environment access.

What it helps with

  • acquire Linux physical memory dumps using the LiME kernel module
  • detect hidden processes by comparing linux.pslist and linux.psscan outputs
  • recover executed bash command history directly from memory images
  • audit loaded kernel modules for rootkits via linux.lsmod
  • locate injected code in memory using the linux.malfind plugin

Example prompts for the agent

  • Show the command to acquire a Linux memory image using LiME
  • Run Volatility 3 linux.malfind against memory.lime to inspect injected code
  • Extract bash command history and network connections from /evidence/memory.lime

How to install analyzing-memory-forensics-with-lime-and-volatility

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/analyzing-memory-forensics-with-lime-and-volatility/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

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

How to install analyzing-memory-forensics-with-lime-and-volatility in Claude Code?

Run npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a claude-code.

What does analyzing-memory-forensics-with-lime-and-volatility do?

It provides structured procedures for capturing Linux physical memory using LiME and analyzing the image with Volatility 3. It extracts running processes, bash command history, network sockets, and traces of code injections.

What prerequisites are required before using this skill?

You need authorized access to a test or lab environment, Python 3.8+ with framework dependencies, and a LiME kernel module compiled for your exact Linux kernel release.

Source text

SKILL.md · Apache-2.0
---
name: analyzing-memory-forensics-with-lime-and-volatility
description: '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.

  '
domain: cybersecurity
subdomain: security-operations
tags:
- memory-forensics
- linux-forensics
- lime
- volatility
- incident-response
- kernel-modules
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- DE.CM-01
- RS.MA-01
- GV.OV-01
- DE.AE-02
mitre_attack:
- T1055
- T1003.001
- T1620
- T1564.001
---

# 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.

```bash
# 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
```

```python
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

```bash
# 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
```

© mahipal · Apache-2.0 · mukul975/Anthropic-Cybersecurity-Skills

Similar skills

Everything for Security →

From the same set89

testing-for-business-logic-vulnerabilities This skill manually checks web app business logic with Burp Suite. Use it to examine price changes, skipped workflow steps, privilege escalation, and race conditions. CX Codex +1 333installs testing-websocket-api-security Audits WebSocket API security, checking upgrade handshake authentication, token validation, and CSWSH vulnerabilities. Useful during API security reviews. CX Codex +1 328installs analyzing-mft-for-deleted-file-recovery Forensic skill for NTFS analysis: parses $MFT, $LogFile, $UsnJrnl and slack space to recover metadata and content of deleted files. CX Codex +1 326installs exploiting-sql-injection-with-sqlmap Walks the agent through a sqlmap run: locate an injectable parameter, confirm it, pull data during an authorized pentest. CX Codex +1 322installs bypassing-authentication-with-forced-browsing A pentest skill that enumerates URLs to find unprotected pages, APIs and admin panels, then checks where authentication isn't enforced. CX Codex +1 321installs hardening-docker-containers-for-production This skill hardens Dockerfiles, images, and container runtime settings against CIS Docker Benchmark v1.8.0. Use it before production deployment or during an image audit. CX Codex +1 320installs conducting-external-reconnaissance-with-osint Builds a target profile from open sources: DNS, certificate logs, search, social media, repos and breach data. For the passive phase of a pentest. CX Codex +1 319installs analyzing-persistence-mechanisms-in-linux Scans Linux hosts for persistence in cron, systemd, LD_PRELOAD, and shell profiles, correlating findings with auditd logs. CX Codex +1 319installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor