Skip to content

ivanfocsa/bloodhound-ad-attack-path-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BloodHound AD attack path lab

Active Directory Audit

Active Directory BloodHound Defensive Cypher

This repository is an Active Directory audit lab using BloodHound. It focuses on mapping and analyzing compromise paths so they can be prioritized, explained and remediated.

No exploitation steps are included here. The project is meant for authorized labs, internal audits and portfolio demonstration.

What this project demonstrates

  • BloodHound CE-oriented Cypher query library.
  • Tier Zero and high-value path review methodology.
  • Exposure categories for Kerberoastable users, local admin reachability, DCSync rights and dormant privilege.
  • A small reporting helper for CSV exports.
  • A clean remediation report template.

Workflow

Collect authorized AD data
        |
        v
Ingest into BloodHound CE
        |
        v
Run focused Cypher queries
        |
        v
Map compromise paths and produce remediation notes

Repository map

.
|-- docs/
|   |-- lab-setup.md
|   `-- reporting-method.md
|-- queries/
|   |-- dcsync-exposure.cypher
|   |-- dormant-high-privilege.cypher
|   |-- kerberoast-exposure.cypher
|   |-- local-admin-reachability.cypher
|   `-- tier-zero-shortest-paths.cypher
|-- reports/
|   `-- attack-path-assessment-template.md
|-- samples/
|   `-- attack-path-findings.csv
`-- scripts/
    `-- Summarize-BloodHoundFindings.ps1

Quick start

  1. Stand up BloodHound CE in an authorized lab.
  2. Ingest your lab dataset.
  3. Run the queries from queries/.
  4. Export interesting paths to CSV.
  5. Summarize findings:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
./scripts/Summarize-BloodHoundFindings.ps1 `
  -CsvPath ./samples/attack-path-findings.csv `
  -OutputPath ./reports/summary.generated.md

References

Ethics

Only run collection and analysis against systems where you have explicit permission. Treat path findings as sensitive because they describe how privilege could be reached.

About

Defensive Active Directory attack path analysis lab with BloodHound Cypher queries and reporting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors