Fork this repository (Click the Fork button in the top right of this page, click your Profile Image) Clone your fork down to your local machine
git clone https://github.com/your-username/OpenUBA.git
- Install pip3 if you don't have it already
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python3 get-pip.py
sudo python3 get-pip.py
- Install the python dependencies and execute the makefile
pip3 install requirements.txt
make
- Install HADOOP and JDK
- Configure Spark environment by running spark_env.sh
bash spark_env.sh
OR
./spark_env.sh
- Run the API server (from root directory)
make
This will invoke the "dev" stage of the Makefile, thus running the mypy linter for syntax checking, and the core.py
make test
you may need to alter the "run" stage of the Makefile, similar to:
cd core/ ; python3.7 core.py ;
To verify this is working, try to access
http://127.0.0.1:5000/display/teststring
- Run the web server (from root directory)
make run_ui
- Point your browser to http://127.0.0.1:3000/ to view the web app running
From the root folder, run the following command to initiate the react development server
make rd
If you run this command, it will build the static html from React
make rb
Now, you can either see the interface from the browser on port 3000 (default react port), or launch the desktop application
To start the electron app, run
make electron
brew install elasticsearch && brew info elasticsearch
brew services start elasticsearch
brew install logstash
brew services start logstash
brew install kibana
brew services start kibana
brew services list
sudo vi /usr/local/etc/kibana/kibana.yml