analyzing-android-malware-with-apktool

Solid

Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.

AI & Automation 46 stars 7 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
84
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ...

Details

Author
adriannoes
Repository
adriannoes/awesome-agentic-ai
Created
9 months ago
Last Updated
3 days ago
Language
Jupyter Notebook
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category