149 points · by awqrre · 10y ago · 50 comments
Suffice it to say, the TAO is going to breach most of what people use. What people in high-assurance security usually did was a combination of airgaps, embedded hardware, micro/separation kernels, things like serial ports to avoid DMA risk, and so on. You have to get all the attack surface out of the equation. Then, you make the TCB simple and strong for the rest.
It's more work than most will do. It also counters the mainstream favorites like Linux/BSD, at least usual usage. So, uptake of high-security methods stayed low enough for TAO to have an easy job. Snowden leaks haven't changed that: economic and social factors remain for proprietary and FOSS. So, follow this advice or not, they'll still probably get in because root problems are still there. Might stop others, though.
That said, the NSA is technically in charge of defensive information security for the country, so he can't be dismissed as wholly disingenuous, either.
We are all better off keeping up with and following consensus best practices and ignoring the NSA, rather than trying to out-think their latest bit of disinformation.
"The NSA betrayed its "information security" brief long ago and can never be trusted on that front again."
Err, sort of. They were a valuable part of the field in the 80's and 90's, esp for evaluations. Their own stuff that's actually designed for security is done well and has some things to teach us. These are often called Type 1 products, GOTS high-security, and so on. They're not available to the general public because they work. ;)
Here's an accurate picture of DOD/NSA's involvement in creating INFOSEC in business and destroying it later for politics/legal/business/intel reasons from one of old guard:
http://lukemuehlhauser.com/wp-content/uploads/Bell-Looking-B...
The reasons they stopped pushing it aren't even clear to me at this point. Individuals and businesses rejected almost all high-security products in favor of maximal features, backward compatibility w/ insecure stuff, integration with insecure stuff, faster even if unsafe (eg C lang), cheaper even if less safe, and smaller even if forcing insecure integrations. This was true before, during, and after Walker's CSI. Still is post-Snowden as real security cost money and has tradeoffs that most users refuse.
So, the reason we're getting hacked all the time & NSA's IAD is doing little isn't really NSA: it's demand side where people refuse to do anything secure and use insecure stuff en masse. This is true even with usable alternatives: Facebook Messenger vs Threema or whatever; no disk protection vs Truecrypt full disk; no backups vs automated backups to USB; paid, non-snooping, $5/month email vs free, sell-you-out email. Convenience or price almost always win out.
So, NSA could disappear entirely and our situation would still be the same. Plus, they deserve credit for their participation in high assurance stuff that stops even them, which is published in enough detail to copy, and which continues to this day. Example on CPU side:
http://www.ccs.neu.edu/home/pete/acl206/slides/hardin.pdf
https://www.nsa.gov/ia/programs/inline_media_encryptor/
https://www.nsa.gov/applications/ia/tempest/index.cfm
So, no, you're best off learning what CompSci, DOD, NSA, and INFOSEC's founders taught us under the banner of high assurance security. Ignore whatever they teach general public or business unless trustworthy pro's will peer review it. Best practices are insufficient as they don't address lifecycle assurance of computer hardware or software. They leave in the vulnerabilities NSA and black hats will continue to hit. So, one must from bottom to top apply high-security techniques to make a better stack.
Even post-Snowden, that activity is pretty much non-existent enough that I can count the projects on one or both hands. I rest my case about the problem being on demand and supply sides.
One question: What's your opinion on Qubes , or it's windows brethren Bromium[2] and blueridge Appguard[1] ?
Not against TAO , like you said it won't work, but maybe it's the best a regular person or small company can do ?
[1]http://www.blueridge.com/index.php/products/appguard/consume...
My old strategy was several cheap computers hooked up with a KVM switch and a guard to assess data moving between them. Basic airgapping w/ trusted transfer. The simplest scenario splits confidential and untrusted (esp Internet). Wasn't that hard to use: just inconvenient on occasion. Setting up guard and software properly is tricky to say the least. A specialist is necessary although an OpenBSD or Linux box well-configured can work out for common attackers.
On Windows, I used AV for reaction, Defensewall/AppGuard/SandboxIE (varied) for prevention, did backups/restores with a boot CD, write-protect BIOS if available, regular patching, and Linux Live CD (kept up to date) for stuff like banking. Regular restores from backups, too, with patches applied to clean copies. I used RAMdrives for temporary storage so it autodeleted upon shutdown. I used write-protect HD's to prevent corruption of OS partition but not available now that I know of. Physical wire, not wireless, for Internet disconnected in old school fashion when not in use to deny bot bandwidth if nothing else. :) Non-traditional router made from non x86 or ARM box running a Linux or BSD firewall distro. Sparcstations with OpenBSD were popular among paranoids. Can't remember mine as it was one time.
Just a few things I remember. Had I stayed on Windows, I was going to next explore using Windows Embedded to strip out more attack surface. A friend named tommy, smart but not IT guy, systematically backed up, deleted, tested, and restored on failure his Windows XP box in iterations until he found how little code & data it needed to still function. He got a WinXP system with Office, Firefox, AV, etc down to 650MB total backed up on a CD. Unreal. I figured, as I had stripped 'NIX's, I could apply that strategy to Windows with more ease if I let Embedded's tools safely do first stage for me. Good head start cuz I don't have years of obsession for one hardening. ;)
Also, on lighter side, I put some people with extremely minimal needs on hardened Mac's with PPC processors. I knew malware authors would exclusively target Intel's upon the transition with replacement hardware cheap on eBay. Strategy still works for those using it. One of my air-gapped backups is a PPC laptop I got for $80. What do RaspPi and accessories cost again to deliver what? ;) Otherwise, hardened Mac's on Intel might be a safe strategy for average business due to rare targeting. Even Krebs endorsed that strategy at one point. Still with backups to read-only media and such. So, there's that.
That protection for windows scheme sounds secure, but far too complicated .
>>They fall short when attackers start aiming for the hypervisor, firmware, etc or can do damage within the compromised VM/partition (app-layer attack)
First, i think Qubes added some isolation for USB and graphics , and in general protections against firmware attacks(if you enable VT-d in bios) .
Also , How much of a problem is that if you don't care about protection from state level attackers only commercial attacks, and use app layers wisely(banking has it's own layer, for ex.) ? Because i don't understand how targeted vs un-targeted applies to state vs commercial.
But I wouldn't call this guy the NSA's chief hacker. He only took over that department in 2013, after more than two decades at NSA. He is a manager, not an agent. His practical knowledge is limited to what he has been told and has bothered to read. You don't get to be head of a department in a spy agency by helping the public avoid spies.
Was that because you knew about interdiction or the fact that a 3rd party might have no security? ;)
"He only took over that department in 2013, after more than two decades at NSA. He is a manager, not an agent. His practical knowledge is limited to what he has been told and has bothered to read. "
That's probably true. In that case, though, he'd still know they attacked stuff lower in the stack, did implants, used radar, etc. It's in the basic catalog. How much he'd understand I don't know. That he neglects their methods of hitting hardware or getting physical access suggest he's misleading intentionally.
"ou don't get to be head of a department in a spy agency by helping the public avoid spies."
And that's why. I thought at headline that the guy would have to be a defector or new whistleblower if we were going to get anything out of this. He still works there? And is helping us stop TAO? Who buys this kind of BS...?
Because the interception of data flowing between data centres was/is the backbone of the prism program. NSA has access to he fibre over which those backups will travel.
Flagged due to general crapness.
There, saved you a click.
On my end, being limited back then, I combined whatever proven method I could with obfuscation across the board. That by itself, per monitoring, stopped very sophisticated attacks that common approaches failed to. They'd have to hack it to even figure out how it worked and was configured. Then they could hack it normally. See how that doesn't work out for them? ;) The attacks would transition to physical infiltration (never happened I think...) or social engineering (mitigated many).
Examples for your amusement: (a) using obscure processors + OS's + network-layer guards while advertising they're x86 Linux boxes; (b) sandwiching a custom, randomly-generated, messaging protocol or middleware w/ security features between others; (c) my polymorphic ciphers w/ several AES candidates, random iteration, and random counter values; (d) real port-knocking like SILENTKNOCK variant that doesn't advertise itself; (e) hiding authentication or taint (for tracing) data in checksums at various layers; (f) straight ripping privileged code out of a system while using minimal, unusual libraries for stdlib etc; (g) tools like Softbound + CETS to automatically make stuff safe or languages that do by default.
Lots of tricks that require almost no work, don't negate the security of proven components, require almost no maintenance (outside OS stripping) once you deploy them, and stop or detect all kinds of attacks. Proven against nation-state attackers time and time again. Just wait till I integrate stuff from SecureCore, Air Force's HAVEN, SAFE, or CHERI processors plus my randomization/obfuscation shit at HW level. Need funding & specialists for that but I'm still doing high-level designs & research in case I ever get it. NSA already failed to breach weaker versions of that. TAO gonna scream when next-gen versions get rolled out into production. ;)
Port knocking is great as well.
Sounds like you are doing great work!
Interesting point. False alarms were small enough that I never thought to measure the impact of alert fatigue in these changes. Might consider it in the future.
"I'm convinced that its wrong to say there is no security in obscurity."
It might help to just call what we're doing obfuscation. That's the proper term. Security by obscurity is either defined as or is connected to the concept that only hiding the details would keep you safe. In our examples, we're using a strong, security technique plus hiding a critical aspect of how we use it. Take away the hidden part, it's still at least as strong as a good, security technique.
Hence, we're obfuscating otherwise good security rather than doing security by obscurity.
"Sounds like you are doing great work!"
Appreciate it! Email me if you want to see other solutions or essays I did. I let people copy them without fee so long as they give credit. No blog so it's currently a lot of text files and links to master copies on Schneier's blog.
Thanks for the read.
https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fcdn.patch.c...
It also had a lot of common best practices like asset management, strong network segmentation and inspection, anomaly detection, and application whitelisting.
The sort of stuff you hear about on the Critical Security Controls Top 20.
This is all just high-level, best practice, straight from the CEH or CISSP exam, textbook information.
His information was applicable for big organizations with a network and not really individuals. Like anti-virus is going to help you against the NSA?
That being said, I really feel the future is in predictive and reactive machine learning algos on data.
Interesting how submission sometimes works. I submitted a link to this from Wired: https://news.ycombinator.com/item?id=10994795 more than a day ago which got just about no interest and here it is now trending on the front page.
Not complaining, just making an observation!
I admit it's amusing to try to get around the restriction by mocking the moderator. But not amusing enough.