Service Account
A non-personal account used by applications and services to access resources. Often long-lived, highly privileged and rarely watched, so it is an attractive target.
Reading Time:
4 min
A service account is a non-personal account that an application, service or process uses to access resources, instead of a person. It lets software run, connect to databases, call other services and carry out tasks without anyone signing in.
Through Kerberoasting, which recovers their passwords offline, by finding credentials in scripts and configuration files, by using them for lateral movement and by abusing the excessive rights they hold. Because their activity looks automated, misuse is hard to notice.
A user account belongs to a person, who can be asked to use MFA, who joins, moves and leaves and whose behaviour varies. A service account belongs to software, runs in a repeatable pattern and has no natural owner unless one is assigned.
A backup account created years ago has domain administrator rights and a password that has never changed. An attacker cracks it offline and signs in. The account starts connecting to servers it has never touched, at times it never ran, and because it is a service account, nobody is surprised to see it active.
A shared account is used by several people, which makes it impossible to say who did what. A service account is used by software. Both are risky when ungoverned, but they need different fixes: one needs individual accountability, the other needs an owner and a narrow scope.
Interactive logon means signing in at a keyboard or through remote desktop. A service account has no reason to do that, so allowing it only gives attackers a way to use the account like a normal user. Blocking it turns any such login into a clear warning sign.
Without a clear owner, the account is orphaned. Nobody knows what depends on it, so nobody dares to change or remove it, and it persists with the same rights. Every service account needs an owner who can be reached.
An account whose password is generated and rotated by the system, so nobody knows or chooses it. It removes the weakest link, which is a password set once and never changed.
They are one kind of non-human identity, alongside API keys, tokens and AI agents. The same discipline applies to all of them: an owner, a narrow scope and monitoring.
Sharelock maps service accounts, their privileges and their age, and watches how they behave, so a service account that starts acting unlike its normal pattern stands out.
Explore more terms