BloodHoundAD / BloodHound

Six Degrees of Domain Admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdminTo edges to gMSAs and sMSA

JonasBK opened this issue · comments

TLDR: BloodHound creates AdminTo edges to service accounts (gMSAs and sMSAs) based on GPO data. gMSAs and sMSAs are not computers, so these edges should not be created.

Description
It is possible to add a domain group to the Administrators group of a domain-joined computer through a GPO using Group Policy Preferences:
image

This will make BloodHound create an AdminTo edge from the given group (Domain Users in this example) to the computers which this GPO is linked to.

However, it appears that AdminTo edges are also created to gMSAs and sMSAs:
image

I assume it has something to do with the fact that the msDS-GroupManagedServiceAccount and msDS-ManagedServiceAccount are subclasses of the Computer LDAP class.

Closing - Fixed in 4.3.1 🥳