Hanno Böck
blog.hboeck.de · Personal blog · on HN since 2014
Hanno Böck, a security researcher and journalist, writes about vulnerabilities, cryptography flaws, and TLS issues in widely used software.
What HN saysHN commenters call his posts brilliant, such as tricking Symantec with a fake private key, and cite his work on Owncloud and HTML mail risks.
37HN people shared it
16linked it in comments
55stories submitted
2.2Kstory points
2 years agolast shared
2014people per year2026
Most-shared posts
- 1Pwncloud – Bad crypto in the Owncloud encryption module6 people · 180 points · first shared 2016 · 43 comments on HN
- 2About the supposed factoring of a 4096 bit RSA key4 people · 231 points · first shared 2015 · 33 comments on HN
- 3How Heartbleed could've been found3 people · 146 points · first shared 2015 · 40 comments on HN
- 4OCSP Stapling, Must Staple and Why Certificate Revocation Is Still Broken3 people · 10 points · first shared 2017 · discussion on HN
- 5How Kaspersky makes you vulnerable to the FREAK attack3 people · 10 points · first shared 2015 · 1 comments on HN
- 6Don't update NTP – stop using it3 people · 9 points · first shared 2014 · 2 comments on HN
- 7Safer use of C code – running Gentoo with Address Sanitizer3 people · 4 points · first shared 2016 · discussion on HN
- 8#include </etc/shadow>2 people · 422 points · first shared 2019 · 121 comments on HN
- 9How I Tricked Symantec with a Fake Private Key2 people · 200 points · first shared 2017 · 38 comments on HN
- 10LibreSSL on Gentoo2 people · 99 points · first shared 2014 · 17 comments on HN
- 11PrivDog wants to protect your privacy – by sending data home in clear text2 people · 12 points · first shared 2015 · discussion on HN
- 12A little POODLE left in GnuTLS (old versions)2 people · 9 points · first shared 2015 · discussion on HN
- 13Introducing Snallygaster – A Tool to Scan for Secrets on Web Servers2 people · 5 points · first shared 2018 · discussion on HN
- 14Security Issues with PGP Signatures and Linux Package Management2 people · 5 points · first shared 2019 · discussion on HN
- 15Efail: HTML Mails have no Security Concept and are to blame2 people · 4 points · first shared 2018 · discussion on HN
What HN people wrote when they linked it
hannob · 2024-04-04
When efail came out, I wrote a blogpost about the security risks of HTML mail.
It is really amazing how problematic all of this is, despite its widespread use. The HTML mail spec is really old, and contains almost no security considerations.
HTML in emails can only be a subset of HTML to be secure. But nobody has ever defined what exactly that subset is, so everyone does whatever they think. And unsurprisingly, this leads to an endless stream of security flaws.
See: https://blog.hboeck.de/archives/894-Efail-HTML-Mails-have-no-Security-…
hdhzy · 2017-09-11
Couldn't agree more, this (among others) was brilliant: https://blog.hboeck.de/archives/888-How-I-tricked-Symantec-with-a-Fake…
patrakov · 2021-05-08
There was a blog post and a FOSDEM presentation by (misguided) Gentoo developers a few years ago, and it was retracted, because sanitizers add their own exploitable vulnerabilities due to the way they work.
https://blog.hboeck.de/archives/879-Safer-use-of-C-code-running-Gentoo…
https://www.openwall.com/lists/oss-security/2016/02/17/9
bad_user · 2019-12-04
I don't even understand why people use antivirus software. Sure, if you're on an ancient version of your OS, like Windows XP, then it might serve some purpose, but assuming modern versions of these operating systems, antivirus software does more harm than good.
Worried about browser extensions?
Another problem is that popular antivirus software are also installing their own root certificate so they can MITM secure HTTPS connections.
For example Bitdefender is able to inspect and modify your Google search result without installing a browser extension. And this is a common practice. See for example:
https://blog.hboeck.de/archives/869-How-Kaspersky-makes-you-vulnerable…
gstuartj · 2016-06-02
I agree. Just pointing out that the specific problem the above poster mentioned as a reason to choose OwnCloud also is similarly true of OwnCloud.
https://blog.hboeck.de/archives/880-Pwncloud-bad-crypto-in-the-Ownclou…
dredmorbius · 2016-04-10
And, in related news, Pwncloud:
https://blog.hboeck.de/archives/880-Pwncloud-bad-crypto-in-the-Ownclou…
masterleep · 2016-02-16
An intermediate step is to run everything under AddressSanitizer, since it's fast enough for many cases. See, for example:
https://blog.hboeck.de/archives/879-Safer-use-of-C-code-running-Gentoo…
baby · 2015-06-02
Instead of downvoting, let's educate people a bit more:
1. Picking a small key is all on the user. It's like choosing the single letter 'a' as a password. If you want to do so why not?
2. The key you give to github is a "public" key. It is made to be public so this should be irrelevant.
3. There is 'almost' no known countermeasures against mass crawls of public keys. Look at the recent attacks: https://blog.hboeck.de/archives/872-About-the-supposed-factoring-of-a-…
What they could do: check against databases of public keys to see if your key is weakened by such attacks.
vetrom · 2015-05-26
That's a GIMP'd up version of the 1st gen Lenovo Thinkpad x1, or some knockoff build.
You can tell from some hints of red highlight on the trackpad where the buttons on the old X1 are.
Other indicators are the keycaps, webcam position, and screen rim being identical to the X1.
There's also the oddly clipped fingerprint reader off on the right side, and the fact that the X1 has a somewhat unique profile. Here's a comparison picture of one not shooped up: https://blog.hboeck.de/uploads/x1carbon.jpg
wfn · 2015-05-18
> Still think it was 'cosmic rays' on SKS's machines?
Just FYI, this kind of stuff seems to have been done before, with vulnerable keys found:
https://eprint.iacr.org/2012/064.pdf (2012),
https://factorable.net/
(these two are mentioned and linked to from https://blog.hboeck.de/archives/872-About-the-supposed-factoring-of-a-…
And (off-topic) if you are wondering why some of your recent comments are being downvoted so much, it's probably because of the tone (saying things such as "good job repeating my research" when work of the same kind with results of the same kind had been done before (see above.))
Still an interesting result and curious re. SKS servers (not) checking subkeys etc...
also https://news.ycombinator.com/item?id=9562170
mikemaccana · 2015-03-16
Mike here using old openid account, as I'm replying too fast.
The CA handles the verification, hence the difference in price. Symantec/Verisign is the most expensive, Digicert is in the middle, Comodo and the Symantec budget brands are the cheapest.
As mentioned elsewhere, I do have code written against the Comodo API, and it would be a lot more profitable to use them. However I (and the tech companies I'm targeting, eg, Stripe, GitHub) use Digicert certs, mainly for reasons of verification speed but also business practice compared to competitors, eg, Comodo: https://blog.hboeck.de/archives/866-PrivDog-wants-to-protect-your-priv…
uaygsfdbzf · 2014-12-20
Your article about that:
https://blog.hboeck.de/archives/863-Dont-update-NTP-stop-using-it.html
stefantalpalaru · 2014-07-12
Here's the experience of a Gentoo developer: https://blog.hboeck.de/archives/851-LibreSSL-on-Gentoo.html
Anthony-G · 2017-06-02
Wikipedia has a good description on what OCSP Stapling is[1] and how it works. When I read the Apache projects' WONTFIX reason, I presumed that it was related to how plain OCSP requires the client to "phone home" in order to check whether a certificate has been revoked or not – which has implications for the privacy of the browser.
However, now that I know OCSP Stapling works (the web server caches and proxies time-stamped OCSP responses that are signed by the CA), the Apache position is much less reasonable. As a Let’s Encrypt user, I “phone home” every couple of months to renew my X.509 key and certificate. That’s not a privacy concern for me or anyone else who happens to browse my site.
I also found a good article by Hanno Böck[2] which provides more details on how OCSP Stapling is thoroughly broken on Apache as described by tialaramex).
[1] https://en.wikipedia.org/wiki/OCSP_stapling
[2] https://blog.hboeck.de/archives/886-The-Problem-with-OCSP-Stapling-and…
chubot · 2016-04-13
I'm pretty impressed by ASAN (and MSAN, UBSAN, etc.) It catches uses after free trivially, as long as you have unit tests, which I always do.
I wonder at the cost of these 2 strategies, for the huge legacy of C/C++ infrastructure we have:
1) refactoring it to be testable, adding unit tests, adding test coverage automation, adding ASAN/MSAN builds, etc. (LLVM is a game changer IMO in addition to C++ 11; things have changed so much in the last 5 years)
2) rewriting it in Rust
I'm not claiming anything specific, but #2 seems strictly more expensive, since you still need unit tests for logic bugs anyway (and yes I have written OCaml and get that you can replace control flow with typed data, etc.) #1 also has a straightforward migration path.
More to the point, most open source software has TERRIBLE test hygiene. If they don't even have time to write tests, I wonder how they will have time to rewrite in Rust.
I'm all for new software in Rust, but I'm thinking about all of Linux user space, web servers, web browsers, every programming language implementation, etc.
Also, fuzzing can be combined with ASAN.
https://blog.hboeck.de/archives/868-How-Heartbleed-couldve-been-found.…
Yes it would be better to know these things statically and not dynamically, and I'm glad that Rust has innovated in this space.
masamune__ · 2015-03-19
Actually, libressl is practical drop-in replacement of openssl if you use only sane parts of openssl's functionality.
Biggest problem now is some upstream softwares still depends on insanity Openbsd devs nuked away, like RAND_egd() or won't admit that libressl actually exist :)
(https://devsonacid.wordpress.com/2014/07/12/how-compatible-is-libressl… https://blog.hboeck.de/archives/851-LibreSSL-on-Gentoo.html)
But situation is changing as more and more upstream developers abandon those APIs : https://github.com/gentoo/libressl/blob/master/README.md
And I guess this is cool thing about libressl: even if it fails to replace openssl for real good, it is still forcing others to advance toward right direction (remember the linux fork fuss last year? You can disagree with me but I myself consider it linux's 'fault' not to have consistent mechanism of extracting entropy....it doesn't have to be arc4random but it could have been better in the first place if this IMO)