How to Install

This page gives you a brief intro on how you will manage the installation of Malwation HookMesh. If you have any questions about this installation process, contact us at: [email protected]

This document covers almost all of the installation process, please make sure you follow the each step.

Installation Check Script

Along with the credentials that you will use to access to the image registry of Malwation, there would be a check script that checks your entire system that if everything is alright with the installation, for manual checks, you can use the checklist below:

Install & Download the Setup Downloader

After the check is done, you are ready to start the installation process:

curl -sfL https://hub.malwation.com/drive/index.php/s/AW89MwAso79jEBi/download/v1.0.0.sh -o setup_downloader.sh && sudo bash setup_downloader.sh
Initial output of the setup_downloader.sh

After you run the command, you will see a screen like in the upper side.

After some time, system will end its authentication process and download the arranged version for your side, you will see the final output of the setup_downloader.sh:

Final output of the setup_downloader

You can select which option you want with arrow keys and click enter button.

  1. If you select I want to install later: You should go to the version that have been downloaded to your system, for example in this case it is "v2.2.8" so you must do:

cd v2.2.8/ # depends on which version you've installed, this is just an example
sudo bash start.sh

After these commands, you are ready to install Malwation HookMesh!

  1. If you select Install now: We will continue with the installation in the below part, follow the instructions

Since Malwation HookMesh uses Kubernetes in the underground, it has two main installation types:

  1. Single Node Deployment ( 1 VM )

  2. Multi Node Deployment ( Requires minimum 3 VMs )

Install HookMesh to Single Node Cluster

After you run the main installation script via "Install Now" option or manually, you will see some set of questions that our setup asking you about the deployment, you can see them below:

HookMesh main setup script installation steps
  • Selection of FQDN: HookMesh needs to determine the address from which the system will be accessible. By default, it detects the local IP of the host machine automatically. However, if you prefer to use a custom domain, subdomain, or a different public IP within your infrastructure, you can select the second option and provide the desired address manually. This allows you to specify how you will access HookMesh from your browser.

  • Deployment Type Selection: HookMesh supports two deployment options:

    • Multi-Node Deployment: This option requires a minimum of three virtual machines (VMs) and is recommended for scalability and redundancy in larger environments.

    • Single-Node Deployment: This option installs HookMesh on a single VM, making it suitable for smaller setups or testing environments.

  • Selection of Additional Features: HookMesh offers optional modules that can be installed depending on your requirements:

    • No CDR and Static Scan: Skip the installation of these additional features.

    • Install only CDR (Content Disarm and Reconstruction) Analysis: Requires a CDR license and enables HookMesh to analyze and process call logs for detailed insights.

    • Install only Static Scan: Requires a Static Scan license and enables the system to perform security scans on static data.

    • Install both CDR and Static Scan: This option enables full functionality, combining call record analysis and static data scanning for enhanced monitoring and security.

  • SSL Certificate Configuration: To secure access to HookMesh, an SSL certificate is required. You have two options:

    • Generate a self-signed certificate: HookMesh will create a self-signed SSL certificate for the selected domain or IP. This is a quick and easy way to enable HTTPS, though it may not be trusted by all browsers by default.

    • Use a custom SSL certificate: If you have an existing certificate (.crt and .pem files), you can apply it to HookMesh for better security and trust.

  • Mail Integration Setup: HookMesh can integrate with mail servers to handle email attachments. You can choose:

    • Install mail integration (Postfix): This enables HookMesh to receive email attachments through a Postfix mail server, which can be useful for processing incoming email-based data.

      • Relayhost Configuration (Only if Mail Integration is Enabled): If you choose to enable mail integration, HookMesh allows you to configure a relayhost to route outgoing emails through an external mail server.

        • You can add a new relayhost or skip for now.

          • The relayhost must be specified in the IP:PORT format.

          • Examples of valid formats:

            • relay1.malwation.com:25 (correct)

            • 10.5.1.110:1025 (correct)

          • Examples of invalid formats:

            • relay1.malwation.com (missing port)

            • 10.5.1.110 (missing port)

    • Skip mail integration: If you do not require email-based attachment processing, you can opt out.

After you've finished filling the inputs for deployment, everything will be controlled by the HookMesh underhood.

Single Node Cluster - Final

System will ask you to reboot the machine, and everthing will be done!

After the machine became up again after the reboot, just type the IP or Domain that you've passed to the HookMesh while making the installation to your browser, you should see a page like this:

HookMesh Login Page

Default username and password is like this:

Username: hookmesh_admin

Password: HookMesh123!

We advise you to change these after installation.

When you pass the credentials correctly, you should see a dashboard like this, since this is the first time you open the HookMesh, it would be much more emptier than this by the way :)

HookMesh Dashboard Page

Please make sure you can access every page in the left-sidebar, if everything is alright, HookMesh has been installed successfully!

Install HookMesh to Multi Node Cluster

The main installation steps are same in this approach, but there are some details to be checked while deploying the application. So we advise you to do the installation & deployment process under our supervision.

Conclusion

This tutorial tries to cover almost all of the installation process, if you have any problems or see some problems with both of the setup or this document, please contact us at: [email protected]

Last updated