Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security Task Hijacking
Cyber Security

Task Hijacking

← Back to Glossary
By NHI Mgmt Group Updated August 18, 2026 Domain: Cyber Security

An Android attack pattern that abuses task and activity behavior to place attacker-controlled UI in front of a user at the wrong moment. It is often used for phishing, credential theft, and trust manipulation because the user believes they are interacting with the legitimate app.

Expanded Definition

Task hijacking is an Android UI redirection technique that exploits task and activity lifecycle behavior so an attacker-controlled screen appears in the foreground at the wrong moment. In NHI and mobile governance discussions, it sits closer to session manipulation than to a classic malware drop because the attacker is abusing application state and user trust, not just stealing data in transit.

Definitions vary across vendors, but the core pattern is consistent: the user believes they are continuing a legitimate workflow while the visible interface has been replaced or overlaid. That distinction matters because defenses focus on task affinity, activity flags, intent handling, and user interaction timing, not only on network filtering or antivirus. The Android security model described in Android Security Overview is the baseline reference for understanding why activity transitions can be abused when app state is weakly controlled.

Task hijacking is commonly misunderstood as a generic pop-up problem, but it becomes a security issue when the attacker can present a believable credential prompt or approval screen in a trusted app context. The most common misapplication is treating it as a UI nuisance, which occurs when teams focus on appearance rather than the underlying task and intent abuse.

Examples and Use Cases

Implementing strong task and activity controls often introduces compatibility constraints, requiring organisations to weigh user experience and legacy app behavior against stronger isolation and safer navigation.

  • A banking app launches an external payment flow, then returns to a spoofed approval screen that captures credentials or transaction consent.
  • A mobile enterprise app opens a browser-based login, and an attacker forces a malicious activity to appear when the user switches back, creating a believable reauthentication prompt.
  • A phishing campaign targets an employee device after a compromised app installs a deceptive activity that mimics the corporate SSO screen.
  • An attacker abuses task affinity and back-stack behavior so the victim resumes a fake interface after unlocking the phone, redirecting sensitive actions.
  • A security team reviews patterns from the Ultimate Guide to NHIs to understand how trust abuse in one layer often accompanies broader identity weaknesses, then maps the mobile flow against NIST SP 800-53 Rev 5 Security and Privacy Controls for access and session control expectations.

Task hijacking also appears in payment, help-desk, and privileged mobile admin apps where the attacker benefits from momentary trust rather than long-term persistence. The key use case is any workflow that depends on the user noticing subtle differences in app context before entering secrets or approving a sensitive action.

Why It Matters in NHI Security

Task hijacking matters because it can turn an otherwise legitimate mobile interaction into a credential capture or authorization fraud event. In NHI security, that is especially dangerous when the mobile workflow protects access to service dashboards, secret stores, admin consoles, or approvals that ultimately govern non-human identities. NHI Mgmt Group notes that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, which shows how often trust failures in adjacent systems end up exposing machine access as well. The broader NHI governance context in the Ultimate Guide to NHIs also highlights how weak visibility, excess privilege, and poor secret hygiene amplify the blast radius after a mobile compromise.

Security teams should treat task hijacking as part of a larger identity assurance problem, not just a mobile UX defect. Controls informed by NIST SP 800-53 Rev 5 Security and Privacy Controls are relevant where applications need stronger session integrity, input validation, and user interaction safeguards.

Organisations typically encounter the business impact only after a fraudulent approval, stolen token, or account takeover has already occurred, at which point task hijacking becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-63 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10Task hijacking is a UI trust abuse pattern adjacent to deceptive interaction attacks.
NIST CSF 2.0PR.AAIdentity assurance is weakened when a fake UI captures credentials or approvals.
NIST SP 800-63AAL2Phishing-resistant session handling helps reduce impact from deceptive reauthentication screens.
NIST Zero Trust (SP 800-207)SC-3Zero trust assumes the presentation layer cannot be trusted by default.
OWASP Non-Human Identity Top 10NHI-02Stolen mobile approvals can expose secrets and service-account access pathways.

Harden user interaction paths so visible UI always matches the intended agent or app action.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on August 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org