Join our Newsletter — 33% off our NHI Course
Home› Guides› Service Account Breaches Lessons Guide: Over-Privileged, Unowned and…
Guide Non-Human Identity (NHI)

Service Account Breaches Lessons Guide: Over-Privileged, Unowned and Never Rotated

PDF for newsletter subscribers · free to read online

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

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.

BreachService account involvedFailure
Kubeflow cryptomining 2020Kubernetes service account mounted into notebook pods, able to deploy containersP
SolarWinds 2020Existing application service principals given illegitimate credentialsP, O
Nissan 2021Git server admin account left on admin/adminR, O
Mimecast 2021Encrypted customer service account credentials for LDAP, Azure AD and ExchangeS
Malwarebytes 2021Service principal of a dormant email protection productO, P
Verkada 2021Admin-level support script credentials on an internet-facing Jenkins serverS, P
Cisco 2022Machine accounts used for lateral movement after VPN accessP
Uber 2022Hard-coded admin credentials in a PowerShell script (attacker claim, unconfirmed by Uber)S
JumpCloud 2023Internal credentials and customer admin API keys, force-rotatedR
Okta support system 2023Support service account saved in an employee's personal Google profileS, P
Cloudflare 2023Three service accounts and a service token believed unused, not rotated after OktaR, O
Ivanti Connect Secure 2024Service account passwords held on VPN appliancesS
Snowflake 2024Password-only logins to data platforms, including service accountsR, S
Dropbox Sign 2024Back-end service account with production privilegesP
Storm-0501 2024Entra Connect Sync accounts, plain text credentials extractedP, S
BeyondTrust 2024Infrastructure API key able to reset local application account passwordsP
Cisco AD credentials leak 2025Service and machine account hashes and krbtgt republished from 2022R
McHire 2025Test administrator account on 123456/123456O, R
Oracle EBS Cl0p 2025EBS operating system account "applmgr" used after exploitationP
Entra ID Actor token flaw 2025Potential access to service principals in any tenantP
SAP SQL Anywhere Monitor 2025Hard-coded credentials in an unattended monitoring toolS, R
Trivy 2026aqua-bot service account left valid by incomplete rotationR
McKinsey Lilli 2026Application database privileges that could write system promptsP
LiteLLM 2026Kubernetes service account tokens harvested from victim hostsS
xinference 2026XprobeBot automation account; stolen Kubernetes service account tokensS, P
Checkmarx KICS 2026Publishing service account stolen via Trivy, cached credentials reusedR
Storm-2949 2026Service principal credential add and managed identity Key Vault read, both blocked by permissionsP (contained)
Taiwan AI agent attack 2026SSO client secrets and internal database credentials exposedS
OpenAI and Hugging Face 2026Kubernetes service account tokens used to reach cluster-adminP
ShinyHunters FBI claim 2026Application server identity allegedly used to reach cloud data (claim, unconfirmed)P
Fireworks AI 2026Internal credentials; service account tokens rotated in responseR
ConnectWise Cloud Backup 2026Service principals that assigned themselves directory rolesP
Zeabur 2026Non-expiring cluster admin tokens and the GCP default service accountR, P, S
TiDB Cloud 2026One service account reaching across internal systems for four weeksP
Binance 2026Service container identity able to submit withdrawalsP
GitBook 2026Service account with full infrastructure accessP
ARTEX 2026Service principals signed in with leaked client secretsS, 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: false and 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.

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

SignalBreach it would have surfaced
Service account sign-in from a new IP, device or ASNOkta, TiDB Cloud, Snowflake
Credential added to a service principal or applicationSolarWinds, Malwarebytes, ConnectWise
Service principal assigning itself or another app a directory roleConnectWise
Use of a credential recorded as rotated or unusedCloudflare, Trivy, Zeabur
Interactive logon by a service accountCisco 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

FailureNIST SP 800-53 Rev 5NIST CSF 2.0OWASP NHI Top 10 (2025)ATT&CK
Over-privilegedAC-6 Least PrivilegePR.AA-05NHI5 Overprivileged NHIT1078.004 Cloud Accounts, T1098.001 Additional Cloud Credentials
Unowned or dormantAC-2 Account Management, CM-8 System Component InventoryPR.AA-01NHI1 Improper OffboardingT1078.002 Domain Accounts
Not rotatedIA-5 Authenticator ManagementPR.AA-01NHI7 Long-Lived SecretsT1078.003 Local Accounts
Exposed storageIA-5 Authenticator ManagementPR.AA-01NHI2 Secret LeakageT1552.001 Credentials In Files, T1528 Steal Application Access Token
Undetected misuseAU-6 Audit Record Review, Analysis, and ReportingDE.CM-03NHI10 Human Use of NHIT1550.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: false on 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

Related NHI Mgmt Group resources: Service Account Security Guide · Stolen credential breaches · Incomplete rotation breaches · Orphaned and Dormant Accounts · Leaked secret breaches

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.