Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Trail of Bits Blog

    blog.trailofbits.com · Company blog · on HN since 2008

    Trail of Bits, a security research and consulting firm, writes about cryptography, program analysis, VPN tooling, and smart contract audits.

    Visit blogHN submissions
    SecurityCryptoOpen Source & Linux
    What HN says

    Commenters rank its audits among the best for cryptographic systems and smart contracts, and recommend its smart contract work to anyone interested in pentesting.

    Stats for nerds
    278HN people shared it
    467linked in comments
    12Kstory points
    Aug 2026last shared
    2011people per year2026

    Top posts on HN

    1. 1
      RSA is a fragile cryptosystem
      21 people · 1K points · first shared 2019 · 341 comments on HN
    2. 2
      Our audit of Homebrew
      2 people · 849 points · first shared 2024 · 184 comments on HN
    3. 3
      Weaponizing image scaling against production AI systems
      1 person · 494 points · first shared 2025 · 131 comments on HN
    4. 4
      Stranger Strings: An exploitable flaw in SQLite
      2 people · 337 points · first shared 2022 · 139 comments on HN
    5. 5
      Apple can comply with the FBI court order
      14 people · 328 points · first shared 2016 · 207 comments on HN
    6. 6
      How we applied fuzzing techniques to cURL
      1 person · 305 points · first shared 2024 · 58 comments on HN
    7. 7
      The cryptography behind passkeys
      1 person · 276 points · first shared 2025 · 263 comments on HN
    8. 8
      Getting 2FA Right in 2019
      2 people · 260 points · first shared 2019 · 217 comments on HN
    9. 9
      Microsoft didn’t sandbox Windows Defender, so I did
      3 people · 259 points · first shared 2017 · 51 comments on HN
    10. 10
      A deep dive into Linux's new mseal syscall
      1 person · 252 points · first shared 2024 · 54 comments on HN

    What HN people wrote when they linked it

    • ohmDec 2022

      Usually good consulting companies would hire former SWE that wants to switch to security. During interviews, basic security questions are asked, most are covered under security+ certification. But companies might skip asking them and instead ask SWE code related security questions instead. Such as how to prevent OWASP top 10 vulnerabilities. Most of the major ones are covered here https://cheatsheetseries.owasp.org/Glossary.html

      Code review job would involve running commercial tool such as checkmarx or fortify and then reporting on issues that tool finds.

      For web application testing these two sites are a good start. https://portswigger.net/training and https://www.pentesterlab.com/pro
      Most web app testing is performed using this guide https://owasp.org/www-project-web-security-testing-guide/
      Hands on is the best way to learn web app testing.

      Companies give you 24-48 hours to test vulnerable web app. After you send them report with findings if they like they have final interview round.

      Some of the better companies are ncc group, bishop fox, nettitude, google certified security companies and others. You can find them as sponsors on security meetups like bsides.

      Some of the more technical ones are https://cure53.de/#publications. You can read their reports. Also https://www.trailofbits.com/

      As for pay it’s decent but the ceiling is lower than SWE. Entry level positions usually make below 100, senior low 100, manager mid 100 and more senior positions are around 200. After…

    • CarpaDoradaNov 2024

      This is an anonymous blog, and the author conceals their identity, which is already an issue for me. Let's look at the alternatives to PGP that the blog recommends, I will paraphrase:

      1) Sign software with sigstore.dev

      The issue here is that you delegate trust to places like GitHub or other OIDC providers. You also have to trust Fulcio and their CAs. <https://docs.sigstore.dev/about/security/> for details. Maybe you don't want to do that, in part because you're not guaranteed that the service will remain free, or perhaps you're more serious about security than GitHub.

      1-alt) Sign software with minisign.

      Maybe I don't want to use Ed25519. Maybe I want to revoke the signatures. There's many issues one may have with minisign.

      2) Signing git tags/commits

      Advises to use SSH, no explanation why. Advises Ed25519, why not Ed448? The explanation to not use RSA is by linking to <https://blog.trailofbits.com/2019/07/08/fuck-rsa/>. I will only quote one thing from this article:

      >RSA was an important milestone in the development of secure communications, but the last two decades of cryptographic research have rendered it obsolete.

      You can't say it is obsolete when it is still in use. I'm not sure what the author(s) mean by "obsolete", but it is not true that RSA is obsolete. (If Ed25519 breaks but RSA doesn't, who will be obsolete?)

      3) Sending files between computers

      Here it recommends Magic Wormhole. That's shocking to me, I don't understand why it is recommended. Why not…

    • tptacekJan 2017

      I don't know what "(at best) research level stuff" means. Here's a well-regarded LLVM lifter by a very well-regarded vuln research team that's open source:

      https://blog.trailofbits.com/2014/08/07/mcsema-is-officially-open-source/

      There are a bunch of other lifters, not all of them to LLVM.

      Already, with the idea of IR lifting, we're at a point where we're no longer talking about reading assembly but rather a higher-level language. But this leaves out tooling that can analyze IR (or, for that matter, assembly control flow blocks).

      Someone upthread stridently declared that analyzing one version of a binary in isolation was hard enough, but that the work of looking at every version was "staggering", "capital-h Hard". But that problem is in some ways easier than basic reverse engineering, which is why security product companies and malware research teams have teams of people using BinDiff-like tools to do it. "BinDiff" is a deceptive name; "Bin" refers to compiled binaries, because the tools work based on graph comparisons of program CFGs.

      Part of the problem I have talking about this stuff is that this isn't really my area of expertise --- not in the sense that I can't reverse a binary or use a BinDiffing tool, because most software security people can, myself included, but in the sense that I'm describing the state of the art as of, like, 6 years ago. I'm sure the tooling I'm describing is embarrassing compared to what our field has now.

      Open vs. closed source is an…

    • collingreeneAug 2014

      Maybe you just enjoy hyperbole but while part of what you say is correct (finding security vulns in software is unavoidably a bit of a crapshoot) your conclusions are wrong.

      Finding deep, serious vulns like this in software can currently only be done by human beings. Tools are better at being authoritative but can only find vulns of a given type. For example static analysis is a great fit for any vuln that boils down to a dataflow problem, user controlled source -> ... -> dangerous sink. XSS, sql injection, etc fit this model. Fuzzers are great at finding bugs in parsers (and there are a surprising amount of parsers in the world, 90% of which should never have been written). Instrumented dynamic analysis can do awesome work for memory issues. I explain all this to show there are areas where tools are fantastic for their area. But there are many areas for which tools cannot help at all, heartbleed was one of these areas.

      The best security tools available were (presumably) run across openssl before and (certainly) with increased scrutiny after heartbleed. None of them found it. Simple limitations in static analysis lead me to believe they would never have found it on their own (most static analysis tools stop at 5 levels of indirection) Some background:

      1. http://blog.trailofbits.com/2014/04/27/using-static-analysis-and-clang-to-find-heartbleed/
      2. http://security.coverity.com/blog/2014/Apr/on-detecting-heartbleed-with-static-analysis.html
      3.…

    • woodruffwJan 2023

      "Cybersecurity research" is a very large domain, so it's hard to offer a wholly encompassing answer here! The company I work for[1] does a great deal of program analysis research, primarily in and around the LLVM ecosystem. Other companies/groups in our domain(s) include Galois, Inria, and GrammaTech.

      In terms of working in our domain: we frequently find it difficult to hire for pre-existing compilers or program analysis skills (it's a small community!), so we generally long for strong engineers with security/low-level fundamentals who don't mind making a pivot.

      As for how the job is: I personally find it very fulfilling, but it definitely contains a degree of uncertainty (particularly when doing government-funded research) that ordinary SWEs/SREs may not be used to. I've noticed that it takes new hires a decent amount of time to acclimate and become comfortable with the idea of research engineering, meaning engineering where we expect less than 100% of all exploratory avenues to have productive outcomes. This can be a large culture shock compared to typical engineering, where tasking is defined primarily by business requirements that don't contain a large degree of uncertainty or ambiguity in terms of implementation approach.

      [1]: https://www.trailofbits.com/

    • tfinnigaMar 2016

      That's a good point that I was assuming it would be difficult. I've since done a little bit of reading up on what we know about how difficult it would be.

      This is the best writeup I found: http://blog.trailofbits.com/2016/02/17/apple-can-comply-with-the-fbi-court-order/

      So, you'd need an update to iOS/the phone firmware, and for newer devices you'd also need an update to the secure enclave firmware. You can't do anything about the 80ms delay, because that's baked into the hashing function (and changing the hashing function would generate invalid results). The FBI is also asking for the ability to enter passcodes electronically rather than via the touchscreen, which would be new code.

      If iOS and the SE firmware are really nicely factored to disable security, and it's not hard to add the new functionality, then this might not be too much work. However I doubt that that is going to be the case. The whole point of the security system is to make it difficult to crack, so there might be other countermeasures involved, tricky dependencies, and low-level hardware hackery. If it were simple to do, why wouldn't it have already been done by others reverse-engineering the compiled code? There is certainly financial motivation to do so.

    Related

    Summit Routesummitroute.com19 people

    AWS Security Maturity Roadmap [pdf]

    Summit Route
    Company · last shared 2022
    Daniel J. Bernsteinblog.cr.yp.to144 people

    NSA, NIST, and post-quantum crypto: my second lawsuit against the US government

    Daniel J. Bernstein
    Personal · last shared 2026
    Google Bug Hunters Blogbughunters.google.com71 people

    How we found and fixed an eBPF Linux kernel vulnerability

    Google Bug Hunters Blog
    Company · last shared 2026
    Kudelski Security Researchresearch.kudelskisecurity.com52 people

    How we exploited CodeRabbit: From simple PR to RCE and write access on 1M repos

    Kudelski Security Research
    Company · last shared 2025
    Calif Blogblog.calif.io28 people

    Dissecting LockBit v3 Ransomware

    Calif Blog
    Company · last shared 2026
    AgileBits Blogblog.agilebits.com147 people

    1Password Travel Mode: Protect your data when crossing borders

    AgileBits Blog
    Company · last shared 2018
    Google Online Security Bloggoogleonlinesecurity.blogspot.com225 people

    No More Deceptive Download Buttons

    Google Online Security Blog
    Company · last shared 2016
    Cody Brownmedium.com/@codybrown25 people

    How to lose $8k worth of Bitcoin in 15 minutes with Verizon and Coinbase.com

    Cody Brown
    Personal · last shared 2021