SV-213935r617437_rule
V-213935
SRG-APP-000080-DB-000063
SQL6-D0-004200
CAT II
10
Remove all logins that were returned in the check content.
Execute the following query:
SELECT name
FROM sys.server_principals
WHERE type in ('U','G')
AND name LIKE '%$'
If no logins are returned, this is not a finding.
If logins are returned, determine whether each login is a computer account.
Launch PowerShell.
Execute the following code:
Note: <name> represents the username portion of the login. For example, if the login is "CONTOSO\user1$", the username is "user1".
([ADSISearcher]"(&(ObjectCategory=Computer)(Name=<name>))").FindAll()
If no account information is returned, this is not a finding.
If account information is returned, this is a finding.
V-213935
False
SQL6-D0-004200
Execute the following query:
SELECT name
FROM sys.server_principals
WHERE type in ('U','G')
AND name LIKE '%$'
If no logins are returned, this is not a finding.
If logins are returned, determine whether each login is a computer account.
Launch PowerShell.
Execute the following code:
Note: <name> represents the username portion of the login. For example, if the login is "CONTOSO\user1$", the username is "user1".
([ADSISearcher]"(&(ObjectCategory=Computer)(Name=<name>))").FindAll()
If no account information is returned, this is not a finding.
If account information is returned, this is a finding.
M
3993