Skip to content
Back to skills

Android Task Hijacking Overlay

ASecurity

Test Android task hijacking and overlay abuse — StrandHogg 1.0 (taskAffinity) and 2.0 (CVE-2020-0096), tapjacking via TYPE_APPLICATION_OVERLAY, and SYSTEM_ALERT_WINDOW/accessibility UI abuse. Tier 1. Use to assess credential-phishing and UI-redress risk. Aligns to OWASP MASTG MASVS-PLATFORM.

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

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill android-task-hijacking-overlay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Task Hijacking Overlay?

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

Security grade badge for Android Task Hijacking Overlay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-android-task-hijacking-overlay/badge)](https://www.skillsdirectory.com/skills/anandjogawade-android-task-hijacking-overlay)

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-task-hijacking-overlay
description: Test Android task hijacking and overlay abuse — StrandHogg 1.0 (taskAffinity) and 2.0 (CVE-2020-0096), tapjacking via TYPE_APPLICATION_OVERLAY, and SYSTEM_ALERT_WINDOW/accessibility UI abuse. Tier 1. Use to assess credential-phishing and UI-redress risk. Aligns to OWASP MASTG MASVS-PLATFORM.
---

# Android Task Hijacking / StrandHogg & Overlay/Tapjacking

Assess whether a malicious app can impersonate the target's task or overlay its sensitive screens to phish or redress UI.

## Trigger phrases
`task hijacking, strandhogg, taskaffinity, cve-2020-0096, tapjacking, overlay attack, system_alert_window, accessibility abuse, filtertoucheswhenobscured`

## Method
1. **StrandHogg 1.0 (taskAffinity) check:** review the manifest — do target activities rely on default/non-empty `taskAffinity` without `launchMode` hardening? PoC app sets `android:taskAffinity="<target.package>"` + `launchMode="singleTask"` (+ `allowTaskReparenting="true"`), then surfaces a phishing screen atop the victim task.
2. **StrandHogg 2.0 (CVE-2020-0096):** reflection-based, no attacker-side manifest markers; patched May 2020 — flag devices below that patch level (`adb shell getprop ro.build.version.security_patch`).
3. **Tapjacking:** build an overlay (`TYPE_APPLICATION_OVERLAY`) that passes touches through to a sensitive screen; the victim is vulnerable if it lacks `filterTouchesWhenObscured`/doesn't handle `FLAG_WINDOW_IS_OBSCURED`.
4. **Overlay/accessibility abuse:** `SYSTEM_ALERT_WINDOW` + an accessibility service to read protected fields or inject UI actions.

## Modern / rare techniques
- **[NEW/RARE] StrandHogg 1.0 vs 2.0** — 1.0 is manifest-detectable on the victim (weak `taskAffinity`/`launchMode`); 2.0 is a platform bug → report by patch level.
- **[NEW/RARE] Tapjacking on security-relevant actions** (grant permission, confirm payment) where the victim doesn't obscure-filter touches.
- **Accessibility-service UI scraping** of protected input fields is increasingly used by malware → flag missing `FLAG_SECURE` + sensitive fields.

## Bypass / evasion
Overlays may be throttled on recent Android — test on the lowest in-scope patch level / `minSdk` device to demonstrate the realistic worst case.

## Escalation / chaining
Credential phishing, UI redress, clickjacking of security-relevant actions → account takeover; combine with `android-manifest-analysis` (taskAffinity/launchMode audit) and `android-logcat-clipboard-leakage` (FLAG_SECURE gaps).

## Backend & tooling
Preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Needs the user's device/emulator (adb; a PoC malicious app for StrandHogg/overlay). Windows-local last resort. See `zazy-orchestrator`.

## Verification (background, before reporting)
Reproduce the hijack/overlay on an in-scope device — the malicious activity actually surfaces in the victim's task, or the overlay captures taps on a sensitive action — before marking CONFIRMED. Note the exact patch level for StrandHogg 2.0.

## Evidence
The vulnerable manifest config / patch level, the PoC behavior (screenshot/recording of the hijack or overlay), and the action captured. Remediation: `taskAffinity=""` + `launchMode="singleInstance"` on sensitive activities; `FLAG_SECURE` + `filterTouchesWhenObscured`; detect overlays; raise minSdk/patch level.

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.