<?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 TOBI on Medium]]></title>
        <description><![CDATA[Stories by TOBI on Medium]]></description>
        <link>https://medium.com/@tobi777?source=rss-1d0e8a854a0a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*W1ewiJqPRf_jJh9SakJBFQ.jpeg</url>
            <title>Stories by TOBI on Medium</title>
            <link>https://medium.com/@tobi777?source=rss-1d0e8a854a0a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 14:17:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tobi777/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[HTB Academy writeup- FRAWN]]></title>
            <link>https://medium.com/@tobi777/htb-academy-writeup-frawn-4d196bb26a6a?source=rss-1d0e8a854a0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d196bb26a6a</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[htb]]></category>
            <dc:creator><![CDATA[TOBI]]></dc:creator>
            <pubDate>Tue, 01 Sep 2026 08:35:28 GMT</pubDate>
            <atom:updated>2026-09-01T08:35:28.700Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*0uYuCX1ptGcrwj9C5nLclw.png" /></figure><ol><li><strong>Introduction</strong><br>This is a walkthrough for the HTB Academy machine &quot;FRAWN&quot;. We will start the machine, connect to the VPN, and perform enumeration to find the flag.</li><li><strong>Connection &amp; Initial Recon</strong></li></ol><ul><li><strong>Connect to VPN:</strong> First, start the machine on the HTB Academy platform and connect to the Academy VPN using OpenVPN.</li><li><strong>Test Connectivity:</strong> We use the ping command to send an ICMP echo request to the target machine to ensure the connection is established.</li><li>ping &lt;target-ip&gt;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*y-id-eElNfLxlDUbU1qqOQ.png" /></figure><ul><li><strong>FTP Knowledge:</strong> We are told this machine involves FTP (File Transfer Protocol).</li><li><strong>Acronym:</strong> FTP stands for <strong>File Transfer Protocol</strong>.</li><li><strong>Default Port:</strong> FTP services typically listen on <strong>Port 21</strong>.</li></ul><p><strong>3. Scanning the Target</strong><br>We use Nmap to scan for the FTP service and its version.</p><p>nmap -sV &lt;ip&gt; -p 21</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*DJGey7x4y93eVnRayXBHcw.png" /></figure><ul><li><strong>Scan Result:</strong> The scan shows that vsftpd 3.0.3 is running on the target.</li><li><strong>OS Detection:</strong> Nmap also helps us determine the target’s operating system, which in this case is <strong>Unix</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*gulqChjrNamixLhIch5LXA.png" /></figure><p><strong>4. Accessing the FTP Server</strong><br>Since FTP transmits data in clear text, it’s insecure. (For secure file transfer, we use SFTP — Secure File Transfer Protocol, which is an extension of SSH).</p><ul><li><strong>Access FTP:</strong> We use the ftp command to connect to the target.</li><li>ftp &lt;ip&gt;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*6P2WJwQO1DzofuYoivFU2g.png" /></figure><ul><li><strong>Help Menu:</strong> To find available commands, we can use ftp -?.</li><li><strong>Anonymous Login:</strong> FTP servers often allow “anonymous” login. We enter anonymous as the username and leave the password blank (or enter your email).</li><li><strong>Login Success:</strong> A successful login returns the response code <strong>230</strong>.</li></ul><p><strong>5. Exploring the Server</strong></p><ul><li><strong>Listing Files:</strong> We can list the files and directories on the server. Two common commands are:</li><li>dir (Displays a detailed list)</li><li>ls (The standard Linux command for listing files. Use ls -la to see all hidden files).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*w2obxcmdbVEe9sWQo-jpxg.png" /></figure><p><strong>6. Downloading the Flag</strong></p><ul><li><strong>Download the File:</strong> To download a file from the FTP server, we use the get command.</li><li>get flag.txt</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tmqzHxUdiAH-utKxgeqh7w.png" /></figure><ul><li><strong>Submit the Flag:</strong> Copy the flag and submit it on the HTB Academy portal to complete the challenge.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*bEnehY4qTZRMUc0xcUcPaw.png" /></figure><p><strong>Conclusion &amp; Key Takeaways</strong></p><p>And that’s a wrap on the <strong>FRAWN</strong> machine! While this was a straightforward challenge, it highlights a critical real-world vulnerability: <strong>misconfigured FTP services</strong>.</p><p><strong>What did we learn?</strong></p><ul><li><strong>Enumeration is key:</strong> A simple Nmap scan (-sV -p 21) quickly reveals outdated software and service versions.</li><li><strong>Anonymous login is a goldmine for attackers:</strong> Many administrators forget to disable this default setting. In this lab, it allowed us to browse the file system and download sensitive files (the flag) without any credentials.</li><li><strong>FTP is insecure by design:</strong> Since FTP transmits credentials and data in cleartext, it is highly vulnerable to Man-in-the-Middle (MITM) attacks.</li></ul><p><strong>How would we fix this in the real world?</strong></p><ul><li>Disable anonymous access unless absolutely necessary (anonymous_enable=NO in vsftpd.conf).</li><li>Enforce strong authentication and use encrypted protocols like <strong>SFTP</strong> (SSH File Transfer Protocol) or <strong>FTPS</strong> (FTP over SSL/TLS) to protect data in transit.</li></ul><p>If this walkthrough helped you, feel free to <strong>clap</strong> 👏, leave a comment, or follow for more HTB Academy write-ups. Happy hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d196bb26a6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Complete Pentesting Recon Workflow.]]></title>
            <link>https://medium.com/@tobi777/a-complete-pentesting-recon-workflow-54a3ba8d2105?source=rss-1d0e8a854a0a------2</link>
            <guid isPermaLink="false">https://medium.com/p/54a3ba8d2105</guid>
            <category><![CDATA[nmap]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ejpt]]></category>
            <dc:creator><![CDATA[TOBI]]></dc:creator>
            <pubDate>Tue, 02 Jun 2026 02:43:47 GMT</pubDate>
            <atom:updated>2026-06-02T02:52:16.991Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wVaI9XKmRdrcnrUkI9SKag.jpeg" /></figure><p><strong>Complete Pentesting Recon Workflow</strong></p><ol><li>Scope Defined<br> ↓</li><li>Verify Connectivity<br> ↓</li><li>Host Discovery<br> ↓</li><li>TCP Port Scanning<br> ↓</li><li>Service Detection<br> ↓</li><li>OS Detection<br> ↓</li><li>UDP Scanning<br> ↓</li><li>Service Enumeration<br> ↓</li><li>Deep Enumeration (SNMP/SMB/HTTP/etc.)<br> ↓</li><li>Vulnerability Analysis<br> ↓</li><li>Exploitation</li></ol><h3>Goal</h3><p>Find live systems.</p><h3>Step 1 — Confirm Scope</h3><p>Company gives:</p><pre>192.168.1.0/24</pre><p>Pentester asks:</p><pre>Which hosts are alive?</pre><h3>Step 2 — Connectivity Check</h3><pre>ping target</pre><p>If successful:</p><pre>Host alive</pre><p>If ping blocked:</p><pre>May still be alive</pre><h3>Step 3 — ARP Discovery (Local Network)</h3><pre>arp-scan --localnet</pre><p>or</p><pre>arp -a</pre><p>Goal:</p><pre>Find IP ↔ MAC mappings</pre><h3>Step 4 — Nmap Host Discovery</h3><pre>nmap -sn 192.168.1.0/24</pre><p>Find:</p><pre>192.168.1.5 192.168.1.20 192.168.1.45</pre><h3>VIDEO 2 — TCP Port Scanning</h3><p>Now pentester knows:</p><pre>Host exists</pre><p>Next question:</p><pre>What services are exposed?</pre><h3>Step 5 — Basic TCP Scan</h3><pre>nmap target</pre><p>or</p><pre>nmap -p 1-250 target</pre><p>Find open ports:</p><pre>22 SSH<br>80 HTTP<br>445 SMB<br>3389 RDP</pre><h3>Step 6 — If Ping Blocked</h3><p>Use:</p><pre>nmap -Pn target</pre><p>Important lesson from the videos:</p><pre>No ping reply≠Host dead</pre><h3>Step 7 — Full Port Scan</h3><p>Professional workflow:</p><pre>nmap -Pn -p- target</pre><p>Goal:</p><pre>Scan all 65535 TCP ports</pre><h3>2/Zenmap — Service Detection</h3><p>Now pentester asks:</p><pre>What applications are running?</pre><h3>Step 8 — Service Version Detection</h3><pre>nmap -sV target</pre><p>Result:</p><pre>80/tcp open Apache 2.4.49<br>22/tcp open OpenSSH 7.2</pre><p>Now pentester can research:</p><ul><li>CVEs</li><li>Misconfigurations</li><li>Default credentials</li></ul><h3>Step 9 — OS Detection</h3><pre>nmap -O target</pre><p>Result:</p><pre>Windows Server 2012</pre><p>or</p><pre>Ubuntu Linux</pre><p>Now attacker tailors techniques to the OS.</p><h3>2/3 — UDP Scanning</h3><p>Very important lesson:</p><pre>TCP ports closed DOES NOT mean No attack surface exists</pre><h3>Step 10 — UDP Scan</h3><pre>nmap -sU target</pre><p>Find:</p><pre>161/udp SNMP<br>53/udp DNS</pre><h3>Step 11 — UDP Version Detection</h3><pre>nmap -sU -sV target</pre><p>Now discover:</p><pre>BIND DNS<br>SNMPv1<br>public community string</pre><h3>3 — Deep Enumeration</h3><p>Now pentester performs service-specific enumeration.</p><p>This is where real reconnaissance begins.</p><h3>Step 12 — SMB Enumeration</h3><p>If port 445 found:</p><pre>enum4linux-ng target</pre><p>or</p><pre>smbclient -L //target -N</pre><p>Goal:</p><ul><li>Shares</li><li>Users</li><li>Domain info</li></ul><h3>Step 13 — HTTP Enumeration</h3><p>If port 80/443 found:</p><pre>whatweb target</pre><pre>gobuster dir -u http://target -w wordlist.txt</pre><p>Goal:</p><ul><li>Hidden directories</li><li>Login pages</li><li>CMS</li><li>Upload forms</li></ul><h3>Step 14 — DNS Enumeration</h3><p>If port 53 found:</p><pre>dig axfr @target domain.com</pre><p>Goal:</p><ul><li>Zone transfers</li><li>Internal hostnames</li></ul><h3>Step 15 — SNMP Enumeration</h3><p>If UDP 161 found:</p><pre>snmpwalk -v1 -c public target</pre><p>Goal:</p><ul><li>Users</li><li>Processes</li><li>Interfaces</li><li>Installed software</li></ul><p>Video 3 demonstrated this deeply.</p><h3>Step 16 — Analyze Findings</h3><p>Now pentester combines all information.</p><p>Example:</p><pre>OS: Ubuntu<br> LinuxOpen<br>  Ports:22 <br>  SSH80 <br>  HTTP161 <br>  SNMPUsers:david<br>  Services:Apache 2.4.49<br>  OpenSSH 7.2</pre><p>Now attacker researches:</p><pre>Known vulnerabilities<br>Weak configurations<br>Credential attacks<br>Misconfigurations</pre><h3>Step 17 — Exploitation</h3><p>Examples:</p><h3>Web Exploit</h3><pre>Apache vulnerability</pre><h3>SMB Exploit</h3><pre>EternalBlue</pre><h3>SNMP Misconfiguration</h3><pre>Information disclosure</pre><h3>Weak SSH Password</h3><pre>Credential attack</pre><h3>Real Pentester Mindset</h3><p>A beginner sees:</p><pre>Port 80 open</pre><p>A pentester asks:</p><pre>What web server?<br>What version?<br>What framework?<br>What directories?<br>What vulnerabilities?</pre><h3>FULL REAL-WORLD FLOW</h3><p>Get Authorization<br> ↓<br> Define Scope<br> ↓<br> Verify Connectivity<br> ↓<br> Host Discovery<br> ↓<br> TCP Scan<br> ↓<br> UDP Scan<br> ↓<br> Service Detection<br> ↓<br> OS Detection<br> ↓<br> Deep Enumeration<br> ├── HTTP<br> ├── SMB<br> ├── DNS<br> ├── SNMP<br> ├── SSH<br> └── Databases<br> ↓<br> Analyze Findings<br> ↓<br> Identify Weaknesses<br> ↓<br> Exploit<br> ↓<br> Privilege Escalation<br> ↓<br> Reporting</p><h3>Most Important Lesson Across All Videos</h3><p>The videos collectively teach:</p><pre>Reconnaissance is EVERYTHING.</pre><p>Good pentesters do not rush into exploitation.</p><p>They:</p><ul><li>Discover hosts carefully</li><li>Enumerate deeply</li><li>Understand services</li><li>Gather intelligence</li><li>THEN exploit based on evidence</li></ul><p>This is exactly how professional pentesters, HTB players, PNPT students candidates work in real environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54a3ba8d2105" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>