Skip to content

SQL Server must generate audit records when successful and unsuccessful logons or connection attempts occur.

An XCCDF Rule

Description

For completeness of forensic analysis, it is necessary to track who/what (a user or other principal) logs on to SQL Server. It is also necessary to track failed attempts to log on to SQL Server. While positive identification may not be possible in a case of failed authentication, as much information as possible about the incident must be captured. Satisfies: SRG-APP-000503-DB-000350

ID
SV-214014r961824_rule
Version
SQL6-D0-014800
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Add both "SUCCESSFUL_LOGIN_GROUP" and "FAILED_LOGIN_GROUP" to the server audit specification. 
USE [master];
GO  
 
ALTER SERVER AUDIT SPECIFICATION STIG_AUDIT_SERVER_SPECIFICATION WITH (STATE = OFF);  
GO