analyzing-android-malware-with-apktool
🤖 AI Summary
This skill uses Androguard to statically analyze Android APKs, extracting permissions, activities, services, and suspicious API calls to identify dangerous permission combinations, obfuscated code patterns, dynamic code loading, and network indicators.
How to Install
Claude Code:
git clone --depth 1 https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git && cp Anthropic-Cybersecurity-Skills/skills/analyzing-android-malware-with-apktool ~/.claude/skills/analyzing-android-malware-with-apktool -r# 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
Details
| Category | Coding → generation |
| Source | mukul975/Anthropic-Cybersecurity-Skills |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 19.7K |
| Est. per Skill | N/A (shared across 144 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
jq
jq — JSON Querying and Transformation Overview jq is the standard CLI tool for querying and reshapin
pubmed-database
PubMed Database Overview PubMed is the U.S. National Library of Medicine's comprehensive database pr
animejs-animation
Anime.js Animation Skill Anime.js is a lightweight but extremely powerful JavaScript animation engin
cc-skill-continuous-learning
cc-skill-continuous-learning Development skill skill. When to Use This skill is applicable to execut
Works Well With
Skills from the same repository — often designed to work together
acquiring-disk-image-with-dd-and-dcfldd
Acquiring Disk Image with dd and dcfldd When to Use - When you need to create a forensic copy of a s
analyzing-active-directory-acl-abuse
Analyzing Active Directory ACL Abuse Overview Active Directory Access Control Lists (ACLs) define pe
analyzing-api-gateway-access-logs
Analyzing API Gateway Access Logs When to Use - When investigating security incidents that require a