UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-213974 SQL6-D0-009700 SV-213974r952221_rule Medium
Description
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.
STIG Date
MS SQL Server 2016 Instance Security Technical Implementation Guide 2024-02-19

Details

Check Text ( C-15191r952221_chk )
If the application owner and authorizing official have determined that encryption of data at rest is not required, this is not a finding.

Review procedures for and evidence of backup of the Master Key in the System Security Plan.

If the procedures or evidence does not exist, this is a finding.

If the procedures do not indicate that a backup of the Master Key is stored in a secure location that is not on the SQL Server, this is a finding.

If procedures do not indicate access restrictions to the Master Key backup, this is a finding.
Fix Text (F-15189r951667_fix)
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.