What Does ICS-CERT Do?

This post was inspired by two tweets from Reid.

 

First, DHS needs to stop putting everything they do under the ICS-CERT umbrella. There is a CERT function, and there is a bunch of other non-CERT activity. The naming confuses everyone, and you would almost think that is intentional.

Next, as Reid suggested they should be very clear about their vulnerability handling processes. Right now it is coordination of what researchers submit and the vendor response. There is no analysis, no evaluation of impact, no validation of the vulnerabilities, and no validation of the fix. If the vendor says it is fixed, the alert or advisory says it is fixed. The vendor is not even asked how they fixed the vuln. The process, the best that we can tell, is simply coordination of messaging from other peoples info. Figure out what boilerplate fits best, pull some info from the vendor announcements, and put out an Alert or Advisory.

You probably surmise from my tone that I think this is inadequate and actually of little use. It is particularly harmful when they measure success based on the number of alerts and advisories issued. My recommendation would be to shut ICS-CERT down and just roll it into US-CERT. The whole purpose of ICS-CERT at its creation was to provide second level support for US-CERT when ICS vulns were found. We did not need to replicate the existing coordination function.

However, I realize some see value from the Alerts and Advisories, so I would count it a success if ICS-CERT was simply forthright about how they handle ICS vulnerabilities and generate Alerts and Advisories. Reid is right that the public has assumptions about what they are doing that are totally wrong.

———

I’ve been sitting back and watching to see what activity Reid’s S4xJapan talk would generate. When he found the vulnerabilities in Version 2 of CoDeSys it generated some Advisories that eventually stated the problem was fixed in Version 3 based on the vendor provided information. As we now know Version 3 has the same vulnerabilities as Version 2.

Yet two weeks later there has been no correction or updated Advisory. This is an issue that affects PLC’s and RTU’s from over 100 different vendors, and many of these vendors and their customers believe all is well since they are running on Version 3 of CoDeSys.

Reid showed the exploits on two Japanese products, one from Hitachi and the other from Sanyo-Denki. The later is used to control robot arms. There have been no Alerts or Advisories for these specific examples or the 100′s of affected products.

———

To be clear, I’m not saying ICS-CERT should jump every time a researcher demonstrates a vulnerability. The whole vulnerability in ICS is overplayed given that ICS-CERT does not consider insecure by design as a vulnerability.

They should have a clear and public set of procedures for vulnerability handling so the community can understand what they can expect and how they should interpret the Alerts and Advisories.

Dynamic Zoning / S4x15 Great Debate

One of the most thought provoking sessions at S4xJapan was Wataru Machii of the Nagoya Institute of Technology’s session on Dynamic Zoning in an ICS. One of the great things about S4xJapan is it provides videos and sessions in the Japanese language. The downside is it is not accessible if you don’t speak or read Japanese.

The basic concept is that the security zones and conduits in an ICS should change dynamically based on the state of the ICS. There are two parts to this. The first is how to set up the zone and conduit states that you will switch between based on ICS state. And second, what triggers the change in state. Machii san had good ideas on both of these questions, but it is an area worth further investigation to identify a methodology that can be applied across sectors and customized by owner/operators.

This session was the inspiration for our S4x15 Great Debate: Can Operators Use a Security Display. The control room is often staffed 24×7 by Operators, but they have little security knowledge. The S4xJapan session made me consider if the Security Display could be simple enough that an Operator could trigger a change in the dynamic zone based on the information in a security display.

This is only one possibility.

In the Great Debate we will have attendees submit their single screen security display, and importantly, explain the defined Operator actions based on information shown in the security display. A handful of attendees will explain their security displays, others will be flashed on the screen for consideration, and their will be skeptics voices heard I’m certain.

By the way, this was one of two sessions at S4xJapan from the Nagoya Institute of Technology. They have an active ICS security program there and seem to be working on research with real world implications.

  • Critical Intelligence

Havex Deep Dive

IMG_20141013_045855909_HDR At S4xJapan in Tokyo I presented on a couple things, this post is about Havex. During the talk I am speaking slowly and plainly as the conference was being simultaneously translated into Japanese. Altering your speaking style to help translators is a good exercise that everyone should do. It forces you to be concise and use simple language but warning: it’s a bit dry.

There has already been some excellent articles/research published on the ICS relevant aspects to Havex. Regarded as the second major ICS malware, Havex garnered some media attention which prompted the need for more analysis, writeups, and talks like this. The goal of the talk is to give an overview of what Havex is, what ICS components it has, and then to dive in to the codeflow of the downloadable OPC scanning module. At the end of the talk hopefully the What and How questions are answered but Who and Why still remain.

After the presentation we had some good discussion about OPC module internals/encryption as well as general ICS malware campaigns. The conference did well to foster that type of communication and I appreciated working with everyone there.

I received my samples from insecure Command & Control servers as well as from professional contacts. Shoutouts to Kyle Wilhoit, Daavid, other Kyle, Kaspersky, and Daniel.

Sidenote

Google is maybe a little TOO helpful in trying to save us from ourselves. In attempting to forward on samples I discovered that Google seems to try basic password attempts on encrypted zip files. Putting the samples in a zip archive with the standard password “infected” was insufficient to get past Google virus detection but changing to “infected1234″ worked fine (without changing any file names). Creepy….

S4x15 Is Open For Registration!

We have opened the S4x15 website and registration. There still is a lot to add to the site, like the Conference Hotel, ICS Village CTF, Social Events, Area Info, FAQ, … But we have always believed it is important to provide attendees with information on the sessions and speakers so you can make an informed decision.

The agenda looks great and very different than anything you have seen before at an ICSsec event.

Register right away if you want to get one of the first 50 tickets at the same price we have charged every year since 2007. We will be providing event updates on this site. There is a lot to say about the event, but we wanted to get this open for registration.

S4x15 Registration Opens Tomorrow

Registration for S4x15 was scheduled to open today at noon. We have a one day delay, and registration will open tomorrow, Friday, at noon EDT.

Sorry for the one day delay, but we wanted to get all of the accepted sessions into the site so you know what you will be registering for.

Duplicity, Ineffectiveness & Challenge Pass/Fail

CoDeSysReid Wightman of Digital Bond Labs presented Vulnerability Inheritance in ICS at S4xJapan, and he posted the video and a technical article yesterday. I’d like to weigh in on the duplicity of 3S, the ineffectiveness of ICS-CERT, and the challenge passed and failed by integrators.

What Reid showed clearly in his presentation, and in the tools he released, is that the six categories of Version 2 vulnerabilities had not been fixed in Version 3. All that CoDeSys did was modify the software slightly so the previous tools did not work.

Here is a simple analogy. Imagine Version 2 was a door that had no lock. All a burglar had to do was turn the doorknob clockwise and the door opened. Rather than putting a lock on the door in Version 3, CoDeSys simply made it so the door would not open if you turned the doorknob clockwise. But if you turned the doorknob counterclockwise, the door opens. What was needed was security, a lock on the door, rather than some trick.

I don’t know what else to say about 3S/CoDeSys except they have done their vendor customers and the end users a major disservice by saying Version 3 fixes the security problems. At least Festo was honest when they said they were not going to fix the vulns.

————

ICS-CERT is a vendor megaphone, little more. I know they should expect a forthright answer from the vendor, but is it too much for them to ask a couple of questions on how the vulnerabilities were fixed? These are vulnerabilities that affect 100′s of vendor products.

DHS touts the number of vulnerabilities they have handled as a measure of their value and effectiveness. They add little or no useful information to other disclosures, and they don’t perform even basic evaluation of the information.

It is hard to see any benefit to the DHS/ICS-CERT role in disclosure. Close down shop and move the resources to something more useful. My recommendations for years now is for ICS-CERT to ignore 95% of the vulns and to a great job providing value information on the 5% they deem important.

————

Which leaves the vendors that integrated the CoDeSys software. We are aware of two vendors that looked at the 3S fixes in Version 3, realized they didn’t address the security problems, and built their own protection into the integrated product. A great example of internal Red Teams and SDL doing its job.

The examples of Hitachi and Sanyo-Denki that Reid used at S4xJapan are the case where the vendor did not adequately test third party software that is integrated into their product. Hopefully this will be a learning experience for the CoDeSys customer base.

All ICS vendors are going to have security issues. The important point in evaluating ICS vendor security is how they fix identified problems, and the root cause of the problem in the development lifecycle.

Image by Lyn Matthews

S4x15 Theme & Other ICS Security Events

ICS Security Event

Registration for S4x15 Week will open this Thursday, and be ready if you want to get one of the 50 lowest cost tickets to the event.

We are still working on the one word theme for the event. Some of the leading contenders are Advance, Beyond, and Push. I’ve seen the session abstracts and it is going to be a novel and exciting event, a significant leap forward in the ICS security research community. The gap between S4 and other ICS security events has grown significantly over the last three years and S4x15 will extend that even further. In fact, the technical research and discussions at S4 are going so far beyond the standard ICS security event that it is almost unrecognizable that they are all in the same general category ICS security events

This is not a negative comment on SANS, ICSJWG, WeissCon and the international events. There is still a need to provide basic ICS security education and awareness to a huge portion of the ICS community. In fact, the number of people who need one of these traditional and excellent events is 100x or even 1000x the number of people who need an event like S4.

The problem is the top researchers and thought leaders in this space need to continue to push forward. I guess we could worry about getting too far ahead, outrunning the supply lines. However if we have an event that is accessible and understandable to the newcomer to ICS security, or even an advanced beginner or intermediate, it is worthless to the leaders in the ICSsec space. The S4 target attendee is the type that has long outgrown the other ICSsec events.

A very brief history of recent S4 conferences:

  • S4x12 was Project Basecamp (Insecure By Design), Stuxnet Deep Dive (Detailed discussion of first ICS cyber weapon) and the first session on Internet connected ICS. It opened a lot of fronts and took off the gloves.
  • S4x13 was ICS Exploitapolooza. There was session after session showing a pathetically insecure ICS application or device and watch the speaker exploit it. We had over 50 0days at the event. It brought a number of new researchers into the space, but the point was beaten to death for the S4 audience. This was a turning point.
  • S4x14 was a big step forward. ICS low-hanging fruit exploits were banned. Novel attack techniques for ICS and a greater exploration of what an attacker would do post exploit were the highlights. Some big names in security research stepped into the ICS realm. Plus we moved up to the ballroom, added OTDay, ICS Village, and ICSage: ICS Cyber Weapons as well as a lot more fun at the social events.

So what is in store for the main two days of S4x15? It is a continuation of what was hinted at and started at S4x14. The focus is on the engineering and automation aspects of attacking and defending ICS. We have some great session on simulation for analysis and defense, some novel attack techniques, basically things that you will not see anywhere else. … and there will be triangles.

We have said from the first S4x07 that this event is not for everyone. If you want to discuss OT vs IT or information sharing or what some government agency is doing, go to one of the other great events. If you want a lot of technical meat, new concepts and to mingle with best minds in the ICS security space you should grab a ticket for S4x15.

Friday News & Notes

SCADA Security NewsThe biggest story of the week … we may have the 3rd example of malware targeting ICS. Kyle Wilhoit and Jim Gogolinski of Trend Micro write about Sandworm attacking GE Cimplicity HMI. Interesting pull quote, “As further proof of the malware targeting CIMPILICITY, it drops files into the CIMPLICITY installation directory using the %CIMPATH% environment variable on the victim machines.” These directories are likely excluded in anti-virus deployments.

Digital Bond held the first S4xJapan in Tokyo this week. We will be posting the presentations on Monday and the video over the next two weeks. It was great to see some strong sessions from Japanese researchers, and we were particularly impressed by the graduate students at the Nagoya Institute of Technology. The Dynamic Zoning sessions could be one of the best defensive ideas to come to ICS in a while.

ISA acquired the Automation.com site. The terms of the acquisition were not disclosed in the press release. Walt Boyes, a veteran of the automation press and all things ISA, thinks this is a great move. I’m hesitant to disagree with Walt, but I’m not sure what this says about ISA. Automation.com publishes thinly veiled, if not blatant, vendor advertising disguised as articles and newsletters. At least they are honest about the advertorial. “As you know the most successful marketing campaigns include a combination of editorial, brand recognition and lead generation components. We look forward to working with you and your team on compelling editorial features, as well as integrated marketing campaigns.” My favorite example was when Automation.com insisted that Siemens responded well to Stuxnet even though they lied about fixing the problem. ISA will now be even more motivated to curry favor with vendors rather than provide honest information for the user community.

Billy Rios has started Laconicly, a team of “Building Automation Systems and Internet of Things Risk Management Professionals”. They are also selling a building automation system enumeration product or service called Soteria. Good luck in the new venture Billy.

Protocol Differential Analysis

helix_nigel_brownThe term Protocol Differential Analysis needs to make Google as an infosec technique.  I first heard the term from esSOBi at Indianapolis’ Circle City Con.  I first encountered the trick, though, in a research lab a few years before: a quick and dirty tool was written by a colleague there to help analyze a very, very bizarre serial protocol.

The problem, briefly explained, is this: as an attacker, we want to find out what interesting packets are in a conversation between a controller and its engineering software. For example, we want to find out what packet represents the ‘Stop CPU’ command in a proprietary protocol.  Since the protocol is undocumented, we are left either reverse engineering the master application, which can be extremely time-consuming, or analyzing the protocol stream itself to find the interesting packets.

Protocol analysis is often the easier path.  Unfortunately, industrial proprietary protocols are extremely ‘chatty.’ Based upon the classic industrial poll-response model, the protocols may be sending tens or even hundreds of packets per second back-and-forth between the PC software and the industrial controller. By the time we interact with the software and click the ‘Stop CPU,’ button on a graphical interface, we may have thousands of packets to dig through.  We want to find the packets that are interesting, but end up wading in a river, looking for the raindrop that holds the key to an attack.
Read More

Friday News & Notes

Letter FWurldtech announced the Achilles Industrial Firewall. It was hard to understand why GE purchased Wurldtech for their protocol testing, but if they were purchasing this product it begins to makes sense. The pricing for the perimeter model starts at $30K and the field model starts at $6K. This is significantly more than competitor products, not to mention non-industrial firewalls that are about 1/10 this price. The first release has some deep packet inspection for Modbus, DNP3 and OPC Classic, awaiting more details on this.

Mandiant announced an ICS Gap Assessment service. Not a lot of detail and not a big surprise given they had hired a handful of experts. Still my guess is this is a sidelight to the main goal of adding ICS expertise to the incident response service that Mandiant is known for. Many of the largest companies in the US and world own and operate ICS.

This week was the semi-annual, fall meeting of DHS’s ICSJWG in Idaho Falls, ID. There were between 140 and 160 attendees with half attending for the first time. Spy reports say the agenda was solid, but not much new from past events. It’s a reasonable free event for newcomers to ICSsec to attend, and there is probably a place for that.