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

    Naked Security

    nakedsecurity.sophos.com · Company blog · on HN since 2010

    Sophos's Naked Security blog explains security incidents, bugs, and best practices in plain terms, covering SSL, passwords, and certificates.

    Visit blogHN submissions
    SecurityProgramming
    What HN says

    HN links it mainly for its explanation of Apple's "goto fail" bug, which commenters cite as a reason to always brace one-line ifs.

    Stats for nerds
    740HN people shared it
    755linked in comments
    9Kstory points
    Mar 2023last shared
    2011people per year2023

    Top posts on HN

    1. 1
      Serious Chrome zero-day
      1 person · 732 points · first shared 2019 · 356 comments on HN
    2. 2
      NIST’s new password rules – what you need to know
      10 people · 516 points · first shared 2016 · 229 comments on HN
    3. 3
      Famous cryptographers’ tombstone cryptogram decrypted
      2 people · 410 points · first shared 2018 · 35 comments on HN
    4. 4
      Firefox takes a bite out of the canvas ‘super cookie’
      1 person · 383 points · first shared 2017 · 130 comments on HN
    5. 5
      Scammers deepfake CEO’s voice to talk underling into $243k transfer?
      2 people · 322 points · first shared 2019 · 129 comments on HN
    6. 6
      Anatomy of a pseudorandom number generator – visualising Cryptocat's buggy PRNG
      4 people · 265 points · first shared 2013 · 118 comments on HN
    7. 7
      Australians who won't unlock their phones could face ten years in jail
      1 person · 229 points · first shared 2018 · 163 comments on HN
    8. 8
      Facebook reveals friends list even when it’s set to private
      1 person · 228 points · first shared 2013 · 60 comments on HN
    9. 9
      Microsoft Azure data deleted because of DNS outage
      1 person · 217 points · first shared 2019 · 84 comments on HN
    10. 10
      Fake femme fatale dupes IT guys at US government agency
      2 people · 180 points · first shared 2013 · 92 comments on HN

    What HN people wrote when they linked it

    • 1vuio0pswjnm7Sep 2022

      It is possible to create customised UNIX-like OS with custom kernels, read-only filesystems (mounted images) and writable directories mounted as tmpfs, booting from removable USB. Some call this "diskless". There are some drawbacks from using USB media such as lack of a good randomness source on boot but there are many advantages. Kernels and filesystems are just single files on the USB media and can be easily switched/updated. The system stays "clean". It is "like new" on every reboot. I was doing this with a netbook long before the so-called "Chromebook" came along.^1

      The problem with Chromebooks is that they are designed to try to get people to "log in" to Google and to use "the [Google] cloud" for storage. Chromebooks in Guest Mode have an array of Google-authored daemons running the the background from read-only media. There is no way to disable them. You cannot even change the options passed to Chrome, e.g., to disable "Origin Trials". This setup is great if you love everything Google, but not great if you just like computers, you bought the computer for the hardware and drivers, and prefer to choose your own software. With these Google programs always running in the background, it means you do not have ultimate control over the computer, Google does. Another annoying thing is that ChromeOS, as well as Chrome, is a WIP. It is constantly changing. For example, bluetooth may be working fine and then suddenly there is an "automatic update" that breaks it. …

    • sillysaurusxMar 2023

      I'm a little confused with your response, or we appear to be talking past each other.

      For context, I'm a former pentester (NCC Group, formerly Matasano). I've been an ML researcher for four years now, so it's possible I have a unique perspective on this; the combination of pentester + ML is probably rare enough that few others have it.

      > You cannot inject a valid-looking system message from user text.

      https://greshake.github.io/ did exactly that. (HN discussion: https://news.ycombinator.com/item?id=34976886)

      Take a look at this screenshot: https://greshake.github.io/resources/demo.png

      Now, I understand it's possible that Bing was using an older version of your ChatML format, or that they did something dumb like inserting website data into their system prompt.

      But you need to anticipate that users will do dumb things, and I strongly recommend that you prepare them with some basic security recommendations.

      If the Bing team can screw it up, what chance does the average company have?

      I suspect what happened is that they insert website data into the system text, to give Bing context about websites. But that means that the attack wasn't coming from user text -- it was coming from system text.

      I.e. the system text itself tricked system to talk like a pirate.

      This is known as a double-escaping problem in the pentesting world, and it pops up quite a lot. In this case, an attacker was able to break out of the sandbox by inserting user-supplied text (website data) into an…

    • vlmutoloDec 2021

      The "goto fail" bug isn't a great example; Rust actually does specifically guard against this by requiring curly braces around the body of "if".

      Here's an explanation of "goto fail", which includes a code snippet.

      https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-goto-fail-apples-ssl-bug-explained-plus-an-unofficial-patch/

      If C conditionals required explicit braces around the body, the second fail would have been redundant code instead of a security vulnerability.

      Additonally, Rust will warn you if you have "unreachable" code, such as all the code after the unconditional "goto fail". Though, I'm sure modern C compilers would also warn about this.

      All that said, Rust definitely does have plenty of bug classes left for people to trip over. Integer under/overflows come to mind (though they're just logic errors instead of undefined behavior).

    • Terry_RollNov 2021

      Not disputing what you say, but mistakes do happen to the best of us.

      http://sunnyday.mit.edu/accidents/Ariane5accidentreport.html
      and yet again another OpenSSL bug , another flaw in the open source fallacy of many eyes to spot bugs...
      https://nakedsecurity.sophos.com/2021/03/28/serious-security-openssl-fixes-two-high-severity-crypto-bugs/

      plus when considering in maths there are ways to rearrange formulas including new discoveries like this one (a new way to do quadratic equations)
      https://news.ycombinator.com/item?id=29342161
      https://www.sciencealert.com/math-genius-finally-discovers-easy-way-to-solve-quadratic-equations-after-4-000-years

      I wonder if discovering a new way to do things could be done to cryptographic algorithms.

    • jraboneJan 2012

      Link in the article comments to http://nakedsecurity.sophos.com/2011/09/21/microsoft-dumps-partner-telephone-support-scam/ is worth reading. Amazing that someone would have the balls to try this, but I suppose there are no penalties for what amounts to abuse of privileges. I know MS tightened up on some aspects of the partner scheme (presumably to stop everyone and his dog using it as a way to get free copies of Windows).

      So, who owns Comantra? There needs to be an international register of people unfit to own companies, or whose companies one shouldn't do business with. In the UK, Companies House records the really bad guys who've managed to get struck off as directors, but this kind of scam needs to get you on a little list too.

    • paulddraperSep 2017

      It's weird, and even harmful in many cases.

      A modern goto of sorts: it has performance benefits [1], but not overall readability ones.

      switch (x) {
      case 0:
      doThing1();
      break;
      case 1:
      doThing2();
      break;
      default
      doThing3();
      }

      vs

      if (x == 0) {
      doThing1();
      } else if (x == 1) {
      doThing2();
      } else {
      doThing3();
      }

      This somewhat unsafe form of switch-case made it into C, Java, C#, and JavaScript, and cases the great iOS SSL bug of 2014. [2]

      [1] https://en.wikipedia.org/wiki/Duff%27s_device

      [2] https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-goto-fail-apples-ssl-bug-explained-plus-an-unofficial-patch/

    Related

    Mozilla Blogblog.mozilla.org2.2k people

    Firefox Send: Free encrypted file transfer service

    Mozilla Blog
    Company · last shared 2026
    Graham Cluleygrahamcluley.com151 people

    49% of workers, forced to change passwords, reuse same one with minor change

    Graham Cluley
    Personal · last shared 2025
    Google Online Security Bloggoogleonlinesecurity.blogspot.com225 people

    No More Deceptive Download Buttons

    Google Online Security Blog
    Company · last shared 2016
    Google Security Blogsecurity.googleblog.com680 people

    Announcing the first SHA-1 collision

    Google Security Blog
    Company · last shared 2026
    Errata Securityblog.erratasec.com357 people

    Extracting the SuperFish certificate

    Errata Security
    Personal · last shared 2025
    Let's Encrypt Blogletsencrypt.org636 people

    Let's Encrypt Root Trusted by All Major Root Programs

    Let's Encrypt Blog
    Company · last shared 2026
    Sophos Newsnews.sophos.com55 people

    ‘Fleeceware’ apps overcharge users for basic app functionality

    Sophos News
    Company · last shared 2025
    Soatoksoatok.blog131 people

    The insecurity of telecom stacks in the wake of Salt Typhoon

    Soatok
    Personal · last shared 2026