Attacks and Exploits

In an authorized test, a tester with a standard domain user session wants an AD search that lists accounts that are or were members of protected privileged groups such as Domain Admins. Which attribute filter BEST fits?

Show the answer

Correct answerB. adminCount equal to 1

AWhy not this: primaryGroupID 513 is Domain Users, the default primary group of nearly every user account.

BWhy this is right: AD sets adminCount to 1 on objects in protected groups, so this filter returns current and former privileged accounts.

CWhy not this: a populated SPN marks accounts tied to services, which may or may not hold privileged group membership.

DWhy not this: an old lastLogonTimestamp finds dormant accounts, which says nothing about privilege.

Active Directory sets adminCount to 1 on accounts that are or were in protected groups, and any authenticated user can query it, so one filter returns privileged accounts. A populated servicePrincipalName finds accounts that run services, which are not necessarily privileged.