The 1MB Password: Crashing Backends via Hashing Exhaustion
instatunnel.my·2d·
Discuss: r/programming
🔐Cryptography
Preview
Report Post

The 1MB Password: Crashing Backends via Hashing Exhaustion 🏎️💥

In the world of cybersecurity, we are often taught that slower is better. When it comes to password hashing, we intentionally choose algorithms like Argon2id or Bcrypt because they are “expensive.” They are designed to eat up CPU cycles and memory to make brute-force attacks economically impossible for hackers.

But what happens when that “expense” is turned against you?

Enter the 1MB Password Attack. It’s a silent, elegant, and devastatingly simple Denial of Service (DoS) vector. By sending an oversized string—say, 1 megabyte of random characters—into your login or registration field, an attacker can force your server to spend seconds, or even minutes, hashing a single request.

A few dozen of these requests ca…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help