A Commvault environment holds the keys to an organisation's recovery, so the CommServe server, its consoles, the credentials it stores and the storage it writes to all need deliberate, customer-side hardening. An attacker with administrator access to a backup platform can change retention, delete jobs and remove storage before encrypting production systems, which is the behaviour MITRE ATT&CK records as Inhibit System Recovery (T1490). This guide is for backup administrators running Commvault software (CommServe, MediaAgents, Command Center and the CommCell Console). It covers network exposure, administrator sign-in and approvals, workload and cloud storage credentials, immutable storage, and tamper monitoring, using setting names from the Release 11.46 documentation.
This is an independent guide from NHI Mgmt Group, based on Commvault's public documentation as of November 2026. It is not sponsored or reviewed by Commvault. Product features change, so confirm settings against Commvault's current documentation.
Key takeaways
- Treat the CommServe as tier zero. Its database holds configuration, job history and access control, so harden the Windows host and SQL Server instance and keep the console off general networks.
- Turn on two-factor authentication for every administrator. Enable it at CommCell level under Manage > CommCell, and prefer a FIDO2 web authenticator over emailed PINs for Command Center.
- Require a second person for destructive actions. Multi-Person Authorization puts deletions, unauthorised restores and storage policy changes behind an approver group.
- Keep workload and cloud secrets out of people's hands. Use the Credential Vault or an external vault that Commvault queries at job time, and protect the password encryption key with a key management server.
- Lock at least one copy. Storage lock or WORM Storage Lock plus Compliance lock makes retention irreversible, so size storage and retention before you switch it on.
Shared responsibility for Commvault
For self-managed Commvault software, the customer owns the operating systems, the network placement, the identities that sign in and the storage targets. Commvault supplies the security features; turning them on and keeping them on is the customer's job. The table summarises who controls what.
| Layer | What you control | Main settings or features |
|---|---|---|
| CommServe host | Windows Server and Microsoft SQL Server hardening, physical and network security | OS and SQL Server baselines; no direct logins with the Commvault SQL accounts |
| Network | Which networks reach CommServe, MediaAgents and clients | Firewall rules for TCP 8400, 8401, 8403 and the dynamic job port range; network topologies |
| Administrator identity | Who signs in, how, and what they can do | Two-factor authentication, lockout and password complexity, roles, Multi-Person Authorization |
| Application secrets | Credentials for workloads, hypervisors and cloud libraries | Credential Vault, third-party credential vault, key management server for password encryption |
| Backup storage | Immutability and access to mount paths and buckets | Storage lock, WORM Storage Lock, Compliance lock, ransomware protection for mount paths |
| Monitoring | Who reviews events and how fast | Audit trail, Threat Indicators, Security Posture Score report |
The Security Posture Score report in Command Center is a useful starting point. It scores parameters including failed login lockout count, account lockout duration, delete authorization, restore authorization, password complexity level, multi-factor authorization, Command Center and CommCell Console timeout periods, Windows MediaAgent with admin shares, key management, storage with encryption, Compliance Lock, ransomware protection, the Threat Indicator Alert and Disaster Recovery Backup. Run it before and after each hardening phase.
Limiting CommServe and console exposure
Commvault's guidance on securing the CommServe computer starts with physical, application and network security, because the CommServe database holds all configuration data, job records and access control. It also asks you to harden the SQL Server instance and the Windows host using current Microsoft guidance, and states that no application or user should use the sqladmin_cv and sqlexec_cv accounts to log in to the SQL Server database directly.
Ports to plan around
| Port | Service (as named in the docs) | Exposure guidance |
|---|---|---|
| TCP 8400 | Commvault Communications Service (GxCVD), on all client computers | Allow only from CommServe and MediaAgents that serve that client |
| TCP 8401 | Commvault Server Event Manager (GxEvMgrS), on the CommServe | Restrict to Commvault infrastructure |
| TCP 8403 | Commvault Firewall (GxFWD), tunnel port for HTTP/HTTPS (CVD port plus 3) | Use with network topologies so clients in other zones connect through defined routes |
| TCP 8408 | LiveSync disaster recovery traffic between production and standby CommServe | Permit only between the two CommServe hosts |
| Dynamic range | Ports GxCVD uses during jobs (49152 to 65535, or 33535 to 65535 on newer installations) | Prefer tunnelled topologies over opening wide ranges across zones |
The documentation describes 8400, 8401 and 8403 as the static ports Commvault registers by default. Exposure reduction then comes down to a few decisions:
- No internet exposure: keep Command Center and the CommCell Console on a management network reached through a jump host or privileged access workstation. Publish nothing to the internet unless a documented requirement exists, and then only behind an authenticating proxy.
- Segment by role: CommServe, MediaAgents and storage sit in a backup zone; production clients reach them only on the ports above.
- Remove admin shares: the Security Posture Score flags Windows MediaAgents with administrative shares enabled. Remove them where your operations allow.
- Separate domain: join the CommServe and MediaAgents to a management domain or keep them workgroup-joined, so a compromise of the production directory does not hand over the backup estate. See the Backup Identity Isolation Guide.
Admin identity, MFA and roles
Two-factor authentication
In Command Center, go to Manage > CommCell, General section, and turn on Enable two factor authentication. You can apply it to all users or to selected user groups; a user in any enabled group is covered. Under Web authentication you can also allow passwordless login and usernameless login with a web authenticator. Enabling at CommCell level in a multi-tenant environment includes all companies, and companies can also be enabled at company level.
The documentation lists three methods: a six-digit PIN sent by email (valid for 30 minutes), a PIN from an authenticator app such as Google Authenticator or Microsoft Authenticator, and a web authenticator, meaning a FIDO2 device such as a YubiKey. Once a user registers a web authenticator it takes precedence over PIN verification, but web authenticator applies to Command Center only, while PINs also cover the CommCell Console and command line. Two practical consequences:
- Prefer FIDO2 for administrators: emailed PINs depend on the security of the mailbox, which an attacker may already control.
- Plan for SSO users: the docs explain that Commvault two-factor authentication applies to non-SSO sign-ins and suggest disabling SSO for the relevant domain controller where you want it enforced. If you keep SSO, enforce MFA at the identity provider and confirm it covers the backup administrators.
Lockout, passwords and roles
Set failed login lockout count, account lockout duration, password complexity level and console timeout periods, all of which the Security Posture Score checks. Grant roles on the principle of least privilege: day-to-day operators need job and restore rights on their own clients, not rights to edit storage policies or delete storage. Keep the number of CommCell-wide administrators small, use named accounts, and keep one break-glass account with a FIDO2 key stored offline. See the Break-Glass Account Guide.
Multi-Person Authorization
Multi-Person Authorization (MPA) adds an approval step before operations that could cause data loss. Commvault groups the covered operations as data loss from deleting data or entities, denial of data protection, unauthorised restores, and security operations such as updating a storage policy copy or changing an approval user group. Operations are configured under Manage > Account > Security, and each can have its own approver group.
- 24-hour wait: new members of an approver group must wait 24 hours before they can approve, which stops an attacker adding an account and approving their own request immediately.
- Changes need approval: changes to the MPA configuration are themselves subject to approval, and approvers are emailed.
- Exclusions are risk: most operations allow exclusion lists. Keep them minimal and review them monthly.
- Tenant cooldown: newly onboarded tenants get a 7-day cooldown during which dual authorization is not enforced, so set approvers during onboarding rather than after.
Application secrets and credentials
Commvault needs credentials to reach what it protects: databases, file servers, NAS devices, hypervisors, cloud accounts and backup storage. These are non-human identities with broad read access to production data, and cloud library credentials can often delete backup objects. They deserve the same care as any privileged secret. See the Secrets Management Guide.
| Option | How it works (per the docs) | When to use it |
|---|---|---|
| Built-in Credential Vault | Credentials are created under Manage > Account, Security tab, Credential vault tile, and shared across workloads by reference | Default choice; one place to rotate, and operators never see the password |
| Third-party credential vault | Commvault retrieves the credential from the external vault when a job needs it and discards it afterwards; credentials are not stored in Commvault. Documented providers include Azure Key Vault, BeyondTrust, CyberArk Application Access Manager, Delinea and HashiCorp Vault | Organisations with an existing vault that handles rotation and audit |
| Key management server for password encryption | Application user account passwords are encrypted with AES-256; the key sits in the CommServe database unless a key management server, including a passphrase key management server, is configured | Any environment where theft of the CommServe database is a credible risk |
Practical rules for these secrets:
- One credential per trust boundary: sharing one credential across many hypervisors simplifies rotation, as the docs note, but sharing across production and test or across tenants widens the blast radius. Share within a boundary, not across.
- Scope cloud library identities: give the cloud storage identity only the permissions Commvault documents for the storage type, such as PutObjectRetention on Amazon S3, storage.objects.setRetention on Google Cloud Storage, or the Storage Blob Data Owner role for Azure with immutability. Do not reuse an account administrator key.
- Rotate on a schedule and on staff change: record an owner and rotation date for every credential, and rotate after any administrator leaves.
- Protect the host secrets: Commvault stores sensitive registry data with a machine-level key (DPAPI on Windows), so local administrator access to CommServe or MediaAgents is effectively access to those secrets. Limit local administrators accordingly.
Immutable and air-gapped storage
Commvault offers several layers of protection for backup data. Choose them together rather than one at a time.
| Feature | What it does | Reversible? | Points to plan |
|---|---|---|---|
| Compliance lock | WORM setting on a storage pool copy; retention cannot be lowered | No, per the docs | Applies to dependent copies; supported for all cloud storage vendors |
| Storage lock (disk) | Makes backup data on a disk storage target immutable for the retention period, and enables Compliance lock on associated destinations | No | Needs extra capacity; Flex lock can reclaim space for eligible deduplicated data |
| WORM Storage Lock (cloud) | Uses the provider's object lock or immutability, with lock days computed as pool retention plus DDB seal frequency for deduplicated pools | No | Bucket needs object lock or immutability enabled; Commvault uses Compliance mode object lock on S3 and S3 compatible storage |
| Ransomware protection for mount paths | Write-protects disk library mount paths on Windows or Linux MediaAgents from all processes except Commvault processes | Configurable | Protects on-premises disk libraries from tampering by malware on the MediaAgent |
Points the documentation stresses before you enable a lock:
- Irreversible by design: if storage lock is enabled by mistake, the documented remedy is a new storage pool pointing to a new bucket or container. Test on a small pool first.
- Retention and seal frequency: for deduplicated cloud pools, the DDB seal frequency is set between 7 and 365 days and adds to the lock period, which drives cost.
- Provider defaults: on S3, disable bucket default retention when object lock is enabled; on S3 compatible storage disable it or set it to 0 days.
- Keep DDB and index backups off WORM copies: the docs do not recommend associating them, because it can cause deletion errors.
- Protect the DR backup: Commvault documents protecting DR backup folders from ransomware. Keep a copy of the CommServe DR backup outside the primary environment so you can rebuild the CommServe itself.
Immutability does not replace isolation. CISA's #StopRansomware Guide asks for offline, encrypted backups that are regularly tested, and for delete protection or object lock on storage resources. Combine a locked cloud or disk copy with an isolated copy whose credentials are not held in the main environment. See the Cyber Recovery Vault Guide and the Backup Security and Immutable Backup Guide.
Monitoring and alerting
Destructive actions on a backup platform are rare and should always be investigated. Feed Commvault signals into your SIEM and alert on them.
| Signal | Source in Commvault | Why it matters |
|---|---|---|
| Job, client or storage deletion | Audit trail; MPA approval requests | Classic precursor to encryption (T1490, T1485) |
| Storage policy or retention change | Audit trail; MPA requests for storage policy copy updates | Shortened retention quietly ages out good copies |
| Changes to MPA approvers or exclusions | MPA change requests and approver emails | Attackers weaken approvals before acting |
| 2FA disabled or SSO changed | Audit trail | Lowers the bar to take over accounts |
| Anomalous file activity or backup size | Threat Indicators dashboard and Threat Indicator Alert | Early sign of encryption on protected clients |
| Failed and locked-out logins | Audit trail and lockout settings | Password spraying against consoles |
The audit trail keeps critical and high importance messages for 1 year, medium for 8 months and low for 4 months, and only administrators can view it. If you need longer history or correlation, export it to your log platform. The Threat Indicators dashboard covers file activity, backup size, file type and extension mismatches, threat analysis and threat scan results; anomalies older than 7 days are pruned, so route the Threat Indicator Alert to a monitored queue rather than relying on the dashboard. See Backup Alerting and Monitoring.
Metrics that show hardening is working
- Security Posture Score trend, reviewed monthly.
- Percentage of administrator accounts enrolled in two-factor authentication, with the share using FIDO2.
- Number of MPA exclusions and approver group members, with changes reviewed.
- Percentage of protected data with at least one locked copy.
- Credentials in the vault with a named owner and a rotation date inside policy.
- Time from a deletion or retention-change event to analyst review.
Rolling out the changes
- Baseline: run the Security Posture Score report and export the current roles, credentials and storage settings.
- Network first: move consoles behind the management network and tighten firewall rules; test a backup and restore for each client zone.
- Identity: enable two-factor authentication for a pilot administrator group, then all administrators; register FIDO2 keys; set lockout and timeouts.
- Approvals: configure MPA approver groups, then wait out the 24-hour window before relying on them.
- Secrets: move credentials into the vault or external vault, configure the key management server, and rotate every credential that was previously visible to operators.
- Storage: enable locks on a test pool, confirm data aging and cost, then extend to production pools.
- Rollback: keep identity and network changes reversible through the break-glass account; locks are not reversible, which is why they come last and only after the test pool proves the settings.
- Exercise: run a recovery test assuming the main administrator account is compromised, restoring from the locked or isolated copy.
Framework mapping
| Area | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 |
|---|---|---|
| Backup protection and locks | CP-9 System Backup; SC-28 Protection of Information at Rest | PR.DS-11 |
| Restore testing | CP-10 System Recovery and Reconstitution | RC.RP-03 |
| MFA for administrators | IA-2 | PR.AA-05 |
| Roles and Multi-Person Authorization | AC-5 Separation of Duties; AC-6 Least Privilege | PR.AA-05 |
| Audit review | AU-6 | PR.DS-11 (supporting) |
Practitioner checklist
- Run the Security Posture Score report and record the baseline.
- Keep Command Center and the CommCell Console off the internet and reachable only from a management network.
- Restrict TCP 8400, 8401, 8403 and 8408 to the hosts that need them, and use network topologies across zones.
- Harden the CommServe Windows host and SQL Server, and block direct logins with the Commvault SQL accounts.
- Enable two-factor authentication at CommCell level and register FIDO2 keys for administrators.
- Configure Multi-Person Authorization for deletions, restores and storage policy changes, with minimal exclusions.
- Move workload and cloud library credentials into the Credential Vault or an external vault, and configure a key management server.
- Enable Storage lock or WORM Storage Lock on at least one copy after testing on a small pool.
- Keep a CommServe DR backup outside the primary environment.
- Forward audit events and Threat Indicator Alerts to your SIEM and alert on deletions and retention changes.
Standards and references
- Commvault: Securing the CommServe Computer
- Commvault: Two-Factor Authentication for Your CommCell Environment
- Commvault: Multi-Person Authorization to Minimize Insider Threat
- Commvault: Configuring WORM Storage Lock
- Commvault: Security Posture Score Report
- Commvault: TCP Ports Used for Services
- CISA: #StopRansomware Guide
- NIST: SP 800-209 Security Guidelines for Storage Infrastructure
Related NHI Mgmt Group resources: Backup Security and Immutable Backup Guide · Backup Identity Isolation Guide · Backup Alerting and Monitoring · Secrets Management Guide