I'm just looking at the pdf they link to in this article: https://www.semiconductors.org/clientuploads/Anti-Counterfei...
In the summary they say, the following on how to 'win the battle'
"The key to winning the battle against counterfeit semiconductors is elegantly simple: Exclusively buy semiconductor products either directly from the Original Component Manufacturer (OCM) or directly from the OCM’s Authorized Distributors/Resellers."
I wonder if they have hardware to test the functioning of chips, like testing them to ensure they meet the parameters on the datasheets (like current consumption etc.).
Before I got into robotics, I worked in the semiconductor world as a test and product engineer for a couple of IC manufacturers. A lot of my job involved figuring out how to test every parameter we were going to put on the datasheet, writing code to test it quickly, and then doing statistical analysis of the results over thousands upon thousands of devices to make sure they met requirements. It was an interesting experience. We used some very high end test equipment, made by companies like Teradyne, and for each part (or family of parts in some cases), we would make a custom board which would mate to the test equipment on one side, and had sockets for the part we were testing, along with any support circuitry required.
I think the problem with doing some sort of acceptance testing is that unless you buy the parts directly from the manufacturer or their distributors, it's very hard to verify that the part meets it's specs, unless you already have this kind of dedicated testing equipment and code, especially when you want to start measuring analog parameters (current consumption, logic levels, etc.), and don't think it would be worth the trouble in most cases.
(Military / Space may be a special case, where critical parts may stop being manufactured by the original manufacturer and they do have to do this sort of thing, but as far as I know, it isn't typical).
Also I'd never heard of Teradyne before, they seem to produce some very interesting hardware.
Through some kind of magic, the process would be tweaked by the engineers over time and the yields for the more expensive parts would often increase to the point where they wouldn't even end up with enough of the low cost parts so they would just stamp the low cost numbers on the chips that could actually run under much more demanding conditions.
What typically happens is that engineers do the best they can before release to model the process and experiment with building devices at different process "corners". This gives an idea of what the distribution of different electrical parameters will look like over the range of expected process variation (logic levels of FETs, sheet resistances, etc. etc.).
Obviously this data is imperfect, because there are a TON of steps in a modern semiconductor process, and a TON of variables in each one. (For example, I worked on Ion Implanters, and we recorded hundreds of variables for our customers during the run, from vacuum levels, to gas dosages to voltages and currents in the various accelerator stages).
As parent said, there is another group, who IMO are probably the original "big data" folks, usually called manufacturing or process engineers. They monitor the yields, binning and specific electrical measurements of all the wafers and parts coming off the line, along with process data for all the nanufacturing steps the wafer has gone through. These guys do the black magic of figuring out what needs to be tweaked in the process. At the higher levels it involves a mix of knowledge -- not only statistics and optimization, but also the semiconductor physics of how these parts actually operate, (since experiments can get expensive, you want to justify the knobs you are going to tweak!)
They're also the kind of organisation that does "whole life" buys, so they'll take the whole lot they'll ever need, sample some for QC purposes, and warehouse them until actually required for manufacturing.
One, the government does occasionally purchase chips themselves. It's uncommon and they're difficult to work with but it happens.
Two, work on legacy designs is very common, and not being able to source the components from reputable vendors is also very common.