analyzing-memory-forensics-with-lime-and-volatility
它能做什么
这个工具用于调查可能遭受攻击的 Linux 电脑。它会为电脑内存拍一张“快照”,并查找可疑活动,比如正在运行的程序、输入过的命令以及网络连接。
适用场景
- ✓当你怀疑某台 Linux 电脑已被入侵时。
- ✓用于查找针对 Linux 系统的攻击迹象。
- ✓用于了解 Linux 机器在安全事件中发生了什么。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-memory-forensics-with-lime-and-volatility/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析这台 Linux 电脑的内存,找出可疑进程和最近执行过的命令。”
每周 5 个新技能,1 分钟读完。
工作原理
首先,它使用名为 LiME 的工具捕获系统内存。然后,它再使用另一个工具 Volatility 来检查这份捕获结果,并提取重要信息。
技术内容(原始 SKILL.md)
作者在 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:
- Acquire memory with LiME (format=lime or format=raw)
- List processes with linux.pslist, compare with linux.psscan
- Extract bash command history with linux.bash
- List network connections with linux.sockstat
- 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
常见问题
LiME 和 Volatility 是什么?
LiME 是一款用于复制 Linux 系统内存的工具。Volatility 则是用于分析该内存副本中恶意活动线索的工具。
我需要成为专家才能使用这个工具吗?
建议你具备一定的计算机安全知识,并了解这些工具的工作原理。在对正在运行的系统使用之前,最好先在安全的环境中练习。
什么是“取证痕迹”?
它们是系统中留下的、有助于还原事件经过的信息,比如正在运行的程序列表、命令历史记录和网络连接记录。
详情
作者的原始描述
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. '
热度
- GitHub 星标
- 35k
- 排名
- #7632
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。