跳到正文
Skillpedia
分析与电子表格35k · #7934

extracting-memory-artifacts-with-rekall

它能做什么

这个工具帮助分析电脑内存,查找可疑或恶意活动的迹象。它会寻找隐藏的程序、注入的代码和其他异常情况,这些可能预示着攻击。

适用场景

  • ✓调查可能的电脑攻击时。
  • ✓在受控环境中测试系统安全性时。
  • ✓分析恶意软件,了解它的运作方式时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/extracting-memory-artifacts-with-rekall/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/extracting-memory-artifacts-with-rekall/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析这个内存文件,找出隐藏的进程和注入的代码。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会加载电脑内存的副本,并使用特定命令查找异常模式。它会比对进程列表,分析程序如何使用内存,从而识别可疑活动。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Extracting Memory Artifacts with Rekall

When to Use

  • When performing authorized security testing that involves extracting memory artifacts with rekall
  • When analyzing malware samples or attack artifacts in a controlled environment
  • When conducting red team exercises or penetration testing engagements
  • When building detection capabilities based on offensive technique understanding

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

Use Rekall to analyze memory dumps for signs of compromise including process injection, hidden processes, and suspicious network connections.

from rekall import session
from rekall import plugins

# Create a Rekall session with a memory image
s = session.Session(
    filename="/path/to/memory.raw",
    autodetect=["rsds"],
    profile_path=["https://github.com/google/rekall-profiles/raw/master"]
)

# List processes
for proc in s.plugins.pslist():
    print(proc)

# Detect injected code
for result in s.plugins.malfind():
    print(result)

Key analysis steps:

  1. Load memory image and auto-detect profile
  2. Run pslist and psscan to find hidden processes
  3. Use malfind to detect injected/hollowed code in process VADs
  4. Examine network connections with netscan
  5. Extract suspicious DLLs and drivers with dlllist/modules

Examples

from rekall import session
s = session.Session(filename="memory.raw")
# Compare pslist vs psscan for hidden processes
pslist_pids = set(p.pid for p in s.plugins.pslist())
psscan_pids = set(p.pid for p in s.plugins.psscan())
hidden = psscan_pids - pslist_pids
print(f"Hidden PIDs: {hidden}")
常见问题

什么是“内存转储”?

它是某一时刻电脑内存(RAM)的完整副本,用于取证分析。

什么是“进程注入”(process injection)?

这是恶意程序使用的一种技术,它把自己的代码插入到另一个正常程序中,从而更难被发现。

我需要是专家才能使用它吗?

建议具备一些基本的电脑安全知识,但这个工具的设计目的是辅助分析。

详情

作者的原始描述

Uses Rekall memory forensics framework to analyze memory dumps for process hollowing, injected code via VAD anomalies, hidden processes, and rootkit detection. Applies plugins like pslist, psscan, vadinfo, malfind, and dlllist to extract forensic artifacts from Windows memory images. Use during incident response memory analysis. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7934
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能