Setup
Dependencies
apt install wget gnupg apt-transport-https git ca-certificates ca-certificates-java curl software-properties-common python3-pip lsb_releaseyum install pkg-install gnupg chkconfig python3-pip git Java Virtual Machine
Installation
wget -qO- https://apt.corretto.aws/corretto.key | sudo gpg --dearmor -o /usr/share/keyrings/corretto.gpg
echo "deb [signed-by=/usr/share/keyrings/corretto.gpg] https://apt.corretto.aws stable main" | sudo tee -a /etc/apt/sources.list.d/corretto.sources.list
sudo apt update
sudo apt install java-common java-11-amazon-corretto-jdk
echo JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto" | sudo tee -a /etc/environment
export JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto"sudo rpm --import https://yum.corretto.aws/corretto.key &> /dev/null
wget -qO- https://yum.corretto.aws/corretto.repo | sudo tee -a /etc/yum.repos.d/corretto.repo
yum install java-1.11.0-amazon-corretto-devel &> /dev/null
echo JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto" |sudo tee -a /etc/environment
export JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto"Cassandra
Installation
Edit cassandra.yaml
cassandra.yamlStop cassandra.service
cassandra.serviceRemove the old files
Start cassandra.service
cassandra.serviceCheck cassandra.service status
cassandra.service statusElasticsearch
Installation
Edit elasticsearch.yml
elasticsearch.ymlStart elasticsearch
elasticsearchEnable elasticsearch
elasticsearchCheck elasticsearch.service status
elasticsearch.service statusFile Storage
Create /opt/thp/thehive/files
/opt/thp/thehive/filesChange ownership of /opt/thp to (User):thehive
/opt/thp to (User):thehiveTheHive
Installation
Change ownership of /opt/thp to (User):thehive
/opt/thp to (User):thehiveEdit application.conf
application.confStart thehive
thehiveEnable thehive
thehiveCheck thehive status
thehive statusDashboard
Login credentials
Username
Password
Last updated