281 points · by yuhong · 11y ago · 51 comments
I don't have the reverse engineering skills/IDA Pro license to verify this, but fwiw I trust and respect this person's skills.
But lets do a thought experiment.
1. How much would the NSA gain from pressuring Microsoft into backdooring (or as they say, "enabling") Windows, in terms of systems they could not access before that they can access now?
2. How much would it cost the NSA, in terms of effort, good will, and exposure to risk by the people at Microsoft who would know about the backdoor and may leak or abuse it? How bad would it be if the public got wind of it? How hard would it be to keep it secret over the years, especially as engineers moved around to other companies? Would they have to involve foreign nationals on the dev team? Could they be trusted not to warn their governments?
3. How many times could they abuse their backdoor before it was obvious Windows couldn't be trusted? When/if that happened, what would be the damage to the US economy, and to their ability to penetrate systems?
When I put myself in the shoes of DIRNSA and ask myself these questions, backdooring Windows (at least through official channels, like _NSAKEY supposedly is) seems like an insane proposition.
1 - Privileged access to the dominant consumer operating system, also used by many corporations likely to be targeted.
2 - Minimal effort cost. Good will cost seems like something NSA ignores. Exposure to risk seems minimal given the existence of NDA contracts.
3 - I think anyone who isn't deluded and/or a member of the "nothing to hide; nothing to fear" camp already knows you can't trust Windows. The damage to the US economy seems minimal in light of the Snowden leaks that implicate nearly every US-based technology company, and Microsoft is investing heavily into things like X-box to diversify their revenue streams. I don't think there'd be any fallout worth mentioning, tbh.
When I put myself into the shoes of the DIRNSA and ask myself these questions, backdooring Windows seems like an obvious "Yes".
_NSAKEY may very well not be a backdoor, but I find the suggestion that Windows doesn't contain one to be laughably naive.
Why would they backdoor Windows, when apparently they could just buy an exploit for $X00k[1]? Its seems buying an exploit serves all those same factors, at a similar price range, while making it much harder to point a finger at the NSA when it eventually gets discovered.
Its probably a safe assumption that if someone is found using a backdoor in Windows, its probably the US Government that put it there. If its an exploit, its a hell of a lot harder to point that finger at anyone in particular.
But NSAKEY isn't that.
It is worth it for the NSA to backdoor crypto because, if the implementation is solid and the keys can't be stolen, then no matter how many resources they pour into cracking it the math will remain inflexible.
There is no computer in the world with that kind of security. If it is smartly configured, they'll use 0day. If its airgapped, they'll compromise a sysadmin's computer and wait for them to connect to it (think Stuxnet.) If that isn't feasible, they'll walk into the data center and put malicious hardware into a PCI slot.
If we persist in thinking of the NSA as a boogeyman logging every packet and backdooring every OS, rather than discussing their real capabilities and motivations - what they are, what they should be - we will become paralyzed to act against them, they will continue to operate without meaningful oversight, and our rights to privacy and to secure software will languish.
You drastically overestimate the general public's perception. I guarantee you that if you go down the street and ask random people if they trust Windows, they will say yes (or no, and say they trust OSX instead). In HN-land, sure, that can be assumed, but I highly doubt that viewpoint is shared outside tech circles.
"Microsoft said that the key's symbol was "_NSAKEY" because the NSA is the technical review authority for U.S. export controls, and the key ensures compliance with U.S. export laws."
No sense at all. But if you read between the lines, it's the key without which Windows couldn't be exported. So it's a key which at least allows weaker encryption outside of the US.
I was under the impression that the NSA created a public/private key pair and gave this public key to Lotus Notes to use.
It has long been speculated that NSA can factor 1024bit RSA (or DHE) using custom hardware, which is why in protocols like TLS and SSH the current recommendation is for keys, certificates and Diffie Hellman key exchange to be at least as strong as RSA-2048 (e.g. 256 bit elliptic curve crypto is strong enough).
If you only have access to commodity hardware than GPU's would probably be better. Xeon Phi is also insanely cheap right now and you can get a 57 core card for under or just about 200$ but I don't have clear performance data for it, i know for BC mining it's comparable to R9 290/295X or so but with much lower power consumption, but i also suspect that due to its relative low market cap it's fairly poorly optimized atm.
NSA and large private organizations use most likely specially designed hardware rather than commodity hardware and surely not FPGAs.
For private individuals the most cost effective way to factor a single key these days is probably renting EC2 GPU instances (CUDA) from Amazon @ about 70 cents and hour you should be able to factor 512bit keys for 75-150$ (based on confirmed reports). 1024 bit might also be in reach however it will require a sizable budget.
Based on the current development of "auxiliary" processing components whether it's GPU based compute cards or more traditional but highly threaded processing cards ala Xeon Phi it would not surprised me if 1024 or even 2048 bit keys will be easy to factor before 2020. My current bet is that 1024 will be achievable on EC2 or a similar service by late 2016 to mid 2017. NIST has disallowed 1024bit since 2014, and based on it's previous deprecation most keys were factored within 2 years after it's final deprecation notice.
It's also quite important to point that there are quite a bit of "weak" RSA keys out there and there's a good chance that the NSA and similar organizations have the capability to factor certain keys probably upto and including 2048 bit.