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
    D

    Defuse Security

    defuse.ca · Personal blog · on HN since 2012

    Taylor Hornby, a security researcher, publishes audits of encryption tools such as EncFS and eCryptfs, plus essays and small online tools like an x86 assembler.

    Visit blogHN submissions
    SecurityOpen Source & Linux
    What HN says

    HN commenters link it for the secure code delivery essay, the online x86 assembler, and its encrypted filesystem audits.

    Stats for nerds
    61HN people shared it
    25linked in comments
    293story points
    Nov 2025last shared
    2014people per year2025

    Top posts on HN

    1. 1
      EncFS Security Audit
      16 people · 88 points · first shared 2014 · 43 comments on HN
    2. 2
      ECryptfs Security Audit
      5 people · 77 points · first shared 2014 · 61 comments on HN
    3. 3
      Triangle of Secure Code Delivery (2014)
      7 people · 39 points · first shared 2014 · 6 comments on HN
    4. 4
      TrueCrypt's Plausible Deniability is Theoretically Useless (2013)
      6 people · 34 points · first shared 2014 · 31 comments on HN
    5. 5
      Bochs Hacking Guide (2014)
      1 person · 20 points · first shared 2015 · 1 comments on HN
    6. 6
      Microsoft visits links you send in Skype
      2 people · 7 points · first shared 2014 · 1 comments on HN
    7. 7
      Advice to Aspiring Computer Security Engineers/Scientists
      1 person · 6 points · first shared 2015 · 4 comments on HN
    8. 8
      Encrypted Pastebin - Keep your data private and secure
      3 people · 4 points · first shared 2013 · Discussion on HN
    9. 9
      A Plausible Reason It's So Hard to Prove P =NP
      1 person · 4 points · first shared 2022 · Discussion on HN
    10. 10
      Gocryptfs Security Audit
      3 people · 3 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • xscottMay 2022

      > EAX is not available in addresses.

      Is this a relevant correction? If there is a point, ignore the following.

      You seem to like the ATT syntax, which I avoid whenever I can. However, if there isn't a specific point, and we're just being pedantic or having a pissing match, copy the following:

      mov rbx, [rax + 4*rax]
      mov rbx, [eax + 4*eax]

      movss xmm0, [rax + 4*rax]
      movss xmm0, [eax + 4*eax]

      into https://defuse.ca/online-x86-assembler.htm with the x64 option enabled. Your original example had float, so I included that as well. They all assemble, and the difference is in the REX prefix.

      I haven't looked at it in a few years, and I've forgotten a lot of details, but I wrote my own x86-64 assembler for fun. And of course, like most assemblers, I improvised my own syntax and naming convention. In particular, I didn't make a distinction between EAX and RAX (or AX or ALO). To me, it's just register A, and I gave the opcodes more descriptive names to indicate the bit width.

      I figure if gas can do something like ATT syntax, I can do my own my way.

    • mhogomchunguOct 2016

      VeraCrypt's on-disk format is NOT compatible with TrueCrypt's on-disk format,they are two totally different things and must be handled differently.

      VeraCrypt binary application can unlock TrueCrypt volumes but CAN NOT create them.The application has a setting to default to TrueCrypt volumes and hence if all you do is unlocking your TrueCrypt volumes,you can conveniently use VeraCrypt to unlock your TrueCrypt volumes.

      I think it will be better if you switch to VeraCrypt and set this option.Alternative "native linux" tool you could use to manage your TrueCrypt volumes in linux is zuluCrypt[3].

      EncFS has its own issues[1] and there are a number of new projects that seeks to replace it and SiriKali[2] is a GUI tool to manage all these newer tools.

      [1] https://defuse.ca/audits/encfs.htm

      [2] https://mhogomchungu.github.io/sirikali/

      [3] http://mhogomchungu.github.io/zuluCrypt/

    • dsp_personDec 2024

      An example where auditors not having the threat model did not help the audit: https://defuse.ca/audits/gocryptfs.htm

      > We believe the reason these vulnerabilities exist is because gocryptfs doesn’t have a clearly spelled-out threat model. Some of the attacks seem hard to avoid given gocryptfs’s performance goals and may have been introduced “by design” to meet these goals. We suggest writing down an explicit threat model and updating the website to better communicate the security guarantees that gocryptfs provides. This way, users are less likely to rely on it in ways which would make them vulnerable.

      Later established: https://nuetzlich.net/gocryptfs/threat_model/

    • sarciszewskiJul 2015

      You found the exception! Congratulations!

      You're using a bucket size which is a power of 2. A random byte fits on the interval of [0, 255] which is evenly distributed modulo 256, which if you reduce mod 2^N for 1 < N < 8 will still produce a uniform distribution.

      If you copied my JS code into your console and changed the 54 to 64 the bias evaporates. Hooray :D

      However, for arbitrary ranges, you should use an unbiased selection strategy to ensure a uniform distribution.

      http://3v4l.org/EgfPR - notice 0 is significantly more common than the other values when reduced mod 17

      http://3v4l.org/LXmKq - same with mod 15

      https://defuse.ca/generating-random-passwords.htm

    • some_furryAug 2019

      > 1) We should absolutely work towards allowing developers to sign their JavaScript.

      I've already been working on this for my own projects. It might be something that can be generalized for all Electron projects.

      https://github.com/soatok/libvalence

      https://github.com/soatok/valence-updateserver

      https://github.com/soatok/valence-devtools

      This uses Ed25519 signatures and an append-only cryptographic ledger to provide secure code delivery. The only piece it's currently missing is reproducible builds.

      For greater context: https://defuse.ca/triangle-of-secure-code-delivery.htm

    • exo762Jul 2022

      Details are described in audit that was performed for gocryptfs: https://defuse.ca/audits/gocryptfs.htm

      > Against a less-powerful active adversary who can modify the ciphertexts but has no access to the mounted filesystem, gocryptfs keeps file contents secret and provides imperfect integrity protection. In at least one case, imperfections in the integrity protections lead to a break of confidentiality. It is possible that the integrity imperfections lead to further confidentiality breaks depending on which applications are using the filesystem.

    Related

    Adam Caudilladamcaudill.com29 people

    Bitcoin is a Cult

    Adam Caudill
    Personal · last shared 2026
    CryptoFailscryptofails.com32 people

    Telegram’s Cryptanalysis Contest

    CryptoFails
    Publication · last shared 2025
    Paragon Initiative Enterprises Blogparagonie.com73 people

    JSON Web Tokens should be avoided

    Paragon Initiative Enterprises Blog
    Company · last shared 2026
    WeLiveSecuritywelivesecurity.com206 people

    LoJax: First UEFI rootkit found in the wild, courtesy of the Sednit group

    WeLiveSecurity
    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
    Trail of Bits Blogblog.trailofbits.com278 people

    RSA is a fragile cryptosystem

    Trail of Bits Blog
    Company · last shared 2026
    Put.asreverse.put.as49 people

    Abusing Go's Infrastructure

    Put.as
    Personal · last shared 2025
    Latacoralatacora.micro.blog112 people

    Stop Using Encrypted Email

    Latacora
    Company · last shared 2024