Bloodhound - Install Neo4j

BloodHound is a single page Javascript web application, built on top of Linkurious, compiled with Electron, with a Neo4j database fed by a C# data collector.

BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment. Attackers can use BloodHound to easily identify highly complex attack paths that would otherwise be impossible to quickly identify. Defenders can use BloodHound to identify and eliminate those same attack paths. Both blue and red teams can use BloodHound to easily gain a deeper understanding of privilege relationships in an Active Directory or Azure environment.

Install Java

sudo echo "deb http://httpredir.debian.org/debian stretch-backports main" | sudo tee -a /etc/apt/sources.list.d/stretch-backports.list
sudo apt-get update
sudo aptitude -y install neo4j

Install Neo4j

#Download and install Cypher-Shell
https://dist.neo4j.org/cypher-shell/cypher-shell_5.5.0_all.deb?_ga=2.83001429.2105854432.1677287326-869879218.1677287326

#Download and install Neo4j
https://neo4j.com/download-thanks/?edition=community&release=5.5.0&flavour=deb&_ga=2.157084671.592735778.1677287027-1369190336.1677287027

#Start Neo4j
sudo /usr/bin/./neo4j console
 

Run neo4j as a console application:

sudo /usr/bin/./neo4j console
  1. Open a web browser and navigate to https://localhost:7474/. You should see the neo4j web console.

  2. Authenticate to neo4j in the web console with username neo4j, password neo4j. You’ll be prompted to change this password.

Install Bloodhound

cd /opt/tools
sudo wget https://github.com/ly4k/BloodHound/releases/download/v4.2.0-ly4k/BloodHound-linux-x64.zip
sudo unzip BloodHound-linux-x64.zip -d BloodHound4.2-ly4k
rm BloodHound-linux-x64.zip
/opt/tools/BloodHound4.2-ly4k/BloodHound-linux-x64/BloodHound  --no-sandbox --disable-dev-shm-usage

Start Bloodhound

sudo /opt/tools/BloodHound4.2-ly4k/BloodHound-linux-x64/BloodHound  --no-sandbox --disable-dev-shm-usage

Last updated