Security in depth · Unit 22 · Lesson 30 of 44
Service identities have different reach
Compare service-account candidates against a supplied local and network resource requirement.
Helpful before thisWindows privilege escalation
After this lesson you can
- Choose an identity from required operations without equating successful access with least privilege.
Follow the work
A service’s runtime identity affects local resource access and how it is represented to remote systems. Built-in identities are not interchangeable. LocalService has limited local authority and presents anonymous credentials on the network. NetworkService also has limited local authority but presents the computer’s identity. LocalSystem has extensive local authority and can also use the computer identity remotely.
Three fictional candidates
NightlyStock reads one remote inventory source and writes one local report. Its owner requires neither local administration nor access to other data. The supplied compatibility review reports:
- LocalService: local output works; the remote source rejects anonymous access.
- NetworkService: required input and output work; the source authorizes this computer identity.
- LocalSystem: the workflow works, with local administrative authority beyond the requirement.
Assume ordinary account behavior, fresh checks, and no application impersonation or alternative credentials. The packet reports the remote source’s access decision; it does not derive that decision merely from the account name.
Choose and qualify
NetworkService is the narrower working candidate among these three. That conclusion does not prove it is the best possible design. Another supported dedicated or managed identity might offer useful separation and different credential-management tradeoffs.
Also, other services using the computer’s network identity may share its remote grants. Record that exposure instead of assuming each service receives a unique remote identity. Acceptance should show required reporting succeeds and unrelated resources remain unavailable under the intended context. A powerful account that avoids a permission error has solved functionality, not necessarily the access-control requirement.
Terms you met
Check yourself
No timer. No penalties. Read the explanation and try again whenever you like.
This lesson’s questions have changed. Your reading progress is saved; review the updated questions.
-
The packet says NetworkService can perform the required report workflow, while LocalService cannot authenticate to its source and LocalSystem has unnecessary local authority. What is best supported?
Show the answer
Correct answer: Review NetworkService as the narrower working candidate, including its shared computer-identity exposure. It meets the supplied workflow with less local authority than LocalSystem, but the shared network identity still needs review.
Try it
- WriteWrite a candidate comparison for the reporting service: required local and network access, the best-supported candidate, one shared-identity limitation, and two acceptance outcomes.