Microsoft Windows Server 2019

Windows Server 2019 Deny log on as a batch job user right on domain controllers must be configured to prevent unauthenticated access

STIG ID: WN19-DC-000380 | SRG: SRG-OS-000080-GPOS-00048 | Severity: Medium | CCI: CCI-000213 | Vulnerability ID: V-205668

Description

Inappropriate granting of user rights can provide system, administrative, and other high-level capabilities.The "Deny log on as a batch job" user right defines accounts that are prevented from logging on to the system as a batch job, such as Task Scheduler.The Guests group must be assigned to prevent unauthenticated access.

Check

C-205668r958472_chk

This applies to domain controllers. A separate version applies to other systems.Verify the effective setting in Local Group Policy Editor.Run "gpedit.msc".Navigate to Local Computer Policy >> Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> User Rights Assignment.If the following accounts or groups are not defined for the "Deny log on as a batch job" user right, this is a finding:- Guests GroupFor server core installations, run the following command:Secedit /Export /Areas User_Rights /cfg c:\path\filename.txtReview the text file.If the following SID(s) are not defined for the "SeDenyBatchLogonRight" user right, this is a finding:S-1-5-32-546 (Guests)

Fix

F-5933r354923_fix

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> User Rights Assignment >> "Deny log on as a batch job" to include the following:- Guests Group