SQL6-D0-009700 - The Master Key must be backed up and stored in a secure location that is not on the SQL Server.

Information

Backup and recovery of the Master Key may be critical to the complete recovery of the database. Not having this key can lead to loss of data during recovery.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Document and implement procedures to safely back up and store the Master Key in a secure location that is not on the SQL Server. Include in the procedures methods to establish evidence of backup and storage, and careful, restricted access and restoration of the Master Key.

BACKUP MASTER KEY TO FILE = 'path_to_file'
ENCRYPTION BY PASSWORD = 'password';

As this requires a password, take care to ensure it is not exposed to unauthorized persons or stored as plain text.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_SQL_Server_2016_Y24M04_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-28, CAT|II, CCI|CCI-001199, Rule-ID|SV-213974r952221_rule, STIG-ID|SQL6-D0-009700, STIG-Legacy|SV-93915, STIG-Legacy|V-79209, Vuln-ID|V-213974

Plugin: MS_SQLDB

Control ID: fa6f7fad1e5f0a281cdbbab41a518eeca5bf1e7b1464f5441a9a89c53c96af38