Installation - malwaredb/malwaredb GitHub Wiki

Installation instructions:

  1. Install Postgres for your operating system.
    1. Once installed, create a user for MalwareDB.
    2. Log in to Postgres as the new user.
    3. Load the malwaredb.sql file in the project root.
  2. Build dependencies
    1. To-Do: Document dependency installation for Go bindings (ssdeep, sdhash, lzjd)
  3. Check out the code
    1. Run go build in the client and server directories.
    2. 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.
    3. The client will create a skeleton config file at first run.
    4. Run the build.sh script in the "filetype_pdf_plugin" directory (Optional).
  4. Optional: Set up file similarity Postgres plugins. Follow the instructs for the respective packages. These projects require the development package for the Postgres server.
  5. Optional: Install sdhash, ensuring the sdhash binary is in the system PATH.