Case AE5D23 · Identity & AD · L3 Applied
Securing Service Accounts
Interview questionWe have hundreds of AD service accounts, some in Domain Admins. How would you get them under control?
- 01 Answer
- 02 Example
- 03 Trade-offs
What a strong answer covers
Try it out loud first. Then check yourself:
- Inventory: accounts with SPNs, non-expiring or old passwords, admin memberships; find owners and hosts via logon events
- Move to gMSAs where possible: AD rotates long random passwords automatically, which makes Kerberoasting impractical
- Restrict: remove from Domain Admins, deny interactive and RDP logon, limit logon to known hosts, keep within one tier
- Legacy holdouts: 25+ character random passwords, AES only, alert on logons from unexpected hosts and RC4 ticket requests
- Trade-off: rotation breaks fragile apps; stage the migration per app and add honeypot SPN accounts for detection
If the interviewer pushes back
- How would you migrate a service account used on 40 servers to a gMSA without an outage?