-
Notifications
You must be signed in to change notification settings - Fork 620
BloodhoundCE owned new tag #616
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for the PR! Gonna take a look at it soon |
|
After the PR I opened a Bug in BloodhoundCE, and they told me that this method of updating the owned tag via connection to Neo4J directly is not supported. |
|
This is expected as the package we are using doesn't support bloodhound CE, only legacy BH is supported |
|
I think accessing the database directly would be rather fragile. One change by the BHCE developers and it breaks apart. The API is exactly intended for the integration between BloodHound and external tools like NetExec. Additional reason: In the long term, they plan to remove Neo4j and instead Postgres (with a Cypher adapter) should be used even as the graph database. So a clean solution would be to use the API, but yes, this is probably more work. In general, feel free to copy relevant portions of the code from my Python tool bhcli. (or try to use it as a library?) |
…o4J. maintain old config for using with old bloodhound
|
@exploide well, in the long run you might be right. Switching to the API is probably the best idea. @derekkddj Thanks for the work! I will check it out how it works soon! |
I just copy-paste the brillian API of @exploide |
| token_id = 88xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | ||
| token_key = Aoxxxxxxxxxxx== | ||
|
|
||
| [BloodHound] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be renamed Bloodhound-Legacy
then change bloodhound package into bloodhound-ce into pyproject.toml
bloodhound-ce is by default, if user wants legacy, he just need to set BloodhoundAPI to false and BloodhoundLegacy to True
in combinaison with #664 it's perfect
imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we could merge the two ideas , to use the new collection method and to use the API to update the "owned" users and machines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So i guess we'll wait until #664 is merged and then integrate the new bh ce connector 👍


Description
The new BloodhoundCE uses a system_tags to add if the user or computer is owned. This tag is used too for "high" value targets.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Python 3.10.12
BloodhoundCE 7.1.0v
I made test in my local enviroment but with production data. The only problem is that you can not set the node as "not owned" from the WEB interface, but this seems a problem with BloodhoundCE not with NeteExec.
Screenshots (if appropriate):
No scrrenshoot, the data is in producction.
Checklist:
poetry run python -m ruff check . --preview, use--fixto automatically fix what it can)