QueryHound is a Python tool designed to simplify the creation of custom BloodHound queries in JSON format.
It was developed as part of the Exegol project and can be conveniently placed in:
/home/<user>/.exegol/my-resources/setup/bloodhound/customqueries_merge
from where it directly generates compatible JSON files ready for use with BloodHound.
Caution
This project is currently in Beta and may contain bugs.
Your feedback is highly appreciated. please feel free to open issues or submit pull requests to help improve it!
- Interactive prompt to create, edit, remove, and manage BloodHound queries
- Supports multiple sub-queries with "final" flags
- Easy loading and saving of queries in JSON files
- Optional graphical-like interface for query summaries (via pager)
- CLI options for quick actions and streamlined workflow
Clone or download the repository, then simply run:
python3 bloodhound_query.pyYou will be guided step-by-step through query creation and management.
For more details and command-line options, use:
python3 bloodhound_query.py -h- Develop a more graphical (GUI) interface for easier query creation
- Enhance validation and error handling
- Add templates for common BloodHound query scenarios
For a BloodHound-CE integration, you should consider this script : import-custom-bloodhound-queries
