HNHacker News
TopNewBestAskShowJobs

mahemm

186 karma · joined July 30, 2017

submissionscomments
mahemm··on Top three requirements for OTA software updates for IoT
While this article does do a good job of illuminating the potential challenges, it's a bit frustrating that there's such scant discussion of solutions.

IMO, this problem has been solved pretty comprehensively by the TUF framework[1], which has a number of solid implementations[2][3]. Many of these implementations even have reliable third-party reviews, so should be pretty trustworthy.

[1]: https://theupdateframework.github.io/ [2]: https://github.com/flynn/go-tuf [3]: https://github.com/theupdateframework/notary

mahemm··on Show HN: Differential Fuzzing of Cryptographic Libraries
I use the high level concept pretty regularly in my day-to-day as a security consultant specializing in cryptography, and this project is a fantastic way to democratize the use of differential fuzzing. The only negative thought I have about this is that I didn't think of it first!
mahemm··on A Telegram bug that disclose phone numbers of any users in public groups
The widespread usage of Telegram in a situation as sensitive as the Hong Kong protests is a failure on behalf of the security industry in educating the public.

Even WhatsApp is miles better, but in reality it should be a no-brainer for the relevant people to use Signal or perhaps Threema/Wire. What a shame that charlatans have successfully marketed themselves to the top of this segment with a distinctly inferior product.

mahemm··on Facebook to Launch “GlobalCoin” Cryptocurrency in 2020
I think it will be interesting to see the details of this project. Most of the current offerings do not have anywhere near the technical sophistication that FB can bring, and especially as they iterate I think they will leave every other cryptocurrency in the dust.
mahemm··on Selfie: reflections on TLS 1.3 with PSK
The attack can only happen in an unusual setting (nodes using external PSKs that can act as both client and server simultaneously), meaning that this vulnerability will not have too much impact on the open internet.

The more interesting issue here is that this sort of vulnerability should/could have been found through the numerous proofs of security that were created for TLS1.3.

IMO the most interesting insights that can be found in this paper come from section 6, where they consider how the proofs missed. It turns out that the proofs did not consider the possibility that a client and a server would simultaneously possess the same PSK, but IRL the sub-entities of a single node will do so.

mahemm··on EverCrypt, a cryptographic library that is provably secure against known attacks
Moving past the silly headline, there is actually a pretty substantial achievement here. Using formal verification tools, the team proved the following properties for the library:

* Memory safety (no buffer overruns etc)

* Type safety (all compiler-visible interfaces/abstractions used as per spec)

* Functional correctness (all the crypto implementations are faithful to their algorithms)

* Side-channel resistance (all crypto is constant time)

This has been confirmed by fallible tools and is checked against human-made models which are also fallible, but this code is still likely to be about as close to bug-free as currently possible.

I think Barghavan's work in this area are the future of cryptographic coding in the medium term and likely all security-sensitive code long term.

mahemm··on How to Make Other Developers Hate to Work with You
Sounds like insufficient testing to me. This kind of deep/far reaching issue should have been crashing tests written before others would have seen it.

Assuming that there is some testing in their work (if not; there's the answer), my guess would be that it's largely sanity testing of each functionality in a vaccuum. The coaching would probably be to demonstrate more integration-style testing, possibly using whatever tests caught system-level issues that the dev has pushed in the past.

mahemm··on Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice
Not a legitimate complain at all--the jury is still out as to whether it will ever be possible to create a quantum computer capable of breaking current asymmetric primitives.
mahemm··on Messenger systems compared by security, privacy, compatibility, and features
Why not use Signal? Better privacy guarantees and the same underlying protocol.
mahemm··on The death of Google
In case this dies: https://archive.fo/f4RHX
mahemm··on Audit Cleared Google Privacy Practices Despite Security Flaw
If that's the case then you haven't been working with good auditors.

That said, the opportunity to do this (scrub reports) is a driving decision behind many companies' choice to work with more permissive firms. If you want a rubber stamp, you can certainly get it, but if you want a true partner who will find and exploit issues you can get that too.

mahemm··on Audit Cleared Google Privacy Practices Despite Security Flaw
I have personally been a part of security audits that have found critical vulnerabilities in some of the best-known tech companies on the globe.

Just because there exists a world of auditors who function as rubber stamps does not mean we all do.

mahemm··on Open-source crypto is no better than closed-source crypto
A counterpoint to this is the billion dollar success of cryptocurrencies such as IOTA and Verge that are fundamentally broken from a cryptographic point of view.
mahemm··on Multi-core cryptography for Node.js
Something that scares me here--where is the awareness of emergent security errors arising from multi-threaded cryptography?

As an example, consider a multithreaded streaming crypto API which consumes a symmetrically-encrypted data stream with an HMAC at the end. If multiple threads are simultaneously decrypting this stream, then how do they synchronize and verify their respective HMACs (let alone one shared one)? Frequently, in my experience, the answer is never--they just pass results blindly to an application thread which then operates on this data. By the time some last thread has belatedly realized that the entire stream was forged,the attacker has already been able to force the application to run malicious code.

mahemm··on Telegram removed from the App Store for 'inappropriate content'
It absolutely is! Which is why I felt like it was important to bring more attention to the much lesser security stance of others in the space.
mahemm··on Telegram removed from the App Store for 'inappropriate content'
What's your quip for plaintext group chat
mahemm··on Telegram removed from the App Store for 'inappropriate content'
I worded that poorly and have edited the OP to reflect that.

I was referring to the recently re-discovered paper about group chats (e.g. https://www.helpnetsecurity.com/2018/01/11/whatsapp-signal-g... paper here: https://eprint.iacr.org/2017/713.pdf)

mahemm··on Telegram removed from the App Store for 'inappropriate content'
Following all of the negative press Signal has gotten recently, I feel it's unethical to let a Telegram post pass without a reminder that they don't even bother to encrypt group chats, and that there is still no proof whatsoever that their protocol is secure.
mahemm··on Worries Grow That the Price of Bitcoin Is Being Propped Up
Not true. In order to make sure there isn't a run on their fake currency, they need to ensure that the balance tips towards buying bitcoin rather than cashing out holdings. If the price goes too low, people will start trying to convert tethers to real money, triggering a crash.
mahemm··on MIT Media Lab's concerns about the cryptocurrency IOTA
It's mind boggling to me that anyone takes IOTA seriously anymore. The fact that it's in ternary should be enough to convince the more risk-averse technical people of the folly of its design. More optimistic techies should have been convinced when researchers showed that its hash function was trivially broken. Everyone else should've jumped ship when it was revealed that all of their "corporate partnerships" were made up to pump the coin.

It goes to show that anyone with good marketing can make a killing in the cryptocurrency world.

← PreviousPage 2 of 2