Back to blog
Engineering

How pwn.college Stopped an Application-Layer DoS Attack

How pwn.college responded to an application-layer denial-of-service attack by proxying traffic, restricting origin access, and enabling a client challenge.

Date
09/29/2025
Read
2 min read
Cat
Engineering

When pwn.college received a demand for €250 in Monero, the attack behind it was consuming database resources rather than flooding the site's connection. Repeated requests caused enough backend work to make the service difficult to keep available.

Dr. Connor Nelson described the incident and the team's response to me. The useful part of the account is how they changed the route traffic took to the application, and which controls finally stopped the requests.

An expensive request doesn't need much bandwidth

The attacker posted the ransom demand in the pwn.college Discord server under the name “RTA$,” with a 24-hour deadline, wallet address, and contact email.

According to Dr. Nelson, the traffic was relatively low bandwidth. The requests were expensive for the application because they triggered database work. That made the backend's capacity the immediate problem.

The team considered local controls such as iptables and nginx rate limiting. Dr. Nelson didn't want to spend the response continually blocking addresses while the attacker changed where requests came from.

Routing traffic through Cloudflare

The domain already used Cloudflare for DNS, but HTTP traffic still went directly to the origin. The team enabled proxying so requests would pass through Cloudflare before reaching the application.

They then restricted access to port 443 on the origin to Cloudflare's IP ranges. This mattered because leaving the origin reachable would let the attacker bypass the proxy and continue sending requests directly.

Those changes alone did not end the attack. In Dr. Nelson's account, the malicious traffic stopped after the team enabled Under Attack mode and its client challenge.

The sequence matters: using a provider for DNS, sending traffic through its proxy, and preventing direct access to the origin are separate configuration decisions. Having a Cloudflare account had not, by itself, put its request filtering in front of the application.

After the immediate response

Dr. Nelson also discussed caching, per-user throttling, and application-aware rate limits as further work. Those controls address how much backend work a request can cause and how often a caller can request it. Caching needs particular care where authenticated and unauthenticated responses differ.

An emergency challenge helped in this incident. Longer-term controls still need to accommodate legitimate clients and the application's expensive operations.

What this says about relying on a provider

This is a concrete reason teams use a large edge provider: during an incident, it can supply filtering capacity and controls that would take time to build locally. The pwn.college response illustrates that value without establishing that every application needs the same setup.

The dependency also deserves review. A provider's own incidents, configuration requirements, and availability affect the services behind it. This case can't settle those tradeoffs for another organization.

For a team checking its own setup, I'd start with the traffic path. Confirm that requests pass through the controls you expect, check whether the origin is still directly reachable, and identify which endpoints can exhaust backend resources. Those were consequential details in this incident.

Written by

Alexander Aviles

Cybersecurity researcher specializing in offensive security tooling and post-exploitation framework development. B.S. Computer Science (Cybersecurity) from Arizona State University, graduating Summa Cum Laude. Developer of Eshu, a framework for managing compromised systems through live implants, and Ender, a modular exploit engine for cross-platform migrations. First Place winner in TryHackMe's Sapphire League, ranking in the top 7% of users. Currently pursuing M.S. Computer Science (Cybersecurity) and OSCP certification. Expert in Python development, Docker containerization, C2 frameworks, and red team operations.

Share

More in Engineering

All posts