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.
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/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 codex2Manually: put the files in place
.agents/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a cursor2Manually: put the files in place
.cursor/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mukul975/Anthropic-Cybersecurity-Skills analyzing-memory-forensics-with-lime-and-volatility2Manually: put the files in place
.github/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a gemini-cli2Platform CLI
gemini skills install https://github.com/mukul975/Anthropic-Cybersecurity-Skills --path skills/analyzing-memory-forensics-with-lime-and-volatilityManually: put the files in place
.devin/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-forensics-with-lime-and-volatility -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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