![]() |
| Click here for more of Dark Reading's Black Hat articles. |
Dillon Beresford, a researcher with NSS Labs, showed a backdoor in Siemens S7-300, S7-400, and S7-1200 devices that allowed him to get inside and capture passwords and reprogram PLC logic in such a way that he could shut down the systems altogether or cause them to eventually crash. He staged a live demonstration of how he could control the Siemens devices, which are used in power and manufacturing plants worldwide.
Beresford had canceled his planned talk at TakedownCon 2011 in Dallas at the eleventh hour amid safety concerns, and provided ICS-CERT and Siemens with details of the vulnerabilities and PoC exploits.
Thomas Brandstetter, acting head of Siemens Product CERT, took the stage at Black Hat briefly with Beresford to confirm that Siemens was working on fixing the flaws in its devices. Brandstetter, who noted that he is not an official corporate Siemens spokesperson, in a press briefing after the talk said the company needs "time to go after those vulnerabilities" and to ensure that any fixes to the products don't negatively impact plant operations.
"Siemens created a product CERT eight months ago to handle vulnerabilities in its products and to work with the security community," Brandstetter said.
Meanwhile, it took Beresford, who says he's no SCADA expert, only about two-and-half hours to write code to exploit the backdoor in the Siemens PLCs. He found a hard-coded password -- "Basisk," German for "basic" -- and was then able to open a command shell: "That allowed me to do other things," such as perform a memory dump, capture passwords, and reprogram the programmable logic, he says.
The backdoor, which likely was put in place for diagnostics purposes, could allow attackers to get inside and perform arbitrary commands on the systems and intercept any communications coming to the PLC, he says. Beresford wrote a Metasploit module for the hack.
In a lighter moment in his research, Beresford says he also found an "Easter egg" of animated dancing monkeys in the Siemens firmware. So he had shirts with the dancing monkeys made for himself and Siemens for Black Hat, and Siemens' Brandstetter gamely wore his to the session, with the word "PWND" emblazoned on the back.
"In the beginning [of the vulnerability disclosure], the Siemens PR team didn't talk to the engineering team," Beresford says, but that has since changed. "I give [Siemens] a lot of credit for not trying to pull my talk."
Beresford says there are plenty of PLCs connected to the Internet, whether operators are aware of them or not. "I'm not here to freak you out. But an attack on PLCs for 24 hours could cause it to blow up a plant," he says.
The bottom line is that it's not that difficult to wrest control of these devices. Beresford says his research debunks theories by experts, such as Ralph Langner, that it would take a major nation-state to pull off a devastating power grid hack. Although Beresford didn't write any exploit code, his proof-of-concept could be easily parlayed into a worm-borne attack similar to the way Stuxnet spread.
"This creates an awareness that not only nation-states [can hack SCADA systems], but it's now in the hands of researchers, and it's only a matter of time," Beresford says. "Someone could use it to cause damage to control systems."
But Beresford's hack is actually more streamlined than Stuxnet was: His went directly at the PLC. "I directly attacked the PLC, unlike Stuxnet," Beresford says. "Stuxnet pivoted off of an engineering workstation. I'm not sure why they did that -- they didn't need to go to that trouble. They probably wanted something on that workstation."
At the heart of the holes in the Siemens devices are the lack of access control to them, which, like other PLC systems, use the 802.3 Ethernet Profibus and Profinet LAN protocols, which communicate via TSAP over TCP Port 102. TSAP transmits packets in plain text, too. TSAP, like TCP, is an older protocol that was not created with security in mind. So it's a matter of PLC manufacturers better locking them down. "The protocols are not broken -- it's the lack of access control," Beresford says.
It's not just Siemens SCADA systems that are at risk of such attacks. Jonathan Pollet, a SCADA security expert and founder and principal consultant at Red Tiger Security, says the threat is "systemic across all PLCs."
The researchers say it's likely these attacks could also work against GE, Rockwell, and other SCADA products that run the same communications protocols. The evolution of open systems and open protocols among these devices has left the door open for malicious activity, Pollet says. "And we don't have the capability to log forensic information in these products," he says.
Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.
| To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. |
How Did They Get In? A Guide to Tracking Down The Source of an APT
If you think that your organization hasn't been affected by an advanced persistent threat, you probably haven't looked hard enough. Identifying that your organization is under attack is difficult enough; determining the scope of infiltration and damage presents a whole new level of challenge. To effectively protect against APTs, security pros will need to employ an arsenal of tools in a coordinated fashion, as well as develop new understandings of and approaches to system and data exploits. Here's a short and simple guide to this challenge.
Detecting and Defending Against Advanced Persistent Threats
APTs are a growing problem for enterprises big and small. Protecting your organization from these targeted threats
requires constant vigilance, ongoing employee training and a concerted effort to align security systems to address
every phase of an APT. Companies also need to develop a remediation and response plan if, despite best efforts, defenses are breached.
Smarter, Stealthier, Sneakier Malware
Increasingly sophisticated and targeted attacks are making it more difficult for organizations to detect
and defend against the latest malware. In this compendium of recent coverage from Dark Reading, you?ll get a look at some of the newest -- and most dangerous -- malware on the Web, and what you can do to stop it.
Other reports from the Advanced Threats Tech Center:
| Sponsored by: |
MOBILE SECURITY - Mapping an Ecosystem of Risk
This white paper highlights the various considerations for defending mobile applications-from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
Software Security Delivered in the Cloud
This Solution Guide details the automated, turnkey service that requires no special security assessment expertise. It details HP's market-leading static and dynamic analysis technologies that help organizations worldwide gain insight into the security state of their essential business applications.
SANS Mobility/BYOD Security Survey
This survey, which includes input from more than 500 IT professionals, explores how organizations are managing risk around their end user mobile devices as well as what level of policies and controls enterprises have around mobile usage.
Expert Guide to Application Security - Real-time Hybrid Analysis
Explore the next generation of hybrid security analysis - what it is, how it works, and its benefits. This white paper details how hybrid application security enables organizations to resolve critical software security issues faster and at a lower cost than any other available technology.
A Mainstay Partners Study: Does Application Security Pay?
Measuring the Business Impact of Software Security Assurance Solutions: a study of 17 organizations that implemented solutions from Fortify Software, combining industry research and benchmark analysis to identify, qualify, and quantify the full range of benefits seen from their SSA investments.
MORE NEWSFEED >>>