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.

Piercing Through WhatsApp’s Encryption

230 pointsby xnyhpsover 11 years ago

7 comments

tptacekover 11 years ago
A lot of cryptographic mistakes people make, you can blame on the 1990s. For instance, the ubiquitous CBC padding oracle (most recently of TLS &quot;Lucky 13&quot; fame) is the product of MAC-then-encrypt constructions, where attackers are given the privilege of manipulating ciphertext without having it checked by a MAC. We didn&#x27;t have a mathematical proof to tell us not to do mac-then-encrypt until <i>after</i> the 1990s. So if you have that bug, you might consider blaming the 1990s.<p>But using the same RC4 key in both directions of an encrypted transport isn&#x27;t just a bug known in the 1990s; it is the emblematic cryptographic attack of the 1990s, the one crypto flaw that even non-crypto pentesters could reliably deploy. For instance, bidirectionally shared RC4 keys broke the Microsoft VPN scheme, a bug discovered by Peter &quot;Mudge&quot; Zatko when there was still a L0pht Heavy Industries.<p>So my point is, this is a bit sad.<p>I should add, recycling the keystream of a stream cipher is worse than he makes it sound. The attack he&#x27;s describing is called &quot;crib dragging&quot; and implies that an attacker has access to plaintext. But attackers don&#x27;t need access to plaintext to attack repeated-key XOR, which is what a set of ciphertexts encrypted under the same stream cipher keystream works out to be.
评论 #6512857 未加载
评论 #6513002 未加载
评论 #6512749 未加载
PakG1over 11 years ago
Here&#x27;s what I&#x27;m sad about. Does every single web and mobile app that gets made by anyone these days now require an extensive knowledge of how to do security right? If so, that sucks, given how big the field is. Or do we all need to go and hire tptacek for a quarterly security audit? I imagine that can get quite expensive. It really gets in the way of just making things and putting them up; I think kind of kills the spirit of creation and entrepreneurship. :( I mean, it&#x27;s great for people who are truly interested in security, but what if you&#x27;re not? Are you doomed to fail at the startup game if you don&#x27;t know security well?
评论 #6512924 未加载
评论 #6512890 未加载
评论 #6512877 未加载
评论 #6513714 未加载
评论 #6513478 未加载
评论 #6513541 未加载
评论 #6514143 未加载
评论 #6513467 未加载
评论 #6513919 未加载
chmarsover 11 years ago
In other news, WhatApp&#x27;s website got hacked, well, defaced this morning:<p>Screenshot: <a href="http://i.imgur.com/wY2zDl7.jpg" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;wY2zDl7.jpg</a><p>Source (German): <a href="http://stadt-bremerhaven.de/server-von-whatsapp-gehackt/" rel="nofollow">http:&#x2F;&#x2F;stadt-bremerhaven.de&#x2F;server-von-whatsapp-gehackt&#x2F;</a>
评论 #6514084 未加载
nasalgoatover 11 years ago
I&#x27;m surprised they&#x27;d make such a rookie mistake when there are hundreds of good encryption methods online to crib from, just a Google search away.
评论 #6512667 未加载
评论 #6512718 未加载
评论 #6513523 未加载
评论 #6512615 未加载
skionover 11 years ago
I love how exactly this mistake is covered in detail in the first week of Dan Boneh&#x27;s crypto course:<p><pre><code> https:&#x2F;&#x2F;class.coursera.org&#x2F;crypto-008&#x2F;class </code></pre> The Russians made the same mistake in WWII, but Whatsapp shows the relevance today.
frank_boydover 11 years ago
<a href="https://heml.is/" rel="nofollow">https:&#x2F;&#x2F;heml.is&#x2F;</a> currently looks like the best concept of a solution to the problem - if they keep their promise:<p>&gt; Will it be Open Source?<p>&gt; We have all intentions of opening up the source as much as possible for scrutiny and help!<p>But it&#x27;s not done yet.
评论 #6513691 未加载
SnaKeZover 11 years ago
Alternative...Google Hangouts?
评论 #6513307 未加载
评论 #6513547 未加载
评论 #6513512 未加载
评论 #6513461 未加载
评论 #6515071 未加载
评论 #6513479 未加载