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>:10443
to get the API key. -
Go to the
Administration
>>List Auth Keys
.
- Select
Add authentication key
to generate new API key.
- Fill in the page with your information and
submit
the 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 port
andYour API Key
with your real MISPip:port
andMISP API Key
.
Here is the example:
-
Press
ctrl + o
andEnter
in your keyboard for confirm it. -
Press
ctrl + x
to exit the text editor.
- Edit
wazuh_manager.conf
with 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 + o
andEnter
to confirm it. -
Press
ctrl + x
to exit the editor app.
- Last steps you need to execute the
main.sh
.
./main.sh
- Select
I'am New to This
orI 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