analyzing-android-malware-with-apktool — Claude Code skill
Performs static analysis of suspicious Android APKs without executing them. It inspects permissions, manifest components, and API calls to assist SOC triage and rule creation.
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a claude-codeWhat analyzing-android-malware-with-apktool does
This skill performs static triage on Android APKs without running them. It relies on androguard to inspect the manifest, list components such as activities and services, flag dangerous permission combinations, and detect reflection, telephony, or crypto API calls. Resource decompilation is handled by apktool, while jadx can optionally recover Java source code.
The workflow extracts hardcoded URLs, IP addresses, and command-and-control indicators from strings. It outputs a JSON report with a risk score and MITRE ATT&CK mobile mappings. Running analysis on suspicious binaries without an isolated sandbox or VM poses operational risks, so setting up an isolated environment is an immediate requirement. You also need Python 3.9+ and the androguard package.
What it helps with
- parse APK manifests to detect dangerous permission combinations
- identify dynamic code loading and reflection API calls
- extract hardcoded C2 indicators, URLs, and IP addresses from strings
- generate structured JSON risk reports mapped to MITRE ATT&CK
Example prompts for the agent
- Run static analysis on sample.apk using androguard and apktool
- Check suspicious.apk for dynamic code loading patterns via DexClassLoader and Runtime.exec
- Generate a JSON triage report for sample.apk with MITRE ATT&CK mobile mappings
How to install analyzing-android-malware-with-apktool
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a claude-code2Manually: put the files in place
~/.claude/skills/analyzing-android-malware-with-apktool/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/analyzing-android-malware-with-apktool/
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a codex2Manually: put the files in place
.agents/skills/analyzing-android-malware-with-apktool/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a cursor2Manually: put the files in place
.cursor/skills/analyzing-android-malware-with-apktool/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mukul975/Anthropic-Cybersecurity-Skills analyzing-android-malware-with-apktool2Manually: put the files in place
.github/skills/analyzing-android-malware-with-apktool/SKILL.md1Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a gemini-cli2Platform CLI
gemini skills install https://github.com/mukul975/Anthropic-Cybersecurity-Skills --path skills/analyzing-android-malware-with-apktoolManually: put the files in place
.devin/skills/analyzing-android-malware-with-apktool/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about analyzing-android-malware-with-apktool
How to install analyzing-android-malware-with-apktool in Claude Code?
Run npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a claude-code.
What does analyzing-android-malware-with-apktool do?
It performs static Android malware triage without execution. It checks permissions, inspects components, scans for dynamic code loading, and outputs risk metrics with network indicators.
What dependencies are required to run this skill?
You need Python 3.9+ with androguard, apktool, and an isolated VM or sandbox environment. You can also install jadx if Java source recovery is needed.
Source text
SKILL.md · Apache-2.0
--- name: analyzing-android-malware-with-apktool description: 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 rules. domain: cybersecurity subdomain: malware-analysis tags: - Android - APK - apktool - jadx - androguard - mobile-malware - static-analysis - reverse-engineering version: '1.0' author: mahipal license: Apache-2.0 nist_csf: - DE.AE-02 - RS.AN-03 - ID.RA-01 - DE.CM-01 mitre_attack: - T1406 - T1407 - T1626.001 - T1655.001 - T1521.001 --- # 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
© mahipal · Apache-2.0 · mukul975/Anthropic-Cybersecurity-Skills