<?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 Alejandro Prada on Medium]]></title>
        <description><![CDATA[Stories by Alejandro Prada on Medium]]></description>
        <link>https://medium.com/@alejandro.prada86?source=rss-767d89928e48------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6C83sYXs_u1x7Mwc.jpg</url>
            <title>Stories by Alejandro Prada on Medium</title>
            <link>https://medium.com/@alejandro.prada86?source=rss-767d89928e48------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:09:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alejandro.prada86/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[Triaging suspicious Android applications using Viper and MISP.]]></title>
            <link>https://medium.com/@alejandro.prada86/triaging-suspicious-android-applications-using-viper-and-misp-679d442046e5?source=rss-767d89928e48------2</link>
            <guid isPermaLink="false">https://medium.com/p/679d442046e5</guid>
            <category><![CDATA[misp]]></category>
            <category><![CDATA[android-malware-analysis]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[viper-framework]]></category>
            <dc:creator><![CDATA[Alejandro Prada]]></dc:creator>
            <pubDate>Wed, 31 Aug 2022 12:41:02 GMT</pubDate>
            <atom:updated>2022-09-01T11:19:36.230Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p><a href="https://github.com/viper-framework">Viper</a> is a binary analysis and management framework developed by Claudio Guarnieri aka <a href="https://twitter.com/botherder">Nex</a>. The aim of Viper is to provide an easy solution for organising malware and exploit samples. Viper also makes it easy to integrate your collection of scripts via Viper modules.</p><p>I’ve written a few Viper modules for helping threat intelligence analysts to triage android applications and to complement other Viper modules that can be used for .apk files such as apk, virustotal or joe among others. The modules can be found in this <a href="https://github.com/aleprada/viper_plugin_android_triage">repository</a>.</p><h3>My Viper modules</h3><ul><li><strong>apkid</strong>: This module runs APKiD for finding more information about how an APK was made. Similar to <a href="https://www.aldeid.com/wiki/PEiD">PEiD</a> but for Android</li><li><strong>apkleaks</strong>: This module run <a href="https://github.com/dwisiswant0/apkleaks">apkleaks</a> for finding potential interesting strings.</li><li><strong>malwarebazaar</strong>: This module makes a request with the md5 of the apk to <a href="https://bazaar.abuse.ch/">MalwareBazaar</a> API.</li><li><strong>yarandroid</strong>: This module decompresses the apk using <a href="https://ibotpeaches.github.io/Apktool/">apktool</a>, and it runs your collection of Yara rules over the files decompressed.</li></ul><h3>Workflow</h3><p>The following image shows the approach for triaging malicious android applications using viper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eW4HdypWerm4unPqpcX3nw.jpeg" /><figcaption>Android triage workflow using viper and MISP.</figcaption></figure><p>The first step is to check if there is any match on VirusTotal or MalwareBazaar.</p><p>Let’s check out VirusTotal results.</p><p>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; virustotal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISmWIUmwQjAbfCWK92YFeA.jpeg" /><figcaption>VirusTotal results</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jdgKTkOTj84euC-YXypuw.jpeg" /><figcaption>Virus total report</figcaption></figure><p>Checking out malwarebazaar results:</p><p>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; malwarebazaar</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKq--9ClIlR6hwAYKFFfxw.jpeg" /><figcaption>Malwarebazaar results</figcaption></figure><p>At this step, we already know that the Android application is malicious and MalwareBazaar has classified the malicious file as a Joker sample. We can go ahead and perform some basic static analysis. For instance, we could run our Yara rules to check if there is any match.</p><p>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; yarandroid --rules /path/to/your_rules/index_rules.yar</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j1TWM_vY2OT9MvkWUH6-qQ.jpeg" /><figcaption>Yarandroid plugin</figcaption></figure><p>Yara returns several hits, including the<a href="https://www.joesandbox.com/analysis/202001/0/html"> <strong>libjiagu</strong></a> packer. This information could be useful in case of needing to unpack the sample. After running Yara, we will check how the APK is made. We will use <strong>apkid</strong> which is able to identify many compilers, packers and obfuscators.</p><p>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; apkid</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0GjWf_LxG1tL6_L3kXyDA.jpeg" /><figcaption>Apkid identifying the packer and the compiler</figcaption></figure><p><strong>Apkid</strong> confirms what we already know, the apk is suspicious. If an app has been compiled with <strong>dexlib</strong>(using smali) it probably has been tampered. Besides it also has identified the packer.</p><p>Developers have the source code of the app, therefore they shouldn’t need to use smali for making changes in the app. <strong>Apkid</strong> can also be helpful in detecting the packer and looking for a way of unpacking the malicious code.</p><p>Now we will check basic info about the app, such as the permissions used or the intents and receivers declared in the manifest of the application.</p><p>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; apk --all</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*4VapgLCrVPA_v8IxjeTwug.jpeg" /><figcaption>apk plugin basic info</figcaption></figure><p>We will also check information about the certificate used by the developer and the URLs that are hardcoded in the application.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; apk --cert</pre><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; apk --url</pre><p>Finally, we will use apkleaks, which scans the apk in order to find URIs, secrets and endpoints.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; apkleaks</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*31QAmmDkiVMpyjU9N5Xyig.jpeg" /><figcaption>apkleaks plugin</figcaption></figure><p>Before starting the dynamic analysis, we will check if the URLs and other interesting strings are relevant enough to be an IoC. They may be used for detection and also for hunting at step 4.</p><p>After some basic analysis, we can go ahead and analyse the behaviour of the app running the suspicious application in the Joe Sandbox. Viper provides a plugin for interacting with the Joe Sandbox. The syntax is very straightforward.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; joe --submit</pre><p>We can check the status of the analysis using the tasks option:</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; joe --tasks</pre><p>Finally, once the analysis is complete, we will get the Joe Sandbox report using the report option.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; joe --report</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9N6X1DYqOynN6YNcndQm3g.jpeg" /><figcaption>Joe sandbox report</figcaption></figure><p>At this step, we know quite enough about this sample and the next step is to find more samples related to this campaign. To achieve this, we will:</p><ul><li>Look for hashes and fuzzy hashes in Google and Threat Intelligence platforms such as OTX, etc.</li><li>Look for interesting strings (URLs, tokens, cert, API Keys, etc) in Google and platforms such as OTX ,VT or Hybrid Analysis.</li><li>Create Yara rules with the relevant strings found and upload them to platforms such as Koodous, VT or Hybrid analysis.</li></ul><p>For instance, in step 2, we spotted a few interesting strings that could help to find more samples. After looking for the Google API-Key we found a Joe Sandbox report containing the same string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*W5u_Fh6DHFmvk0gQWE8-6g.jpeg" /><figcaption>Google search of API key found in the .apk analysed.</figcaption></figure><p>The <a href="https://www.joesandbox.com/analysis/669834/1/html">report</a> shows that the sample of the report is also a joker sample and at the bottom part of the report, we can find more samples that are using the same C&amp;C that the sample that we are analysing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pywKlBKRt9V6V9kTVQv7sg.jpeg" /><figcaption>Joe sandbox report with samples using the same C2</figcaption></figure><p>There are also more samples using the same <a href="https://github.com/salesforce/ja3">JA3 fingerprint</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5m-PcU5pP6b0TEiBX68XLQ.jpeg" /><figcaption>Joe sandbox report with samples with the same JA3 fingerprint.</figcaption></figure><p>Finally, with all this information, we will create a MISP event using Viper and we will send the information to our MISP instance.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; misp create_event --info &quot;joker campaign&quot;</pre><p>We add the hashes and fuzzy hashes of the file analysed.</p><pre>viper 605fb275c53ab8ca4076376....6803925b6870c090.apk &gt; misp add_hashes</pre><p>The event has been created on MISP, and we can go ahead and add some attributes with the viper cli or just go to the MISP web, and add some attributes manually. We can also add the hashes of the samples discovered in step 4.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=679d442046e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up your own Threat Intel infrastructure (III)]]></title>
            <link>https://medium.com/@alejandro.prada86/how-to-set-up-your-own-threat-intel-infrastructure-iii-29a4a5f5c444?source=rss-767d89928e48------2</link>
            <guid isPermaLink="false">https://medium.com/p/29a4a5f5c444</guid>
            <category><![CDATA[otx]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[misp]]></category>
            <dc:creator><![CDATA[Alejandro Prada]]></dc:creator>
            <pubDate>Fri, 17 Jun 2022 12:56:25 GMT</pubDate>
            <atom:updated>2022-06-17T12:56:25.803Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>This is the third post of the series “<strong>How to set up your own Threat Intelligence infrastructure</strong>”. If you haven’t read the previous posts, I encourage you to read <a href="https://medium.com/@alejandro.prada86/how-to-set-up-your-own-threat-intelligence-infrastructure-i-fc76dd0b2461">part 1</a> and <a href="https://medium.com/@alejandro.prada86/how-to-set-up-your-own-threat-intel-infrastructure-ii-2fd4063f02d0">part 2 </a>before reading this new entry.</p><p>Once we have our MISP up and running, it’s time to gather threats from different threat intel sources. In this case, I will use <a href="https://otx.alienvault.com/">OTX</a> (Open Threat Exchange), the Threat Intelligence platform by AT&amp;T Alien Labs.</p><p><strong>OTX</strong></p><p>OTX is probably one of the most popular Open Threat Intelligence communities. OTX receives a large number of threats daily submitted by different Security Researches around the world, as well as by the Alien Labs team. The platform provides the latest information about emerging threats, attack methods and threat actors.</p><p>An OTX pulse is a summary of a particular threat. OTX pulses provide Indicators of Compromise (IOS) of the threat that can be used for detection, ATT&amp;CK ids and even Yara rules, which can be used for detection and for hunting new samples related. The pulses also put in context the threat, such as what are the countries and the industries targeted.</p><p>You can subscribe to different contributors or groups in order to stay aware of emerging threats.</p><p><strong>Sending OTX pulses to MISP with Python</strong></p><p>The first step that you have to do for being able to send a threat to your MISP instance using <a href="https://pymisp.readthedocs.io/en/latest/modules.html">PyMISP</a>, is to enable your API KEY. You can read more information about this <a href="https://www.circl.lu/doc/misp/automation/">here</a>.</p><p>Of course, for sending OTX pulses, you will also have to sign up on OTX and be subscribed to at least one pulse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmnucHE1YO4zMzN9z_qIzA.jpeg" /><figcaption>OTX pulses</figcaption></figure><p>Configure your subscriptions according to your interests and you will be ready to start collecting pulses.</p><p>I’ve created a basic script for collecting pulses from OTX and sending them to MISP. It’s called <a href="https://github.com/aleprada/otx_2_misp">otx_2_misp</a>. There is also a python tool called <a href="https://github.com/gcrahay/otx_misp">otx_misp</a>, that may be of your interest.</p><p>The script gathers OTX pulses and prints them to the console. By default, the script doesn’t filter any pulse. However, the script allows you to narrow the number of Pulses gathered by filtering in 2 different ways:</p><ul><li>By keyword (config-&gt;<strong>**keywords.txt**</strong>) using -a parameter (e.g. Dridex, Web Shell, etc).</li><li>By ATT&amp;CK technique (config-&gt;<strong>**attack_ids.txt**</strong>) using -t parameter (e.g. T1078)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*_G1xZdUNt9Kn3mGNXuh7wg.jpeg" /><figcaption>otx_2_misp help menu</figcaption></figure><p>By default, the script gathers pulses from the last 7 days, but it can be modified with the parameter -d. For instance,-d 20 for gathering pulses from the last 20 days.</p><p>python otx2misp.py -d 2</p><p>The alerts gathered can be sent to your <a href="https://www.misp-project.org/">MISP</a> instance with the -m parameter. The script also allows using a proxy for the connection with the instance using the parameter -p.</p><p>For instance, the command below is for gathering all the pulses from the last 2 days and filtering those pulses that match your keywords and ATT&amp;CK techniques. Finally, the pulses filtered will be sent to your MISP instance using a proxy.</p><p>python otx2misp.py -d 2 -a -t -m -p</p><p>Finally, the pulses will be sent to the MISP instance with the tag “otx”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQGCUp6E9vLcYkRuTSisjQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29a4a5f5c444" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up your own Threat Intel infrastructure (II)]]></title>
            <link>https://medium.com/@alejandro.prada86/how-to-set-up-your-own-threat-intel-infrastructure-ii-2fd4063f02d0?source=rss-767d89928e48------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fd4063f02d0</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[misp]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Alejandro Prada]]></dc:creator>
            <pubDate>Sat, 23 Apr 2022 10:31:15 GMT</pubDate>
            <atom:updated>2022-04-23T10:36:01.065Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>This is the second post in the series “How to set up your own Threat Intelligence infrastructure”. The aim of this series is to describe how to set up your own Threat Intel infrastructure using MISP and deploy it on AWS. This article describes how to deploy MISP on AWS without exposing the platform on the Internet.</p><h4><strong>AWS</strong></h4><p>AWS is the cloud platform offered by Amazon and it is made up of a large number of cloud computing products and services. AWS provides many different kinds of services, such as servers, storage, networking, remote computing, email, mobile development or security. Like other cloud providers, AWS offers a pay-as-you-go model for its cloud services.</p><p>AWS, and cloud providers in general, offer flexibility and scalability on demand. This helps organisations to plan their infrastructure roadmap with a subscription plan without making a big commitment.</p><h4><strong>AMI</strong></h4><p>An <strong>Amazon Machine Image</strong>(AMI) is a special type of virtual appliance that is used to create a virtual machine within the AWS EC2. Different types of instances can be launched from a single AMI to support the hardware of the host computer used for the instance. With AMIs, it is faster and easier to set up an instance than with traditional software deployments as there is no manual set-up, no configuration and no additional hardware.</p><p>Once an AMI has been created and registered, it can be reused to launch multiple instances with the same configuration. Tags can be used to categorize and manage AMIs. When an AMI is no longer needed, it can be deregistered. A deregistered AMI cannot be used to launch new instances, but existing instances will remain active.</p><p>MISP provides an AMI ready to be deployed and it has been helpful for setting up the MISP environment on AWS in an easier way.</p><p><strong>Architecture</strong></p><p>In this case, the MISP instance has been deployed on the private subnet of an AWS VPC that has been created for this purpose, which makes the MISP instance unreachable from the Internet. The connection to the MISP instance will be done through a bastion host, that will be hosted on the public subnet at it will have only the SSH port opened. The SSH authentication is using a public key and there will be also a security group for controlling the IP that is trying to reach the bastion host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*XPvXlIMmVZQg9RNVHuPzIw.png" /><figcaption>Bastion host concept (source:AWS)</figcaption></figure><p>If you are not familiar with these concepts, I encourage you to take a look at AWS documentation, which explains how to perform this configuration step by step. This <a href="https://cloudacademy.com/blog/aws-bastion-host-nat-instances-vpc-peering-security/">post</a> by CloudAcademy might be also useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxYN_FRW6rtb5Fx1baFTuQ.jpeg" /><figcaption>Threat Intel infrastructure diagram</figcaption></figure><p>The infrastructure includes the following components:</p><p>1. <strong>VPC</strong>: A VPC with a CIDR range of 10.0.0.0/16 with the following sub-components:</p><ul><li>A Public subnet that hosts a NAT instance and a bastion host.</li><li>A Private subnet that hosts the MISP instance.</li></ul><p>2. <strong>Route tables</strong>:</p><ul><li>One Route Table for controlling the network traffic in the private subnet.</li><li>One Route Table for controlling the network traffic in the public subnet and forwarding traffic to the Internet gateway.</li></ul><p>3. <strong>1</strong> <strong>Internet gateway</strong>: It connects the VPC with the Internet.</p><p>4. <strong>3</strong> <strong>EC2 Instances</strong></p><ul><li><strong>MISP instance</strong>: Hosted on the private subnetwork.</li><li><strong>Bastion host</strong>: A server that provides access to the private network from the Internet.</li><li><strong>NAT instance</strong>: This instance allows instances hosted on the private subnetwork (e.g., MISP instance) to call external services on the Internet (e.g., external server for updates) while at the same time it blocks inbound traffic from the internet.</li></ul><p>5. <strong>Security Groups</strong>: A security group acts as a virtual firewall for AWS instances to control inbound and outbound traffic. It has been created the following security groups:</p><ul><li><strong>NAT-SG</strong>: Only allows HTTPS and HTTP traffic from the Internet.</li><li><strong>Bastion-host-access</strong>: Only allows SSH traffic from a specific IP address.</li><li><strong>MISP-private-subnet</strong>: Security group that allows HTTPS and SSH traffic from the Bastion-host access security group. This means that only inbound traffic that comes from this machine can reach the private network.</li></ul><p>6. <strong>AWS SES (Simple Email Service)</strong>: AWS email service for sending notifications via email regarding MISP events. This service is optional, the MISP instance can be configured to send emails.</p><p>The bastion host-access security group contains the list of IP addresses that are allowed to connect to the bastion-host via SSH. Using an SSH tunnel the user can access the MISP instance via SSH for administrative tasks or via web using a proxy SOCKS5.</p><p><strong>MISP configuration</strong></p><p>To deploy the MISP instance, we will use a special AMI provided by the MISP project. The AMI can be found on the AWS AMI repository (Figure below) and it is quite straightforward to run the AMI following a few additional steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EqCjB6SStCZzmgkAyjNp-Q.jpeg" /><figcaption>MISP AMI provided by the MISP community.</figcaption></figure><p>After selecting the AMI, the user will have to configure the type of instance. Since this is only a PoC, I’ve chosen a micro instance, but it’s up to the users to choose the type of instance that fits better with their requirements.</p><p>After downloading the private keys of the host instance and the bastion instance, we will need some configuration in order to access the MISP instance via the bastion host. <strong>We can also create a config file within our .ssh folder with the following information</strong>:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/68adfc172e15749c6ed196efc942e023/href">https://medium.com/media/68adfc172e15749c6ed196efc942e023/href</a></iframe><p>With this configuration, we access our machine to the MISP instance using the bastion host as a bridge. This <a href="https://www.redhat.com/sysadmin/ssh-proxy-bastion-proxyjump">article</a> by RedHat explains quite well bastion host and ProxyCommand.</p><p>Once that we will have to add the keys to the authentication agent by typing:</p><p><strong>ssh-add -k misp_key.pem</strong></p><p><strong>ssh-add -k bastion_key.pem</strong></p><p>We can test the connection with the MISP instance by typing:</p><p><strong>ssh misp_instance</strong></p><p>Finally, for being able of reaching the MISP instance by HTTP access, we will have to create a dynamic port forwarding by typing:</p><p><strong>ssh -C -N -D 5555 bastion</strong></p><p>I chose this port, but you can configure any other available port. The -C option compress the network traffic for better performance, the -N avoids the shell to be executed on the bastion host and the -D opens the port.</p><p>This <a href="https://aws.amazon.com/es/blogs/big-data/securely-access-web-interfaces-on-amazon-emr-launched-in-a-private-subnet/">article</a> by AWS explains how to do this in more detail.</p><p>After the port forwarding configuration, we are almost ready to access our MISP instance using the browser. We will have to configure a SOCKS5 proxy in the browser and type the IP of our MISP instance in the browser. That’s all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*kTIjOnsIx_4xzfgQpxvCFg.jpeg" /><figcaption>Proxy configuration on Firefox browser.</figcaption></figure><p>The next step is to login into the MISP instance and start to configure your threat feeds and sources. This will be explained in the next article: <em>How to set up your own Threat Intel infrastructure: Part 3</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fd4063f02d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up your own Threat Intelligence infrastructure (I)]]></title>
            <link>https://medium.com/@alejandro.prada86/how-to-set-up-your-own-threat-intelligence-infrastructure-i-fc76dd0b2461?source=rss-767d89928e48------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc76dd0b2461</guid>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[misp]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <dc:creator><![CDATA[Alejandro Prada]]></dc:creator>
            <pubDate>Mon, 18 Apr 2022 15:55:39 GMT</pubDate>
            <atom:updated>2022-04-18T15:55:39.303Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>This is the first post in the series “How to set up your own Threat Intelligence infrastructure”. The aim of this series is to describe how to set up your own Threat Intel infrastructure using MISP and deploy it on AWS.</p><h3>What’s Threat Intelligence?</h3><p>According to <a href="https://www.gartner.com/imagesrv/media-products/pdf/webroot/issue1_webroot.pdf">Gartner</a>, Threat Intelligence is<strong> evidence-based knowledge</strong>, that includes context, mechanisms, indicators, implications and actionable advice, about an <strong>existing or emerging menace or hazard to assets that can be used to inform decisions regarding the subject’s response</strong> to that menace or hazard.</p><p>To summarise the above definition, <strong>Threat Intelligence transforms raw data into actionable intelligence</strong> that helps organisations to be informed about Cyber-threats such as APTs (Advanced Persistent Threat), Crimeware, as well as vulnerabilities and exploits used by adversaries.</p><p>If this concept doesn’t sound familiar to you, I encourage you to keep learning about Threat Intelligence. You may be interested in watching this <a href="https://www.youtube.com/watch?v=J7e74QLVxCk">SANS webinar</a> about the cycle of Cyber Threat Intelligence. I also recommend you to read <a href="https://www.dragos.com/wp-content/uploads/Industrial-Control-Threat-Intelligence-Whitepaper.pdf">this paper</a> from Sergio Caltagirone, VP of Threat Intelligence at Dragos Inc, a company focused on ICS Cybersecurity.</p><p>Threat intelligence is important and it can help security teams and organisations to make better and faster decisions. This is crucial since the number of cyber incidents seems to be on rising after the COVID-19 pandemic.</p><h3>MISP</h3><p>The <strong>Malware Information Sharing Platform</strong> (MISP) is an open-source <strong>Threat Intelligence Platform</strong>(TIP). The project develops utilities and documentation for more effective Threat Intelligence, by sharing Indicators of Compromise. MISP project was funded by the EU and it has a large community that has developed different <a href="https://github.com/MISP/misp-modules">modules</a> for extending the functionalities of the platform. There are a lot of plugins for enriching IoCs with external services such VirusTotal, DomainTools, Intel471, Shodan and ThreatCrowd among others. Besides enriching modules, there are also available other types, such as modules for exporting the events stored in MISP to PDF or modules for validating the syntax of Yara rules stored in the platform.</p><p>In addition to the software modules, MISP also provides their own data model, including taxonomies for expressing information related to threats, such as attacks, threat actors, <a href="https://csrc.nist.gov/glossary/term/Tactics_Techniques_and_Procedures">TTPs</a> or Indicators of Compromise.</p><h4>The plan</h4><p>MISP provides different alternatives for deploying the platform such as Docker or cloud-ready images for deploying MISP on cloud providers. For simplicity, I will use their AWS AMI for deploying the MISP instance. I recommend you take a look at the best practices guide described <a href="https://github.com/MISP/misp-cloud">here</a>.</p><p>The idea is to host the MISP instance on a private network to avoid the instance can be reached from the Internet. There will be also automated processes (e.g. crawlers) for gathering raw information for being processed later by security analysts. The image below shows how will be the architecture of our Threat Intelligence Infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*NqUnRbEuMC-15a40dNy7yQ.jpeg" /></figure><p>I will use a bastion hosted on the public network of the VPC created in order to connect to the instance for admin purposes as well as for tunneling my connection while accessing the web platform. This will be explained in the next article: How to set up your own Threat Intel infrastructure: Part 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc76dd0b2461" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>