Tuesday, January 26, 2016

The Elephant in the Room

This here is an elephant in the womb. So cute!

Wassenaar has been a learning experience for everyone involved. Everyone, that is, except the State Department. While Commerce has reached out and been quite open that they thought the initial rule was unlikely to be good, the State Department, which negotiated it in the first place, is as opaque as possible.

Look, there's three major companies in the States that sell penetration testing products. State called none of them before negotiating the rule, and I don't know why people think we can trust them to negotiate the next iteration, other than just ripping it up. 

Because any language that goes into this agreement is going to have subtle and complex issues that affect many segments of our industry. Do you trust State to understand the implications of them enough to allow them to negotiate in realtime on our behalf? Why would you?

I'll let you know when State finally makes an effort to reach out to those of us in the industry. Their claims of "We asked our technical advisory board" run very hollow. You can't help but assume they knew for a fact their technical advisers were not experts in this area and just didn't care.




Friday, January 15, 2016

Will there be a zombie Wassenaar Rule?

We know from the House Hearing this week on Wassenaar that the rule is dead in the United States. But will its zombie haunt us from Europe? That's the question. Because American companies also need their European offices to not be hamstrung, which is why State needs to go back and renegotiate this whole bad dream away.

If you haven't seen the hearing, it is here:



To give you some background: The State Department is playing massive amounts of defense. For example, they tried to pull Ann Ganzer out from the hearing the day before, and substitute her with Vann Van Diepen, who in theory outranks her, but would allow State to say they don't know the details on how this debacle came about, and otherwise obfuscate the issue.

Congressional Staffers immediately saw through that ruse and subpoenaed her. But even trying it makes State look bad.

Mr Van Diepen loves regulations. That's understating it a bit. His background is in Bio/Chem/Nuclear and he LOVES regulations like they are his grandchildren and thinks they can work everywhere, on everything. Nobody else in the room shared his opinions. It's also telling that while State ran their terrible ideas through their own technical advisory panel, they didn't stop to think that maybe calling a couple companies who would be affected would be a good idea. For some reason it's up to every company to be on every government board and advisory committee to keep them from making mistakes like this.

The fact is: I'm a highly public person in the community who runs one of the three companies most directly affected by this regulation, which State knows because THEY ARE A CUSTOMER. It is gross negligence for Ann Ganzer not to have reached out to me before the original language was finalized - and she has yet to do so even now. She claimed during the hearing that knowing what she knew then, she would have made the same choices, but if she knew then what she knew now, she would not. In other words: she didn't bother to learn enough about what she was regulating to make a wise choice.

So sensing this level of commitment to making a rule that works for industry and is rooted in reality, the House committee told her in no uncertain terms where she would be getting her next step from: Industry.

Her last argument is the same one we've covered before on this blog: "None of the other countries who have put this rule into place are having issues!" But of course, they also don't enforce their rules the way we do and we covered why this argument doesn't fly for many reasons in our previous blogpost here.


"I....have no excuses for what I did. It seemed like a good idea at the time."

"I'm not sure if you're going to be in that chair next year. To be blunt."

Wednesday, January 6, 2016

When your strategy fails!

Cyber Regulation Debate


The best regulatory effort...
I want to point out two interesting elements of the recent fronts in the ongoing Cyber Policy War. The first one, is the baffling Wassenaar support from various human rights groups upset at a tiny Italian company named "HackerTeam".

Someone, I'm sure not at all connected to any of these human rights groups, tried to buttress their argument that penetration testing software should be export controlled by uber-double-ironically hacking into HackerTeam and releasing all of their internal emails and documents.

At first, this worked well: HackerTeam had a number of contracts with people who they said they did not (Sudanese Govt, etc.).

However, it also demonstrated that HackerTeam had, in fact, gotten an export control license to do whatever they wanted, which completely undercut the whole rational for the Wassenaar cyber regulations, and in the end, helped cripple support for it. It also pointed out that of course HackerTeam's biggest customers were Western agencies - and if they really wanted to kill off HackerTeam, they could just close their pocket books.

Encryption Debate

Likewise, the crypto debate has always had a number of supporters of key escrow threatening loudly "When a terrorist attack happens, and the terrorists use crypto, this law is going to get shoved down your throat, so you better prepare a nicer version of the law for us and promise to self regulate!"

The FBI Director has been the head cheerleader on this, but everyone else on the key escrow side has parroted these remarks. And lo and behold, once a terrorist attack happened we saw a MASSIVE push to get the argument moved to pressure Apple and Google to change "Their business model" to allow for key escrow/crypto backdoors to happen.

But what also happened? JUNIPER. We still don't know how Juniper found the backdoor in their code. They claim "internal code review" which could very well be language that means "The NSA told us."

But what we do know is that they used the cryptographic primitive (DUAL_EC) that DOES provide for a "secure backdoor". It's the perfect key escrow!  This is what the FBI is asking for! But having a perfect mathematical primitive doesn't help the engineering side of things.

The weakness everyone is complaining about is not a mathematical weakness. It's an engineering weakness. And the Juniper hack completely demonstrated the fragility you introduce when you implement a "Cryptographic backdoor" in your system. Attackers then have a place to use to put implants into your network that are very hard to audit or control.

And, of course, China jumped the gun by requiring key disclosure from companies - the exact thing technology companies have been wanting the US Government to help prevent, which is why they were so angry the FBI was taking the opposite position in the first place.

So now the conversation has swung the other way, but with an EVEN MORE pissed off technology lobby, during an election year no less.

In summary: The crypto backdoor conversation is not one the government can win, in any likely scenario. It is time to move on and deal with the consequences.


Wednesday, December 9, 2015

The Force Awakens: Dec 8 Wassenaar Meeting Notes

I spent my day here so you didn't have to!

So one thing you might know about spooks is that they can "Talk Around" almost any subject. Essentially by using a complex dynamically generated shared key they can sit at a table in a crowded restaurant and converse about secret things in plaintext.

Commerce Dept officials have made an art of doing something similar but without the shared key.

Kevin Wolf (Asst Secretary of Commerce Dept) started off the meeting with a clear indicator that "intrusion software" was not going to get regulated any time soon. Here's how he did it: "As you know, we're coming up to a limit because of the election as to which regulations we can implement. I think we probably have three more slots left. Obviously the Rocket Engines one is almost done, and after that I think maybe we'll work on Night Vision Sensors and Lasers, always important. Lots of good work to do in that area before we're finished. Eventually I think Vehicle Ships and Armor." (Count them - that's three and "intrusion software" is not on that list.)

He also related a story about how in early 2014 they because anxious about the proposed scope of the cyber regulations, which is why it came out as a "proposed rule" and not a finalized rule, something they've not done before. He expected a response but not the "Rather Aggressive Response about the negative unintended consequences" he got. And of course, he mentioned that while various reports (leaked from State) have pointed towards some sort of resolution of this process by tweaking the implementation, the next step won't be a final rule. In fact, he hinted towards an opening for no rule at all by saying "I'm not sure what the next step is, because we're still talking with the US Gov Agencies, going through comments, getting industry input. When there is some sort of consensus, then we'll know what the next step is, but as the person who signs the rule, I can assure you that there are no positions other than the next step won't be a final rule."

Then he left. Randy Wheeler (of Commerce) pointed out that she's glad so many people from industry showed up to talk about cyber regulations and how they realized it was because there was continued "high interest" in the proposed regulation. The next hour was devoted to the proposed Wassenaar "Intrusion Software" rule.

"NAM is National Association of Manufacturers"
Dr. Sergey Bratus did an excellent job of looking at how there is NO WAY TO DEFINE THE STANDARD EXECUTION PATH OF A PROGRAM. This is key to the language of Wassenaar. It points to a need to go back and renegotiate and remove the whole thing. He was very clear and understandable even to a non-technical audience. The one telling question he got was "Is this something we can work around in our implementation?" (Which I assume was from State Dept representation). And also of course "What about the other clauses that relate to avoiding monitoring, exfilling data - do those help?" ("No.", said Sergey)

Afterwards the National Association of Manufacturers pointed out a couple key facts.

  1. Every single one of their members, no matter how small, is international
  2. And hires security researchers to find 0day in their equipment
  3. And thinks this issue is important enough to show up and is not ... in favor of crazy regulations
Just having them there at the table was a sign that this process of getting industry input could go on forever. FS-ISAC spoke briefly over the phone at the last meeting, and there are many more ISACs left to go!

Then (Tom Millar) DHS and (Allen Friedman) NTIA (another branch of Commerce) had their say. They're not allowed to say anything about the regulation in the open. Instead they said "We feel like there may be some <pregnant pause> detrimental impact on the sharing of information in this space with the proposed regulation. "


Afterwards FireEye and IONIC presented some information about how informing their customers about intrusions would be hamstrung.
"Dear State: Your idea is bad and you should feel bad."
Then it was question and answer time, and DHS and NTIA pointed out that not only would the costs of getting a license be passed directly to them and their programs, but also that there would be a "chilling effect" on beneficial information sharing, and that the President has made "information sharing" a clear priority.

One more question that keeps coming up (from State) is "Why are we having all these problems when other countries in the Agreement have implemented the rule and don't seem to be having any issues?" It's a major sticking point for them.

The answer is four-fold.

  1. There are no like-to-like comparisons for other country's industrial bases and the US industrial base. 
  2. Other countries don't enforce export control in the extremely rigorous way the US does. They have a "default we assume you are good unless you are clearly trying to be bad" policy. The US investigates any possible violation as a super-felony with massive liability.
  3. When export control becomes inconvenient, other countries just issue blanket exceptions to local companies (F.E. HackerTeam). 
  4. We have a large level of interest from "security researchers" and our industry is not just protecting their own interests, but looking out for broader principles of freedom.

That last point is the most important, and speaks to the long history of those who are non-lawyers but heavily involved in the resistance effort. In the US, researchers have been absorbed into Govt and Industry and are in positions to make this kind of regulation difficult - but of course, more hard work needs to be done to finally kill it forever.

Keep in mind, right now State's argument is not about how beneficial the rule is. It's about how much of a pain in the ass it would be for them to go back and renegotiate.

----------------------------------------
The comment section:


Sergey's paper:
http://www.cs.dartmouth.edu/~sergey/wassenaar/wa-intent-fallacy.pdf


Thursday, December 3, 2015

NTIA Vulnerability Disclosure Loya Jirga Part Deux

Here we are, gathered in a circle to talk about vulnerability. 


So the NTIA meeting was livestreamed yesterday (and livetweeted) and also you could physically attend! I had good luck with a combination of the conference-call and video system they had, but I know other people did not.

But some of you in our community don't want to sit through the entire day of action packed livestream, or read my twitter feed. So I'm going to provide some perspective below.

First of all, there were a few "moments" that caught my eye during the day.

Wendy Nather (who works in the retail industry space) started the day off by stating her group was interested in a way to tell extortionists, which they get a lot of, from normal vulnerability researchers. I'm not sure this is as hard a problem as it sounds, since extortion is already illegal? I also don't know the scope or scale of this problem in the real world. In the financial industry Immunity has, in the past, gotten requests to look at a potential issue reported from an outsider to validate it or find it if not enough information was given about it. In some cases the original reporter was looking for a gig of some type (aka, leading to money) but to be honest, these cases are not "extortion" and a "bug bounty" would have likely handled it better than any other solution for nominal cost.

Keep in mind, it is literally impossible to prevent full-disclosure on the Internet. There's a genuine Multiverse of vulnerability disclosure possibilities, one of which is tell a vendor about something and then forget about it forever, and the rest are going to make every vendor in the room uncomfortable in some way.

Nevertheless, she said one thing I thought was interesting: "Is there anyone in the room who thinks there are no situations where you should sue vulnerability reporters?" And nobody raised their hands. I would have raised my hand, and not because I'm naturally contrarian, but because it seems obvious and even in the past when someone has hacked into an Immunity server and then told me about how, my instinct was to thank them, not sue them (and then of course we removed that server from the Internet forever).

Some interesting statements were made towards the end of the day by Juniper's representative, who is much closer to the position of many big software houses than a lot of the other speakers (Oracle, for example). In particular, he stated that he would "personally rail against any document" that was a proponent of bug bounties or of an open vulnerability marketplace.

Toyota, at the end asked for a less publicly transparent forum, under Chatham house rules (which prohibit the attribution of statements made during a meeting). NTIA's process is fully transparent to the public, as they pointed out (to their credit), but DHS offered to host such a meeting.

And of course KatieM of Hacker0x1 (who is obviously a proponent of bug bounties) pointed out that in some cases, although a lot of thought goes into "how long before a fix is made available should be acceptable", there's often cases where no fix will ever be made available for various reasons. This was a theme of the day as pointed out by KatieM and Art from US-CERT: When the details of any particular issue were discussed, reasonable people disagreed widely. 

There's always a drumbeat theme from various parts of industry of "If only we could have Commerce sign off on what is GOOD and what is BAD behavior on the part of vulnerability disclosure" - and this, of course, is the clear and present danger I am hoping never happens.

Chances for it actually happening are low, despite a process in place to guide the "community" toward that point if it is at all possible. Most of the people are from West Coast software companies or the Government. There's the thought that "SOMETHING MUST BE DONE" which guides their actions but that said, even after two grueling meetings, there is still nothing even close to consensus what that thing might be.

Keep in mind that these people are all extremely well intentioned, but literally today I was proofreading a deliverable for a critical infrastructure company and I know that for all the noise about Internet of Things the way loss of life happens in the critical infrastructure space is probably SQL Injection, just like in any other space. Stuxnet is the perfect example of this, if you look closely enough.

In other words, the thought that the "safety" space is somehow magically different or more important  or more sensitive than say, the financial space, is more marketing than science. I say this as someone who has hacked all those things. Although, to be fair, this again is one of those issues with wide disagreement.

In summary, there may be massive ancillary benefits to having all these companies all together in one place. The companies clearly would prefer that place to be in Silicon Valley. But it is still highly unlikely a "statement of principles" will be the final result.

--------------------------------------------------------------------------------------------------------------------------

This area reserved for various quotes and resources (unsorted):

Blog from Space Rogue (of Tenable) (either optimistic or super pessimistic, depending on your worldview):
http://www.tenable.com/blog/the-vulnerability-disclosure-debate


Here you can see that Greg disagrees with me about the "Safety" industry being different.

Dino was basically the one "researcher" voice in the room, although obviously others have experience finding bugs.


The FDA is of course doing their thing. But this is pretty far out of range for their capability set (and in fact, maybe all roads lead to the NSA?)

There is palpable anger still for Charlie Miller and Chris for their car hack on a highway shenanigans.

The consequences most companies are worried about are "Their bottom line".

Important to note that FIRST was very active during this meeting and is of course doing a lot of work on vulnerability disclosure issues for multi-party - as are many other people and groups. This is something that keeps coming up - every group on Earth is working on making a methodology for disclosure.

Thursday, October 29, 2015

Wassenaar Meeting with Department of Commerce on 10/28

So I went to the Department of Commerce to speak at one of their export control working group meetings. It was fascinating. Not my talk, which is here, but the meeting itself.



For example, one of the items on the list was the machine used to make wrapping paper. Apparently modern wrapping paper is very similar to stealth coatings and other important things. But obviously, restricting a machine used to make wrapping paper is a useless task. 

The Commerce Department is not crazy about doing dumb things that hurt the US economy. WHICH IS GOOD NEWS FOR THE SECURITY COMMUNITY, because meetings like this one clearly show that they are listening on the "Intrusion items" export control issue, and are unlikely to bow to State Dept or NSA/DoD pressure to eviscerate our whole industry.

Some bulleted thoughts:
  • State Dept pointed out that while many people think of this as a human rights issue, it is not. This agreement and process is solely about National Security, so we can table all the discussion of human rights issues with regards to "intrusion software" 
  • Nobody in the room (or anywhere else) is willing to support the export control language as written, which means one way or the other it has to change. This includes the human rights community, but also State and NSA (who were in the room)
  • There was a lot of clarification of the role and value of Penetration Testing as a process, and how that would be adversely affected. We handed out a sample deliverable, for example. Also I invited everyone to INFILTRATE.
  • FS-ISAC weighed in as an "End User" and said "We are regulated by certain laws, and this proposed wording violates those laws."
  • The idea that you can separate intrusion software ("not regulated") and software used to generate and control intrusion software ("Super Regulated") was shut down pretty heavily both by the Coalition for Responsible Security and by other speakers
  • Microsoft is one of the strongest voices against this regulation, along with the Coalition
  • Commerce does not like regulations with so many carve-outs that they don't have anything actually BEING regulated. They actually like nice clean regulations the way we like nice clean programs. This is not the kind of thing they like.
  • Other topics that came up: Real time information sharing conflicts with regulation, the fact that any regulation needs to be "cloud friendly", export control not being the place for this sort of thing, many others which point out that this regulation cannot go forward

State Dept has another meeting today, which I'm not going to, but hopefully it will not be a backwards step.


Thursday, December 11, 2014

Our Ironic Pearl Harbor

"And with each passing year it is going to seem more quaint, the little tin airplanes bombing the sleepy iron giants" -J. MacDonald


December 7th marked the 73rd anniversary of Pearl Harbor, one of the scariest events in our nation's history.


These days a nation-state can terrorize you (and by “you,” I mean anyone or anything - an entire country, a government branch, a company, an individual) with computers alone. In this week's case, the “you” is Sony Pictures’ employees, who may well be out of a job before the attack by North Korea is over. But it also includes banking executives such as those at JPMorgan who are dealing with a constantly escalating threat from cyber attacks.


Don’t be fooled by the rather circumstantial public evidence that ties the Sony attack to North Korea - that’s just cover for the real intelligence behind the attribution assertion, which is no doubt air-tight. As “hard” as the attribution problem is, major attacks always have attribution if for no reason than because North Korea’s military needs to make their point not to “mess with them.”


And if you’re sitting in your living room or office, far away from Sony Pictures, you should still be scared, because in its own way, this is worse than Pearl Harbor. A naval battle is something only another nation-state could do - but a cyber attack can be done by a near peer. In the case of the Sony Pictures attack, it seems clear this was conducted by North Korea; but the next Sony-like attack could easily be done by angry environmental groups, a religious sect, or a group of people simply “out for the lulz.”


So what can we do about this new reality? The first step is to embrace it. We cannot ask our government to do more to protect us. In fact, we need to ask it to do less. We’ve drained our investigative resources by having having the FBI and Secret Service spend their time tracking down every teenager who managed to collect some stolen credit cards. We need to make a shift into letting that risk be the problem of people who built the broken credit card system in the first place.


Likewise, right now the government is trying to negotiate on behalf of American businesses with the Chinese. The trillions of dollars worth of IP being stolen by their military-grade hackers every year is going directly to Chinese businesses. This negotiation is going to fail because those Chinese businesses own the Chinese Government the way our big companies own ours.

Businesses need to prepare to take actions directly to protect themselves - both by massively investing in effective information security technology practices they can support, changing the way they do business to avoid exposing themselves, and allowing themselves to punish Chinese companies and people directly for involvement in IP theft. Right now, technical experts walk right out of "APT1" and into the arms of jobs at American cyber security companies. This could easily stop with a simple "no hire" policy, draining the Chinese state of their offensive talent. 
  
Sony's terrible week is not the beginning, any more than Pearl Harbor was a beginning. But it changes the security story for every US company. It used to be compliance drove spending. Expect to see real security spending driving adoption of new technologies and macro-sized budgets. It's ironic a Japanese company had to die to teach us that lesson...