# Are secret government backdoors built into all chips today?

**URL:** <https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737>\
**Category:** Factual Questions\
**Created:** [June 23, 2009, 5:09pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737 "2009-06-23T17:09:36Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Voyager](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/voyager/32/133_2.png) [@Voyager](https://boards.straightdope.com/u/Voyager)\
**Post date:** [June 27, 2009, 12:15am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/21 "2009-06-27T00:15:20Z")

</div>

> [@HorseloverFat](#):
>
> I think the proof of the lack of backdoor scenarios is all the traffic analysis going on. If the chinese were able to root our machines remotely we’d see it in the traffic. Eventually.

Why go to all the trouble of inserting backdoors when clearly a large number of PC owners are clueless and have their machines already taken over. Who needs covert hardware and software tweaks when we’ve got Microsoft?

---

<div class="post-metadata">

**Author:** ![Voyager](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/voyager/32/133_2.png) [@Voyager](https://boards.straightdope.com/u/Voyager)\
**Post date:** [June 27, 2009, 12:16am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/22 "2009-06-27T00:16:41Z")

</div>

> [@Chronos](#):
>
> One of my favorite backdoors was built into the [c compiler](http://scienceblogs.com/goodmath/2007/04/strange_loops_dennis_ritchie_a.php). Anyone who used Ken Thompson’s compiler to compile the login code for an operating system, the compiler would recognize it and add code in that would also make it accept Ken’s login for root access. Furthermore, the compiler was also able to recognize whenever a compiler was being compiled and put the same exploit in it, so if you wrote a completely new, completely clean compiler, and compiled it using the existing one, it’d still have the backdoor. No amount of checking source code could ever find the backdoor.

Heh. As part of the performance appraisal process at Bell Labs was a warning about not trusting your computer too much, with this very memo.

---

<div class="post-metadata">

**Author:** ![Superfluous\_Parentheses](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Superfluous\_Parentheses](https://boards.straightdope.com/u/Superfluous_Parentheses)\
**Post date:** [June 27, 2009, 12:23am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/23 "2009-06-27T00:23:11Z")

</div>

> [@Voyager](#):
>
> In any case, I totally agree that backdoors would be put into the software. However I don’t see how someone would do it in Linux or Solaris which are open source.

Easy: you put the backdoor in the compiler. [It’s a fairly well known attack vector](http://en.wikipedia.org/wiki/Backdoor_(computing)#Reflections_on_Trusting_Trust).

---

<div class="post-metadata">

**Author:** ![Voyager](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/voyager/32/133_2.png) [@Voyager](https://boards.straightdope.com/u/Voyager)\
**Post date:** [June 27, 2009, 12:47am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/24 "2009-06-27T00:47:55Z")

</div>

> [@Superfluous\_Parentheses](#):
>
> Easy: you put the backdoor in the compiler. [It’s a fairly well known attack vector](http://en.wikipedia.org/wiki/Backdoor_(computing)#Reflections_on_Trusting_Trust).

Ah, but if you were paranoid you can easily compile an open source compiler with several other ones, then with itself, and compare results for a simple hello world program. I’m well aware of the issue (see two posts up) but even in Bell Labs the C compiler didn’t come in source, though I’m sure Ken would have sent it to anyone who wanted it.

Not to mention that compiler writers (I did one for my dissertation) look at the code produced a lot more closely than the normal person, so it is unlikely that compiler X would get infected by compiler Y practically speaking.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [June 27, 2009, 1:19am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/25 "2009-06-27T01:19:48Z")

</div>

> [@HorseloverFat](#):
>
> Or the tons of code that no one really looks at. A few years ago there was a scandal about some OSS software that had an old backdoor put into it.

Cite? Are you talking about “Reflections on Trusting Trust” or was this something that actually happened?

> [@](#):
>
> Or code you downloaded from a hacked repository.

Possible. But it’s difficult to do things like that without anyone noticing.

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [May 26, 2016, 2:56am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/26 "2016-05-26T02:56:10Z")

</div>

Apparently hard-wired backdoor programs ARE possible, per this study (PDF)

> **[A2\_SP\_2016.pdf](https://static1.1.sqspcdn.com/static/f/543048/26931843/1464016046717/A2_SP_2016.pdf?token=w3dhe%2B6JZ1Jso48tLOlumHPZkRc%3D)**
>
> 2.64 MB

---

<div class="post-metadata">

**Author:** ![TommySeven](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@TommySeven](https://boards.straightdope.com/u/TommySeven)\
**Post date:** [May 26, 2016, 1:37pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/27 "2016-05-26T13:37:14Z")

</div>

> [@Lumpy](#):
>
> Apparently hard-wired backdoor programs ARE possible, per this study (PDF)

No one disputes that hard-wired backdoor programs are possible. The question is whether they can do anything useful without getting detected. Nothing about the attacks in your linked paper would make them any less detectable to the end user than the conventional and obvious way for an IC designer to implement a backdoor. The novelty in that paper is in how the IC fab might hide a backdoor from the IC’s designers, not how an IC designer might hide a backdoor from the IC’s end users.

---

<div class="post-metadata">

**Author:** ![TommySeven](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@TommySeven](https://boards.straightdope.com/u/TommySeven)\
**Post date:** [May 26, 2016, 2:00pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/28 "2016-05-26T14:00:26Z")

</div>

Actually, I see that **Voyager** was maybe slightly disputing that above. I think it’s easier than he/she thinks: you can probably escalate privilege just by tampering with one or two bits that aren’t in a critical path, and you can hang your trigger circuit off basically any one bit that’s under software control. I think it would be hard but still practically possible for an IC fab to do that in a typical design, for some definition of “practical”. The deadline (since you have to work fast, or else the customer notices the mysterious extra year of lead time…) certainly makes it harder. You might be able to backdoor popular hard IP (e.g., an ARM core) ahead of time, though, and wait for a design that used it.

In any case, nothing in the linked paper makes the “not breaking the test vectors” part any easier. Their contribution is a slightly smaller (easier to place, harder to notice by examining die photographs and stuff) trigger circuit. They do model some of the timing effects mentioned by **Voyager** , which they claim are not too bad. Those timing effects are no different with their trigger vs. a conventional one.

---

<div class="post-metadata">

**Author:** ![crypto](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@crypto](https://boards.straightdope.com/u/crypto)\
**Post date:** [May 26, 2016, 2:03pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/29 "2016-05-26T14:03:01Z")

</div>

> [@JonathanTheRed](#):
>
> You think so? I think the reverse is true… obviously true. If it were so, _everyone_ would be talking about it. It’s the same problem I have with most conspiracy theories: a _lot_ of people would have to know about this, many of whom would not even be government employees, and the odds of every single one of them keeping his mouth shut are vanishingly small.
> 
> The team that develops them consists of hundreds of people, most of whom are geeky engineers who tend to mistrust the government and are terrible at keeping secrets.

I wasn’t going to bother, but I am weary of reading this meme.

Go back in history and look at how many people were involved in the manhattan project. Estimates are approx. 125k, and yet Harry Truman had no idea about the status of the project (not to mention the American people, who didn’t have a clue). The only people who knew were those people who had a need to know. Compartmentalization has become an art form. Most people who work in top secret jobs have very little idea of what the details of the big picture actually is. They know their assignment. This is by design and this is a good thing.

People are very good at keeping secrets. And depending on your personal moral code, you may or may not be able to be paid enough money to keep your mouth shut. Geeky engineers are like most everyone else… most have families, mortgages, and financial needs to meet. When you think about it, it becomes very easy to understand how someone who is in a position of knowledge would keep his/her mouth shut because opening it, at the very least, would blackball them from many industries. No job? No money! Goodbye comfortable lifestyle, hello uncertainty and stress.

Some people cannot be bought… They are quickly dispatched or marginalized until they get the hint. Some people don’t mind being marginalized… As long as their job and salary are secured, whatever else happens is not their concern. Rarionalization is a wonderful thing.

Whether or not what the OP is asking is happening on a wholesale level or not is impossible for me to say. But to think that something like this _couldn’t_ happen because people would talk is simply nonsense.

---

<div class="post-metadata">

**Author:** ![Bridget\_Burke](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@Bridget\_Burke](https://boards.straightdope.com/u/Bridget_Burke)\
**Post date:** [May 26, 2016, 2:06pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/30 "2016-05-26T14:06:34Z")

</div>

So, someone else is watching the last episodes of _Person of Interest_!

---

<div class="post-metadata">

**Author:** ![Jackmannii](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/jackmannii/32/311_2.png) [@Jackmannii](https://boards.straightdope.com/u/Jackmannii)\
**Post date:** [May 26, 2016, 2:19pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/31 "2016-05-26T14:19:03Z")

</div>

> [@crypto](#):
>
> Go back in history and look at how many people were involved in the manhattan project. Estimates are approx. 125k, and yet Harry Truman had no idea about the status of the project (not to mention the American people, who didn’t have a clue). The only people who knew were those people who had a need to know.

Wrong. The Manhattan Project was a veritable colander of leaks.

\*"These detailed accounts have been made public on the website of the Department of Energy, which has posted the 36-volume, official history of the Manhattan Project, which had been commissioned by General Leslie Groves in late 1944. Among the most intriguing set of documents, released last month, is the volume about intelligence and security, which reveals:

```
"Since September 1943, investigations were conducted of more than 1,500 'loose talk' or leakage of information cases and corrective action was taken in more than 1,200 violations of procedures for handling classified material…. Complete security of information could be achieved only by following all leaks to their source."*

```

[http://io9.gizmodo.com/secrets-of-the-manhattan-project-were-leaked-a-staggeri-1626524763](http://io9.gizmodo.com/secrets-of-the-manhattan-project-were-leaked-a-staggeri-1626524763)

> [@crypto](#):
>
> Some people cannot be bought… They are quickly dispatched or marginalized until they get the hint.

I am so hoping that **crypto** will tell us who _really_ brought down the Twin Towers.

---

<div class="post-metadata">

**Author:** ![watchwolf49](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@watchwolf49](https://boards.straightdope.com/u/watchwolf49)\
**Post date:** [May 26, 2016, 2:39pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/32 "2016-05-26T14:39:21Z")

</div>

> [@Jackmannii](#):
>
> Wrong. The Manhattan Project was a veritable colander of leaks … [snip]

Including a direct pipeline to Moscow …

What secrecy was maintained with the Manhattan Project was based on patriotism … it was just three years before the IJN almost annihilated our ability to defend the West Coast … and people honestly believe an invasion was eminent.

If one is afraid their country will be destroyed, they’re more likely to keep the secrets … I just don’t see the same level of loyalty in the IC manufacturing sector.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [May 26, 2016, 7:17pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/33 "2016-05-26T19:17:36Z")

</div>

You know, there was this guy Edward Snowden who released a lot of documents not all that long ago (but after this thread started).

Some of these docs [clearly show](http://arstechnica.com/security/2013/09/nsa-attains-the-holy-grail-of-spying-decodes-vast-swaths-of-internet-traffic/) that the NSA had backdoors in key parts of Intel and other chip makers’ cpus. Using these, they could read a large part of encrypted Internet traffic.

One of the methods was a deliberate weakening of the [RNG](https://en.wikipedia.org/wiki/RdRand) provided by the cpus. There was an odd “magic number” in the initialization that was never explained, until Snowden.

Modern chips are so complicated, who knows what’s really going on deep in the microcode.

Another source of concern are the encrption systems built in to many modern hard drives. The manufactureres are extremely closed mouth about them and no one has any idea whether they can be readily defeated by the NSA or some such.

Remember: If someone can break it, even “just the government”, it’s completely broken and cannot be trusted.

---

<div class="post-metadata">

**Author:** ![watchwolf49](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@watchwolf49](https://boards.straightdope.com/u/watchwolf49)\
**Post date:** [May 26, 2016, 8:52pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/34 "2016-05-26T20:52:04Z")

</div>

> [@ftg](#):
>
> [snip] … Some of these docs [clearly show](http://arstechnica.com/security/2013/09/nsa-attains-the-holy-grail-of-spying-decodes-vast-swaths-of-internet-traffic/) that the NSA had backdoors in key parts of Intel and other chip makers’ cpus. Using these, they could read a large part of encrypted Internet traffic … [snip]

Your citation doesn’t seem to back up your claim. The article is about the NSA’s ability to get the information off the internet and break the encryption. It doesn’t say they’re tapping into the CPU itself. If the NSA could tap straight into the CPU, they wouldn’t need to break the encryption. The article does talk about the risk if the NSA could tap into the CPU, but the answer to the OP is still no, the NSA currently can’t.

I’m not sure this information was reveled by Snowden, the encryption we use over the internet was never considered very robust. The military has never used it for their classified transmissions. This is the center of the Hillary Clinton e-mail scandal, she did use these substandard technologies when it was clear she should have used military encryption, where we don’t actually include the key with the document.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [May 26, 2016, 11:52pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/35 "2016-05-26T23:52:17Z")

</div>

I don’t know about what you’re using, but the encryption I use is at least as robust as what the military’s using. Probably more so, if they’re trying to keep what they’re using secret.

---

<div class="post-metadata">

**Author:** ![watchwolf49](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@watchwolf49](https://boards.straightdope.com/u/watchwolf49)\
**Post date:** [May 27, 2016, 12:48am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/36 "2016-05-27T00:48:05Z")

</div>

> [@Chronos](#):
>
> I don’t know about what you’re using, but the encryption I use is at least as robust as what the military’s using. Probably more so, if they’re trying to keep what they’re using secret.

The article says the NSA compromised those methods listed there. If it’s one of those you’re using, then it’s not as robust as the military’s methods. Seriously, if the NSA breaks the encryption, why the hell would the NSA use that encryption.

I don’t know any of the details of how SSL works. The cryptographic algorithm requires a seed value, and both sides need this seed value; one to encrypt the information, the other to decrypt it. My understanding is this seed value is convoluted and complexified as to be unrecognizable, and then just simply included with the message. Granted, a person who intercepts the cipher would need the computation power of someplace like the NSA to extract the original information. With enough money, about anyone can get this computation power.

The article says the NSA can do this now …

The military writes this seed value on a piece of paper, gives it to a security officer, puts him on a C-17 to where ever and the security officer hand-delivers the seed value to the recipient. The “key” is never sent where our enemies can get it.

The NSA cannot break their own codes.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [May 27, 2016, 1:00am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/37 "2016-05-27T01:00:58Z")

</div>

> [@watchwolf49](#):
>
> Your citation doesn’t seem to back up your claim. The article is about the NSA’s ability to get the information off the internet and break the encryption. It doesn’t say they’re tapping into the CPU itself. If the NSA could tap straight into the CPU, they wouldn’t need to break the encryption. The article does talk about the risk if the NSA could tap into the CPU, but the answer to the OP is still no, the NSA currently can’t.

From the linked article:  
“Earlier this year, the program found ways inside “some of the encryption chips” used by businesses and governments, \*\*either by working with chipmakers to insert backdoors \*\*or by surreptitiously exploiting existing security flaws, the NYT said.”

---

<div class="post-metadata">

**Author:** ![watchwolf49](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@watchwolf49](https://boards.straightdope.com/u/watchwolf49)\
**Post date:** [May 27, 2016, 2:19am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/38 "2016-05-27T02:19:45Z")

</div>

Sure, “some of the encryption chips”, I get that … **ftg** is talking about CPU’s and the article doesn’t back up that particular claim. My thought is that if we had a back door to the processor, we would have access to the information before it’s encrypted. The article is about the NSA breaking the encryption, so I’m assuming they don’t have access to the processor.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [May 27, 2016, 7:50am UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/39 "2016-05-27T07:50:33Z")

</div>

> [@Tastes\_of\_Chocolate](#):
>
> Or use a black and white printer.

Mono printers do it too, with tiny, pale grey dots.

---

<div class="post-metadata">

**Author:** ![crypto](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@crypto](https://boards.straightdope.com/u/crypto)\
**Post date:** [May 27, 2016, 12:14pm UTC](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737/40 "2016-05-27T12:14:44Z")

</div>

> [@Jackmannii](#):
>
> Wrong. The Manhattan Project was a veritable colander of leaks.

A “veritable colander of leaks”? Hmm. Amazing. But Truman didn’t know until Roosevelt died. I guess he needed you to show him the way.

[Previous page](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737.md?page=1)

[Next page](https://boards.straightdope.com/t/are-secret-government-backdoors-built-into-all-chips-today/500737.md?page=3)
