TMAegis
mssql 관련 규칙 더 보기

TMA-MSSQL-3.1

Ensure 'Server Authentication' Property is set to 'Windows Authentication Mode'

보통레벨 1자동mssql

설명

Use Windows Authentication to validate attempted connections. 1 = Windows Authentication mode, 0 = mixed mode. Default: Windows Authentication Mode Runs one sqlcmd query with its defaults (Windows authentication to the local default instance); set SQLCMDSERVER, SQLCMDUSER and SQLCMDPASSWORD for another instance or SQL authentication. Needs VIEW SERVER STATE / sysadmin-level read access.

점검 방법

감사 방식: SQL 쿼리

sql_query
sqlcmd -b -h -1 -W -Q "SET NOCOUNT ON; SELECT CAST(SERVERPROPERTY('IsIntegratedSecurityOnly') AS int);"
예상 출력
1

조치 방법

조치 방식: 가이드 또는 인프라 패치

Perform either the GUI or T-SQL method shown: GUI Method 1. Open SQL Server Management Studio. 2. Open the Object Explorer tab and connect to the target SQL Server instance. 3. Right click the instance name and select Properties. 4. Select the Security page from the left menu. 5. Set the Server authentication setting to Windows Authentication Mode. T-SQL Method Run the following T-SQL in a Query Window: USE [master] GO EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 1 GO Restart the SQL Server service for the change to take effect.

속성

운영 체제
모두
태그
mssqldatabaseauthentication
참고 자료
CIS Microsoft SQL Server 2025 Benchmark v1.0.0 - 3.1 Ensure 'Server Authentication' Property is set to 'Windows Authentication Mode'

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target mssql