Installation - malwaredb/malwaredb GitHub Wiki
Installation instructions:
- Install Postgres for your operating system.
- Once installed, create a user for MalwareDB.
- Log in to Postgres as the new user.
- Load the malwaredb.sql file in the project root.
- Build dependencies
- To-Do: Document dependency installation for Go bindings (ssdeep, sdhash, lzjd)
- Check out the code
- Run
go build
in the client and server directories. - For the server, run
sudo ./server CreateConfig
to create the skeleton config file, fill it in with the appropriate settings. The settings do require SSL certificate and key, xca is a great application for creating & managing SSL certificates. - The client will create a skeleton config file at first run.
- Run the
build.sh
script in the "filetype_pdf_plugin" directory (Optional).
- Run
- Optional: Set up file similarity Postgres plugins. Follow the instructs for the respective packages. These projects require the development package for the Postgres server.
- Optional: Install sdhash, ensuring the
sdhash
binary is in the system PATH.