<?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 Benjamin Macartan on Medium]]></title>
        <description><![CDATA[Stories by Benjamin Macartan on Medium]]></description>
        <link>https://medium.com/@bsocialsites?source=rss-e2f915e1f065------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g78BYOt2Dowtgt-Ayu8q6Q.jpeg</url>
            <title>Stories by Benjamin Macartan on Medium</title>
            <link>https://medium.com/@bsocialsites?source=rss-e2f915e1f065------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 27 Jun 2026 02:06:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bsocialsites/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[Deploying OpenCTI on AWS Cloud for Threat Intelligence.]]></title>
            <link>https://medium.com/@bsocialsites/deploying-opencti-on-aws-cloud-for-threat-intelligence-01363abac0d1?source=rss-e2f915e1f065------2</link>
            <guid isPermaLink="false">https://medium.com/p/01363abac0d1</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[opencti]]></category>
            <category><![CDATA[docker-compose]]></category>
            <dc:creator><![CDATA[Benjamin Macartan]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 17:25:13 GMT</pubDate>
            <atom:updated>2026-01-26T08:18:12.624Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>This report documents the end‑to‑end process of deploying the OpenCTI threat intelligence platform on AWS using Docker and Docker Compose. The goal was to build a scalable, cloud‑based threat intelligence environment and integrate external intelligence sources such as AlienVault OTX.</p><h3>Prerequisites &amp; System Requirements</h3><ul><li>AWS account (A free tier account is suitable)</li><li>Ubuntu EC2 instance (Recommended type: m7i-flex.large)</li><li>Minimum 8 GB RAM and 50 GB storage (highly recommended)</li><li>Docker Engine and Docker Compose</li><li>SSH client</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PrCWaIyBLYkH8VPGu5cSEQ.png" /><figcaption><strong>Architecture of the deployment</strong></figcaption></figure><h3>AWS Environment Setup</h3><p>Login to your AWS account via the console and create an Ubuntu Instance that meets the requirements above. Use an existing or create a new key pair for SSH access. Also create a security group allowing SSH (port 22). After the deployment, you can edit the inbound rules of the security group to allow TCP, Port 8080, My IP address, for OpenCTI web access, though SSH tunneling is preferred for security.</p><h3>Ubuntu System Preparation &amp; Docker Installation</h3><p>Using the AWS CloudShell SSH into the newly created Ubuntu VM. Replace &lt;KEYPAIR&gt;, &lt;PUBLIC IP&gt; and the region (eu-west-1) in the code below.</p><pre>ssh -i &lt;KEYPAIR&gt; ubuntu@ec2-&lt;PUBLIC IP&gt;.eu-west-1.compute.amazonaws.com</pre><p>Next, the system packages were updated, and essential dependencies were installed to ensure a stable environment for Docker and OpenCTI services. Docker also installed. The following codes will fulfill this important step:</p><pre># Update packages and install dependencies<br>sudo apt-get update<br>sudo apt-get install ca-certificates curl<br>sudo install -m 0755 -d /etc/apt/keyrings</pre><pre># Add Docker’s official GPG signing key<br>sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc</pre><pre>sudo chmod a+r /etc/apt/keyrings/docker.asc</pre><pre># Adds Docker’s official download server (“repository”) to your system <br>echo \<br>  &quot;deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \<br>  $(. /etc/os-release &amp;&amp; echo &quot;${UBUNTU_CODENAME:-$VERSION_CODENAME}&quot;) stable&quot; | \<br>  sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null</pre><pre># Run the update again  <br>sudo apt-get update</pre><p>Next, install docker compose. Docker compose is a tool for running multi-container apps defined in a YAML file. OpenCTI uses Docker Compose to start multiple services (databases, backend, frontend, etc.).</p><pre>sudo apt install docker-compose</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dopcJ0odZL_7fJL7SJlhAg.png" /></figure><h3>Install and Deploy OpenCTI</h3><p>First, I created a directory called opencti then I navigated to it.</p><pre>mkdir opencti<br>cd opencti</pre><p>I cloned OpenCTI Docker repository into the <strong>opencti</strong> directory.</p><pre>git clone https://github.com/OpenCTI-Platform/docker.git</pre><p>This repository contains a directory called <strong>docker</strong> which contains the Docker Compose files and environment templates required to run OpenCTI. Navigate to the docker directory.</p><pre>cd docker</pre><p>The next action is to edit the environment configuration file. We first create a copy before editing.</p><pre># Long list all files in the directory including hidden files<br>ls -la</pre><pre># Create a copy of the environment config file<br>cp .env.sample .env</pre><p>Next, let’s edit the newly created .env file.</p><pre>nano .env</pre><p>We need to edit all the places written <strong>changeme. </strong>These<strong> </strong>places have been highlighted in the screenshot. These places require either a password or a UUIDv4 key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOsAPTtM3fzt0KdFpG43gA.png" /></figure><p>You can use the same password (at least 8 characters recommended) at highlighted section 1–4.</p><p>Generate a UUIDv4 for highlighted sections 5 and 6.</p><p>Generate key here: <a href="https://www.uuidgenerator.net/version4">https://www.uuidgenerator.net/version4</a></p><p>After generating the first key (for point 5), refresh and get the another key (for point 6).</p><h3>Start Docker Service and Containers</h3><p>With all that done, we can now start docker service:</p><pre>sudo systemctl start docker.service</pre><p>You can confirm if docker service is now running by:</p><pre>sudo systemctl status docker.service</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PlJi0YVJPdnKCliwEoCcvw.png" /></figure><p><strong>Start the containers:</strong></p><pre>sudo docker compose up -d</pre><p>This starts all containers defined in the <strong>docker-compose.yml</strong> file for OpenCTI.</p><p>One of the challenge I faced was that when I ran <strong>sudo docker compose up -d </strong>is that I got an error as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*D7-IALfhgP00AzVtTB9x2Q.png" /></figure><p>I searched online for help, and saw that I just had to remove the old version of docker compose and install version 2. I did this with the next two codes:</p><pre># Remove docker version 1<br>sudo apt-get remove docker-compose</pre><pre># Install docker version 2<br>sudo apt-get install docker-compose-plugin</pre><p>Then rerun the code:</p><pre>sudo docker compose up -d</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*9pKN-Tya1Z6kpmtr9XLlfw.png" /></figure><p>The above code will pull all the required images and default connectors for OpenCTI. The default pulled items should be at least 18. You can confirm the number of items pulled by using the code below:</p><pre>sudo docker images | wc -l</pre><h3>Access OpenCTI</h3><p>You can now access OpenCTI in your browser through the public IP of your Ubuntu VM via Port 8080.</p><pre>http://&lt;EC2-Public-IP&gt;:8080</pre><p>You may need to open TCP port <strong>8080</strong> on the VM Security Group to allow web access by editing the inbound rules.</p><p><strong>Important caution:</strong><br>Opening to 0.0.0.0/0 means <strong>anyone on the internet</strong> can reach your public address and that port. Safer is restricting to <strong>your IP address</strong>.</p><p><em>Congratulations </em>🎉!!! You did it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4L7K-KztuDRA34rLz1su5w.png" /></figure><p>Default Login: admin@opencti.io<br>Password: Use the password you selected under the <strong>Install and Deploy OpenCTI</strong> section (when editing the .env file).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMRL5CNnd2tKpa1vixu_Ug.png" /></figure><h3>Conclusion</h3><p>OpenCTI was successfully deployed on AWS, providing a functional cloud‑based threat intelligence platform capable of ingesting and analyzing external intelligence feeds. The deployment can be extended with additional connectors and security enhancements. Adding additional connectors will form the major part of my next article.</p><p>Thank you for reading through. I hope it helped.</p><h3>Let’s Connect</h3><p><a href="https://www.linkedin.com/in/benjaminmacartan">LinkedIn</a></p><p><a href="https://linktr.ee/benjaminmacartan">My Web Links</a></p><p>#infosec #cybersecurity #AWS #OpenCTI #Threatintelligence #AgriCyberJourney #networksecurity #AgriCyberGuy #BenMac.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01363abac0d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[    +]]></title>
            <link>https://medium.com/@bsocialsites/-62703425ae11?source=rss-e2f915e1f065------2</link>
            <guid isPermaLink="false">https://medium.com/p/62703425ae11</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[comptia-certifications]]></category>
            <category><![CDATA[comptia-network]]></category>
            <category><![CDATA[comptia]]></category>
            <category><![CDATA[network-security]]></category>
            <dc:creator><![CDATA[Benjamin Macartan]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 08:03:18 GMT</pubDate>
            <atom:updated>2026-01-25T16:59:18.673Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*ThpHr550QKmcNRZLxi9n5w.png" /></figure><p>Let’s just dive in! I am sure there are tons of information out there on the details of what to expect in the exam, so I won’t bother you with that!</p><p>Here are some of the resources that helped me pass the CompTIA Network+.</p><p>𝐅𝐮𝐥𝐥 𝐂𝐨𝐮𝐫𝐬𝐞𝐬:</p><p>The following are two YouTube links to full courses that covers the exam topics:</p><p>👉 <a href="https://www.linkedin.com/feed/update/urn:li:activity:7292077973568978944/#">Professor Messer</a> free complete course: <a href="https://youtube.com/playlist?list=PLG49S3nxzAnl_tQe3kvnmeMid0mjF8Le8&amp;si=0iFJGPSUeaEu7hd7">YouTube link</a></p><p>👉 Howtonetwork: <a href="https://youtu.be/xmpYfyNmWbw?si=if2IEdo4HL7UIiiW">The link</a></p><p>𝐎𝐭𝐡𝐞𝐫 𝐢𝐦𝐩𝐨𝐫𝐭𝐚𝐧𝐭 𝐜𝐨𝐮𝐫𝐬𝐞𝐬:</p><p>I also took two courses from Cisco Networking Academy:</p><p>👉 Networking Devices and Initial Configuration: <a href="https://www.netacad.com/courses/networking-devices-and-initial-configuration?courseLang=en-US">Course link</a>.</p><p>👉 Networking Basics: <a href="https://www.netacad.com/courses/networking-basics?courseLang=en-US">See Course</a>.</p><p>After studying through the exam topics, it is important to practice, practice and practice before your exams:</p><p>𝐒𝐨𝐦𝐞 𝐩𝐫𝐚𝐜𝐭𝐢𝐜𝐞 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬:</p><p>👉 DeanCyber: <a href="https://www.youtube.com/playlist?list=PL5rnkhBIKwIx0D2diGH1LFnqY0slh8qNj">Link here</a>.</p><p>👉 Andrew Ramdayal: <a href="https://youtu.be/T1_pf-7k2E0?si=f7FDY6XAV8Q_tILh">See here</a>.</p><p>👉 Vincent Humble: <a href="https://youtube.com/playlist?list=PLjOaIaJsY_GM91trVgixrYDxgZXWoy5aN&amp;si=sLSFRa-TIMJU8i5D">Link here</a>.</p><p>𝐀𝐝𝐝𝐢𝐭𝐢𝐨𝐧𝐚𝐥 𝐏𝐃𝐅 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬:</p><p>For other resources, such as exam topics, cheat sheets, study guides and textbooks, see other PDF resources in my drive: <a href="https://drive.google.com/drive/folders/14D4jvM1s2mZ9VqtY4h5MMUeVIGI-UUYE?usp=drive_link">Drive link</a>.</p><p>I hope these resources help you ace your CompTIA Network+. Leave a comment and share with others.</p><p>Wish you all the best!</p><p>Benjamin Macartan</p><h3>Let’s Connect</h3><p><a href="https://www.linkedin.com/in/benjaminmacartan">LinkedIn</a></p><p><a href="https://linktr.ee/benjaminmacartan">My Web Links</a></p><p>#infosec #cybersecurity #CompTIA #AgriCyberJourney #networksecurity #network+ #AgriCyberGuy #BenMac.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62703425ae11" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>