News for hackers. Stuff that matters.
Re:Essential Phone, available now by pjc50 on Friday August 18, 2017 @09:38AM (#15045966)
http://sharps.org/wp-content/uploads/BECKER-CHES.pdf is probably the state of the art here. It's basically undetectable.

"Instead of adding additional cir- cuitry to the target design, we insert our hardware Trojans by changing the dopant polarity of existing transistors. Since the modified circuit ap- pears legitimate on all wiring layers (including all metal and polysilicon), our family of Trojans is resistant to most detection techniques, includ- ing fine-grain optical inspection and checking against “golden chips”. We demonstrate the effectiveness of our approach by inserting Trojans into two designs — a digital post-processing derived from Intel’s cryp- tographically secure RNG design used in the Ivy Bridge processors and a side-channel resistant SBox implementation — and by exploring their detectability and their effects on security"

Re:Essential Phone, available now by exikyut on Friday August 18, 2017 @10:31AM (#15046493)
* Sound of groaning *

Thanks. But ugh. That is both absolutely amazing and... well, what did I expect. Of course there are going to be process attacks :)

Hmmm. I guess the only defenses against this are

- trying to design the layout to get good "route coverage" via test routines (sounds hard)

- aiming for super-simple designs that make it difficult to constructively alter the design (pathological simplicity is one part of my idea; yet to determine viability)

- trusting the fab (ha!)

I wonder if using a huge process like ~30nm (or even bigger) would mitigate at all.

Edit: Small work fixes, added sentence

Re:Essential Phone, available now by pjc50 on Friday August 18, 2017 @11:58AM (#15047317)
It's much easier to just trust the fab. TSMC do not care about backdooring your hobby project.

If you really want to carry on down this route, I would say the most effective approach would be to regard fab interference as a strange form of "single event upset", and borrow high-availability techniques such as lock-step mode across duplicated processors or subsystems.

Re:Essential Phone, available now by exikyut on Saturday August 19, 2017 @07:26AM (#15052789)
Interesting. I'm curious, what sort of cost level would someone need to be looking at to mount an attack like the BECKER-CHES one? It would be really cool to be able to say "this would be secure until an attacker starts spending $(X?)XXX,XXX." Everything's vulnerable, step 1 is to have a good idea of how vulnerable.

Lock-step sounds interesting but really really hard - the basis of my idea is security through simplicity, and packing everything onto the one chip so only signed encrypted data comes out. Breaking the design down so that lock-stepped processors would reveal tampering would probably violate integrity and likely have blind spots too.