getiocmisp is a Splunk custom search command that helps to extract IOCs from a MISP instance.
getiocmisp relies on PyMISP. PyMISP requires Python 3 but only Python 2.7 is available in the Splunk environment. The script getiocmips.py is a wrapper and calls get-ioc-misp.py. This is best to keep your Splunk instance clean.
- Install Python 3 on the Splunk server
- Install PyMISP (see https://github.com/MISP/PyMISP)
-
Copy get-ioc-misp.py & mispconfig.py in /usr/local/bin
-
Edit mispconfig.py and specify your MISP URL and authorization key
-
Copy getiocmisp.py in /opt/splunk/etc/apps//bin/
-
Copy the commands.conf or change the existing one in /opt/splunk/etc/apps//local/
-
Restart Splunk
