Join our Newsletter — 33% off our NHI Course
Home› Guides› Non-Human Identity Threat Taxonomy: How NHI Attacks Are…
Guide Non-Human Identity (NHI)

Non-Human Identity Threat Taxonomy: How NHI Attacks Are Classified

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

Threats to non-human identities are usually described one incident at a time, which makes it hard to see whether a programme covers the whole problem or just last month's breach. This guide sets out a structured taxonomy of NHI threats, classified by the lifecycle stage where the weakness is introduced and the goal the attacker pursues, with an example, a control and the matching MITRE ATT&CK techniques for each. It maps the taxonomy to the OWASP Non-Human Identities Top 10 2025 and covers AI agent threats through the OWASP Top 10 for Agentic Applications. It is written for NHI security architects, threat modellers and detection engineers who need a shared vocabulary for risk registers, threat models and coverage reviews.

Key takeaways

  • Classify by stage and goal. Each threat has a lifecycle stage where the weakness is created (provision, store, use, change, retire) and an attacker goal (obtain, abuse, escalate, persist, pivot); together they tell you which team owns the fix.
  • Four families cover most NHI attacks. Credential threats, privilege and permission threats, lifecycle and governance threats, and AI agent specific threats.
  • The OWASP NHI Top 10 maps cleanly. Every NHI1 to NHI10 risk falls into one family, so the taxonomy can carry OWASP references straight into a risk register.
  • ATT&CK describes the attacker's moves, not the weakness. Use ATT&CK techniques such as T1552 Unsecured Credentials and T1098.001 Additional Cloud Credentials for detection coverage, and OWASP for the underlying condition.
  • Agents add new routes to old outcomes. Goal hijack and tool misuse end in the same place as a leaked key, an NHI acting with permissions nobody intended, which is why agent threats sit in the same taxonomy.

Why a taxonomy

A taxonomy turns scattered incident knowledge into something you can measure. Without one, NHI risk registers tend to list "leaked secrets" five times under different names and miss whole classes such as identity reuse or human use of service accounts. A shared classification gives you:

  • Coverage checks: for each category, is there a preventive control, a detection and an owner?
  • Consistent threat models: teams modelling a pipeline, a SaaS integration or an agent use the same categories, so findings can be compared and aggregated.
  • Better incident classification: post-incident reviews record both the weakness (for example a long-lived secret) and the attacker technique (for example use of an application access token), which keeps lessons reusable.
  • Clear reporting: boards and auditors see a short, stable set of categories rather than a list of tools.

This page classifies threats; it does not repeat how to collect intelligence about them. For sources, indicators and matching findings to your inventory, see the Threat Intelligence for Identity and NHI Guide.

Taxonomy structure

The taxonomy uses two axes and four families. The axes are NHI Mgmt Group's classification; the OWASP and ATT&CK references attached to each threat come from those frameworks.

AxisValuesQuestion it answers
Lifecycle stageProvision, Store and distribute, Use and authenticate, Change and rotate, RetireWhere in the identity's life was the weakness introduced, and which process owns it?
Attacker goalObtain credential, Abuse access, Escalate privilege, Persist, Pivot to other systems or tenantsWhat is the attacker trying to achieve with the NHI?
FamilyCredential, Privilege and permission, Lifecycle and governance, AI agent specificWhich control domain responds: secrets management, authorisation, identity governance or agent controls?

Use the identity type (service account, API key, OAuth client or token, certificate, workload identity, AI agent) as a tag, not a category. The same threat, such as reuse across environments, applies to many identity types.

Credential threats

Credential threats concern the secret or token that proves an NHI's identity: how it leaks, how it is stolen and how it is replayed.

ThreatStage / goalExamplePrimary controlATT&CK
Secret exposed in code, configuration or chatStore / obtainAn access key published in source code on a public repository for years, as in the Toyota T-Connect key exposureSecrets manager, pre-commit and repository scanning, push protectionT1552.001 Credentials In Files; T1213.003 Code Repositories
Credential stored by a person outside approved storesStore / obtainService account credentials saved in a personal browser profile, as in the Okta support system breachVaulted credentials, browser sync controls, no human knowledge of NHI secretsT1555 Credentials from Password Stores
Token theft from a third partyUse / obtainOAuth access and refresh tokens taken from an integration provider, as in the Salesloft Drift breachToken binding where available, IP restrictions, short token life, supplier monitoringT1528 Steal Application Access Token; T1550.001 Application Access Token
Metadata service or runtime credential harvestUse / obtainWorkload role credentials read from a cloud instance metadata endpoint after an SSRF flawMetadata service hardening (session-oriented requests), least privilege rolesT1552.005 Cloud Instance Metadata API
Private key or certificate theft or forgeryStore / obtainA signing key or client certificate copied from a build hostHSM or KMS-held keys, short-lived certificates, issuance monitoringT1552.004 Private Keys; T1649 Steal or Forge Authentication Certificates
Token forgeryUse / escalateForged SAML assertions after a federation signing key is compromisedProtect federation keys, monitor token issuance anomaliesT1606.002 SAML Tokens

For secret storage and rotation patterns, see the Secrets Management Guide; for authentication strength, see the NHI Authentication Guide.

Privilege and permission threats

These threats assume the attacker already holds the NHI. The damage depends on what the identity can do and whether the attacker can widen it.

ThreatStage / goalExamplePrimary controlATT&CK
Overprivileged identityProvision / abuseA legacy test OAuth application with elevated access to a production tenant, as in the Microsoft Midnight Blizzard breachLeast privilege, permission reviews, unused permission removalT1078.004 Cloud Accounts
Adding credentials to an existing NHIChange / persistNew client secret or certificate added to a service principal to keep access after the original key is rotatedAlert on credential additions, restrict who can manage app credentialsT1098.001 Additional Cloud Credentials
Granting roles to an NHIChange / escalateAttacker-controlled identity granted an application role that reads every mailboxApproval workflow for high-impact roles and consent, privileged role monitoringT1098.003 Additional Cloud Roles
Creating new NHIsProvision / persistNew service accounts or apps created to survive clean-up of the first footholdRestrict identity creation, inventory reconciliation, creation alertsT1136.003 Cloud Account
Trusted relationship abuseUse / pivotA supplier's integration identity used to reach customer tenantsScoped third-party access, per-tenant credentials, supplier offboardingT1199 Trusted Relationship
Discovery of identities and permissionsUse / pivotEnumerating cloud accounts and roles to find a better identity to stealDetection of enumeration bursts from workload identitiesT1087.004 Cloud Account (discovery); T1580 Cloud Infrastructure Discovery

Lifecycle and governance threats

These are weaknesses in how NHIs are owned, separated and retired. They rarely cause an incident on their own, but they make credential and privilege threats far more damaging.

  • Improper offboarding: identities and keys left active after the system, project or supplier has gone. Attackers find them because nobody watches them. See the NHI Offboarding and Decommissioning Guide.
  • Long-lived secrets: credentials with no expiry or an expiry years away give a stolen secret unlimited useful life. Control: maximum lifetimes, federation and short-lived tokens.
  • Environment crossover: the same identity used in test and production, so a weaker test environment becomes the route into production. Control: separate identities and trust boundaries per environment.
  • NHI reuse: one identity shared by several applications, so a single compromise reaches all of them and revocation breaks everything. Control: one identity per workload.
  • Human use of NHIs: engineers signing in with service accounts for manual work, which bypasses individual accountability and MFA and hides who did what. Control: block interactive sign-in for NHIs, use personal privileged access for people.
  • Ownerless identities: NHIs with no named owner cannot be reviewed, rotated or retired safely. Control: owner as a mandatory attribute at creation, and reconciliation against the inventory.
  • Supply chain compromise of NHI holders: a compromised package, IDE extension or CI action that reads the credentials it can reach (T1195.002 Compromise Software Supply Chain). Control: pinned dependencies, scoped CI tokens, workload identity federation.

AI agent specific threats

AI agents are NHIs that decide which tools to call. They inherit every threat above and add routes where the attacker steers the agent rather than stealing its credential. The OWASP Top 10 for Agentic Applications, published by the OWASP GenAI Security Project on 9 December 2025, gives the reference names used below.

ThreatOWASP Agentic referenceExamplePrimary control
Goal hijack through injected contentASI01 Agent Goal HijackInstructions hidden in a document or web page redirect the agent to send data out (ATLAS AML.T0051 LLM Prompt Injection)Treat retrieved content as untrusted, restrict outbound actions, human approval for sensitive steps
Tool misuseASI02 Tool MisuseAgent calls a legitimate tool with harmful parameters (ATLAS AML.T0053 AI Agent Tool Invocation)Per-tool allowlists, parameter validation, rate limits
Identity and privilege abuseASI03 Identity & Privilege AbuseAgent runs with a broad service account or a user's full delegated tokenDedicated agent identity, scoped short-lived tokens, on-behalf-of with narrow scopes
Agentic supply chainASI04 Agentic Supply Chain VulnerabilitiesA malicious MCP server or plug-in receives the agent's credentialsApproved tool registry, provenance checks, isolated credentials per tool
Memory poisoningASI06 Memory & Context PoisoningFalse instructions stored in long-term memory influence later sessionsMemory provenance, review and expiry
Insecure agent-to-agent trustASI07 Insecure Inter-Agent CommunicationAn agent accepts commands from another agent without authenticating itMutual authentication between agents, signed messages, scoped delegation
Rogue agentASI10 Rogue AgentsAn unregistered or drifting agent keeps acting with valid credentialsAgent inventory, kill switch, credential revocation path

The remaining entries (ASI05 Unexpected Code Execution, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation) are covered in their own guides; see the OWASP Agentic Top 10 ASI03 Guide for the identity entry and the AI Agent Threat Modelling Guide for modelling method.

Mapping to OWASP NHI Top 10 and ATT&CK

OWASP NHI Top 10 2025Taxonomy familyTypical ATT&CK techniques
NHI1 Improper OffboardingLifecycle and governanceT1078.004 Cloud Accounts
NHI2 Secret LeakageCredentialT1552.001 Credentials In Files; T1213.003 Code Repositories
NHI3 Vulnerable Third-Party NHICredential; Privilege and permissionT1199 Trusted Relationship; T1195.002 Compromise Software Supply Chain; T1528
NHI4 Insecure AuthenticationCredentialT1550.001 Application Access Token; T1606 Forge Web Credentials
NHI5 Overprivileged NHIPrivilege and permissionT1078.004; T1098.003 Additional Cloud Roles
NHI6 Insecure Cloud Deployment ConfigurationsCredential; Privilege and permissionT1552.001; T1552.005 Cloud Instance Metadata API
NHI7 Long-Lived SecretsLifecycle and governanceT1078.004; T1098.001 Additional Cloud Credentials
NHI8 Environment IsolationLifecycle and governanceT1078 Valid Accounts
NHI9 NHI ReuseLifecycle and governanceT1078 Valid Accounts
NHI10 Human Use of NHILifecycle and governanceT1078 Valid Accounts

How to read the mapping: OWASP names the condition that makes an attack possible; ATT&CK names what the attacker does once it is. The ATT&CK column is NHI Mgmt Group's mapping of likely techniques, not part of the OWASP text. Use it to check that each condition has at least one detection.

Control frameworkReferenceTaxonomy families
NIST SP 800-53 Rev 5IA-5 Authenticator Management; IA-9 Service Identification and AuthenticationCredential
NIST SP 800-53 Rev 5AC-6 Least Privilege; AC-2 Account ManagementPrivilege and permission; Lifecycle and governance
NIST CSF 2.0PR.AA-01, PR.AA-05, ID.RA-03All families

Using the taxonomy: detection and measurement

  1. Tag the inventory: record identity type, owner, environment and credential lifetime for each NHI so each family can be measured.
  2. Tag findings and incidents: give every scanner finding, audit issue and incident a family, a threat and an OWASP reference.
  3. Map detections: list SIEM rules against the ATT&CK column; any threat with no rule is a gap, such as no alert on new credentials added to service principals (T1098.001).
  4. Review quarterly: compare open findings by family and track movement.
  • Coverage: share of taxonomy threats with a preventive control, a detection and an owner.
  • Exposure: NHIs with secrets older than policy, NHIs without an owner, identities shared across environments.
  • Time to revoke: median time from a credential exposure finding to revocation.
  • Agent scope: share of AI agents running with dedicated, scoped identities rather than shared or user tokens.

Common failure patterns

  • Classifying by tool: categories such as "GitHub issues" or "vault issues" hide that the same weakness exists in several places.
  • Only modelling theft: credential leaks get attention while added credentials, new roles and new identities (persistence) go unmonitored.
  • Treating agents as a separate programme: agent identities are left out of the NHI inventory and reviews.
  • Mapping without verification: outdated or revoked ATT&CK IDs copied into registers; check IDs against the current ATT&CK release.

Practitioner checklist

  • Adopt the four families and the two axes as the classification for your NHI risk register.
  • Tag every NHI with type, owner, environment and credential lifetime.
  • Link each register entry to an OWASP NHI Top 10 or Agentic Top 10 reference.
  • Map detections to the ATT&CK techniques listed and record gaps.
  • Alert on credential additions, role grants and new NHI creation, not only leaks.
  • Include AI agents in the NHI inventory with dedicated, scoped identities.
  • Classify every NHI incident by family, stage and goal in the post-incident review.
  • Re-check the mapping when OWASP or ATT&CK publish new versions.

Standards and references

Related NHI Mgmt Group resources: Threat Intelligence for Identity and NHI Guide · Non-Human Identity (NHI) Guide · NHI Authentication Guide · AI Agent Threat Modelling Guide · MITRE ATLAS Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.