Skip to content
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

Ingest GPOLocalGroup data #1147

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

Conversation

martanne
Copy link

Description

This pull requests ingests the GPOChanges JSON object as collected by SharpHound's GPOLocalGroup collector and adds the required nodes for the local groups and corresponding edges for the membership relation.

This in turn enables the existing analysis algorithm to create the previously missing AdminTo, CanRDP, CanPSRemote and ExecuteDCOM edges for principals assigned to local groups by means of GPOs.

Motivation and Context

This PR addresses GitHub issues #280 (and #240).

How Has This Been Tested?

Tested in a local Ludus lab instance.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have met the contributing prerequisites
  • I have ensured that related documentation is up-to-date
  • I have followed proper test practices

While collected by SharpHound, the GPOChanges node of OUs was not taken
into account to generate local group membership relations.

For every affected computer, new ADLocalGroup nodes with corresponding
LocalToComputer and MemberOfLocalGroup edges are generated.

This should fix issue SpecterOps#280.
Copy link

github-actions bot commented Feb 12, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@martanne
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

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.

1 participant