reverser-android-malware
What it does
It describes a workflow for reviewing suspicious Android apps, from reading permissions to watching network traffic. It is for security analysts examining malware samples.
When to use it
- βWhen an analyst receives a suspicious Android APK and needs to know what it asks permission for.
- βWhen a security team wants to see where a suspicious app connects on the network.
- βWhen a researcher needs to decode an Android app to read its code.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/android-malware/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βThis Android app file looks suspicious. What does it ask permission for, and where does it connect?β
5 new skills a week. 1 minute to read.
How it works
The skill gives steps to decode the app, read its permissions and code, and watch its behavior in a controlled setup. The AI records what each step shows.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Android APK Malware Analysis
Full analysis workflow for suspicious Android APKs β from static manifest review through dynamic instrumentation and C2 extraction.
Quick Reference
# Decode APK resources and smali
apktool d <TARGET>.apk -o ./decoded/
# Decompile to Java source
jadx -d ./java_src/ <TARGET>.apk
# Quick permission audit
aapt dump permissions <TARGET>.apk
# Hash and signature check
sha256sum <TARGET>.apk
apksigner verify --print-certs <TARGET>.apk
# Automated scan
docker run -p 8000:8000 opensecurity/mobile-security-framework-mobsf
# Upload APK to http://localhost:8000
# List Frida processes on device
frida-ps -U
MITRE ATT&CK Mapping
| Technique | ID | How It Appears |
|---|---|---|
| Exploitation for Privilege Escalation | T1404 | Root exploits, DirtyCOW, Magisk abuse in APK payloads |
| Software Discovery | T1418 | Enumerating installed apps to detect security tools or targets |
| Input Capture | T1417 | Keyloggers, accessibility service abuse for credential capture |
| SMS/MMS Collection | T1636.004 | Banking trojans intercepting OTP SMS messages |
| Location Tracking | T1430 | Stalkerware GPS tracking via background services |
| Obfuscated Files | T1406 | ProGuard, DexGuard, string encryption, native packer |
| Application Layer Protocol | T1437 | C2 over HTTPS, Telegram bot API, Firebase messaging |
1. Static Analysis β APK Structure
Unpack and examine the APK structure and manifest.
# Decode APK (keeps smali + resources)
apktool d <TARGET>.apk -o ./apk_decoded/
# Examine AndroidManifest.xml for suspicious permissions
cat ./apk_decoded/AndroidManifest.xml | grep -iE 'permission|receiver|service|provider'
# High-risk permissions to flag:
# SEND_SMS, RECEIVE_SMS, READ_SMS β SMS interception (banking trojans)
# READ_CONTACTS, READ_CALL_LOG β data exfiltration
# RECORD_AUDIO, CAMERA β spyware
# ACCESSIBILITY_SERVICE β overlay attacks, keylogging
# BIND_DEVICE_ADMIN β device admin abuse (ransomware)
# INSTALL_PACKAGES β dropper / sideloader
# REQUEST_IGNORE_BATTERY_OPTIMIZATIONS β persistent background service
# Check for accessibility service (major red flag for credential stealers)
grep -r "android.accessibilityservice" ./apk_decoded/AndroidManifest.xml
# List receivers (broadcast receivers for SMS, boot, etc.)
grep -A5 "receiver" ./apk_decoded/AndroidManifest.xml
# Check for native libraries
ls -la ./apk_decoded/lib/*/
# Certificate analysis
apksigner verify --print-certs -v <TARGET>.apk
# Self-signed with debug key? β highly suspicious
# Check: keytool -printcert -jarfile <TARGET>.apk
2. Decompile to Java
Recover readable source from DEX bytecode.
# jadx β best-in-class Android decompiler
jadx -d ./java_src/ --show-bad-code <TARGET>.apk
# --show-bad-code includes methods that failed to decompile cleanly
# Search for key behaviors
grep -rn "SmsManager\|sendTextMessage\|getDefault()" ./java_src/
grep -rn "HttpURLConnection\|OkHttpClient\|Retrofit\|Volley" ./java_src/
grep -rn "getDeviceId\|getSubscriberId\|getLine1Number\|IMEI" ./java_src/
grep -rn "getInstalledPackages\|getInstalledApplications" ./java_src/
grep -rn "TelephonyManager\|PackageManager" ./java_src/
grep -rn "Runtime\.exec\|ProcessBuilder\|\"su\"" ./java_src/
grep -rn "DexClassLoader\|PathClassLoader\|InMemoryDexClassLoader" ./java_src/
grep -rn "crypto\|Cipher\|SecretKey\|AES\|DES" ./java_src/
grep -rn "AccessibilityService\|onAccessibilityEvent" ./java_src/
# Extract hardcoded URLs / IPs / domains
grep -rnE 'https?://[^\s"]+|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' ./java_src/
# Alternative: dex2jar + JD-GUI
d2j-dex2jar <TARGET>.apk -o <TARGET>.jar
# Open <TARGET>.jar in JD-GUI
3. Smali Analysis
For obfuscated samples where jadx fails, work at smali level.
# Smali is already extracted by apktool in step 1
# Navigate to entry points
find ./apk_decoded/smali* -name "*.smali" | head -20
# Find the main activity
grep -r "android.intent.action.MAIN" ./apk_decoded/AndroidManifest.xml
# Then read the corresponding smali file
# Search for reflection (used to hide API calls)
grep -rn "Ljava/lang/reflect" ./apk_decoded/smali*/
grep -rn "invoke-virtual.*Method;->invoke" ./apk_decoded/smali*/
# Search for dynamic class loading (dropper behavior)
grep -rn "DexClassLoader\|InMemoryDexClassLoader" ./apk_decoded/smali*/
# Search for crypto operations
grep -rn "Ljavax/crypto" ./apk_decoded/smali*/
# Search for command execution (root exploits)
grep -rn "Runt
FAQ
Does it run the app?
Yes. One stage describes dynamic analysis in a controlled setup.
What does the analysis produce?
It produces a list of permissions, code findings and any servers the app contacts.
Who is it for?
It is for malware analysts and security teams working with samples.
Details
Original description by the author
Android APK malware analysis β manifest permission review, smali disassembly, Java decompilation with jadx, dynamic instrumentation with Frida, network traffic interception, native library analysis, and automated scanning with MobSF.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14160
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.