<?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 Paulo Melo on Medium]]></title>
        <description><![CDATA[Stories by Paulo Melo on Medium]]></description>
        <link>https://medium.com/@pjsm.it?source=rss-b63a9a8113e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Un3SSKExx3ZcdiGaX5K3eg.jpeg</url>
            <title>Stories by Paulo Melo on Medium</title>
            <link>https://medium.com/@pjsm.it?source=rss-b63a9a8113e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 12:45:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pjsm.it/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[THM CTF: What Is Networking?]]></title>
            <link>https://medium.com/@pjsm.it/thm-ctf-what-is-networking-a131108157e1?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a131108157e1</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ping]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Wed, 13 May 2026 17:23:17 GMT</pubDate>
            <atom:updated>2026-05-13T17:23:17.847Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>Most of this Module can be completed by searching online or actually reading it (I know, crazy!). So let’s get right into it!</p><p><strong>Task 1:</strong></p><p><strong>What is the key term for devices that are connected together?</strong></p><p><em>network</em></p><p><strong>Task 2:</strong></p><p><strong>Who invented the World Wide Web?</strong></p><p>Search online. There’s actually much debate about this topic because the internet and the World Wide Web are not actually the same thing but the expected answer is:</p><p><em>Tim Berners-Lee</em></p><p><strong>Task 3:</strong></p><p><strong>What does the term “IP” stand for?</strong></p><p><em>Internet Protocol</em></p><p><strong>What is each section of an IP address called?</strong></p><p>Another quick Google search.</p><p><em>octet</em></p><p>Quick note, an octet in this context is a group of 8 bits. The reason it is not called a byte in networking, as far as I can tell (and pardon me if I’m wrong) is because back in the day, not all computers used 8 bits to compose a byte. Anyways, this is a bit over my head right now, so you certified forklift operators out them feel free to let me know if I messed the information up.</p><p><strong>How many sections (in digits) does an IPv4 address have?</strong></p><p>Read the article or search online:</p><p><em>4</em></p><p><strong>What does the term “MAC” stand for?</strong></p><p><em>Media Access Control</em></p><p><strong>Deploy the interactive lab using the “View Site” button and spoof your MAC address to access the site. What is the flag?</strong></p><ul><li>Press View Site Button</li><li>Press Request Site button and watch the router discarding your packet (sad hacker face)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*ZbV3WRHr8mM11fGpw_CRYA.png" /><figcaption>Router discarding packet.</figcaption></figure><ul><li>Simulate a MAC Address spoofing by copying Alice’s address and using it as your own</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*yMOXwucfZn4ogTf0WCrklg.png" /><figcaption>Spoofing attempt.</figcaption></figure><ul><li>Request Site once again</li></ul><p><em>THM{YOU_GOT_ON_TRYHACKME}</em></p><p>TASK 4:</p><p><strong>What protocol does ping use?</strong></p><p><em>ICMP</em></p><p><strong>What is the syntax to ping 10.10.10.10?</strong></p><p>Well, it’s in the question so…</p><p><em>ping 10.10.10.10</em></p><p><strong>What flag do you get when you ping 8.8.8.8?</strong></p><ul><li>Press View Site button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*Tofv4-oBAx5SJJNca9wP9g.png" /><figcaption>No IP address typed.</figcaption></figure><ul><li>Type the requested IP in the bar on top and press the Send Ping Request Button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*zfSqToQHKDHxtZXRHk-bdA.png" /><figcaption>IP address added.</figcaption></figure><ul><li>Wait for all the ping attempts to be made</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*l04fqCBKV_tO2gM9IF6uSg.png" /><figcaption>ping complete.</figcaption></figure><p><em>THM{I_PINGED_THE_SERVER}</em></p><p>Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a131108157e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building My Cybersecurity Home Lab: A Journey of Frustration and Progress]]></title>
            <link>https://medium.com/@pjsm.it/building-my-cybersecurity-home-lab-a-journey-of-frustration-and-progress-4146a2b2d2f3?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4146a2b2d2f3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[soc-home-lab]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[blue-team]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Tue, 12 May 2026 23:31:06 GMT</pubDate>
            <atom:updated>2026-05-12T23:31:06.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>Every cybersecurity journey needs a lab. Mine started with a Mac M1 and a PC running Ubuntu — and a lot of things going wrong before going right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_etWW2ojveCiUzKnsWz5bw.png" /><figcaption>Wazuh dashboard.</figcaption></figure><p><strong>The Hardware</strong></p><ul><li>MacBook M1 — offensive machine running Kali Linux via UTM</li><li>PC with Ubuntu — reformatted to Kali bare metal with 7GB RAM and 171GB of storage</li></ul><p>Yes, 7GB. Not ideal. But workable if you’re smart about what you run simultaneously.</p><p><strong>The Setup</strong></p><p>On the PC I run Kali bare metal with two VMs:</p><ul><li>Windows Server 2025 — Active Directory target and learning environment</li><li>Wazuh Server — my SIEM, monitoring everything</li></ul><p>On the Mac I run Metasploitable via UTM — my vulnerable target for attack practice.</p><p>The Kali attacks. The Metasploitable and Windows Server get attacked. The Wazuh watches everything and judges me silently.</p><p><strong>The WiFi Setup</strong></p><p>This one took a while. My internal WiFi card — RTL8821CE — supports monitor mode and packet injection. My TP-Link TL-WN821N v5 doesn’t, but it keeps me connected to the internet while the internal card does its thing.</p><p>To activate monitor mode:</p><p><em>sudo nmcli dev wifi connect “YOUR_NETWORK” ifname wlan1<br>sudo airmon-ng check kill<br>sudo airmon-ng start wlan0</em></p><p>To deactivate:</p><p><em>sudo airmon-ng stop wlan0<br>sudo systemctl restart NetworkManager</em></p><p><strong>The SIEM</strong></p><p>Wazuh is installed directly on the Kali host — no VM needed. The Wazuh Agent runs on Windows Server and sends events back to Kali. Already detecting vulnerabilities and CVEs on the Windows Server out of the box.</p><p><strong>What Went Wrong</strong></p><p>Pretty much everything at some point. VMware modules not loading after reboot, kernel header mismatches, the TP-Link driver refusing to cooperate, monitor mode leaving the WiFi interface in a broken state. Each problem taught me something new.</p><p>If your VMware refuses to start after a reboot:</p><p><em>sudo modprobe vmmon<br>sudo modprobe vmnet<br>sudo vmware-modconfig — console — install-all</em></p><p><strong>What’s Next</strong></p><p>Active Directory attacks, Wazuh rule tuning, CTFs and eventually a full pentest of my own lab documented here. One step at a time.</p><p>Stay curious and keep hacking. I know I will.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4146a2b2d2f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THM CTF: Defensive Security]]></title>
            <link>https://medium.com/@pjsm.it/thm-ctf-defensive-security-d1ff2f5d70c0?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1ff2f5d70c0</guid>
            <category><![CDATA[thm]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 17:46:46 GMT</pubDate>
            <atom:updated>2026-04-04T17:46:46.373Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p><strong>Task 1: What is defensive security also known as?</strong></p><p>This one is most likely common knowledge already.</p><p><strong>blue teaming</strong></p><p><strong>Task 2: An attack has been detected on an organisation’s network. What is the name of the person above who would be responsible for responding to the attack?</strong></p><p>The person responsible is the incident responder.</p><p>An <strong>incident responder</strong> is the person who deals with a cyberattack after it happens. When a company gets hacked or infected with malware, they’re the ones who figure out what went wrong, stop the damage, clean things up, and make sure it doesn’t happen again.</p><p>Think of them as the <strong>firefighters of cybersecurity</strong>.</p><p>As you can review above, this team’s incident responder is:</p><p><strong>Aaliyah</strong></p><p><strong>Task 3: What is the abbreviation for the term “Security Operations Centre”?</strong></p><p><strong>SOC</strong></p><p><strong>Task 4: What is the flag that you obtained by following along?</strong></p><p>Click the view site button to get started. You’ll be presented with something that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*JtbTXfRcAr-yBkntQD_XKQ.png" /><figcaption>SIEM mock dashboard.</figcaption></figure><p>Hit the investigate button.</p><p>Copy the IP (32.122.195.63)</p><p>Basically someone used a tool to enumerate the page’s directories in hopes of finding some unprotected data.</p><p>Click the start investigation on the top-right corner. You’ll be presented with this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*gl1vt4OLGLJDE0zUJPznCg.png" /><figcaption>SIEM dashboard information related to invasive IP address.</figcaption></figure><p>Just block that IP and tell the hacker <strong>“YOU SHALL NOT PASS!” </strong>(Implement Action button). You can keep all other options as they are and by the end of it you will be presented with the flag:</p><p><strong>THM{FAKEBANK-SECURED}</strong></p><p>Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1ff2f5d70c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THM CTF: Offensive Security]]></title>
            <link>https://medium.com/@pjsm.it/thm-ctf-offensive-security-a310ef09f212?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a310ef09f212</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[dirb]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 17:27:29 GMT</pubDate>
            <atom:updated>2026-04-04T17:27:29.444Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>First of all, I’d like to apologize for my hiatus. Some of you have asked for more write-ups but life got in the way. With that said, let’s start!</p><p><strong>Task 1: Which of the following options better represents the process where you simulate a hacker’s actions to find vulnerabilities in a system?</strong></p><p>This one is simple!</p><p><strong>Offensive Security</strong></p><p><strong>Task 2: What is your bank account number in the FakeBank web application?</strong></p><p>Hit the <em>Start Machine</em> button and wait for the split view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*-PCiD-aCXn5uS42tRsZFYQ.png" /><figcaption>Start machine button.</figcaption></figure><p>Once that’s done, you can check your account number in the top left section, under <em>Accounts</em>.</p><p><strong>8881</strong></p><p>Task 3: Dirb should have found 2 hidden URLs. One of them is http://fakebank.thm/images. What is the other one?</p><p>DIRB is a web content scanner used in penetration testing. It works by brute-forcing URLs against a web server using a wordlist, looking for hidden files, directories, and resources that aren’t publicly linked or visible.</p><p>In simple terms: you point it at a target URL, it tries a huge list of common directory and file names, and reports back anything that actually exists based on the HTTP response codes.</p><p>It’s commonly used in CTFs to discover hidden paths like /admin, /uploads, /backup, etc. that could lead to further exploitation.</p><p>In this case, the wordlist (common.txt) has already been provided, so all we need to do is run DIRB.</p><p>The following URLs were found:</p><ul><li><a href="http://fakebank.thm/images">http://fakebank.thm/images</a></li><li><a href="http://fakebank.thm/bank-deposit">http://fakebank.thm/bank-deposit</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*QunGsk6YEBtiCg6mYFvewQ.png" /><figcaption>dirb results.</figcaption></figure><p>The /images URL is full of assets used by the web page itself. They could potentially hide useful information, but that seems to be out of scope for this CTF — and frankly, my knowledge base as well.</p><p>Let’s try our luck with the other URL, which looks a lot more promising:</p><p><a href="http://fakebank.thm/bank-deposit"><strong>http://fakebank.thm/bank-deposit</strong></a></p><p><strong>Task 4: If your balance is now positive, a pop-up should appear with some green words in it. Input the green words as the answer to this question.</strong></p><p>Paste that URL into your favourite browser and you’ll be presented with the Admin Portal, which has the permissions — by definition — to alter account values.</p><p>If you remember our account number from the previous task (<strong>8881</strong>), just add funds to that specific account and you’re done! You’ll be presented with the flag:</p><p><strong>BANK-HACKED</strong></p><p>Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a310ef09f212" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB CTF Write-Up: Dancing]]></title>
            <link>https://medium.com/@pjsm.it/htb-ctf-write-up-fawn-ff0bc6b50058?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff0bc6b50058</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[smbclient]]></category>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[enumeration]]></category>
            <category><![CDATA[lateral-movement]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Sun, 14 Dec 2025 22:00:52 GMT</pubDate>
            <atom:updated>2025-12-14T22:46:58.040Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>We start by identifying the target IP address and verifying connectivity using ping.</p><p>Task 1- What does the 3-letter acronym SMB stand for?</p><p>SMB is a network protocol used for sharing files, printers, and other resources between computers on a network.</p><ul><li>Server Message Block</li></ul><p>Task 2- What port does SMB use to operate at?</p><p>A quick Google search confirms that SMB operates on port:</p><ul><li>445</li></ul><p>Task 3- What is the service name for port 445 that came up in our Nmap scan?</p><p>Using the following command:</p><p>nmap -p &lt;port#&gt; &lt;ip_address&gt;</p><p>The -p flag specifies a port to scan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*d8yMzOs-C3PqMedJC9y8YQ.png" /><figcaption>Scanning port 445 with nmap.</figcaption></figure><p>Scanning port 445 reveals the service:</p><ul><li>microsoft-ds</li></ul><p>Task 4- What is the ‘flag’ or ‘switch’ that we can use with the smbclient utility to ‘list’ the available shares on Dancing?</p><p>I haven’t used smbclient at this point but based on how common this flag is on other tools:</p><ul><li>-L</li></ul><p>Let’s check what smbclient actually is:</p><p>man smbclient</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*ivoIJ4HirC14GDdCCUBDNQ.png" /><figcaption>smbclient manual page.</figcaption></figure><p>smbclient is a command-line tool to access and interact with SMB shares on a network.</p><p>An SMB share can be a file or folder shared on a network, or even a printer.</p><p>According to the previous task, the -L flag should list the available shares:</p><p>smbclient -L &lt;ip_address&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*nTPHok6sGcpVGG7yV3muzg.png" /><figcaption>smbclient anumeration.</figcaption></figure><p>Use a blank password.</p><p>SMB enumeration:</p><p>— ADMIN$ - The administrator share.</p><p>— C$ - The C: drive being shared (confirming a Windows target).</p><p>— IPC$ - Inter-Process Communication. This is a special share in the Windows OS used for SMB communication and authentication.</p><p>— WorkShares - A regular shared folder.</p><ul><li>4</li></ul><p>Task 6- What is the name of the share we are able to access in the end with a blank password?</p><p>Using the hint (“It’s the one that doesn’t end with the $ symbol”), the answer is:</p><ul><li>Workshares</li></ul><p>Task 8- What is the command we can use within the SMB shell to download the files we find?</p><p>SMB network paths use \\ in Windows. In Linux, smbclient accepts //server/share.<br>Extra slashes appear due to escaping rules, but they all represent an SMB network path.</p><p>Since we know from the previous Task that the Workshares share doesn’t have a password defined we might as well target it.</p><p>smbclient\\\\&lt;ip_address&gt;\\Workshares (weird, I know!)</p><p>Skip the password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*0becmkWxZDYayKmbz_93PQ.png" /><figcaption>smbclient connection to Workshares share.</figcaption></figure><p>Listing the contents reveals shares belonging to <strong>Amy.J</strong> and <strong>James.P</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*qyfY5YCaTwaHqrsNpUNolQ.png" /><figcaption>smbclient enumeration results on Workshares share.</figcaption></figure><p>Amy.J contains only notes, but <strong>James.P</strong> contains flag.txt.</p><p>To download the file from within smbclient, use:</p><ul><li>get</li></ul><p>Submit Flag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*MBTic2dC2Ie0eRKOABw4gA.png" /><figcaption>Using cat command to expose flag.txt file’s contents.</figcaption></figure><p>cat the flag.txt file and get:</p><ul><li>5f61c10dffbc77a704d76016a22f1664</li></ul><p>Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff0bc6b50058" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB CTF Write-Up: Fawn]]></title>
            <link>https://medium.com/@pjsm.it/htb-ctf-write-up-fawn-ce9ec032d25e?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce9ec032d25e</guid>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Thu, 11 Dec 2025 21:58:14 GMT</pubDate>
            <atom:updated>2025-12-11T21:58:14.335Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>Since this is my second write-up, I’ll keep things shorter and closer to my natural style. I’ll also avoid diving into extra explanations to reduce the risk of misinforming anyone. If you stumble upon a concept you’re unfamiliar with, a quick Google search will get you up to speed.</p><p>Task 1- What does the 3-letter acronym FTP stand for?</p><p>Running <em>man ftp </em>gives us:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*du3j96d0ByTbMLC0tfTLng.png" /><figcaption>ftp’s manual page.</figcaption></figure><ul><li>file transfer protocol</li></ul><p>Task 2- Which port does the FTP service listen on usually?</p><p>A quick Google search confirms:</p><ul><li>21</li></ul><p>Task 3- FTP sends data in the clear, without any encryption. What acronym is used for a later protocol designed to provide similar functionality to FTP but securely, as an extension of the SSH protocol?</p><p>Also easy to look up:</p><ul><li>stfp</li></ul><p>Task 4- What is the command we can use to send an ICMP echo request to test our connection to the target?</p><p>Bread and butter:</p><ul><li>ping</li></ul><p>Task 5- From your scans, what version is FTP running on the target?</p><p>Start by checking connectivity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*oYqcPG2XSALT_lfssbap9Q.png" /><figcaption>ping target IP address.</figcaption></figure><p>We don’t know all the ports yet, but we do know that FTP typically runs on port 21, and SFTP on 22, so we begin with the expected FTP port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*eqw7OuEFoEpeg2v1QTQq5A.png" /><figcaption>nmap target IP adress on port 21.</figcaption></figure><p>We confirm the service is indeed FTP.</p><p>To identify the exact version, we use the -sV flag (use the hint).</p><ul><li>-sV tells Nmap to perform service version detection, meaning it identifies not only the open port but also the service and its version.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*BAIAzUXCeOp0K2J_Nru9wA.png" /><figcaption>filtered nmap for service detection.</figcaption></figure><ul><li>vsftpd 3.0.3</li></ul><p>Task 6- From your scans, what OS type is running on the target?</p><ul><li>Unix</li></ul><p>Task 7- What is the command we need to run in order to display the ‘ftp’ client help menu?</p><ul><li>ftp-?</li></ul><p>Task 8- What is username that is used over FTP when you want to log in without having an account?</p><p>Using the hint it’s easy to assume the answer is:</p><ul><li>anonymous</li></ul><p>Task 9- What is the response code we get for the FTP message ‘Login successful’?</p><p>Attempting to connect as anonymous and skipping the password we’ll actually login.</p><p>Response codes in the 200‑series indicate success.</p><p>230 <em>specifically means successful login</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*3IY0LYYzyCcLhWNSTLzzGQ.png" /><figcaption>ftp connection to target IP address.</figcaption></figure><ul><li>230</li></ul><p>Task 10- There are a couple of commands we can use to list the files and directories available on the FTP server. One is dir. What is the other that is a common way to list files on a Linux system.</p><ul><li>ls</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*ALcK8rnCqgaWBVO_eIkNPA.png" /><figcaption>Listing files and directories available,</figcaption></figure><p>Task 11- What is the command used to download the file we found on the FTP server?</p><p>Once again, the hint proves to be very useful:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*eNNc-Gx7LbBEplSKK6gZ5g.png" /><figcaption>ftp help highlight.</figcaption></figure><ul><li>get</li></ul><p>Let’s get that flag.txt and wrapp things up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*wnsIOztVN2aKDwJDvxw7LQ.png" /><figcaption>get flag.txt file.</figcaption></figure><p>Now we can disconnect (type exit) and cat the flag file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*JVH9eg-n5tvkIzqAKPtIQQ.png" /><figcaption>cat flag.txt file.</figcaption></figure><p>Submit Flag:</p><ul><li>035db21c881520061c53e0536e44f815</li></ul><p>Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce9ec032d25e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTB CTF Write-Up: Meow]]></title>
            <link>https://medium.com/@pjsm.it/htb-ctf-write-up-meow-b49f08afe390?source=rss-b63a9a8113e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b49f08afe390</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[openvpn]]></category>
            <category><![CDATA[hackthebox-writeup]]></category>
            <dc:creator><![CDATA[Paulo Melo]]></dc:creator>
            <pubDate>Thu, 11 Dec 2025 17:31:34 GMT</pubDate>
            <atom:updated>2025-12-11T17:31:34.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, fellow nerds!</p><p>Quick disclosure: since this is my first write-up (yay!), I’ll describe the procedures I followed to solve this box and also highlight some introductory aspects, like the VPN connection, which can be challenging for less experienced users like myself.</p><p>On another important tangent, I’m as ADHD as ADHD can get, and my writing style is not for everybody. I’ll attempt to satisfy my needs as a reader, so you’ll see as many bullet points and concise, minimalistic text as possible (who likes walls of text, am I right?). This also ends up being a documentation training exercise for me.</p><p>Feel free to send professional feedback or career-related messages via &lt;a href=”mailto:pjsm.it@proton.me”&gt;email&lt;/a&gt; or check out my projects on &lt;a href=”<a href="https://github.com/pjsm-it/pjsm-it">https://github.com/pjsm-it/</a>” target=”_blank”&gt;GitHub&lt;/a&gt;. I’d really appreciate any constructive tips.</p><p>With all the boring stuff out of the way lets hack!</p><ol><li>Connect to HTB (top right corner).</li></ol><p>2. Since I used a VPN connection instead of the Pwnbox, go to Starting Point and select OpenVPN.</p><p>3. Choose your access point and server.</p><p>4. This will download an OpenVPN configuration file, which is required for all future VPN connections. Note that the Starting Point section has its own connection file, while Academy and other labs have separate files.</p><p>5. You can choose TCP or UDP, which operate on different ports. I won’t go into too much detail about network protocols, especially since my own knowledge is still limited, but here’s a very simple explanation:</p><ul><li>TCP (Transmission Control Protocol): ensures that all data sent reaches the destination correctly and in order. Think of it like sending a letter with a tracking number.</li><li>UDP (User Datagram Protocol): sends data without checking if it arrives or in what order. Think of it like sending a postcard — faster, but no guarantees.</li></ul><p>Since speed is an issue, I went ahead and picked UDP. You do you, boo boo!</p><p>6. Now that the VPN connection is set up, open a terminal and navigate to the folder where the configuration file is saved.</p><p>7. Run the command: <em>sudo openvpn &lt;filename&gt;.ovpn</em></p><p>8. Spawn the machine and wait for the target IP to be generated. Once it appears, click it so you can copy it for later use.</p><p>Task 1- What does the acronym VM stand for?</p><ul><li>virtual machine.</li></ul><p>Task 2- What tool do we use to interact with the operating system in order to issue commands via the command line, such as the one to start our VPN connection? It’s also known as a console or shell.</p><ul><li>terminal</li></ul><p>Task 3- What service do we use to form our VPN connection into HTB labs?</p><ul><li>openvpn</li></ul><p>Task 4- What tool do we use to test our connection to the target with an ICMP echo request?</p><ul><li>ping</li></ul><p>At this point, you might as well go ahead and ping the target to verify the connection.</p><figure><img alt="Pinging target ip address." src="https://cdn-images-1.medium.com/max/473/1*WFvn_XjFRK9g0gdoWmBlyg.png" /><figcaption>Pinged target IP address.</figcaption></figure><p>A ping is a basic network tool used to check if a device (like a server or machine) is reachable over a network. It works by sending a small packet of data to the target and waiting for a response.</p><p>Task 5- What is the name of the most common tool for finding open ports on a target?</p><ul><li>nmap</li></ul><p>Nmap is a network scanning tool used to discover hosts and services on a network. It shows which ports are open and what services might be running on the target.</p><p>Task 6- What service do we identify on port 23/tcp during our scans?</p><ul><li>telnet</li></ul><p>Here I used the hint. A quick search revealed that Telnet uses port 23 as its standard.</p><p>Telnet is a network protocol and tool used to connect to remote machines over a specific port. It allows you to interact directly with services running on the target.</p><p>I went ahead and confirmed that via nmap.</p><p>I scanned the target IP specifically on port 23 using the -p flag.</p><figure><img alt="Used nmap on target ip." src="https://cdn-images-1.medium.com/max/524/1*2OekdDsx3j_90KFR6Fpjiw.png" /><figcaption>Used nmap on target IP via port 23.</figcaption></figure><p>The -p flag tells Nmap exactly which ports to scan.</p><p>Task 7- What username is able to log into the target over telnet with a blank password?</p><p>Here I used a mix of the official write‑up and ChatGPT to check which usernames are most commonly used by default on simple or misconfigured systems.</p><p>Here’s what I came up with:</p><ul><li>admin</li><li>administrator</li><li>root</li><li>user</li><li>guest</li><li>test</li><li>demo</li><li>operator</li><li>support</li><li>service</li><li>pi</li><li>default</li><li>anonymous</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*RAqwf9KkbF7H5aDzEOj7wg.png" /><figcaption>Official HTB Meow write-up.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*ZLnMTwjs05agOhaVShaxvw.png" /><figcaption>ChatGPT search results.</figcaption></figure><p>To understand what Telnet actually is, I used the good old man command.</p><p>Running:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/127/1*o6lN3RDh1weV4FPM9UViMg.png" /><figcaption>man command.</figcaption></figure><p>opens the manual page and gives a concise explanation of what the tool does and how to use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*YYS9TwOT20gDS6WGHe8AUA.png" /><figcaption>man command results.</figcaption></figure><p>To establish a Telnet connection, use the syntax: <em>telnet &lt;target_ip_address&gt;</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*Q55h7BYsRDHzk_DNKfgqLA.png" /><figcaption>telnet login.</figcaption></figure><p>Once you’re connected, you’ll have to try logging in using the usernames you gathered earlier. I went with a simple brute‑force approach by testing them one by one.</p><p>The root username did it for me — and it didn’t require a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*BIX3J0_efDflgm3FlFmagQ.png" /><figcaption>telnet login as root.</figcaption></figure><p>At this point you can answer this task:</p><ul><li>root</li></ul><p>This works in a very similar fashion to a regular Linux terminal, so you can start snooping around right away. Nothing like a good <em>ls -a </em>to get a quick overview of what’s inside the directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*KcNw_HrzLmdPuKqB8I3Fkw.png" /><figcaption>tellnet ls.</figcaption></figure><p>Of course I checked every single file and folder, but most of what I found were configuration files and scripts — honestly far more than I can chew at the moment.<br>So I focused on the flag.txt file and read it using: <em>cat flag.txt</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*QIf22megT-r0U12pcP4X1w.png" /><figcaption>cat flat file.</figcaption></figure><p>Submit Flag:</p><ul><li>b40abdfe23665f766f9c61ecba8a4c19</li></ul><p>That’s it for Meow. This box was a great intro to VPNs, Telnet, and port scanning — simple, but packed with learning. I had fun documenting each step and trying to explain things clearly for anyone starting out. Feel free to reach out via email or check out my GitHub if you have tips, corrections, or just want to share thoughts. Stay curious and keep hacking! I know I will!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b49f08afe390" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>