analyzing-malware-sandbox-evasion-techniques
它能做什么
这个工具用于分析恶意程序的安全报告,找出它们用来躲避自动分析系统检测的手段。它会寻找恶意程序曾试图欺骗分析系统的迹象,比如检查时间、判断是否运行在虚拟机中,或者等待用户交互。
适用场景
- ✓当一个可疑程序在分析系统中没有任何活动时。
- ✓当需要检查某份分析报告中是否存在躲避分析的手段时。
- ✓当你在构建针对欺骗分析系统的技术的防御措施时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-malware-sandbox-evasion-techniques/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析这份安全报告,告诉我这个恶意程序是否以任何方式试图隐藏自己。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会读取恶意程序的分析报告,并查找特定的模式。它会检查程序是否试图欺骗时间检测,是否在查找自己正运行在虚拟机中的迹象,或者是否在等待你移动鼠标或敲击键盘。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Analyzing Malware Sandbox Evasion Techniques
Overview
Sandbox evasion (MITRE ATT&CK T1497) allows malware to detect analysis environments and alter behavior to avoid detection. This skill analyzes behavioral reports from Cuckoo Sandbox and AnyRun for evasion indicators including timing-based checks (GetTickCount, QueryPerformanceCounter, sleep inflation), VM artifact detection (registry keys, MAC address prefixes, process names like vmtoolsd.exe), user interaction checks (mouse movement, keyboard input), and environment fingerprinting (disk size, CPU count, RAM). Detection rules flag samples exhibiting these behaviors for deeper manual analysis.
When to Use
- When investigating security incidents that require analyzing malware sandbox evasion techniques
- 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
- Cuckoo Sandbox 2.0+ or AnyRun account for behavioral analysis reports
- Python 3.8+ with json library for report parsing
- Behavioral report exports in JSON format
Steps
- Parse Cuckoo/AnyRun behavioral report JSON files
- Extract API call sequences for timing-related functions
- Identify VM artifact detection via registry queries and WMI calls
- Detect sleep inflation by comparing requested vs actual sleep durations
- Flag user interaction checks (GetCursorPos, GetAsyncKeyState patterns)
- Score evasion sophistication based on technique count and diversity
- Map detected techniques to MITRE ATT&CK T1497 sub-techniques
Expected Output
JSON report listing detected evasion techniques with MITRE ATT&CK mapping, API call evidence, evasion sophistication score, and classification of evasion categories (timing, VM detection, user interaction, environment fingerprinting).
常见问题
什么是“沙箱规避技术”?
这是恶意程序用来判断自己是否正在被自动分析系统检测的一系列手段。如果它发现自己正在被分析,就会改变行为,以免被发现。
这个工具使用哪些类型的报告?
它使用来自 Cuckoo Sandbox 和 AnyRun 等工具生成的报告,这些工具用于分析可疑程序的行为。
“MITRE ATT&CK T1497”是什么意思?
这是攻击者所用技术目录中的一个标准编号。T1497 专门指代分析环境规避技术。
详情
作者的原始描述
Detect sandbox and VM evasion techniques in malware samples by analyzing timing checks, VM/hypervisor artifact queries, user-interaction checks, and sleep-inflation patterns from Cuckoo or AnyRun behavioral reports. Use when a sample shows no or minimal activity in a sandbox, when a behavioral report needs review for evasion indicators, or when building detections for anti-analysis techniques.
热度
- GitHub 星标
- 35k
- 排名
- #7630
- 许可证
- 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帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。