We are currently discussing if we recommend using the local system account for Veeam services or if we should switch to dedicated and customized service accounts (local account, no domain access of course).
The reason is that both our CEH colleagues and our security team is strongly recommending the usage of a service account and NOT the local system. The reasons are as follows (as per input from our security team):
In a hardened environment, it is recommended to use a dedicated service account instead of the Local System Account for Veeam Backup & Replication on a Windows Server. Here are several reasons why this is preferable:
Security Principles:
The principle of least privilege states that user accounts should have only the minimum rights necessary to perform their tasks. A dedicated service account can be assigned exactly the permissions needed for Veeam Backup & Replication, whereas the Local System Account has very extensive rights.
Control and Monitoring:
Using a dedicated service account allows for better monitoring and tracking of the actions performed by the backup service. This is more challenging when using the Local System Account since it is also utilized by other system services.
Permissions Management:
The permissions of the service account can be specifically adjusted and restricted. For instance, you can configure the account to only access the directories and resources necessary for backup and restore operations.
Isolation:
A dedicated service account isolates the backup service from other services and system components. If a security issue arises in the Veeam service, the potential damage is limited because the account does not possess comprehensive system rights.
Compromise:
If the service account is compromised, the impact is more contained compared to a compromise of the Local System Account, which has full system rights.
Recommended Steps for Setting Up a Service Account:
- Creating the Service Account: Create a new user account in your Active Directory domain or locally on the server, depending on your environment.
- Assigning Necessary Permissions: Ensure that the service account has the necessary permissions for the Veeam components. This includes read permissions on the backup storage locations and write permissions when backups need to be created.
- Configuration in Veeam: Go to the service settings in the Veeam Backup & Replication console and configure the services to run with the newly created service account.
- Review and Monitoring: Regularly review the activities of the service account and adjust permissions as necessary.
By using a dedicated service account, you can significantly enhance the security and management of your backup environment.
How comes that Veeam recommends the usage of the local system account both with the AI assistant, the installation wizard and the security analyzer?
As far as I remember from my own CEH course the local system account is a pre-defined, highly privileged account without a password from that a CMD prompt can be opened easily.
Thank you for some imput, maybe there are some reasons we have not thought about. Of course we assume that in case of a service accounting the service account is set up correctly and only with the necessary permissions.
Best regards
Lukas