SERVICE ACCOUNTS
| Type: | Standard |
| Last Updated: | December 27, 2023 |
| Sponsor: | Scott Hunt, Assistant Vice President, OIT |
| Owner: | Nick Turley, CES Architect and John Payne, CES CISO, OIT |
| Custodian: | Mary Stevens, IT Governance, OIT |
| Version: | 1.0 |
PURPOSE
Minimize the overall risk of using Service Accounts, which generally have greater access to IT systems and resources and may pose a higher risk to the University.
SCOPE
These standards apply to all Service Accounts used with university IT Resources and all individuals and entities who maintain or use IT Resources. These standards also apply to persons, systems, and activities where Nonpublic Institutional Data is stored, processed, or transmitted in electronic form.
POLICY BASIS
These standards support the Appropriate Use of Information Technology Resources Policy and the Data Use, Privacy, and Security Policy.
DEFINITIONS
Service Account
A Service Account is a non-person account. This type of account is used by a system or application rather than by a person. The Service Account allows the system for which it was created to authenticate systems in order to access data, run processes, or perform actions on the other system.Examples of Service Accounts
- AWS roles/users
- Linux/Windows process users
- Database users
- API OAuth clients
- SAML integrations
- System SMTP accounts
- Humio tokens
Principle of Least Privilege
Each subject in a system should only be granted the privileges needed for the performance of authorized tasks, and not excessive or unrelated permissions. The application of this principle limits the damage that can result from accident, error or unauthorized use.
REQUIREMENTS
Service Account Creation
Create a Service Account only when a system or application needs to authenticate systems to access data, run processes, or perform actions on another system.One for One
Every Service Account is to be associated with one team who is responsible for the use and management of the account.
Unique Password
- Service Accounts must use a different password from other accounts.
- Passwords must meet the criteria outlined in the password standard.
- Passwords should not be hard-coded; they should be stored in the system's secret management mechanism.
Note: Change vendor or default passwords immediately upon initial configuration of the system.
Limit Login Options
Where the capability exists, limit interactive login capabilities. Examples include prohibiting console/terminal access, configuring a restricted shell, and enforcing network access restrictions.
Least Privilege
- The privileges of a Service Account must exist independent of the privileges of a human user.
- Each subject in a system should only be granted the privileges needed for the performance of authorized tasks, and not excessive or unrelated permissions.
Supported Monitoring Options
- The Security Operations Center (SOC) and Identity Portfolio recommend the following supported options for monitoring service uptime and functionality:
- Service can report to an API provided by the Monitoring team or service its status, including uptime and/or proper function. This is defined by the SOC as the canary page approach.
- The monitoring service can invoke a specific API provided by a service to be monitored that provides status, including uptime and/or proper function.
- The monitoring API should only allow configured access to reporting services and employ approved programmatic authentication approaches, such as OAuth 2.0.
- The service API should only allow the monitoring service access to the API and should employ approved programmatic authentication approaches, such as OAuth 2.0.
Note: To align with the least privilege security principle, when the monitoring service invokes a specific service API for monitoring information, create a separate client ID/secret or service account specifically to access the service API to gather monitoring information. The monitoring team or service should not reuse a single service account, such as the mondem service account, to access all services to gather status or other monitoring information.
GUIDELINES
- Create a Service Account only when necessary to perform a specific function.
- Assign every Service Account to one team responsible for its management.
- Use a unique password that meets the password standard. Change vendor or default passwords immediately upon initial configuration.
- Never hard-code passwords. Store passwords in the system's secret management mechanism.
- Limit interactive login capabilities where the capability exists.
- Grant only the privileges needed for the performance of authorized tasks. Avoid excessive or unrelated permissions.
- For monitoring, create a separate client ID/secret or service account.
ROLES & RESPONSIBILITIES
Service Account Users
Manage the Service Account, maintain a unique password, store the password in the system's secret management mechanism, limit login options where available, and apply least privilege.System or Application Owners
Ensure the Service Account can authenticate systems only as needed to access data, run processes, or perform actions on the other system. Comply with instructions from the Security Operations Center.
Security Operations Center
Manage breaches, compromises, or weaknesses and protect data or IT resources.
Monitoring Team or Service
Use configured access to reporting services, approved programmatic authentication approaches, and separate credentials created specifically to gather monitoring information.
COMPLIANCE & ENFORCEMENT
All owners and users of service accounts, and system owners must comply with these standards. Suspected account compromises, breaches of data, abnormal or systematic unsuccessful attempts to compromise the university's data or IT Resources, and suspected or actual weaknesses in safeguards protecting data or IT Resources to the CES Security Operations Center.
The Appropriate Use of Information Technology Resources Policy states:
The university reserves the right, in its sole discretion and for any reason or no reason, to immediately revoke authorization to access or use any or all IT Resources.
STANDARDS OWNERSHIP & REVIEW
This standard is reviewed every year, or sooner if there is a major change in policy, regulations, or systems.
IT Standards are developed by subject matter experts and approved by the Information Technology Committee, which consists of the CIO, the CISO, University Vice Presidents and other senior leaders.