跳到正文
Skillpedia
安全35k · #7596

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 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

  1. Parse APK with androguard to extract manifest metadata
  2. Enumerate requested permissions and flag dangerous combinations
  3. List activities, services, receivers, and providers from manifest
  4. Scan for suspicious API calls (reflection, crypto, SMS, telephony)
  5. Detect dynamic code loading patterns (DexClassLoader, Runtime.exec)
  6. Extract hardcoded URLs, IPs, and C2 indicators from strings
  7. 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

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能