How do we…
How do we find and control service accounts nobody owns?
Add to board memoOpen the memo
The short answer
- Recommendation
- Match every account whose password never expires, that runs a service or task, or that sits in an administrator group against your privileged account inventory. Give each unowned one an interim owner within 5 working days or disable it, then put it under control at once.
- Reasoning
- An account nobody owns is the one an attacker uses: nobody notices its sign-ins and nobody changes its password. Every service account needs a named owner, one job with the least rights it needs, and no interactive logon (PA-11). The interim owner controls it from the day they take it, because the 30-day limit for a permanent owner is not permission to leave it uncontrolled. Anyone still signing in with it gets a named account first, so support does not stop.
- Considerations
- The 5 working days, 30 days and 90 days are the pack's defaults. Your own standard may set others.
- A service account's owner is a named person, never a team or a supplier. The IT Operations Manager, or your equivalent, owns service accounts that no business owner claims.
- If its sign-ins show signs of compromise, or you cannot tell, contain it and report a security incident. Export its sign-in log before resetting it, and change the credential at once.
- A supplier's engineers who used the account get named accounts, enabled only for approved windows. Shared supplier accounts are not allowed (PA-15).
The decision, step by step
Select any step for the reasoning behind it and where the pack covers it.
- Start
- Step
- Decision
- Outcome
Keyboard: Tab to a step, arrow keys move along the flow, Enter pins its explanation, + and − zoom, 0 fits the diagram, Esc closes. The text version below has the same content.
Where a step quotes a number, it is the default in the CISO Times pack. Your own standard may set a different one.
Read as text
The same flow written out: each step, its reasoning and where the pack covers it. 17 steps.
Start
Look for service accounts nobody owns
Every service account must have a named owner, do one job with the least rights it needs, and be unable to sign in interactively. An account nobody owns is the one an attacker uses: nobody notices its sign-ins and nobody changes its password. In the pack's example, a warehouse database service account had local administrator rights, a password unchanged since the system was installed in 2019, and supplier staff signing in with it.
In the pack
- P14-A02 Privileged Access StandardService accounts (rule PA-11)
- P14-A02 Privileged Access StandardPrinciples
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
Step
List service-like accounts and compare them with the inventory
From each server and the directory, list every account whose password never expires, that runs a service or scheduled task, or that sits in an administrator group. Match the list against the inventory, and note each account found outside it on the day it is found, with what it can do. The control review's first test makes the same match, system by system.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
- P14-A04 Privileged & Service Account InventoryDiscovery (rule PA-01)
- P14-A06 Privileged Access Control Review WorkbookTest guide (rule CT-01)
Decision
Is it in the inventory with a named person as its owner?
A service account's owner is a named person, never a team or a supplier, so an owner recorded as a team or as the supplier that installed the system does not count. Not known counts as no.
- Yes: Leave it with its owner and test it at the control review
- No, or not known: Do its sign-ins show signs of misuse or compromise?
In the pack
- P14-A02 Privileged Access StandardAccount types (rule AT-04)
- P14-A04 Privileged & Service Account InventoryAccount types
Outcome
Leave it with its owner and test it at the control review
The control review tests each service account system by system: it passes only if the account has an owner, a policy denies it interactive logon, and it made no interactive sign-in in the last 30 days. Tier 0 systems are tested every 6 months and the rest every 12 months, by the pack's default.
In the pack
- P14-A06 Privileged Access Control Review WorkbookTest guide (rule CT-10)
- P14-A02 Privileged Access StandardControl review (rule PA-16)
Decision
Do its sign-ins show signs of misuse or compromise?
Read its recent sign-ins before changing anything: interactive sign-ins, sign-ins from unexpected places, or use outside its job. A review that finds signs an account may be compromised contains it at once and reports an incident, and the review continues alongside. If you cannot tell, the incident triage procedure treats not sure as yes.
- Yes, or not sure: Contain it and report it as a security incident
- No: Has an interim owner taken it within 5 working days?
In the pack
- P14-A07 Privileged Session Review RecordEscalating what the review finds
- P14-A07 Privileged Session Review RecordReading the seven questions (rule SQ-5)
- P09-A05 Incident Triage & First-Hour Assessment ProcedureDecision point — close, near miss or declare
Outcome
Contain it and report it as a security incident
Report it under your incident procedure, and contain at once: a shared or service credential is changed at once on suspicion of compromise, and its sessions ended. Keep its logs before anything is cleaned up. The ownership and control steps in this flow still apply to the account afterwards.
In the pack
- P14-A02 Privileged Access StandardShared, service and emergency accounts (rule PA-10)
- P14-A07 Privileged Session Review RecordEscalating what the review finds
- P09-A05 Incident Triage & First-Hour Assessment ProcedureEvidence to preserve in the first hour
Decision
Has an interim owner taken it within 5 working days?
Ask the system owners and the suppliers what runs under it. An account found outside the inventory is disabled unless someone claims it within 5 working days, by the pack's default; for a service account, the claim is an interim owner who controls it while its dependencies are checked. The IT Operations Manager owns service accounts that no business owner claims.
- Yes: Have the interim owner control it while dependencies are checked
- No, or not known: Disable it and note the date
In the pack
- P14-A02 Privileged Access StandardInventory and ownership (rule PA-01)
- P14-A02 Privileged Access StandardRoles and responsibilities
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
Outcome
Disable it and note the date
An unclaimed account is disabled, not left running while the search goes on. Note when it was disabled, and watch for what fails: whoever runs the failing service is the owner to name. The pack does not say how to restore a service that fails; your change process decides that.
In the pack
- P14-A02 Privileged Access StandardInventory and ownership (rule PA-01)
- P14-A04 Privileged & Service Account InventoryDiscovery
Step
Have the interim owner control it while dependencies are checked
The interim owner answers for the account from the day they take it. The 30-day limit for a permanent owner is not permission to leave it uncontrolled, so the controls that follow start now. In the pack's example, the IT Operations Manager was named the day after the account was found.
In the pack
- P14-A02 Privileged Access StandardInventory and ownership (rule PA-01)
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
Decision
Have people been signing in with it?
Check its interactive sign-ins: at the console, by Remote Desktop, or through a remote support tool. In the pack's example, a supplier's support staff signed in with the service account, whose password sat in their support notes. Not known counts as yes, because denying logon would cut off anyone who still relies on it.
- Yes, or not known: Give those people named accounts first
- No: Deny the account interactive logon by policy
In the pack
- P14-A07 Privileged Session Review RecordReading the seven questions (rule SQ-5)
- P14-A02 Privileged Access StandardService accounts
Step
Give those people named accounts first
Each person who used it gets a named account of the right tier. A supplier's engineers get named accounts enabled only for approved windows, because shared supplier accounts are not allowed. Deny the service account's interactive logon only once they have them, so support does not stop: the pack's example orders it that way.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners (rules PA-02, PA-15)
- P14-A02 Privileged Access StandardSuppliers (rule PA-15)
Step
Deny the account interactive logon by policy
Deny console, Remote Desktop and remote support sign-in for the account by group policy. A service account runs software and never needs to sign in as a person. Every session review then asks whether any service account signed in interactively.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
- P14-A02 Privileged Access StandardBuilt-in controls (rule PA-11)
- P14-A07 Privileged Session Review RecordReading the seven questions (rule SQ-5)
Step
Change its credential into the vault or a managed account
Move it to a managed service account where the platform allows: the platform then changes the password itself, at least every 30 days. Otherwise change the password in a planned change window, put it in the vault, and change it at least every 12 months. Anyone who knew the old password, such as a supplier with it in their notes, loses that access with the change.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners (rule PA-10)
- P14-A02 Privileged Access StandardCredential rotation
Step
Cut its rights to one job in one tier
Take it out of every group it does not need for its one job. A service account takes the tier of the most important system it can change and runs only on systems of that tier, so take it out of any tier above the systems it runs on. Each right it keeps but does not use is a right an attacker can use.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners (rule SR-5)
- P14-A02 Privileged Access StandardTier separation (rule SR-5)
Decision
Is a permanent owner confirmed within 30 days?
The interim owner and the system owner confirm what runs under the account and who answers for it. By the pack's default, a service account with no owner found within 30 days is disabled, with the date. Not known counts as no.
- Yes: Record its owner, and alert on any interactive sign-in
- No, or not known: Disable it, and delete it 90 days later if nothing breaks
In the pack
- P14-A02 Privileged Access StandardShared, service and emergency accounts (rule PA-11)
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners
- P14-A04 Privileged & Service Account InventoryDiscovery
Outcome
Disable it, and delete it 90 days later if nothing breaks
Disable it and note the date. If nothing breaks in the 90 days that follow, delete it and mark it removed in the inventory, keeping the row. If something does break, the service that failed shows who should own it.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners (rule PA-11)
- P14-A04 Privileged & Service Account InventoryInstructions
Outcome
Record its owner, and alert on any interactive sign-in
Record its owner, tier, purpose, credential location and last change in your inventory. An alert on any interactive sign-in by a service account goes to the session reviewer, and each session review asks whether one happened. The control review tests the account again at its next cycle.
In the pack
- P14-A03 Privileged Access Request, Elevation & Revocation ProcedureService accounts without owners (rule SQ-5)
- P14-A02 Privileged Access StandardInventory and ownership (rule PA-01)
- P14-A06 Privileged Access Control Review WorkbookTest guide (rule CT-10)
Practical checklist
- List every account whose password never expires, that runs a service or scheduled task, or that sits in an administrator group, and match the list against the inventory.
- Read each unowned account's recent sign-ins, and report an incident if there are signs of compromise or you cannot tell.
- Ask the system owners and suppliers what runs under it. Name an interim owner within 5 working days, or disable it.
- Give named accounts to anyone who has been signing in with it, then deny its console, Remote Desktop and remote support sign-in by policy.
- Move it to a managed service account, or change its password in a planned change window and put it in the vault.
- Take it out of every group it does not need, and out of any tier above the systems it runs on (SR-5).
- Confirm a permanent owner within 30 days, or disable it and delete it 90 days later if nothing breaks.
- Alert the session reviewer on any interactive sign-in by a service account.
Evidence to have ready
- The dated list of accounts found, matched to the inventory, with the date each was found and what it can do.
- For each service account, its owner, its rights and the policy denying interactive logon.
- The date any unowned account was disabled, and the date it was deleted.
- The vault entry or managed account for each service credential, with its last change.
- 30 days of each service account's sign-ins, and the session reviews that asked whether any signed in interactively.
Assumptions
- You can list, from each server and the directory, the accounts with passwords that never expire, the accounts that run services or scheduled tasks, and the members of administrator groups, and compare them with an inventory of privileged accounts.
- System owners, the IT Operations Manager or your equivalent, and your suppliers can be asked what runs under each account.
- The 5-working-day, 30-day and 90-day limits are the CISO Times privileged access pack's defaults. Your own standard may set others.
Not covered here
- A system nobody owns, rather than an account. That is “If the scanner reports a critical finding on a system nobody owns, then who fixes it?”.
- Accounts of people who have left. That is “If the review finds leavers who still have access, then what?”.
- Deciding whether misuse of the account is an incident. That is “How do we decide whether something is an incident or just an event?”.
- Setting up managed service accounts on a particular platform. Use the platform's documentation.
Related questions
- How do we control administrator access without a PAM platform?
- How do we review privileged and administrator access?
- If the scanner reports a critical finding on a system nobody owns, then who fixes it?
- If the review finds leavers who still have access, then what?
- How do we decide whether something is an incident or just an event?