Files
mukul975 c21af3347e Complete folder anatomy for all 649 cybersecurity skills + update LICENSE to Mahipal
- Add scripts/agent.py and references/api-reference.md to all remaining skills
- Update all 648 LICENSE files: copyright now reads 'Mahipal'
- Add implementing-security-monitoring-with-datadog (new skill with full anatomy)
- All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
2026-03-11 00:22:12 +01:00

1.8 KiB

BloodHound CE Reconnaissance — API Reference

Libraries

Library Install Purpose
neo4j pip install neo4j Neo4j graph database driver for Cypher queries
bloodhound pip install bloodhound Python ingestor for AD data collection
requests pip install requests BloodHound CE REST API client

Key neo4j Driver Methods

Method Description
GraphDatabase.driver(uri, auth=(user, pass)) Connect to Neo4j
driver.session() Open a session for queries
session.run(cypher, **params) Execute Cypher query
driver.close() Close driver connection

Critical Cypher Queries

Query Purpose Cypher Pattern
Path to DA MATCH p=shortestPath((u:User)-[*1..]->(g:Group {name:"DOMAIN ADMINS@..."}))
Kerberoastable MATCH (u:User) WHERE u.hasspn = true AND u.enabled = true
Unconstrained Delegation MATCH (c:Computer) WHERE c.unconstraineddelegation = true
AS-REP Roastable MATCH (u:User) WHERE u.dontreqpreauth = true
DCSync rights `MATCH p=(u)-[:GetChanges

BloodHound Python Ingestor

bloodhound-python -d domain.local -u user -p pass -ns DC_IP -c all --zip

Collection methods: all, group, localadmin, session, trusts, objectprops, acl

MITRE ATT&CK Mapping

Technique ID
Account Discovery T1087
Permission Groups Discovery T1069
Domain Trust Discovery T1482

External References