The push for crypto without ecc ram is a nonstop horror show. Software under normal circumstances is remarkably resilient to having its memory corrupted. However crypto algorithms are designed so that a single bit flip effectively changes all the bits in a block. If you chain blocks then a single bit flip in one block destroys all the blocks. I've seen companies like msps go out of business because they were doing cr…
In my younger days I worked in customer support for a storage company. A customer had one of our products crash (kernel panic) at a sensitive time. We had a couple of crack engineers I used to hover around to try to pick up gdb tricks so I followed this case with interest—it was a new and unexpected panic. Turns out the crash was caused by the processor taking the wrong branch . Something like this (it wasn’t Intel b…
Single random bit flip causes error in certificate transparency log
231–240 of 258 posts
Re: Single random bit flip causes error in certificate transparency log
#232Re: Single random bit flip causes error in certificate transparency log
#233OP here. Unless you work for a certificate authority or a web browser, this event will have zero impact on you. While this particular CT log has failed, there are many other CT logs, and certificates are required to be logged to 2-3 different logs (depending on certificate lifetime) so that if a log fails web browsers can rely on one of the other logs to ensure the certificate is publicly logged. This is the 8th log…
Is it possible to give an example other than “cosmic ray”? I know it’s an informal short hand, but it also raises the question of what’s actually causing these flips. Is it just random stray electrons that happen to stray too far while traveling through the RAM? Very interesting to me.
Re: Single random bit flip causes error in certificate transparency log
#234Earlier quoted context omitted.
In my younger days I worked in customer support for a storage company. A customer had one of our products crash (kernel panic) at a sensitive time. We had a couple of crack engineers I used to hover around to try to pick up gdb tricks so I followed this case with interest—it was a new and unexpected panic. Turns out the crash was caused by the processor taking the wrong branch . Something like this (it wasn’t Intel b…
I saw a kernel panic because of this _yesterday_. (Crash where the failing instruction in memory was 1 bit different from on disk.)
Re: Single random bit flip causes error in certificate transparency log
#235The design of bitcoin prevents such an error, since all other nodes in the network verify everything. I wonder if the CT log should have been more like that...?
Re: Single random bit flip causes error in certificate transparency log
#236Earlier quoted context omitted.
Not handling corrupted data is kind of the point of cryptographic authentication systems. Informally and generally, the first test of a MAC or a signature of any sort is to see if it fails on arbitrary random single bit flips and shifts. The protocol here seems to have done what it was designed to do. The corrupted shard has simply been removed from service, and would be replaced if there was any need. The ecosystem…
So... Yeti isn't broken then? Seems like the protocol does handle it? Seems like there's some confusion on this point in this thread.
Re: Single random bit flip causes error in certificate transparency log
#237Earlier quoted context omitted.
It doesn't really matter whether they have if (launch1 && launch2 && launch3) { launch(); } either because a single bit flip (of the code) could still cause a launch. You'd hope that it was at least stored in ROM and that ECC ensures that even if such a bit flips it does not lead straight to Armageddon. There are some 'near miss' stories where a single switch made all the difference: https://www.theatlantic.com/techn…
It should in-principle be possible to write a branch where the code itself is single-bit-error resistant, in pseudo-machine-code something like: LOAD [launch1] COMPARE 0x89abcdef JUMP_IF_NOT_EQUAL [fail_label] LOAD [launch2] COMPARE 0x01234567 JUMP_IF_NOT_EQUAL [fail_label] LOAD [launch3] COMPARE 0xfedcba98 JUMP_IF_NOT_EQUAL [fail_label] BRANCH [launch_label] You also need to ensure that launch_label and the location…
Re: Single random bit flip causes error in certificate transparency log
#238Bit rot is real. Last month we’ve had weird linker errors on one of our build servers. Turns out that one of the binary libs in the build cache got a single bit flipped in the symbol table, which changed the symbol name, causing the linker errors. If the bit-flip had occured in the .TEXT section, then it wouldn’t have caused any errors at build time, and we would have released a buggy binary. It might have just crash…
I’ve had a case where a bit flip in a TCP stream was not caught because it happened in a Singapore government deep packet inspection snoop gateway that recalculated the TCP checksum for the bit-flipped segment: https://blog.majid.info/telco-snooping/
Re: Single random bit flip causes error in certificate transparency log
#239Earlier quoted context omitted.
I saw a kernel panic because of this _yesterday_. (Crash where the failing instruction in memory was 1 bit different from on disk.)
Sounds like a regular RAM bitflip, doesn't it?
Re: Single random bit flip causes error in certificate transparency log
#240Earlier quoted context omitted.
So... Yeti isn't broken then? Seems like the protocol does handle it? Seems like there's some confusion on this point in this thread.
I think Yeti2022 is just the name for one instance of the global CT log? Nick Lamb could probably say more about this; I understand CT mostly in the abstract, and as the total feed of CT records you surveil for stuff.