TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bicycle Attacks: Quantifying the Damage of Widespread Password Length Leakage

30 pointsby adulauover 5 years ago

6 comments

unwindover 5 years ago
Not being into security much (if I can help it) I had to look up the term [1].<p>Basically it&#x27;s a reference to how a (tightly) wrapped bike is still recognizable as being a bike.<p>[1] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Bicycle_attack" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Bicycle_attack</a>
dmurrayover 5 years ago
If you learn the exact length of a password, you gain say 3-4 bits of entropy? 4 bits if there are sixteen possible password lengths, all equally likely.<p>4 bits is not nothing, and it makes most cracking attacks 16 times easier, but it&#x27;s hopefully never going to be the difference between good security and bad.
评论 #22255697 未加载
评论 #22258641 未加载
评论 #22258152 未加载
评论 #22255608 未加载
tialaramexover 5 years ago
It is surprising to me that modern browsers don&#x27;t pad TLS (in TLS 1.3 padding is &quot;free&quot; in the sense that you don&#x27;t need any extra bytes to say &quot;this is padding&quot;) to fill the last packet.<p>Supposing MSS is 1500 for a link, how much longer can it conceivably take to send say 1500 bytes including 120 bytes of padding versus 1380 bytes?
评论 #22257712 未加载
tyingqover 5 years ago
It feels like browsers could fix this in a fairly simple way. Something like using a value for the form boundary that varies in length for each request, or a X-RandPad type header that has some variable length data?
评论 #22257823 未加载
评论 #22255877 未加载
rahuldottechover 5 years ago
Shouldn&#x27;t you be able to avoid this by simply hashing the password before POSTing it?
评论 #22258148 未加载
评论 #22257768 未加载
blattimwindover 5 years ago
Bicycle attacks, because remembering that biclique attack is not spelled bicycle attack wasn&#x27;t quite hard enough yet :-)
评论 #22257527 未加载