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

Bug: AZAddOwner Relationships not Being Created #686

Open
cntC0d3 opened this issue Jul 8, 2024 · 0 comments
Open

Bug: AZAddOwner Relationships not Being Created #686

cntC0d3 opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working needs more info This issue requires more information ticketed Ticket has been created internally for tracking

Comments

@cntC0d3
Copy link

cntC0d3 commented Jul 8, 2024

Description:

the Azure relationship AZAddOwner is not being created as described in documentation. After further investigation it appears this feature was never implemented in BHCE.

Are you intending to fix this bug?

yes.

Component(s) Affected:

  • API

Steps to Reproduce:

  1. Run Azurehound against a tenant that contains a user given one of the four roles specified in documentation:
    • Hybrid Identity Administrator
    • Partner Tier1 Support
    • Partner Tier2 Support
    • Directory Synchronization Accounts
  2. Upload collected data into bloodhound and wait for ingestion to complete.
  3. query bh data for AZAddOwner relationships:
MATCH p=()-[r:AZAddOwner]->() RETURN p LIMIT 25
  1. Query will return 0 results

Expected Behavior:

AZAddOwner relationship edges should be present between any user with the aformentioned roles and all AZApps and AZServicePrincipals within the same azure tenant.

Actual Behavior:

Relationships are not being created.

Screenshots/Code Snippets/Sample Files:

NSTR

Environment Information:

BloodHound: v5.12.0-rc1

Collector: Azurehound v2.1.9

OS: macOS 14.5
Go (if API related): go1.22.5 darwin/amd64

Docker (if using Docker): 25.0.3

Additional Information:

Potential Solution (optional):

add functionality to analysis/azure/post::UserRoleAssignments.

Related Issues:

If you've found related issues in the project's issue tracker, mention them here.

Contributor Checklist:

  • [ x] I have searched the issue tracker to ensure this bug hasn't been reported before or is not already being addressed.
  • [x ] I have provided clear steps to reproduce the issue.
  • [x ] I have included relevant environment information details.
  • [ x] I have attached necessary supporting documents.
  • [x ] I have checked that any JSON files I am attempting to upload to BloodHound are valid.
@cntC0d3 cntC0d3 added bug Something isn't working triage This issue requires triaging labels Jul 8, 2024
@slokie-so slokie-so added ticketed Ticket has been created internally for tracking needs more info This issue requires more information and removed triage This issue requires triaging labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info This issue requires more information ticketed Ticket has been created internally for tracking
Projects
None yet
Development

No branches or pull requests

2 participants