Electric Cybersecurity Regulations Have a Serial Problem
msm1267 writes "A class of SCADA vulnerabilities discussed at a recent conference is getting attention not only for the risks they pose to master control systems at electric utilities, but also for illuminating a dangerous gap in important critical infrastructure regulations. The flaws, many of which have been patched, demonstrate how an attacker could target a non-critical, serial-based piece of field equipment at an electrical substation and knock out visibility over all of a utility’s substations. 'Where serial lines come into a master station, for instance, they won’t have the same level of protection that a TCP/IP-based connection would have,' said Michael Toecker, an ICS security consultant and engineer at Digital Bond. 'There’s a complete regulatory blind spot there in the current version of the NERC standards.' Some of the non-critical devices Crain and Sistrunk talked about at S4 rely largely on physical security to keep them safe, and are not covered by NERC regulations. Initiatives such as the Smart Grid are all about pushing intelligence away from substations and into areas where it may not be practical to have adequate physical security. 'No camera. No fence. Just a lock pick away from somebody getting at that cabinet and then affecting visibility for a huge subset of the distribution system,' Crain said."
somebody that knows the right spot could take a large city by shooting a few transformers with a .22 rifle
It just MIGHT take a bit more than a .22 and the sound of shots will garner a pretty quick response in most towns.
I see two lines of attack... 1. Shoot holes in transformers to drain them of cooling oil. This is slow and easily repaired (if it is detected and the equipment is shut down before it overheats or arcs over.) 2. Shoot insulators, taking transmission lines out of service. (Faster, and again fairly quick to fix).
#1 is going to require something larger than the .22 you suggest and #2 is going to take multiple shots.
Like this possible practice run?
I've work extensively with NERC CIP v3 - there's a BUTTLOAD of blind spots in the standard, but it's also true for PCI and others, and it will also be true for NERC CIP v5.
These regulations generally aim for basic security controls, in industries that have little to no information security culture, so they start with some basic stuff. And even this basic stuff is hard to sell and implement.
A heavy vault door is always the best way to keep someone out of your critical infrastructure.
is always a good idea, isn't it? It means more jobs, most importantly, more Officials.
There is only one sure way to prevent all threats -- the one who feels threatened should exterminate self.
TL;DR - If people can get physical access to your fieldbus network then you have much bigger problems. Network security isnt going to do squat.
These hand waving "OMG fieldbuses are weak" articles are total BS. They either have little knowledge of houw an industrial system works or they are just looking to get published for some "street cred".
The problem with field bus protocol designs is that they are designed for very low overhead and latencies. Field busses are usually designed as a simple master/slave protocol in which the master sends out a packet with a device address and a command and the slave might reply. Many are based on a multidrop serial bus like RS485/422, CAN and ProfiBus. The benefit of such a design is they use low bitrates which allows for some serious distance often hundreds or thousands of meters. It greatly simplifies wiring as you have a single serial line from an RTU/PLC/PAC snake around the machine or plant and control just about anything. They arent on a switched network like ethernet, its more like 10base-2. Anyone can tap the bus at any point and read/write it without much effort.
For example a valve might have a few commands such as open valve, close valve and valve position (meaning what is the status of the valve, open or closed). So to close the valve you simply send a packet with the address and command that says close then poll the position until you see it say closed. Some valves might let you issue a command to say open 35% and then poll until you see a position value returned of 35% open. And its not only valves but motor controllers, servo motors, encoders, pressure/temperature/strain/moisture/etc sensors, you name it.
The problem with security on a fieldbus is not only latency (more data means higher latency between a command send and then receiving a reply) but how do you implement security in a valve? How do you make it easy to program the valve to securely talk to the master station? You still have the physical access problem if someone can get at the valve and read a key from it using a programmer. And if there was a method to program the valve with yet another password to block unauthorized programming, what if the password is leaked or forgotten? A valve could be replaced but if its part of a critical system or weighs a few tons and is in an underground vault then your in trouble. Or maybe its buried deep within a machine and requires many hours of downtime to get at and replace. You still have the human weak link of someone knowing the passwords and keys. What if a particular key for a sensor network is stolen or lost? Then you have to send a team out to reprogram every field bus device to the new key. Even if the master station could issue a command to reprogram every device on the network with a new key then physical access can still enable a malicious person(s) to sniff the new key or program new keys. Security isnt a set it and forget it process, its staying continiously vigilent and MONITORING your networks both electronically and physically. And that clasehes with the cut costs/more profit mentality of todays corporations.
So in the end all this "OMG teh networks are insecure!" handwaving is a non-problem. Fieldbus protocols arent the problem. Lazy, cheap companies who dont want to pay for physical security are the problem.
Why is nobody letting market forces find the solution? Instead of spending millions of dollars developing incomplete regulations, why not just make the fine for a security breach something massive, like $5 billion. Businesses will find a way to secure themselves against that exposure.
This is interesting coincidence because I am currently learning the modbus protocol over rs-485 - which is what is used in industrial control. The protocol is very old - circa 1979 and is simple, cheap, and brain-dead. Perhaps that's why its still used because it easy to implement on low power hardware (like in a microcontroller, which is what I'm currently working on). There is no security in it whatsoever, and rs-485 is used because it is differential, and immune to electrical noise. It can run over a kilometer, even more with repeaters. Modbus can be run on top of tcp/ip too. I am using it to connect various sensors around my house (weather station, fuel tank levels, electrical load, etc with local microcontrollers). I had no idea they ran the serial line outside of a building to other sites where its easily intercepted. I am actually surprised it's still used at all in critical applications..
somebody that knows the right spot could take a large city by shooting a few transformers with a .22 rifle
It just MIGHT take a bit more than a .22 and the sound of shots will garner a pretty quick response in most towns.
Who says you have to do it in town. The funny thing is that electricity is generally delivered along wires suspended from big tall visible towers that meander all over the place in the country side. And nobody out in the sticks is going o worry about a few odd shots heard in the distance during the day (or even night)
I am Slashdot. Are you Slashdot as well?
Serial lines don't fall into any category labeled "Smart Network"
Once the attacker can get at your serial lines, they are pretty much inside your plant. Serial runs aren't that long..
The problem come when someone tries to send this across a cheap unencrypted modem connection or some such.
If they put them on TCP/IP and send it through an encrypted link the problem is largely solved.
Sig Battery depleted. Reverting to safe mode.
The only solution is physical security. Or someone sneaks in and slaps a hunk of C4 on your transformers.
Where serial lines come into a master station,
You don't run serial lines outside of your physical security perimeter. Period. Only over some secure protocol. And where that protocol must be unpacked to talk to legacy serial equipment, the cabinet containing that short link must have physical security like locks and intrusion alarms.
Have gnu, will travel.
Once the attacker can get at your serial lines, they are pretty much inside your plant.
So you treat serial lines from outside as untrusted and don't use the same line for stuff inside a secure perimeter. An outside switch status could be read over an unsecure line if that line only has the authority to report that one parameter. More sensitive stuff inside the plant can't be reached from that line.
So if an external device incorrectly reports its status and its effect is determined (by an FMEA) to have a low criticality level, then who cares?
Have gnu, will travel.
The new California Energy Code ("Title-24") effectively requires control networks to be connected to the internet to receive demand response ("smart grid") signals from the utility.
Only about 5% (maximum) of buildings can optimistically be expected to be able to secure this stuff; what I hear from the vendors is much closer to 0.01%; barely 5% of financial institutions and 20% of defense contractors pull it off. GSA is close to 30%.
All these various systems make it very difficult to make progress on the most sensitive systems. Hell, few people realize how much crap is on a consumer NAS device!
"Serial runs aren't that long.."
The link you gave is for RS-232. RS485/422, CAN and Profibus(a protocol running on variant of RS485) can run for hundreds or thousands of meters (using repeaters and/or optical links). They are also the most common form of fieldbus. Allen Bradley uses DeviceNet over CAN, Siemens uses Profibus and various other controller manufactures use RS422/485 and most likely run Modbus or a proprietary protocol over it.
http://en.wikipedia.org/wiki/RS-485": It offers data transmission speeds of 35 Mbit/s up to 10 m and 100 kbit/s at 1200 m."
http://en.wikipedia.org/wiki/Rs422: "The maximum cable length is 1500 m. Maximum data rates are 10 Mbit/s at 12 m or 100 kbit/s at 1200 m."
http://digital.ni.com/public.nsf/allkb/D5DD09186EBBFA128625795A000FC025: CAN Bus - 50 kbits/Sec @ 1000 meters.
http://en.wikipedia.org/wiki/Profibus: "The cable length between two repeaters is limited from 100 to 1200 m, depending on the bit rate used."
TCP/IP doesn't impose any added security unless you explicitly add it. Otherwise there's just the minor added complexity of decoding a well documented, stateful protocol.
I am becoming gerund, destroyer of verbs.
Nevermind the sound of gunfire -- what about the sound of electrical failure (ever heard the loud SNAP of a squirrel got in the way of 11 kV?) and the quite likely subsequent electrical fire? That's going to be the difficult one to run away from...
SIGBUS @ NO-07.308