360 points · by Digit-Al · 8y ago · 114 comments
> Many [counterfeits] have been seized, but any that remain in use pose the risk of causing “components to melt, burst, rupture, catch fire or explode, resulting in property damage, personal injury and death,”
[1]: https://www.publicintegrity.org/2011/11/07/7323/counterfeit-...
Edited to add:
You might think this is different, but controlling the supply chain limits these kinds of attacks.
One way to do it is to control the chain of custody so there's a paper trail on who had access to the parts and when. The other way the pentagon is doing it is putting "dielets" into the chips so they can be verified later.
https://www.scientificamerican.com/article/the-pentagon-rsqu...
In the end it all comes down to controlling the supply chain.
And yet people got all up in arms about that guy who got convictted for counterfeiting freely downloadable Windows restoration disks by outsourcing the job to some random shop in China and making them look like official disks.
If anything, he got off easy. The world does not need more factory-backdoored OS installations.
Imagine you're a pipefitting installed in something, based on the water flowing through you would you be able to distinguish if you were in a house, fire engine, office complex, or high-rise? Would you be able to ascertain what function you served in the system?
If water is used primarily between 9-5 in large quantities: office building
If water is used during breakfast and dinner: home
Fire engines also have very distinct water usage patterns and pressures.
I bet you could easily get to >90% accuracy quickly.
1. Bridging an air gap. This would basically be a radio repeater that lets you reach other compromised components. It just needs power, and could certainly fit within one of these component packages.
2. Denial of service. The component may be a simple diode, but if it stops working, you could potentially disable a weapon, or maybe even cause it to self-destruct.
That said, I'm sure that defense contractors are very careful about where they source components. They likely have spies placed within their suppliers, and perform regular audits and teardowns of components.
Not as careful as you might expect. "Fake" IC components were found in a military 737 [1]. Trusted ICs are a hot topic and the big players in the defense industry are working towards solutions. It's an interesting topic if you have time to read their academic papers.
[1] https://military.com/defensetech/2011/11/08/counterfeit-part...
I thought that's why military hardware is so expensive. You're not just paying for a radio or whatever, you're paying for an entire hardened supply chain with everything sourced from trusted manufacturers. I guess maybe that's not the case any more...
https://www.military.com/defensetech/2012/05/30/smoking-gun-...
Change physical size when charged/discharged, measure sound pressure via lasers on windows or microwaves sensing cavities in concrete walls.
The victim doesn’t even need to be specifically targeted if they use commodity components whose design is known. Just arrange for the company producing parts to select a specific recipe.
Perhaps information on power consumption by the CPU, which has been used to recover encryption keys in some attacks, but that's already being leaked in most cases. The most likely scenario as I see it would be parts that deliberately amplified unintentionally leaked information (like high-resolution power usage information) more than normal, but it seems to me that normal compliance testing would detect a lot of that.
I can imagine a bug or something being hidden in a large power supply capacitor, which can have volumes of several milliliters. Maybe capacitors with a hidden transmitter mislabeled as higher values to explain the extra size.
You put a feedback resistor in place from input to output to bias it and then capacitively couple the input and output.
Metal-gate CMOS was particularly good for this as it had an operating voltage from <3V to about 18V.
CD4049 is an inverter. If you do the trick above then you indeed get an amplifier, nonlinear and with poorly-controlled gain but an amplifier nonetheless. This isn't some kind of Easter egg; an inverter is just a high-gain amplifier that's usually allowed to saturate, so it fundamentally just does that.
Such amplifiers are not very good, but they're fast-ish and cheap. They're often used for crystal oscillators. The preferred logic series these days is 74HCU. That's "unbuffered" logic, where your inverter really is just one CMOS inverter, and not a string of three like usual. That makes the gain more stable, since the three inverters wouldn't match perfectly, and would each end up biased somewhere different.
During chip design, there are tools (DRC and LVS) that very carefully verify that the mask has exactly what the designers intend it to have, not a single transistor more or less. This abstract mask is called GDSII[1] (or perhaps a successor such as OASIS, the principle is the same).
Once upon a time the layers of the GDSII could be used directly to build ICs. But now chip design rules are too tricky, so the masks are tweaked post-tapeout, in order to be able to get a decent yield of functioning chips.
Still, it is possible to take actual silicon and extract the circuitry from it. This, while quite difficult to do, is routinely done by "reverse engineering" companies.
If it's your own chip you already know exactly what to expect, you actually specified every transistor there. So it would be much "easier" (ha ha) to reverse engineer to verify that your actual chip has all the circuitry, no more, no less, that you intended it to have. I wrote a little about this in an HN discussion a few years ago.[2]
That's the theory. But in reality, does any company reverse engineer their own chips to check? Highly unlikely. Which means they're implicitly trusting TSMC (or whoever the fab is).
Not only that, what's to keep some bad actor at TSMC from inserting this circuitry into your chips perhaps 6 months after initial production. Must you repeatedly keep reverse engineering your own chips to make sure they're still unmodified?
But, as I mentioned in my earlier post, there are many IP blocks in current silicon that come from third-party suppliers. Does anyone fully understand the operation of every transistor in every IP block they bought, or they inherited from an earlier design? If I were to backdoor an IC, I'd use the third-party IP method. It would be much easier to sneak something in that way.
[1] https://en.wikipedia.org/wiki/GDSII [2] https://news.ycombinator.com/item?id=11880935#11891857
I'm not a hardware designer, but I imagine that restricting a backdoor to a specific block might make it much harder to cause the rest of the hardware to behave in a specific way?
Screwing with the dopants slightly in order to bias the HRNG slightly one way. Wouldn't show up even under a full visual inspection.
Becker, Regazzoni, Paar, Burleson. "Stealthy dopant-level hardware trojans." Proceedings of CHES, August 2013.
As an aside, hardware RNGs are one of the only places you can put an undetectable backdoor in a design, since they can't be verified (since they're deliberately non-deterministic). If you do hash(stuff) ^ HRNG, then the CPU can make the result whatever it wants. If you do hash(stuff ^ HRNG) then it can't.
Gave up when I reached page 10, coz other priorities took over me.
Had I know about this HN post, maybe I would had finished the entire paper.
A fab would most likely not be able to do this unless it was an extremely valuable target. But it would be pretty easy if the design team wanted it in the first place.
And that nanotechnology will be done with software that is effectively compilers, right?
Related - Hofstadter's GEB, where he discusses the observation that information is not stored on a storage medium - it's a function of the medium and the mechanism reading that medium.
> Epigenetics is the study of heritable changes in gene function that do not involve changes in the DNA sequence.
https://en.wikipedia.org/wiki/Epigenetics
> After all, when a new cell is made, the parent replication mechanism also builds the child's replication mechanism.
The whole organism splits in two so the daughter cells' entire mechanism is half of the parent cell's mechanism.
One of the thoughts that trips me out is that each Amoeba (for example) is billions of years old.
You have to have at least two independent compiler stack development processes occurring in separate light-cones. If one happens far enough within the cone of the other you cannot trust it.
(Not actually speed-of-light-cone of course. You have the lead-time required to develop general "nanites" and then their travel time to reach the opposite side of the Earth (assuming no one is working on this off-planet. The first thing a paranoid nanotech-haver would does is detect and suborn all other nanotech labs. I call this the "Matter-Lock".)
I don't have enough backing physics to be confident on the possibility of a "matter lock". How do you detect without being detected a nanomachine that was designed vs one of the nanomachines that already exist in living organisms? Can you also expand on the goal of subsuming all the nanotech of other labs? If things obviously start breaking, that's especially going away from the "trusted trust" scenario which implies things like trojans used to passively sniff secrets and gain advantage through information when an opportunity to export the information arises. I would expect physics might allow some workarounds for that, on top of methods of outright detection like conservation laws, spectrometry...
I've finished the first of three in a sci-fi book series that has introduced the problem of what to do with an adversary that subsumes basic physics research to halt general advances, perhaps there's an entertaining hard sci-fi book you'd recommend for the "matter lock" idea? Or arxiv papers if you have any.
I know weight is how you double check other manufacturing
Also, adding a few additional transistors and paths doesn't really add components to the chip in the way you think. They cause no meaningful difference in weight.
From the description of the attack though, the function charging the capacitor wouldn't have to be all that obscure.
The attack could cause a privilege escalation but if the running process that accidentally triggered it isn't asking for escalated privileges then having them won't cause harm.
The circuitry could have a discharge resistor across the capacitor causing it to drain quickly. This would require the trigger to be executed and then subsequent attack in a very short window of time.
The manufacturing costs of a single CPU are small once you already have a working fab, but the fabs are now the most expensive factories ever built.
Then counties -- or groups of countries -- that can't or won't fork out $20bn are going to effectively lose their independence.
High end chip manufacturing has been consolidating since it started, and this is the reason. There will be a time when only one company in the world can afford to have the very best fab, against which the others can then no longer compete.
So a big part of that cost is the r&d needed to keep current.
In any given generation, one fab will have the best tech, and another the second best, and all the other fabs have compete on price at a tiny margin or just sit that generation out and make cheap chips with thier existing machines while hoping to catch the next wave.
That means it's an industry got the deep pockets. You need to be able to take a huge loss and keep investing to stay in the game.
So it's basically Intel, and sovereign wealth funds teamed up with interventionist states like Singapore and Taiwan ...
The US and other western countries had and lost this industry because of free market idealism.
Or would such a modification going into all chips coming out of a factory be noticed?
Such that they didn’t even need access to the OS to read all your data.
SPOF = Single Point of Failure