News for hackers. Stuff that matters.
Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @09:18AM (#12365964)
I do not understand this "they're making us less secure" argument. The only way that the NSA could be actively making systems less secure would be if they were putting vulnerabilities into the source code or silicon. The reality is that the NSA need not do that because these systems were already insecure and the NSA just had to figure out how they were insecure. They would have been insecure, even if the NSA had never scrutinized them.

The affected systems are ones that I had told others were likely insecure (by virtue of being closed source), but no one listened to me. If you care about network security, then you should use a properly configured software firewall/router running Linux or *BSD. This Cisco/Juniper/etcetera equipment is closed source, hard to scrutinize and almost certainly has horrible flaws that would never be allowed into a serious OSS project.

Of course, things like pfSense are not "enterprise grade", so people will continue to ignore advice to use them, put these vulnerable systems into production and then be surprised when it comes out that the security was terrible.

Re:The NSA Is Hoarding Vulnerabilities by explorigin on Friday August 26, 2016 @09:30AM (#12366052)
There are three sides to the "making us less secure" argument.

1. If they would work with companies to get the vulnerabilities fixed, we would be more secure. The lack of action in this area doesn't make us less secure. It merely delays increasing security. Not the same thing so this argument is not logically sound. (It's like the RIAA saying that downloaded albums is directly lost revenue while there's no guarantee that the pirate would buy instead of download.)

2. Having a large cache of exploits that they cannot successfully secure creates a target for bad actors. If this cache is compromised then we all are actually less secure.

3. Other efforts by the NSA such as compromising RNGs and security protocols do actually make us all less secure.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @09:44AM (#12366143)
#1 is a false equivalence. There really is no more secure here. The system is either secure or insecure. If it is insecure, then the only questions are how bad is it and how it could be made less insecure? If something is secure (e.g. seL4), then there is no room for improvement.

#2 is nonsense because the system is already insecure.

#3 is a straw man because we are talking about the NSA not contributing the results of their security research to the world. The other things that they do that actually making things less secure are not the subject here.

Re:The NSA Is Hoarding Vulnerabilities by explorigin on Friday August 26, 2016 @10:40AM (#12366581)
#1 "the system is either secure or insecure" - only according to the particular system's threat model. Your counter-argument falls flat because it assumes all computers share one universal threat-model. "more secure" refers to probabilities built into a particular threat-model. If you're going to make security a binary thing, then without absolute knowledge of the entire system...it is insecure and we're wasting our digital ink.

#2 depends on #1

#3 if the subject is "things the NSA does do to make us less secure" then it is the subject.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @11:27AM (#12366901)
Security like temperature. It has an absolute limit. We are really only talking about how insecure a system is. That becomes obvious when reading about things like seL4.
Re:The NSA Is Hoarding Vulnerabilities by Jweb_Guru on Friday August 26, 2016 @12:00PM (#12367127)
While I agree with you in principal and am sympathetic to your position, it is not the case that security is "absolute" without taking threat model into account. As a specific example, SeL4 does not take timing channel vulnerabilities into account.
Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @03:14PM (#12368592)
If you are doing formal verification, then you can make your own model, create software and attempt to prove that the software has issues within that model. seL4 is just one example of someone doing that.
Re:The NSA Is Hoarding Vulnerabilities by Jweb_Guru on Monday August 29, 2016 @12:46PM (#12383152)
Uh, I know. My point is that you won't always know all the security vectors you have to deal with. There's no way of just asserting that your model is free of side-channel attacks without (minimally) intimate knowledge of the hardware it's going to run on.
Re:The NSA Is Hoarding Vulnerabilities by jonquark on Friday August 26, 2016 @09:26AM (#12366024)
Aren't they literally "making us less secure" by keeping records of vulnerabilities on computer systems but not disclosing them?

This means they can't be fixed by the software company but as this data dump shows, shady characters might be able to discover these vulnerabilities by (illictly) accessing computer systems used by the NSA.

Edit: Yes the shady characters might be able to independently discover the vulnerabilities if they are not "NOBUS" but this is another avenue.

Re:The NSA Is Hoarding Vulnerabilities by tptacek on Friday August 26, 2016 @12:17PM (#12367239)
No? Learning about a vulnerability doesn't create the vulnerability, or prevent others from learning it as well.
Re:The NSA Is Hoarding Vulnerabilities by danjoc on Friday August 26, 2016 @11:39AM (#12366970)
>The only way that the NSA could be actively making systems less secure would be if they were putting vulnerabilities into the source code or silicon.

I just wanted to point out that the NSA does that.[1][2]

[1]http://www.nytimes.com/interactive/2013/09/05/us/documents-r...

[2]https://www.grahamcluley.com/2013/12/nsa-bribe-rsa-encryptio...

Re:The NSA Is Hoarding Vulnerabilities by tptacek on Friday August 26, 2016 @12:17PM (#12367235)
I believe he's referring to the argument Schneier is making, not to the entire notion of NSA's SIGINT mission. Dual EC was indeed an instance of NSA harming everyone's security (less, at least in the US, than is broadly supposed, but clearly and deliberately). But it's not an instance of NSA acquiring zero-day vulnerabilities and then using them to harm everyone's security.
Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @01:36PM (#12367853)
That is correct.
Re:The NSA Is Hoarding Vulnerabilities by CWuestefeld on Friday August 26, 2016 @09:48AM (#12366171)
The NSA found vulnerabilities, built tools to exploit them, and then allowed those tools to leak. That made us less secure, QED.

The argument against that is going to be "they weren't supposed to leak". But that's dumb. This is the real world, and the best laid plans, etc. We need to build systems robust to what will happen, not just what we want or expect to happen.

Re:The NSA Is Hoarding Vulnerabilities by tptacek on Friday August 26, 2016 @12:34PM (#12367368)
That is an argument whose logical conclusion is that NSA can't do any SIGINT using vulnerabilities: that the "equities process" result should simply be "always disclose". But that's not on the table in any proposal, including the VEP proposal.
Re:The NSA Is Hoarding Vulnerabilities by CWuestefeld on Friday August 26, 2016 @04:15PM (#12369005)
That is an argument whose logical conclusion is that NSA can't do any SIGINT using vulnerabilities

My argument shows that in some specific instances, we are less secure. There's probably still a "net global" argument to be made saying that although there do exist costs, they're outweighed by the overall benefits.

The problem with that, in turn, is that we're not allowed to know either of the arguments into the equation. They argue that the costs are zero (which is clearly false), and they won't tell us what the benefits are (other than the unsupported claim that they're immense).

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @10:17AM (#12366416)
The argument against that is that you are hopelessly insecure if your security strategy is to hope no one develops tools around vulnerabilities in proprietary systems. That is going to happen and they are going to leak whether the NSA does it or not.

The best bet is to aim to build systems like seL4 and use properly configured well engineered OSS solutions until solutions like seL4 become available.

Re:The NSA Is Hoarding Vulnerabilities by JustSomeNobody on Friday August 26, 2016 @09:24AM (#12366014)
He says, "Hoarding zero-day vulnerabilities is a bad idea. It means that we're all less secure."

I take this to mean we are less secure than we would be if we could fix the issues (obviously).

I don't think this means the same thing as saying it "makes us less secure".

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @09:32AM (#12366061)
Bruce Schneier is well documented to equate failing to disclose vulnerabilities with making systems less secure, or as he put it in this interview, less safe:

https://www.technologyreview.com/s/519336/bruce-schneier-nsa...

To his credit, he was talking about weakening encryption standards, but then elaborated that simply looking for security vulnerabilities and not telling anyone what they found was also doing that. I find that latter position ridiculous. It would be like saying studying malaria and not reporting your findings makes people less healthy.

Re:The NSA Is Hoarding Vulnerabilities by pdkl95 on Friday August 26, 2016 @09:53AM (#12366220)
This isn't just "looking for security vulnerabilities". Tools were created to exploit the vulnerabilities. Both the archive of hoarded vulnerability knowledge and the archive of exploit tools is a valuable target... because it would be extremely useful for an attacker, thus making us less safe.

This isn't a hypothetical concern, because the Shadow Broker archive is an example of one - or more - of those archives falling into unknown hands. Hoarding vulnerability information concentrates risk which invites thieves.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @10:12AM (#12366370)
Less safe than what? The tools could be developed by anyone who works long enough. These systems were always insecure and the idea that we should ignore that rather than replace them with systems that are less insecure by virtue of being developed with OSS best practices is ridiculous. People need to recognize bad decisions and start making good ones rather than find scapegoats to avoid the issue.
Re:The NSA Is Hoarding Vulnerabilities by pdkl95 on Friday August 26, 2016 @10:43AM (#12366611)
> Less safe than what?

World A contains an archive of concentrated vulnerability information. World B doesn't. World A is strictly less safe than World B, because concentrating information creates a more attractive target. Without that concentrated archive, the vulnerabilities would have to be discovered on their own.

Do you really want to argue that allowing the archive of stolen tools recently released by the "Shadow Brokers" didn't make people less safe? Even though it contained attacks on various routers that were previously unknown? Is it really your assertion that those same tools were never used before the "action" announcement?

> the idea that we should ignore that

Nobody is saying that. Where did you get the idea that we should ignore vulnerabilities?

> could be developed by anyone who works long enough

Obviously, which is why I also discussed the hoarding of vulnerability knowledge.

Maybe all of those vulnerabilities would have been discovered independently, but stealing the archive from the NSA would have been a lot easier and faster. These are not traits you can simply brush off as irrelevant, as most security is not about perfection, but instead about how long the security features will delay an attacker.

> scapegoats

This isn't about finding a scapegoat. The NSA making us less safe is the "bad decision" that needs to be recognized.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @11:15AM (#12366813)
My point is that research or even exploitation is not causation of security flaws.

The flaws themselves are what make people insecure and ignoring that by complaining about people researching them for whatever reason suggests that we should ignore security flaws and just blame anyone who looks.

The release of the concentrated archive will help security in the long term the same way that a fire that burns down a city improves fire safety in the long term by encouraging changes to building codes. Ideally, such things should have been done already, but people tend to only fix things after something catastrophic happens.

Hopefully, people will realize that they need to adopt solutions that are more resilient. That means equipment running fully open source solutions such as PFSense, OpenBSD, LEDE, etcetera.

Re:The NSA Is Hoarding Vulnerabilities by wepple on Friday August 26, 2016 @11:50AM (#12367053)
The NSA would have a cache of remote code exec exploits in PFSense if they actually cared about exploiting. But they don't.
Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @11:58AM (#12367110)
PFSense is much easier to audit than the closed source stuff that the disclosed zero days targeted. Anything that they find in it is far more likely to be found by others and patched. It is a fundamental improvement that you only can get with OSS.

That being said, organizations doing what the NSA does will always exist. Making decisions based on that premise that will lead to a much better result than blaming them for flaws in the things people use ever will.

Re:The NSA Is Hoarding Vulnerabilities by wepple on Friday August 26, 2016 @02:13PM (#12368135)
I definitely agree with your premise, that OSS can more easily be reviewed.

In reality, do you think/know that happens? (I'm genuinely intrigued). I know almost all major software shops generally have some kind of formalized process for internal and external security review; and often have automated tooling to also support that process. I'm not saying it's perfect, but it's there, and catches a lot of bugs.

Running with PFSense as our example, do they have regular codebase-wide and change-specific code reviews and security assessments? I'd be delighted to know they do, but haven't seen much about it.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @03:12PM (#12368573)
There are tools being such as coverity run on it:

https://www.google.com/#q=coverity+pfsense https://www.google.com/#q=coverity+freebsd

That is a rather good tool provided to open source projects for free that finds bugs, including exploitable bugs. FreeBSD and pfSense by extension has the benefit of Clang's various tools for catching issues (e.g. its static analysis, address sanitizer, etcetera). I also know that there was a TrustedBSD hardening effort. You probably would want to ask the pfSense and FreeBSD guys for details.

There are better people than me to ask, but given that it is open source the people doing things are under no obligation to talk about it, it is hard for anyone to know everything being done.

Anyway, my point is that these sorts of things only happen with OSS. If a search researcher has an idea for a new way of catching bugs, he is likely going to use it on OSS code rather than closed source software by virtue of it being easier to do experiments on it. The same goes for non-profits devoting money to auditing code (which the Linux Foundation announced last year). You definitely will not see that happen with proprietary software. This gives OSS an intrinsic advantage.

Re:The NSA Is Hoarding Vulnerabilities by wepple on Friday August 26, 2016 @04:34PM (#12369121)
>given that it is open source the people doing things are under no obligation to talk about it, it is hard for anyone to know everything being done.

Actually, by nature of being Open source there's 100% increased likeliness they'll talk about it - they simply can. It's the thousands of security consultants working under NDA doing code review for software companies that legally cannot talk about it, even if they did want to.

> Anyway, my point is that these sorts of things only happen with OSS.

That's not correct. Software companies have much bigger budgets for security tooling than open source projects. They've got access to clang and coverity as well as a host of other tools that cost hundreds of thousands of dollars.

> The same goes for non-profits devoting money to auditing code (which the Linux Foundation announced last year). You definitely will not see that happen with proprietary software. This gives OSS an intrinsic advantage.

This is really awesome, I'm loving seeing this happen. But For every 1x security review of say truecrypt, you do realize that Microsoft and Apple would've had those exact same experts audit their own implementations several times a year, right?

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @08:14PM (#12370197)
Are those the same experts that missed gotofail? Static analysis should have caught that. Just because they can does not mean that they do. Having many developers sharing code means that they all have an incentive to do auditing.

By the way, there are definitely people who do things with OSS code and never tell others. I cannot know what everyone is doing. I am neither God nor the NSA.

Re:The NSA Is Hoarding Vulnerabilities by schoen on Friday August 26, 2016 @11:36AM (#12366959)
> It would be like saying studying malaria and not reporting your findings makes people less healthy.

That isn't necessarily an absurd thing to say in some circumstances, but let's take a different angle.

A striking difference between information security and microbiology is that the information necessary to attack someone and the information necessary to defend against attacks are almost identical. (People can develop an exploit from a patch, or a patch from an exploit, in a matter of days or hours. And they expect to be able to do so; if we had a working exploit or a detailed vulnerability description, we'd be very critical if a vendor couldn't patch promptly solely on the basis of that information.)

In microbiology, there is a relationship between these two kinds of research or capability, and biomedical researchers sometimes produce more virulent pathogens as part of their research, but overall the relationship is dramatically more attenuated. There are pathogens that researchers have had samples of for decades that they still haven't produced a successful prophylaxis against. And just having drugs that treat infection, or vaccines, doesn't automatically allow someone to cause infections or epidemics.

Re:The NSA Is Hoarding Vulnerabilities by user731955373 on Friday August 26, 2016 @10:01AM (#12366285)
Malaria is more akin to an exploit than a vulnerability.

However, if we are to persist with your example, what you are trying to say is more akin to "Studying malaria and developing, or buying, a genetically engineered infectious disease that uses malaria's infection vector, and stockpiling it in a warehouse, and sometimes secretly using it, and not telling anyone about this isn't making people any sicker."

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @10:09AM (#12366352)
Most of those activities do not make people sicker. The hoarding part certainly does not. We ought to be realistic in identifying each action for what it is, rather than labeling it all as one thing.
Re:The NSA Is Hoarding Vulnerabilities by schoen on Friday August 26, 2016 @11:37AM (#12366963)
Maybe "increasing anyone's health risk"?
Re:The NSA Is Hoarding Vulnerabilities by Johnny555 on Friday August 26, 2016 @12:18PM (#12367243)
Well one way is that they are building tools that exploit those vulnerabilities, and leaving the tools on poorly protected "staging servers" where they can be stolen and revealed to the world.

Whoever stole the tools this time announced them to the public -- how many times have the tools been stolen in the past and kept quiet so they could be used?

Re:The NSA Is Hoarding Vulnerabilities by liquidise on Friday August 26, 2016 @09:27AM (#12366028)
> The reality is that these systems would have been just as insecure had the NSA never scrutinized them

In theory, sure. In practice, this is false. When the NSA finds a vulnerability it can exploit there is information created. As Snowden and the recent hack confirm: data is prone to leaking. Once data leaks, the systems that NSA attacks are fundamentally and operationally less secure than they would be had the NSA not attacked them. This is the very reason it is important that zero-days are reported and fixed.

Re:The NSA Is Hoarding Vulnerabilities by anexprogrammer on Friday August 26, 2016 @09:32AM (#12366060)
If they know of a vulnerability, not announcing it is simply hoping (or worse presuming) that others haven't found it. Not all vulns are found by people who make a nice blog post, claim their $2k, and move on - some will be keeping very quiet and actively exploiting for poltical or financial reasons.

Even with the most positive view, some small subset of those vulnerabilities will be known to others and some will be actively exploited. Hence making us less secure.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @09:37AM (#12366099)
Security of a system is an intrinsic property that does not change upon scrutiny. Rather than accuse those not reporting the results of their researchers we should focus on building systems that are secure like seL4. This blame game is counterproductive and distracts from making secure systems.
Re:The NSA Is Hoarding Vulnerabilities by anexprogrammer on Friday August 26, 2016 @09:49AM (#12366184)
I'm not suggesting accusation of researchers, but in the case of NSA isn't part of their mission improving network security? They founded SELinux after all.

It's not like vulnerabilities are rare or aren't going to be exploited if not revealed.

Re:The NSA Is Hoarding Vulnerabilities by ryao on Friday August 26, 2016 @10:23AM (#12366454)
I do not think that it is feasible to expect a government agency to solve bad engineering. There is no pixie dust that the NSA can sprinkle on systems to make them secure, even if it dedicated all of its resources to trying.

If anything, by doing what they are doing, they are exposing the fallacy of such expectations and hastening the development of systems that are actually secure. By that measure, this is actually improving security in the long term far more than attempting to bolster the status quo ever could.

Re:The NSA Is Hoarding Vulnerabilities by woliveirajr on Friday August 26, 2016 @10:02AM (#12366299)
I think that the line is that if they're not fixing it, making us "more secure", then we're "less secure" (when, after all, we're just left in the same status we were before).
Re:The NSA Is Hoarding Vulnerabilities by wepple on Friday August 26, 2016 @11:47AM (#12367028)
>The affected systems are ones that I had told others were likely insecure (by virtue of being closed source), but no one listened to me. If you care about network security, then you should use a properly configured software firewall/router running Linux or *BSD. This Cisco/Juniper/etcetera equipment is closed source, hard to scrutinize and almost certainly has horrible flaws that would never be allowed into a serious OSS project.

You went wildly off the rails here; the OSS vs closed source security argument is foolish. If you think 'many eyes, shallow bugs' still has validity in 2016, you're not up to speed.

Re:The NSA Is Hoarding Vulnerabilities by chinathrow on Friday August 26, 2016 @09:48AM (#12366175)
"The only way that the NSA could be actively making systems less secure would be if they were putting vulnerabilities into the source code or silicon."

After seeing the Snowden revelations - who says they don't actually do this?