Skip to content

Improve handling of domain objects and their trust relationships #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

martanne
Copy link

Last year I spend some time comparing the graph produced by BOFHound with the one from the standard SharpHound ingestor.

My approach was to provide as much data as possible to BOFHound by querying every single LDAP object in every naming context (i.e. certainly not what you would do in a red teaming setting).

This pull request addresses some difference I observed in the context of domain objects and their trust relationship.

image

This ignores ADIDNS related domain objects e.g. ForestDnsZones and
DomainDnsZones which do not have an objectsid and cause issues when
importing into BloodHound.

Filtering based on the objectsid property seems justified because
the attribute is declared as required for proper functionality in the
BOFHound documentation.
@Tw1sm
Copy link
Collaborator

Tw1sm commented Feb 9, 2025

Hey, thank you for the PR! This is a great improvement over the temporary SID hack I had in place. I'll get this merged in once your bof PR is accepted 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trusted Domains are Duplicated
2 participants