In breach after breach, the service account was not how the attacker got in but why one foothold became a disaster: it could reach too much, nobody owned it, and its password or token had not changed in years. This page reads every breach page in the NHI Mgmt Group database tagged with a service account, sets them out in one case table, and groups the lessons by the three failures in the title plus a fourth, where the credential was kept. It complements the Stolen credential breaches hub, which explains how credentials are stolen; this page is about what the service account allowed once it was in the wrong hands, and why it was still valid. It is for identity, platform and security operations teams who own or audit service accounts, service principals, Kubernetes service accounts and bot accounts.
Key takeaways
- Service accounts are a top-ten identity in breaches. NHI Mgmt Group, The State of NHI & AI Agent Breach Report 2026, counts 30 breaches abusing a service account by identity type, and 8 among AI-related breaches.
- Blast radius came from privilege, not the theft. At Dropbox Sign, Storm-0501 and GitBook a single service account reached a production database, a cloud tenant or full infrastructure.
- Rotation that misses one account is no rotation. Cloudflare, Trivy and Zeabur were breached through service credentials left valid after a planned clean-up.
- "Unused" is a claim, not a fact. Accounts believed dormant or owned by a finished project kept working because no named owner had to confirm them.
- Where the secret lives decides who gets it. Browser profiles, support servers, VPN appliances and sync servers all held service credentials an attacker later used.
What the breach data shows
The report analyses 200+ breaches involving non-human identities and AI agents, from November 2017 to October 2026. By identity type it counts Secret or password 84, Cloud credential 60, API key 57, Source control token 45, CI/CD or publishing token 40, Signing key or certificate 31 and Service account 30. A breach can have more than one identity type, so the bars add up to more than the number of breaches. Among AI-related breaches, service accounts appear 8 times.
The case table below goes further than the report snapshot: it lists all 37 breach pages tagged with a service account in the database on 13 November 2026, including incidents published after the report closed. A service account here means any non-human account that runs a process: Active Directory service and sync accounts, Entra ID service principals, Kubernetes service accounts, cloud default service accounts, bot and publishing accounts, and application database accounts.
Case table: every service account breach page
Failure codes: P over-privileged, O unowned or believed unused, R not rotated or rotation incomplete, S stored or exposed where an attacker could read it. Codes reflect what each breach page records.
| Breach | Service account involved | Failure |
|---|---|---|
| Kubeflow cryptomining 2020 | Kubernetes service account mounted into notebook pods, able to deploy containers | P |
| SolarWinds 2020 | Existing application service principals given illegitimate credentials | P, O |
| Nissan 2021 | Git server admin account left on admin/admin | R, O |
| Mimecast 2021 | Encrypted customer service account credentials for LDAP, Azure AD and Exchange | S |
| Malwarebytes 2021 | Service principal of a dormant email protection product | O, P |
| Verkada 2021 | Admin-level support script credentials on an internet-facing Jenkins server | S, P |
| Cisco 2022 | Machine accounts used for lateral movement after VPN access | P |
| Uber 2022 | Hard-coded admin credentials in a PowerShell script (attacker claim, unconfirmed by Uber) | S |
| JumpCloud 2023 | Internal credentials and customer admin API keys, force-rotated | R |
| Okta support system 2023 | Support service account saved in an employee's personal Google profile | S, P |
| Cloudflare 2023 | Three service accounts and a service token believed unused, not rotated after Okta | R, O |
| Ivanti Connect Secure 2024 | Service account passwords held on VPN appliances | S |
| Snowflake 2024 | Password-only logins to data platforms, including service accounts | R, S |
| Dropbox Sign 2024 | Back-end service account with production privileges | P |
| Storm-0501 2024 | Entra Connect Sync accounts, plain text credentials extracted | P, S |
| BeyondTrust 2024 | Infrastructure API key able to reset local application account passwords | P |
| Cisco AD credentials leak 2025 | Service and machine account hashes and krbtgt republished from 2022 | R |
| McHire 2025 | Test administrator account on 123456/123456 | O, R |
| Oracle EBS Cl0p 2025 | EBS operating system account "applmgr" used after exploitation | P |
| Entra ID Actor token flaw 2025 | Potential access to service principals in any tenant | P |
| SAP SQL Anywhere Monitor 2025 | Hard-coded credentials in an unattended monitoring tool | S, R |
| Trivy 2026 | aqua-bot service account left valid by incomplete rotation | R |
| McKinsey Lilli 2026 | Application database privileges that could write system prompts | P |
| LiteLLM 2026 | Kubernetes service account tokens harvested from victim hosts | S |
| xinference 2026 | XprobeBot automation account; stolen Kubernetes service account tokens | S, P |
| Checkmarx KICS 2026 | Publishing service account stolen via Trivy, cached credentials reused | R |
| Storm-2949 2026 | Service principal credential add and managed identity Key Vault read, both blocked by permissions | P (contained) |
| Taiwan AI agent attack 2026 | SSO client secrets and internal database credentials exposed | S |
| OpenAI and Hugging Face 2026 | Kubernetes service account tokens used to reach cluster-admin | P |
| ShinyHunters FBI claim 2026 | Application server identity allegedly used to reach cloud data (claim, unconfirmed) | P |
| Fireworks AI 2026 | Internal credentials; service account tokens rotated in response | R |
| ConnectWise Cloud Backup 2026 | Service principals that assigned themselves directory roles | P |
| Zeabur 2026 | Non-expiring cluster admin tokens and the GCP default service account | R, P, S |
| TiDB Cloud 2026 | One service account reaching across internal systems for four weeks | P |
| Binance 2026 | Service container identity able to submit withdrawals | P |
| GitBook 2026 | Service account with full infrastructure access | P |
| ARTEX 2026 | Service principals signed in with leaked client secrets | S, R |
Read across the codes, over-privilege is the most frequent failure in this set, followed by exposed storage and missed rotation. The patterns rarely appear alone: Zeabur combined all three.
Lesson 1: over-privileged service accounts set the blast radius
Privilege decided how far each incident went. Dropbox described the Sign account as "a type of non-human account used to execute applications and run automated services"; it had privileges in production and reached the customer database. Microsoft described Entra Connect Sync accounts as the bridge Storm-0501 used from on-premises Active Directory into the cloud tenant. At ConnectWise Cloud Backup, related service principals granted themselves Exchange Administrator in about 50 tenants and Global Administrator in one. The default matters too: in the Kubeflow attacks the service account mounted into each notebook pod could deploy containers in its namespace, and Microsoft says the attacker used it to deploy the miner.
- Scope by task, not by system: a support account that reads cases should not read attachments containing session tokens; a sync account should not be usable from anything but its sync server. See the OWASP NHI Top 10 NHI5 Overprivileged NHI Guide.
- Remove self-escalation rights: an application that can assign directory roles or add credentials to other applications can make itself an administrator. Storm-2949 is the counter-example: adding a credential to a service principal failed only because the compromised accounts lacked that permission.
- Treat sync and identity-bridge accounts as Tier 0: protect Entra Connect servers like domain controllers. See the Microsoft Entra Connect and Cloud Sync Hardening Guide.
- Turn off automatic token mounting where a pod does not call the API: set
automountServiceAccountToken: falseand bind narrow Roles. See the Kubernetes Service Account Token Guide.
Lesson 2: unowned and "unused" accounts stay live
Cloudflare had meant to rotate one service token and three service account credentials after the Okta breach but did not, because it wrongly believed they were unused. Malwarebytes was reached through the service principal of a dormant email protection product. McHire's test administrator account outlived the project that created it. In each case nobody was accountable for proving the account was needed, so it was neither removed nor watched.
- Owner as a required attribute: every service account, principal and bot account carries a named human owner and a team, re-attested on a schedule. See the NHI Ownership Guide and How to assign owners to orphaned service accounts.
- Prove "unused" with sign-in data: check last authentication across every system the credential can reach, then disable before deleting.
- Decommission with the project: test, vendor and proof-of-concept accounts end when the work ends. See the NHI Offboarding and Decommissioning Guide.
Lesson 3: never rotated, or rotated incompletely
Aqua said its rotation after the first Trivy incident "was not fully comprehensive", which left the aqua-bot service account usable for the second wave. Zeabur's long-lived cluster admin tokens with no expiry were missed by the rotation after its August 2026 breach. The Cisco hashes republished in 2025 came from a 2022 intrusion, and the breach page notes that service account passwords and the krbtgt secret may be unchanged years later. After the Ivanti zero-days, CISA's ED 24-01 and its supplemental direction told agencies to reset stored API keys and the passwords of local gateway users, including service accounts used for authentication server configuration, and to reset on-premises account passwords twice, revoke Kerberos tickets and then revoke cloud tokens in hybrid deployments.
- Rotate from an inventory, not memory: build the list of every credential the compromised system could read, rotate all of it, then verify old values fail.
- Prefer credentials that expire: gMSA, workload identity federation and short-lived tokens remove the rotation backlog. See the Group Managed Service Accounts (gMSA) Guide.
- Close the incident on evidence: watch for the old credential being presented after rotation. See Incomplete rotation breaches.
Lesson 4: where the credential is stored decides who gets it
Okta's support service account credentials were saved to an employee's personal Google profile in Chrome on a managed laptop. Verkada's support server held admin-level credentials for running support scripts. Ivanti appliances held service account passwords, and Mimecast held encrypted customer service account credentials for LDAP, Azure AD and Exchange. Storm-0501 extracted Entra Connect Sync credentials in plain text from the sync server. ARTEX agents signed in as service principals using client secrets leaked to public GitHub repositories.
- No service credentials in browsers or scripts: block password saving for service accounts and scan shares and repositories for embedded credentials.
- Assume an edge device's secrets are burned when it is compromised: keep a list of what each appliance holds so the reset can be done in hours.
- Remove a leaked client secret from the application, not only from the repository: a leaked secret is a live sign-in until the app registration no longer accepts it.
Detection and measurement
| Signal | Breach it would have surfaced |
|---|---|
| Service account sign-in from a new IP, device or ASN | Okta, TiDB Cloud, Snowflake |
| Credential added to a service principal or application | SolarWinds, Malwarebytes, ConnectWise |
| Service principal assigning itself or another app a directory role | ConnectWise |
| Use of a credential recorded as rotated or unused | Cloudflare, Trivy, Zeabur |
| Interactive logon by a service account | Cisco 2022 (machine accounts moving laterally) |
- Owner coverage: percentage of service accounts with a named, current owner (target 100%).
- Credential age: share of static service credentials older than your rotation policy.
- Privilege fit: percentage of service accounts holding a role broader than their observed activity.
- Dormancy: count of enabled service accounts with no authentication in 90 days.
- Rotation completeness: after each incident, credentials rotated divided by credentials in scope.
See How to detect interactive logons by service accounts.
Framework mapping
| Failure | NIST SP 800-53 Rev 5 | NIST CSF 2.0 | OWASP NHI Top 10 (2025) | ATT&CK |
|---|---|---|---|---|
| Over-privileged | AC-6 Least Privilege | PR.AA-05 | NHI5 Overprivileged NHI | T1078.004 Cloud Accounts, T1098.001 Additional Cloud Credentials |
| Unowned or dormant | AC-2 Account Management, CM-8 System Component Inventory | PR.AA-01 | NHI1 Improper Offboarding | T1078.002 Domain Accounts |
| Not rotated | IA-5 Authenticator Management | PR.AA-01 | NHI7 Long-Lived Secrets | T1078.003 Local Accounts |
| Exposed storage | IA-5 Authenticator Management | PR.AA-01 | NHI2 Secret Leakage | T1552.001 Credentials In Files, T1528 Steal Application Access Token |
| Undetected misuse | AU-6 Audit Record Review, Analysis, and Reporting | DE.CM-03 | NHI10 Human Use of NHI | T1550.001 Application Access Token |
Common failure patterns
- Rotating what was listed, not what was exposed: Cloudflare and Trivy both rotated, and both missed accounts the attacker still held.
- Granting role assignment rights to integrations: the ConnectWise service principals could promote themselves.
- Leaving default service accounts in use: Zeabur's attacker used the GCP default service account. See How to find GCP default service accounts in use.
- Letting staff hold service credentials like personal ones: the Okta account sat in a browser profile synced to a personal account.
- Exempting service accounts from MFA and network limits without compensating controls: see How to Find Accounts Excluded From MFA and Conditional Access.
Practitioner checklist
- Build one inventory of service accounts, service principals, Kubernetes service accounts and bot accounts. See How to build a service account inventory from Active Directory.
- Assign a named owner to each and re-attest quarterly.
- Disable any account with no authentication in 90 days, then delete after a hold period.
- Remove role assignment and credential management rights from integration principals.
- Replace static passwords and secrets with gMSA, federation or short-lived tokens where the platform supports it.
- Set
automountServiceAccountToken: falseon pods that do not call the Kubernetes API. - Keep a per-system list of stored credentials so a compromised appliance or server can be fully reset.
- Alert on new credentials added to applications and on service account interactive logons.
- After any incident, measure rotation completeness and watch for old credential use.
Standards and references
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- OWASP: Non-Human Identities Top 10 2025
- CISA: ED 24-01, Mitigate Ivanti Connect Secure and Ivanti Policy Secure Vulnerabilities
- MITRE ATT&CK: T1078 Valid Accounts
- MITRE ATT&CK: T1098.001 Additional Cloud Credentials
- CIS: Control 5, Account Management
Related NHI Mgmt Group resources: Service Account Security Guide · Stolen credential breaches · Incomplete rotation breaches · Orphaned and Dormant Accounts · Leaked secret breaches