Vulnerability Discussion
Inappropriate granting of user rights can provide system, administrative, and other high level capabilities.
The "Deny log on as a service" right defines accounts that are denied log on as a service.
In an Active Directory Domain, denying logons to the Enterprise Admins and Domain Admins groups on lower trust systems helps mitigate the risk of privilege escalation from credential theft attacks which could lead to the compromise of an entire domain.
Incorrect configurations could prevent services from starting and result in a DoS.
Check
This requirement is applicable to domain-joined systems. For standalone or nondomain-joined systems, this is NA.
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 groups or accounts are not defined for the "Deny log on as a service" right , this is a finding.
Domain Systems Only:
Enterprise Admins Group
Domain Admins Group
Fix
This requirement is applicable to domain-joined systems. For standalone or nondomain-joined systems, this is NA.
Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> User Rights Assignment >> "Deny log on as a service" to include the following:
Domain Systems Only:
Enterprise Admins Group
Domain Admins Group