Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-android-malware-with-apktool -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/analyzing-android-malware-with-apktool/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/analyzing-android-malware-with-apktool/

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

Similar skills

Everything for Security →

From the same set89

testing-api-security-with-owasp-top-10 Walks an agent through OWASP API Security Top 10 (2023) checks on REST, GraphQL and gRPC endpoints. Useful for authorized pentests and pre-release endpoint reviews. CX Codex +1 769installs analyzing-api-gateway-access-logs This skill parses API Gateway access logs and flags BOLA/IDOR, rate-limit bypass, credential scanning, and injection attempts. CX Codex +1 761installs acquiring-disk-image-with-dd-and-dcfldd A skill that walks the agent through bit-for-bit disk imaging with dd or dcfldd, hashing the source and the copy for forensic work. CX Codex +1 675installs performing-web-application-penetration-test Guides step-by-step penetration testing of web applications following the OWASP WSTG methodology with Burp Suite. Used for pre-production security assessments and verifying fixes. CX Codex +1 660installs testing-for-xss-vulnerabilities Tests web applications for reflected, stored, and DOM XSS. Use it when reviewing input handling, output encoding, and CSP coverage. CX Codex +1 647installs conducting-api-security-testing This skill tests REST, GraphQL, and gRPC APIs for access-control, authentication, validation, and business-logic flaws. Use it for authorized API assessments. CX Codex +1 643installs analyzing-email-headers-for-phishing-investigation Parses email headers, traces Received hops, and validates SPF, DKIM, and DMARC to expose phishing sources and sender spoofing. CX Codex +1 612installs analyzing-cyber-kill-chain Maps intrusion activity to the Lockheed Martin Cyber Kill Chain and exposes defensive gaps. Use it for incident review and prevention-focused control planning. CX Codex +1 606installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor