<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by SaeeD on Medium]]></title>
        <description><![CDATA[Stories by SaeeD on Medium]]></description>
        <link>https://medium.com/@saeedidevise22?source=rss-d6eed07e13a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3VU1uKFZmYb7HPXj</url>
            <title>Stories by SaeeD on Medium</title>
            <link>https://medium.com/@saeedidevise22?source=rss-d6eed07e13a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 11:27:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saeedidevise22/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Quick installation guide to install MISP Modules]]></title>
            <link>https://medium.com/@saeedidevise22/installing-and-enabling-misp-modules-6cbe242891dd?source=rss-d6eed07e13a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cbe242891dd</guid>
            <category><![CDATA[misp]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[misp-modules]]></category>
            <dc:creator><![CDATA[SaeeD]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 19:29:24 GMT</pubDate>
            <atom:updated>2025-01-03T14:55:19.121Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*39U_eY2nIW71BNUYZEMSBw.png" /></figure><h3>Overview</h3><p>This guide outlines the step-by-step process for installing and enabling the MISP (Malware Information Sharing Platform) modules, including dependencies, virtual environment setup, and service configuration.</p><h3>Step 1: Install Required Packages</h3><p>To begin, install the necessary dependencies:</p><pre>sudo apt install python3-dev python3-pip libpq5 libjpeg-dev tesseract-ocr libpoppler-cpp-dev imagemagick virtualenv libopencv-dev zbar-tools libzbar0 libzbar-dev libfuzzy-dev -y<br>sudo apt install python3-poetry</pre><h3>Step 2: Set Up Virtual Environment</h3><p>Create and configure a Python virtual environment for MISP:</p><pre>sudo -u www-data virtualenv -p python3 /var/www/MISP/venv<br>sudo -u www-data /var/www/MISP/venv/bin/pip install poetry</pre><h3>Step 3: Clone the MISP Modules Repository</h3><p>Clone the MISP modules repository and initialize submodules:</p><pre>git clone https://github.com/MISP/misp-modules.git --depth=1<br>cd misp-modules<br>git submodule update --init</pre><h3>Step 4: Install MISP Modules</h3><p>Install the modules and their dependencies using Poetry:</p><pre>sudo -u misp /var/www/MISP/venv/bin/poetry install --with unstable<br>sudo /var/www/MISP/venv/bin/pip install misp-modules<br>sudo -u www-data /var/www/MISP/venv/bin/pip install .</pre><p>Additionally, install the following Python packages:</p><pre>sudo -u www-data /var/www/MISP/venv/bin/pip install stix cybox mixbox maec plyara setuptools</pre><h3>Step 5: Install Additional Tools</h3><p>Activate the virtual environment and install additional Python tools:</p><pre>source /var/www/MISP/venv/bin/activate<br>pip install git+https://github.com/sebdraven/pyonyphe.git<br>pip install git+https://github.com/cartertemm/ODTReader.git<br>pip install git+https://github.com/sebdraven/pydnstrails.git<br>pip install git+https://github.com/SteveClement/trustar-python.git</pre><h3>Step 6: Configure the Service</h3><p>Create a systemd service file for MISP modules:</p><pre>sudo vim /etc/systemd/system/misp-modules.service</pre><p>Add the following content:</p><pre>[Unit]<br>Description=MISP modules<br><br>[Service]<br>Type=simple<br>User=www-data<br>Group=www-data<br>ExecStart=/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s<br>Restart=always<br>RestartSec=10<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>Save and exit.</p><h3>Step 7: Enable and Start the Service</h3><p>Reload systemd, enable the service, and start it:</p><pre>sudo systemctl daemon-reload<br>sudo systemctl enable --now misp-modules</pre><p>Restart Apache and the MISP modules service:</p><pre>sudo systemctl restart apache2<br>sudo systemctl restart misp-modules</pre><h3>Step 8: Test the Setup</h3><p>Run the MISP modules manually to ensure they are working:</p><pre>/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s &amp;</pre><p>Verify the modules using curl:</p><pre>/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s &amp;</pre><p>If everything is configured correctly, you will see a list of available modules.</p><h3>Conclusion</h3><p>You have successfully installed and enabled the MISP modules. The service is now configured to start automatically and can be verified using the testing steps outlined above. For further configuration or troubleshooting, refer to the official MISP documentation.</p><p><a href="https://misp.github.io/misp-modules/install/">https://misp.github.io/misp-modules/install/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cbe242891dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>