Android Manifest Misconfiguration Leading to Task Hijacking ... #1164
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Android Manifest Misconfiguration Leading to Task Hijacking in Caller ID App (caller.id.phone.number.block)
Description
A default
taskAffinity
misconfiguration in the Caller ID Android app allows malicious apps to hijack its task stack and display phishing interfaces when the victim launches the legitimate app.This issue affects all Android versions prior to 11.
Vulnerability Details
By default, Android activities inherit
taskAffinit...
🔧 Technical Details
An Android Task Hijacking technique exploits default activity
taskAffinity
values (the app’s package name). Attackers declare an activity in a malicious app withandroid:taskAffinity
matching a target app, causing Android to merge their tasks. When the user opens the legitimate app, the attacker’s activity at the root of the shared task appears first, enabling fake UI or permission prompts. Prevent this by assigning unique or emptytaskAffinity
values in...🤖 Agent Actions
Updated existing page: mobile-pentesting/android-app-pentesting/android-task-hijacking.md
Key additions:
taskAffinity
inheritance and why “doing nothing” is dangerous.singleTask
) and default launch-mode variant.No new files were created—content seamlessly extends the existing Android Task Hijacking section.
✅ Review Checklist
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).