CAVaultHarden utility

This topic describes how to use the CAVaultHarden utility to harden the Digital Vault.

Overview

The CAVaultHarden utility hardens the Digital Vault so that it complies with security best practices.

The CAVaultHarden utility can be used for supported operating systems. For more information, see Digital Vault Server.

The CAVaultHarden utility hardens the following areas in the Digital Vault:

  • Policies

  • Audits

  • Services

  • Users

  • Network

  • Firewall

For more information about security fundamentals, see Security Fundamentals.

For more information about Digital Vault security standards, see Digital Vault Security Requirements.

The Vault hardening process is irreversible.

Configuration

Set the following parameters in the hardening configuration file, Hardening.ini, located in the /Server/Hardening/Conf folder.

Parameter

Description

HardenNetworkDevice

Hardens the network device.

Default value: Yes

Accepted values: Yes/No

HardenWindowsGroupPolicy

Hardens the Windows group policy.

Default value: Yes

Accepted values: Yes/No

HardenWindowsLocalUsers

Hardens the Windows local users.

Default value: Yes

Accepted values: Yes/No

HardenWindowsAuditPolicy

Hardens the Windows audit policy.

Default value: Yes

Accepted values: Yes/No

HardenWindowsFireWall

Hardens the Windows firewall.

Default value: Yes

Accepted values: Yes/No

HardenWindowsServices

Hardens the Windows services.

Default value: Yes

Accepted values: Yes/No

HardenWindowsRegistry

Hardens the Windows registry entries.

Default value: Yes

Accepted values: Yes/No

Run the CAVaultHarden utility

Before running the CAVaultHarden utility, make sure that you have configured the Vault Network cards and the firewall as follows:

  • The Network profile for The Vault Network cards must be set to Private.

  • The firewall must be configured in the Vault configuration file (not manually).

  1. Log in to the Vault as the Administrator user.

  2. Go to the /Server/Hardening folder.

  3. Run the CAVaultHarden utility as an administrator using the following syntax:

    CAVaultHarden.exe <VaultArchitecture> </AllowRDP>

    Example:

    CAVaultHarden.exe StandardVault /AllowRDP 10.10.10.10

    In the example above, the Vault machine will be hardened according to the configuration settings in the Hardening.ini file and will allow RDP access from IP: 10.10.10.10.

  4. After the hardening is successfully completed, reboot the host so that the hardening changes take effect.

CAVaultHarden utility Vault environment parameters

The following Vault environment parameters indicate the type of Vault environment in which the hardening process will take place.

If the AllowRDP parameter is not specified, there will be no RDP access to the Vault. Instead, Console access will be required.

Parameter

Description

StandardVault

Hardens the Vault in a Standalone Primary-DR or Standalone Distributed Vaults environment.

Flag:

  • /AllowRDP - Enables an RDP connection to the Vault from a single IP address.

    Accepted values: A single IPv4 address

HAVault

Hardens the Vault in a High Availability (HA) Primary-DR or HA Distributed Vaults environment.

Flag:

  • /AllowRDP - Enables an RDP connection to the Vault from a single IP address.

    Accepted values: A single IPv4 address

CAVaultHarden utility FAQs

Troubleshooting

Error: Hardening process was not completed successfully. code: <error code>

This is a general summary error for the hardening process. Review the log files for more details about errors that occurred during the hardening process.

Error: Configuration directory [<confDir>] is missing.

A mandatory configuration folder is missing. Verify that you have the appropriate Server installation package.

Error: Some Hardening configuration files are missing, abort hardening

Mandatory files are missing in the configuration folder. Look at the log files to see which files are missing.

Error: When using AllowRDP option, rdp client ip address must be specified.

The AllowRDP parameter requires a valid IP address, which was not specified. Specify a valid IP address.

Error: Invalid client IP address specified.

The specified IP address is invalid. Specify a single, valid IPv4 address.

Error: XXX was not successfully hardened.

Look at the logs for additional information about the failed stage or rerun the hardening process.