analyzing-android-malware-with-apktool
它能做什么
这个工具可以帮助你在不运行可疑 Android 应用(APK 文件)的情况下进行调查。它会分析应用的代码和权限,查找恶意行为,例如窃取数据或与危险服务器通信。
适用场景
- ✓在调查看起来可疑的 Android 应用时使用。
- ✓在为 Android 应用编写病毒检测规则时使用。
- ✓在安装某个 Android 应用之前,想先了解它的具体行为时使用。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-android-malware-with-apktool/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析这个可疑的 APK 文件,并告诉我它是否在窃取信息或连接危险网站。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会使用 `androguard` 等程序读取应用内部的信息(例如权限和代码)。它会查找已知的恶意应用特征,例如调用危险函数或尝试下载更多代码。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Analyzing Android Malware with Apktool
Overview
Android malware distributed as APK files can be statically analyzed to extract permissions, activities, services, broadcast receivers, and suspicious API calls without executing the sample. This skill uses androguard for programmatic APK analysis, identifying dangerous permission combinations, obfuscated code patterns, dynamic code loading, reflection-based API calls, and network communication indicators.
When to Use
- When investigating security incidents that require analyzing android malware with apktool
- 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
- Python 3.9+ with
androguard - apktool (for resource decompilation)
- jadx (for Java source recovery, optional)
- Isolated analysis environment (VM or sandbox)
- Sample APK files for analysis
Steps
- Parse APK with androguard to extract manifest metadata
- Enumerate requested permissions and flag dangerous combinations
- List activities, services, receivers, and providers from manifest
- Scan for suspicious API calls (reflection, crypto, SMS, telephony)
- Detect dynamic code loading patterns (DexClassLoader, Runtime.exec)
- Extract hardcoded URLs, IPs, and C2 indicators from strings
- Generate risk assessment report with MITRE ATT&CK mobile mappings
Expected Output
- JSON report with permission analysis, component listing, suspicious API calls, network indicators, and risk score
- Extracted strings and potential IOCs from the APK
常见问题
我需要会编程才能使用吗?
不需要,你只需要知道如何让 AI 分析这个文件即可。
什么是 APK 文件?
它是 Android 设备上安装应用时使用的文件格式。
这个工具会运行可疑应用吗?
不会,它只做静态分析,不会感染你的电脑或设备。
详情
作者的原始描述
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection, dangerous permission-combination detection, and identification of obfuscated code, dynamic code loading, and reflection-based API calls. Use to statically triage a suspicious APK without executing it or to build mobile malware detection rul
热度
- GitHub 星标
- 35k
- 排名
- #7596
- 许可证
- 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帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。