On the Need for Free (and Fee) Open SCADA Vuln Research
I’ve been meaning to chime on some of the issues that surfaced over the weekend at SANS, but real work has been getting in the way of my blogging.
Shame on me.
In particular, I wanted to respond to some of the issues that were raised when Digital Bond’s work with DHS/US-CERT & CERT/CC last spring appeared as a bullet point (with some editorializing from Jason Larsen) an INL SANS slide in less than favorable terms.
Here goes. Warning, this is long!!!
If you hadn’t read Dale’s blog on how business models impact disclosure practices you might find it ironic that two of the first three SCADA Vulnerabilities to be disclosed (and reported to) US-CERT were not the result of commercial vulnerability assessments or the result of an well-marketed INL-CSSC Vendor Assessments.
The reality is the first two advisories (LiveData and Tamarack) were done in our spare time and on our own dollar. And for what is is worth, probably 15-20 times the effort spent was on communicating with vendors and working with coordination centers than was spent finding the flaws. This either means the bugs were so easy to find (they were!) or that the people/organizational challenges were hard to work out (sort of true)
In any case, if you did cheat and read Dale’s blog, you know exactly why these two flaws were the first to go through (and helped refine) the US-CERT’s process for handling vulnerabilities.
It is simple.
There were no commercial/contractual obligations standing in the way of disclosure–which is not the case for the majority of SCADA/DCS product/device/application assessments being conducted and the dozens (to hundreds) of product vulnerabilities that may have been discovered and that may (or may not be!) fixed as a result of assessments.
(NOTE: I’m making these numbers up, but they are probably conservative given the number of assessment that have been conducted. Or maybe they are lower because I’ve heard CSSC is only doing assessment of “non-Legacy” systems. Which is another reason why end-users need to do testing themselves or get someone to help them test systems that are actually deployed and get vulnerabilities addressed vs. securing forklift-upgrades)
My not so subtle point here is that relying exclusively contract vulnerability testing/assessment that is bound by NDA/CREDA to “raise the bar” is unhealthy for the industry.
It is also difficult for outsiders to measure the impact or effectiveness of these assurance activities.
(ASIDE: When I was at Cisco, some of the metrics we used for ourselves/for product teams was the number of defects discovered, their severity, how many long the bugs remained open, how many had been resolved, how quick defects were assigned to engineers, how simple/complex were the vulns to discover and exploit. Product teams that took security serious oftened assigned bugs in a matter of days while others let bugs go into the triple digits. It wonder if DHS (or even INL) has this sort of data on issues found by CSSC assessments.)
But do end users ever see the results of contract applications assessments?
Yes, end users sometimes see commercial assessment results when vendor contracts for a 3rd party assessment. Or at least some subset of the results. I’ve seen a fair number of these type of reports for non-SCADA products and applications. The way it works is that when commercial application security firms (such as @stake or Foundstone or others that have not been swallowed up by security vendors) do assessments, there are usually two sets of deliverables: the one the vendor uses internally to get a true assessment of the product and the sanitized version used for marketing purposes that can shared with customers. The consulting companies also sometimes give you (meaning the vendor) custom tools that were developed for the assessment.
Some examples of the 2nd type of deliverable are Cisco Whitepaper on VLAN Security for Catalyst Switches and the @stake report. SCADA Asset owners might have seen similar types of documents for their current SCADA/DCS system–or more likely, for a new system they might want to upgrade to. You will notice you don’t see any defect information, like you would in a product advisory. Something else is that these sort of deliverable highlight the security configuration features that are available vs. mentioning implementation vulns. That being said these sorts of white papers are far more meaningful than the “SANS Super-Secure SCADA Vendor Awards”
It’s a win win: the vendor shows they’ve had work done and the consultants use this show they’ve worked with the big vendor to get more assessment contracts, perhaps with the vendor’s competitors.
What is my point? Should vendors contract security companies or government entities to do these sort of assessment? Of course. Should asset owners sponsor assessments and testing of SCADA products and applications? You bet.
But these activities have some inherent constraints due to their commercial nature.
The sad fact of life as a security consultant is that your clients are free to ignore your advice, no matter how much they are paying you. This is just as true at Digital Bond as when I worked with product teams at Cisco and found bugs in security products.
A client can decide not to take action on an assessment findings. Whether is a firewall rule change or a data validation strategy in a web application. Development managers can and will ignore your advice or junk your bugs in the defect tracking system. And there may be valid technical or business justifications.
But there always are. Based on experience, this is less true for bugs that are not protected from disclosure, that are “free.”
If a researcher reports the bug to a vendor security team (assuming they exist) the security team esclates these issues within customer support organizations. Quie often these security teams are in “customer advocacy” groups and work to get the bugs fixed. This happens less for internally discovered bugs or others that will never go public.
It might be counterintuitive but some folks in vendors thing external discovery and disclosure is a good thing. If I go back in time 2-3 years, I was actually glad when researchers found and responsibly reported flaws in Cisco products. When customers found and angrily reported default undocumented administrator credentials in shipping products, I cheered.
Product management or sales teams might not like the bad PR caused by a BlackHat presentation done by Mike Lynn or FX, but I believe the impact of these external inside development organizations was positive–and ultimately made products and customer network more secure. It opened eyes. Folks “got it” when “hackers” on the outside found bugs. Less true for internal findings. It also gave security engineers involved in product security that much more incentive to do a good job on assessing products prior to release so that outsiders did not find the easy low-hanging fruit that unfortunately makes up a lot of vendor advisories.
And we kicked ourselves when we “missed one” and the Engineering Director sent us an email asking for explanation.
But in the SCADA Security world, this viewpoint appears to be a minority one.
At the PCSF meeting in LaJolla it was clear that most vendors did not think SCADA vulnerabilities should be reported to US-CERT. US-CERT vulnerability notes were “just arming hackers.” Besides, the control system community didn’t read them anyway.
And if I have my facts straight (and I hope someone will correct me and I’ll be glad to issue a mea culpa), at the SANS meeting one or more folks from INL (representing DHS sponsored program) also feel that disclosure of SCADA vulnerabilities (to and by US-CERT?) is inappropriate.
The bottom line (assuming you made it this far)
There is a need for SCADA Vulnerability research/assessments that can be disclosed to trusted third parties to ensure that vulnerabilities are addressed in a timely manner and so that end users actually have the information they need to make informed risk decisions.
I would like to think this is happening, but if it is not — what is to be done?
Perhaps ethical independent security researchers should pool their dollars to buy 2nd-hand equipment off of eBay in search of SCADA vulnerabilities.
Or maybe there should be new government initiatives that are less captive to industry pressure than current programs.
Any other ideas?
Author: Matt Franz
Posted: October 3rd, 2006 under Vulnerability Disclosure.
Comments: 4
Comments
Comment from Anonymous
Time: October 4, 2006, 8:48 am
“The sad fact of life as a security consultant is that your clients are free to ignore your advice, no matter how much they are paying you.”
Well, probably not quite. The legal situation changes, at least in Germany it does. BEFORE the security consultant rubs the security holes into his face, the client’s legal problem is “only” negligence. AFTERWARDS, it is deliberate action. This can have a big impact on liability and insurance.
So we are facing a funny situation: A well done audit enhances factual security for the client if only by painting a clear picture of where problems are and how big they are. On the other hand, the audit may increase the client’s risk in legal terms.
Comment from Matt Franz
Time: October 4, 2006, 12:15 pm
Point taken. Although probably less true for product vendors than application service providers or anyone that might have sensitive customer data.
When is the last time negligence (in a legal sense) was an issue if for example a network infrastructure vendor were to knowingly ship/sell a device that had an undocumented admin-level account that could not be disabled/modified that allowed absolute control over the device and all traffic flowing through that device?
Comment from Jim Melnick
Time: December 19, 2006, 5:34 pm
Matt, good assessment. Thank you for your leadership in this area. We (iDefense) pioneered responsible “fee-based” vuln research in the Internet IP world and have been very successful at it… However, whether ‘fee or free’, the SCADA world needs to get ready to deal with outside SCADA vuln research before a CIP-related tsunami hits…. Better to deal with people you know and trust BEFORE a crisis strikes. The ‘head in the sand’ mentality that I sense out there among a lot of folks will get blown away by the harsh reality of the first major SCADA vuln… We have received at least one SCADA-related vulnerability submission in the past and are aware of other possible areas of vulnerability. We have not chosen to pursue these (yet), because we have not seen the SCADA marketplace as mature enough for us to spend our time on them, and we have many other pressing issues… But whether we or others jump into this, it seems to me unlikely that the current situation of denial by the industry at large can last indefinitely.
Comment from Anonymous
Time: February 27, 2007, 12:06 pm
Jim, I admire the work you folks have done in creating a financial incentive for exploit developers to report vulnerabilities through proper channels before putting it up for auction. However, considering that you are aware of multiple areas of vulnerabilities in SCADA systems, it would make sense to create that market yourself.
As you correctly surmise, there is a significant head-in-the-sand mentality on the part of traditional SCADA/PCS players – engineers and vendors alike. Given the impact to the nation’s critical infrastructure when a vulnerability is successfully exploited enough to cause loss of life and limb, perhaps your best avenue is to consult with DHS/I3P on obtaining grants or other forms of governmental revenue streams.
Just recently, while not attributed to “cyber attack”, the Pacific Northwest region of the US had a significan’t power outage stemming from adverse weather. In the greater Seattle area alone, there were 12 deaths attributed to the loss of power – ranging from people using gas-powered generators indoors to touching fallen lines, etc.
The end-result of a highly successful “cyber attack” (might as well use the buzzwords the general population is fed) is the same and those deaths can be directly attributed, as were the deaths related to the power outage in the Pacific Northwest.
The SCADA/PCS industry is in dire need of fresh insight into vulnerability research and your company, more than most, can bring significant technical resources to bear through a government-funded bug hunt. Care to try or just chase the latest buffer overflow in everyday applications?
Write a comment