Post-exploitation and Lateral Movement

A tester on a compromised member server needs to know which accounts hold local administrator rights on that server itself, not in the domain. Which command answers this?

Show the answer

Correct answerD. net localgroup Administrators

AWhy not this: This lists all domain user accounts without showing any group membership or local rights.

BWhy not this: This lists shared resources on the host, not the accounts that hold administrative rights.

CWhy not this: This lists a domain-level group, not the members of this server's local Administrators group.

DWhy this is right: This lists the members of the local Administrators group on the server where it is run.

Net localgroup Administrators lists the members of the server's local Administrators group, which shows who can administer that host. Net group "Domain Admins" /domain queries a domain group and says nothing about local rights on this server.