hunting-for-data-staging-before-exfiltration
它能做什么
这个工具可以帮你发现数据在被盗前,从电脑中被收集和压缩的可疑活动。它会查找压缩程序被异常使用的情况,或者文件被转移到奇怪位置的迹象。
适用场景
- ✓怀疑有数据已被收集以待窃取时。
- ✓编写新的安全规则来检测这类行为时。
- ✓检查你的安全系统是否能识别这些手法时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-data-staging-before-exfiltration/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“查找可疑的文件压缩活动,或者数据被移动到异常位置的情况。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会分析电脑活动日志,查找 7-Zip 或 WinRAR 等程序被用来创建压缩文件的情况。它还会检查是否有大量文件被复制到临时文件夹或隐藏文件夹中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hunting for Data Staging Before Exfiltration
Overview
Before exfiltrating data, adversaries typically stage collected files in a central location (MITRE ATT&CK T1074). This involves creating archives with tools like 7-Zip, RAR, or tar, consolidating files from multiple directories, and using temporary or hidden staging directories. This skill detects staging behavior by analyzing process creation logs for archiver activity, monitoring file system events in common staging paths, and identifying anomalous file consolidation patterns.
When to Use
- When investigating security incidents that require hunting for data staging before exfiltration
- 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
- EDR or Sysmon telemetry with process creation and file system events
- Windows Event Logs (Event ID 4688) or Sysmon Event ID 1, 11
- Python 3.8+ with standard library
- Access to process creation logs in JSON/CSV format
Steps
- Detect Archive Tool Execution — Monitor for 7z.exe, rar.exe, tar, zip, and WinRAR process creation with compression arguments
- Identify Staging Directories — Flag file writes to common staging locations (Recycle Bin, %TEMP%, ProgramData, hidden directories)
- Detect Large File Consolidation — Identify patterns of multiple file reads followed by writes to a single directory
- Monitor Sensitive Path Access — Track bulk reads from document directories, database paths, and network shares
- Analyze Archive Metadata — Extract and analyze archive file sizes, creation times, and source paths
- Score Staging Risk — Apply heuristic scoring based on archive size, source diversity, staging path suspicion, and timing
- Generate Hunt Report — Produce a structured report with staging event timeline and MITRE ATT&CK mapping
Expected Output
- JSON report of detected staging events with risk scores
- Archive creation timeline with source file analysis
- MITRE ATT&CK mapping (T1074.001, T1074.002, T1560)
- Staging directory heat map showing suspicious write activity
常见问题
什么是数据“暂存”(staging)?
“暂存”是指攻击者在把数据发送出系统之前,先把想要窃取的所有数据集中到一个地方,通常还会进行压缩。
这个工具会查找哪些程序?
它会查找 7-Zip、WinRAR、RAR 和 tar 等压缩程序,以及 Windows 自带的压缩命令。
什么是“EDR/Sysmon 遥测数据”(EDR/Sysmon telemetry)?
这些是记录电脑上各种活动的详细日志,比如打开了哪些程序、访问了哪些文件,由安全软件收集。
详情
作者的原始描述
Detect data-staging activity (MITRE ATT&CK T1074) by analyzing EDR/Sysmon process-creation and file-system telemetry (Event ID 4688, Sysmon 1/11) for 7-Zip/RAR/tar archive creation, unusual temp or hidden folder access, and anomalous consolidation of files from multiple directories. Use when hunting for pre-exfiltration staging behavior, building detection rules for archiver abuse, or validating m
热度
- GitHub 星标
- 35k
- 排名
- #7953
- 许可证
- 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帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。