by nonrandomstring · 3y ago · 0 comments
Anyone who remembers old-skool EPROMS will know what I mean.
When doing my VLSI course at UCL in the 1980s we all had to make a "chip". Mine was a 16 bit counter with ripple adder and accumulator.
And we had them fabbed (yes probably unbelievable in this day and age) and had to test them on the lab bench!
BTW I'm not talking about FPGA here. We actually had a class visit to the fab-plant and put on bunny suits to go into a level-3 clean area and look at our UV masks in the projector room.
So, obviously to save money, all the class had a little bit of silicon real-estate and some shared tristate registers that we could access our design through with our own address space.
Now my point is; that when the chips were delivered we were all super excited. We looked at our silicon through a high power bench microscope. Everyone had signed their name (initials) in silicon next to their plot on the die. I remember marvelling at the smallest writing I had ever done in my life!
So, here's part of how you make semi-secure hardware.
Hardware you can actually look at using a simple lab microscope, no need for x-rays etc.
Just sample randomly from the wafers and have those packaged in quartz, while 99% of the rest are normally packaged in opaque resin/ceramic. Make the randomly sampled wafers available for public inspection.
[1] https://tinytapeout.com/ No affiliation, but participated in an earlier run.
https://explorecourses.stanford.edu/search?view=catalog&filt...
That’s just the one I’m familiar with. I know there are others.
Mostly they use MPWs now though so one can’t visit the site. But the price is pretty low. One can get ~100 qty 10 mm^2 packaged parts for maybe $20K
https://grainger.illinois.edu/news/stories/composing-the-fut...
But once circuitry gets more complicated and chips become more integrated you can do just that because the only thing that would need to change is the contents of one single chip.
There was a big scare around small components used to insert new code into target machinery:
https://www.bloomberg.com/news/features/2018-10-04/the-big-h...
But that - if true - mostly hinged on being able to dynamically alter the software loaded into a high level design where the purpose, wiring diagram and target were intimately known to the attackers, all they had to do was engage in camouflaging their part as something innocent, any kind of component level audit would show that this part - which apparently wasn't on the circuit diagram in the first place - performed to its normal specifications.
Initially I was quite skeptical but then a while later this appeared:
https://www.schneier.com/blog/archives/2021/02/chinese-suppl...
And with this file as background:
https://www.eff.org/files/2014/01/06/20131230-appelbaum-nsa_...
That makes the attack sound more plausible. The practical upshot is that if you outsource your fabrication to an unknown third party that you can never be sure what you get unless your skills are orders of magnitude better than theirs. This goes for normal hardware and probably for high value targets and networking components you will have to be extra careful. But I'd be just as careful with for instance large battery packs or things that can be turned on or off remotely. (But that's getting away from component level bad stuff and into the realm of 'normal' attack vectors into embedded hardware.)
Where the hell does that leave us?
But I have no proposal of architecture that includes an external verification processor.
https://graphics.stanford.edu/courses/cs148-10-summer/docs/1...
https://www.computer.org/publications/tech-news/chasing-pixe...
http://bitsavers.trailing-edge.com/pdf/sgi/iris/geometry_eng...
If you don't think that wouldn't be done, you've got a bit more living to do.