This section explains how to install Kaspersky Threat Feed App for MISP.
To install Kaspersky Threat Feed App for MISP:
This directory is called %service_dir% in this document.
%service_dir%/feed_util subdirectory.%service_dir%/EULA.txt file.If you agree to the terms of the EULA, proceed to the next step. If you do not agree to the terms of the EULA, cancel the installation.
%service_dir%/feed_util/template.conf file for editing.<EULA> element in the template.conf file to <EULA>accepted</EULA>.Kaspersky Feed Utility runs only if the EULA is accepted.
template.conf file.%service_dir%/workdir directory. If you want to save them to a different directory, do the following:WORK_DIR = os.path.join(BASE_DIR, 'workdir')
WORK_DIR parameter, specify the path to the directory where you want to store MISP-format feeds.You can set WORK_DIR to an absolute path as follows:
WORK_DIR = '%absolute_path%' (replace %absolute_path% with an absolute path to the directory).
%service_dir%/defs.py file.When the converter and the MISP instance operate on the same computer, the user account that runs the MISP instance must have access rights to the WORK_DIR directory so that the MISP instance can download the converted feeds.
Do this by running the following command:
pip install -r %service_dir%/requirements.txt
Depending on the configuration of your operating system, Python package installer can use a different command to install modules. For example, pip3.
%service_dir%/settings.py file.kl_feed_util --set-proxy %PROXY% -c template.conf
Here %PROXY% is the setting that specifies the proxy server parameters for gaining access to the Kaspersky servers.
After the installation, you can schedule the feeds conversion by using the cron utility.
Page top