Wazuh‐MISP Integration - socarium/makarasoc GitHub Wiki
This guide provides step-by-step instructions to integrate Wazuh, an open-source security monitoring platform, with MISP, a threats sharing platform. By integrating these tools, organizations can enhance their security posture by correlating threat intelligence, log analysis, and incident response workflows.
-
Open MISP in the browser app
https://<IP Address>:10443to get the API key. -
Go to the
Administration>>List Auth Keys.

- Select
Add authentication keyto generate new API key.

- Fill in the page with your information and
submitthe information.

Here is the example:

- Copy the API key into your note apps or something else, and select
I have noted down my key, take me back now.

- The notification has shown that
AuthKey Added

We will back into terminal to add and edit configuration that needed for integration script.
- Edit the integration script with your editor app.
nano modules/wazuh/custom-misp.py- Find this configuration in that script:
misp_base_url = "https://**your misp instance and port**/attributes/restSearch/"
misp_api_auth_key = "*Your API Key"- Replace
your misp instance and portandYour API Keywith your real MISPip:portandMISP API Key.

Here is the example:

-
Press
ctrl + oandEnterin your keyboard for confirm it. -
Press
ctrl + xto exit the text editor.
- Edit
wazuh_manager.confwith your editor app.
sudo nano wazuh-docker/single-node/config/wazuh_cluster/wazuh_manager.conf- Copy this script into
wazuh_manager.conf.
<!-- MISP integration -->
<integration>
<name>custom-misp.py</name>
<group>sysmon_event1,sysmon_event3,sysmon_event6,sysmon_event7,sysmon_event_15,sysmon_event_22,syscheck</group>
<alert_format>json</alert_format>
</integration>Please follow this example:

-
Press
ctrl + oandEnterto confirm it. -
Press
ctrl + xto exit the editor app.
- Last steps you need to execute the
main.sh.
./main.sh- Select
I'am New to ThisorI Know What I'm Doing.
The example picture using I'm New to This.

- Select
Tools Configurations.
The example picture using I'm New to This.

- Select
Integration Wazuh - MISP.

-
Once process is finish, verify wazuh services.
-
Verify Wazuh services for check the configuration works properly.
sudo docker-compose -f wazuh-docker/single-node/docker-compose.yml ps -a