About this program
Service accounts get over-privileged and never rotated — quick health check on inventory, scoping and credential rotation.
Risks addressed
- Critical Over-privileged service account abused for lateral movement
- High Stale service accounts not deprovisioned when systems retire
- Critical Service account credentials hardcoded in scripts / repos
Controls (6)
-
Inventory of all service accounts
HighThis control requires organizations to maintain a comprehensive, current inventory of all service accounts—non-human identities used by applications, scripts, scheduled tasks, and services to authenticate and execute operations. The inventory must include attributes such as account name, purpose, associated systems/applications,…
How to test + evidence
Testing procedure: Request the service-account register; reconcile with IdP groups and CMDB.
Evidence to collect: Service-account inventory CSV.
-
Least-privilege scoping for each service account
CriticalThis control ensures that each service account is granted only the minimum permissions necessary to perform its designated function, avoiding over-privileged accounts that could be exploited. Service accounts are non-human identities used by applications, systems, or automation processes, and unlike…
How to test + evidence
Testing procedure: Sample 5 accounts; verify each has only the rights it actually needs.
Evidence to collect: Role assignment dump.
-
Credentials vaulted (no hardcoded secrets)
CriticalThis control ensures that authentication credentials, API keys, tokens, passwords, certificates, and other secrets are not embedded directly in source code, configuration files, container images, or scripts. Instead, secrets must be stored in dedicated vaulting solutions (e.g., HashiCorp Vault, AWS…
How to test + evidence
Testing procedure: Search repositories + config stores for service-account secrets. Confirm PAM coverage.
Evidence to collect: Secret-scan report + PAM coverage.
-
Automatic rotation enabled
HighAutomatic rotation enabled ensures that cryptographic keys, secrets, passwords, API tokens, and certificates are replaced on a scheduled basis without manual intervention. This control leverages automated processes—often integrated with secret management platforms, cloud key management services (KMS), or privileged access…
How to test + evidence
Testing procedure: Verify passwords / keys rotate on a documented cadence.
Evidence to collect: PAM rotation log.
-
No interactive logon to service accounts
HighThis control prevents service accounts from being used for interactive logon sessions such as Remote Desktop Protocol (RDP), console login, or Remote PowerShell. Service accounts are designed to run automated processes and applications without human interaction. By blocking interactive logon…
How to test + evidence
Testing procedure: GPO / IdP policy blocks interactive logon for service accounts.
Evidence to collect: Policy export.
-
Disable / decommission stale accounts
MediumThis control requires organizations to identify and disable or decommission user, service, and system accounts that have been inactive for a defined period or are associated with terminated personnel, completed projects, or retired systems. Automation typically scans authentication logs to…
How to test + evidence
Testing procedure: Accounts inactive for >90 days are flagged and disabled.
Evidence to collect: Inactivity report.