一键导入
mobile-security
Mobile application security reconnaissance — APK/IPA analysis, permission enumeration, certificate validation, hardcoded secret detection, insecure storage identification, network security analysis.
菜单
Mobile application security reconnaissance — APK/IPA analysis, permission enumeration, certificate validation, hardcoded secret detection, insecure storage identification, network security analysis.
| name | mobile-security |
| description | Mobile application security reconnaissance — APK/IPA analysis, permission enumeration, certificate validation, hardcoded secret detection, insecure storage identification, network security analysis. |
| allowed-tools | Bash Read Write |
| metadata | {"subdomain":"reconnaissance","when_to_use":"mobile security, APK analysis, IPA analysis, Android manifest, iOS Info.plist, certificate validation, hardcoded secrets, insecure storage, network security config, WebView security","tags":"mobile, android, ios, apk, ipa, reverse-engineering, static-analysis, certificate-validation, secret-detection","mitre_attack":"T1589.001, T1589.002"} |
Mobile application security reconnaissance involves static analysis of APK and IPA files to identify vulnerabilities, misconfigurations, and security weaknesses without executing the application. This skill enables autonomous agents to analyze mobile applications for security issues.
# Extract APK package information
aapt dump badging {apk_path}
# Extract full APK details
aapt dump all {apk_path}
# Decompile APK with apktool
apktool d {apk_path} -o output_dir
# Decompile with jadx (to Java source)
jadx {apk_path} -d output_dir
# Convert DEX to JAR for Java analysis
dex2jar {apk_path} -o output.jar
# Extract resources from APK
unzip -l {apk_path}
unzip -d output_dir {apk_path}
# View AndroidManifest.xml
aapt dump xmltree {apk_path} AndroidManifest.xml
# Extract IPA metadata
unzip -l {ipa_path}
# View Info.plist
plutil -p {ipa_path}/Payload/*.app/Info.plist
# Extract binary information
otool -lv {binary_path}
# View strings in binary
strings {binary_path}
# Check entitlements
jtool --ent {ipa_path}/Payload/*.app/embedded.mobileprovision
# View certificate information
keytool -printcert -jarfile {apk_path}
# Verify APK signature
jarsigner -verify -verbose -certs {apk_path}
# Check code signing
codesign -v --deep --strict {app_path}
# View provisioning profile
security cms -D -i {embedded.mobileprovision_path}
# Extract all strings from binary
strings {binary_path} > strings_output.txt
# Search for API keys and secrets
grep -E "(API_KEY|api_key|SECRET|secret|PASSWORD|password|TOKEN|token)" strings_output.txt
# Search for AWS credentials
grep -E "(AKIA|ASIA)[0-9A-Z]{16,}" strings_output.txt
AKIA... or ASIA... (20 characters)ghp_, gho_, ghu_, ghs_, ghr_-----BEGIN PRIVATE KEY-----# Check for SharedPreferences usage
grep -r "SharedPreferences" smali/ 2>/dev/null
# Check for file-based storage
grep -r "FileOutputStream\|FileInputStream\|openFileOutput\|openFileInput" smali/ 2>/dev/null
# Check for SQLite database
grep -r "SQLiteDatabase\|SQLiteOpenHelper" smali/ 2>/dev/null
# Check for UserDefaults
strings {binary_path} | grep -i "UserDefaults"
# Check for Keychain usage
strings {binary_path} | grep -i "Keychain"
# Check for plist storage
find {app_path} -name "*.plist" -type f
# Check for cleartext traffic
grep -r "android:usesCleartextTraffic" AndroidManifest.xml
# Check for network security config
cat app/src/main/res/xml/network_security_config.xml 2>/dev/null
# Check ATS (App Transport Security) settings
plutil -p {app_path}/Info.plist | grep -A 10 "NSAppTransportSecurity"
# List all JAR files in APK
unzip -l {apk_path} | grep "\.jar$"
# Check for known vulnerable libraries
grep -r "org.apache.commons\|com.google.gson\|com.fasterxml.jackson" smali/ 2>/dev/null
# Check for JavaScript enabled
grep -r "setJavaScriptEnabled(true)" smali/ 2>/dev/null
# Check for DOM storage enabled
grep -r "setDomStorageEnabled(true)" smali/ 2>/dev/null
# Check for addJavascriptInterface
grep -r "addJavascriptInterface" smali/ 2>/dev/null
# Check for intent filters in manifest
grep -A 5 "intent-filter" AndroidManifest.xml
# Check for deep link schemes
grep -o '<data android:scheme="[^"]*"' AndroidManifest.xml
# Check for URL schemes in Info.plist
plutil -p Info.plist | grep -A 5 "CFBundleURLTypes\|URL Schemes"
android:debuggable="true" in manifestandroid:allowBackup="true"| Tool | Purpose | Required |
|---|---|---|
apktool | APK decompilation and resource extraction | ✅ |
dex2jar | DEX to JAR conversion for Java analysis | ✅ |
jadx | APK decompilation to Java source | ✅ |
aapt | Android Asset Packaging Tool | ✅ |
keytool | Keystore and certificate analysis | ✅ |
jarsigner | JAR signature verification | ✅ |
strings | Binary string extraction | ✅ |
grep | Pattern matching | ✅ |
openssl | Cryptographic operations | ✅ |
yara | Pattern matching for malware detection | ❌ |
mobsf | Mobile Security Framework | ❌ |
frida | Dynamic instrumentation | ❌ |
objection | Runtime mobile exploration | ❌ |
Drive Decepticon — an autonomous multi-agent red-team framework — over MCP to run authorized penetration tests and bug-bounty engagements end to end, then watch and steer them live from chat. Launch an engagement against a target, poll its transcript to narrate progress, send messages to refocus it, and pull findings as SARIF. Use when the user asks to run a pentest/red-team engagement, hunt a bug bounty, do recon, exploit/scan a host, web app, API, network, cloud, Active Directory, mobile app, or smart contract WITH Decepticon — or to check/resume a running engagement or report what Decepticon found. Triggers: run a decepticon engagement, pentest this with decepticon, bug bounty, recon this target, red team this, scan this host, resume the engagement, what did decepticon find, decepticon status. Do NOT use for ad-hoc local tool runs (running nmap/sqlmap/ffuf directly) when no Decepticon server is involved — this drives the Decepticon orchestrator, not raw tools.
IoT device security reconnaissance — firmware extraction, embedded analysis, protocol identification, default credential checking, vulnerability scanning, device fingerprinting.
Wireless network security reconnaissance — WiFi analysis, Bluetooth assessment, RFID/NFC evaluation, signal capture, protocol analysis, encryption testing, rogue device detection.
Operational-tier finding template — minimal fields for sub-agent decision support. Heavyweight deliverable promotion lives in skills/decepticon/final-report.
Red team engagement lifecycle management — initiation, phase transitions, go/no-go gates, deconfliction, emergency procedures, completion.
Final engagement report generation — executive summary, technical report, findings aggregation, attack path narrative, detection gap matrix, remediation roadmap.