1 00:00:00,660 --> 00:00:08,100 Okay, good afternoon everyone. It is now the top of the hour, 12 p.m. in beautiful Las Vegas, Nevada. 2 00:00:09,180 --> 00:00:14,620 Welcome back to the Packet Hacking Village. Thank you so much for being here. 3 00:00:15,380 --> 00:00:22,540 And now we have a fantastic, fantastic guest speaker. We have a fantastic speaker here. 4 00:00:22,540 --> 00:00:29,240 Kyle Kosher, researcher at the University of California, San Diego, who will talk about 5 00:00:29,240 --> 00:00:34,380 snipping skater. It is my honor to bring Kyle Kosher. 6 00:00:51,040 --> 00:00:51,460 Hello. 7 00:00:51,680 --> 00:00:52,240 Hello. 8 00:00:52,240 --> 00:00:52,420 Hello. 9 00:00:52,540 --> 00:00:59,000 All right. So I'm Kyle Kosher. Today I'm going to talk about sniffing skater. So this is 10 00:00:59,000 --> 00:01:04,740 sort of a fun side project that I've been doing. So mostly I do research on security 11 00:01:04,740 --> 00:01:09,900 for embedded systems, and I'm starting to get into wireless and things like that. So 12 00:01:09,900 --> 00:01:16,580 this was sort of a fun side project for us. So first, as a quick introduction, in case 13 00:01:16,580 --> 00:01:21,980 you're not familiar what skater is, it stands for supervisory control and data acquisition. 14 00:01:21,980 --> 00:01:29,940 And that's basically just a boring way of saying it's systems that remotely monitor and 15 00:01:29,940 --> 00:01:38,700 control industrial systems. So things like power grids, water supply systems, oil and gas 16 00:01:38,700 --> 00:01:45,560 systems, things like that. So it covers a lot of critical infrastructure and things like that. 17 00:01:45,720 --> 00:01:50,940 And it's starting to become a hot thing now. So last year, 18 00:01:50,940 --> 00:02:00,240 at DEF CON, they had the ICS village. I think it might be here again this year. They had it at RSA 19 00:02:00,240 --> 00:02:08,360 this year, demoing it there. At the National Collegiate Cyber Defense Competition this year, 20 00:02:08,460 --> 00:02:16,560 they had their own set up there. And the student teams tried to protect their fake skater 21 00:02:16,560 --> 00:02:20,920 systems there. And it's gotten to the point that the, you know, the, you know, the, you know, 22 00:02:20,920 --> 00:02:30,020 the DEF CON CFP and Black Hat CFP reviewers are getting tired of skater talks. And I guess also 23 00:02:30,020 --> 00:02:37,240 Internet of Things talks. So it's getting old. But it's, you know, these issues have been 24 00:02:37,240 --> 00:02:43,720 around for a while. So there was a talk at Black Hat back in 2006 about all the various ways 25 00:02:43,720 --> 00:02:50,900 that these skater systems can be compromised and all of the fails that these people have been 26 00:02:50,920 --> 00:02:57,300 able to find in their professional pen testing services. And so some other people have done mass 27 00:02:57,300 --> 00:03:04,900 scans of the Internet and looking for open VNC servers. And you'll see some crazy things like, 28 00:03:04,980 --> 00:03:13,640 I think, I'm not quite sure what this is, but it looks kind of dangerous. There's some water 29 00:03:13,640 --> 00:03:20,900 filtration system, I think. We have some power generation or power transmission. And they're 30 00:03:20,920 --> 00:03:26,640 using it for some reason. I think somewhere in South Korea, maybe. I don't know. And you even see 31 00:03:26,640 --> 00:03:34,620 things like, you know, a control system for a skating rink or hockey rink. And so there have been 32 00:03:34,620 --> 00:03:42,140 a lot of people looking at skater, but they've mostly been looking at it from the IP angle. But 33 00:03:42,700 --> 00:03:50,300 skater systems aren't just on the Internet. There are many other ways that you can talk to them. So a 34 00:03:50,300 --> 00:03:58,140 lot of skater systems still go over these legacy serial lines. Some are connected through dial-up 35 00:03:58,140 --> 00:04:05,880 modems. Or some go through lease lines, dedicated copper, things like that. And some go over RF 36 00:04:05,880 --> 00:04:13,380 radio links. And so what you see here is actually a distribution transformer here. And there's a 37 00:04:13,380 --> 00:04:19,820 little box here that is doing the monitoring and control of this transformer. And that is actually 38 00:04:19,820 --> 00:04:27,460 going up to this pole to this antenna, which then radios back to the central control station. And 39 00:04:27,460 --> 00:04:34,340 so we were interested in, so these are all over San Diego. And we were interested in what exactly 40 00:04:34,340 --> 00:04:40,940 these are doing and what you might be able to do with them and whether they were secure or not. So 41 00:04:40,940 --> 00:04:47,360 the first thing we do is go to the San Diego utilities website. And helpfully enough, they have 42 00:04:47,360 --> 00:04:49,800 this section on their website called standards. And they have a lot of information about what they 43 00:04:49,800 --> 00:04:55,560 can do with standards and manuals. And this is what they provide contractors, construction 44 00:04:55,560 --> 00:05:05,660 services, things like that, for their specs for how to build the utility infrastructure in San 45 00:05:05,660 --> 00:05:16,180 Diego. And so you'll see fun things like here's a diagram showing how to build a pad-mounted 46 00:05:16,180 --> 00:05:19,780 transformer here. So you have this pad-mounted equipment. And then you have a lot of information 47 00:05:19,800 --> 00:05:24,520 about what you can do with it. Actually this is a control switch so you can switch on and off power 48 00:05:24,520 --> 00:05:33,120 and redistribute power, things like that. So monitoring goes back here to this box where the 49 00:05:33,120 --> 00:05:38,880 control for the switches are. And then that goes up to this antenna. And it tells you all the 50 00:05:38,880 --> 00:05:44,660 things that you need to buy and install or obtain for this. And the one thing that we found was 51 00:05:44,660 --> 00:05:49,780 interesting is this line here, which says MDS radio. And so this is a place where you can, you can 52 00:05:49,780 --> 00:05:55,540 like, hmm, what is this MDS radio? We'll get to that in a minute. The second part of this 53 00:05:55,540 --> 00:06:01,620 equation is what frequency are they transmitting on? And so we went to one of my favorite 54 00:06:01,620 --> 00:06:09,260 websites, the FCC universal licensing system, and we were able to look up all the licenses 55 00:06:09,260 --> 00:06:16,120 that they have for this equipment. And so most of this equipment is running in some of the 56 00:06:16,120 --> 00:06:21,300 pager bands, and so they're reusing that for doing this two-way communication, and so we can 57 00:06:21,300 --> 00:06:28,140 get some of the links here. And as you'll see later, some of this protocol seems kind of old 58 00:06:28,140 --> 00:06:34,640 school, and you're wondering, like, why is this, you know, back from the day when people 59 00:06:34,640 --> 00:06:39,780 didn't consider security or not? Well, no, you know, they granted this license in 2005. 60 00:06:41,480 --> 00:06:46,000 Maybe you would consider that old, but here's another new license that was granted 61 00:06:46,000 --> 00:06:53,060 in 2013. So they're obtaining these licenses, and they're building these things up. And as 62 00:06:53,060 --> 00:07:01,980 you'll see, it's not that great. So now focusing our attention on what that actual MDS modem is, we 63 00:07:01,980 --> 00:07:07,780 go to another favorite site of mine, the FCC Office of Engineering and Technology Equipment 64 00:07:07,780 --> 00:07:15,440 Authorization Database. And so on every device sold in the U.S. that transmits, it needs to have 65 00:07:15,440 --> 00:07:15,980 a... 66 00:07:16,000 --> 00:07:24,280 equipment authorization from the FCC. So it'll have an FCC ID. And so we can go on to the GEMDS 67 00:07:24,280 --> 00:07:30,520 website and obtain the FCC ID from there. And then you'll get all sorts of fun things. And most 68 00:07:30,520 --> 00:07:38,160 of the time, the really juicy things, like the theory of operation, the schematics, all that 69 00:07:38,160 --> 00:07:45,460 stuff are held back from public view. But there was one that I think they mistakenly let through 70 00:07:45,460 --> 00:07:52,700 which talks all about exactly how the modulation process goes. It has a block diagram of their 71 00:07:52,700 --> 00:07:59,200 transmitter and receiver. And it even included a full description and theory of operation of how 72 00:07:59,600 --> 00:08:04,920 the radio worked down to the individual part number. So it said, like, U16 is a power amplifier, 73 00:08:05,200 --> 00:08:12,600 U22 is a DSP chip, blah, blah, blah. I'm going to tell you exactly how this works. And so we 74 00:08:12,600 --> 00:08:15,440 started poking around the error. And we found out that there was a problem with that. And so we 75 00:08:15,460 --> 00:08:21,220 were trying to see if we could actually decode some of this information based on the information we 76 00:08:21,220 --> 00:08:30,400 found on the Internet and what we were able to sniff over the air. So for part of that, the one 77 00:08:30,400 --> 00:08:37,640 other thing we got off the Internet is we went on to GEMDS's website. And they just have firmware 78 00:08:37,640 --> 00:08:44,940 for these radios available to download. And so you download them. They're Motorola S28 hex files. 79 00:08:44,940 --> 00:08:53,740 So you can just load them into your favorite hex editor, and you can start pulling it apart. On 80 00:08:53,740 --> 00:09:03,140 that image are actually two firmware images. One is for the main Motorola HC 11 microcontroller, 81 00:09:03,280 --> 00:09:09,860 which does sort of the higher-level management stuff. And then there's a lower level of DSP 82 00:09:09,860 --> 00:09:14,920 controller that actually does the modulation and demodulation on that. And there's even a 83 00:09:14,940 --> 00:09:23,680 does all the modem stuff. And it was kind of hard to figure out exactly which part of the 84 00:09:23,680 --> 00:09:30,560 firmware was for DSP and which part of the firmware was the HC11 and where things were and 85 00:09:30,560 --> 00:09:37,300 things like that. So we were in IDA Pro and trying to figure this all out. And it was kind 86 00:09:37,300 --> 00:09:43,660 of baffling looking at the DSP code and then we realized we had some byte ordering issues. And 87 00:09:43,660 --> 00:09:51,080 so after we swapped the byte order, suddenly things started making sense. And so actually one 88 00:09:51,080 --> 00:09:58,100 of the crazy things about this DSP chip is that there are, I believe, three different memory 89 00:09:58,100 --> 00:10:06,500 spaces. So there's program space, there's X space and Y space. And so many DSP microcontrollers 90 00:10:06,500 --> 00:10:13,400 are super optimized for doing signal processing. And so this thing can do like three operations 91 00:10:13,660 --> 00:10:18,380 simultaneously. It can like multiply something from X memory, from Y memory, add them together, 92 00:10:18,560 --> 00:10:25,100 put them back into X memory or Y memory and things like that. So we started dumping what we 93 00:10:25,100 --> 00:10:33,520 thought was X mem and Y mem. And we graphed them as floating point numbers. And some interesting 94 00:10:33,520 --> 00:10:38,980 things immediately pop out when you graph these bytes as numbers. And you see sort of these 95 00:10:38,980 --> 00:10:43,640 squiggly waves here. And so what these are actually, these are actually, these are actually 96 00:10:43,660 --> 00:10:55,700 what those are. They are the filter tap coefficients for the incoming and outgoing signals. And 97 00:10:55,700 --> 00:10:59,940 I'm not going to get into a whole lot of detail about how that works. If you're really 98 00:10:59,940 --> 00:11:05,240 interested in that, tomorrow at the wireless village I'm going to talk more about how RF 99 00:11:07,240 --> 00:11:13,640 actually works and how you modulate and demodulate bits. And so, you know, we found some more of the 100 00:11:13,660 --> 00:11:19,780 these. And so, from there we could actually reverse engineer some of the filter parameters 101 00:11:19,780 --> 00:11:28,860 that we were interested in, blah, blah, things like that. Once we, once we put some of these 102 00:11:28,860 --> 00:11:36,000 filter parameters into GNU radio, it really cleaned up the incoming signal that we were 103 00:11:36,000 --> 00:11:43,640 getting off the air. So the way that these modems work is they are, you know, they're 104 00:11:43,660 --> 00:11:52,020 very simple. They are 9600BPS and they generate audio which is then FM modulated over the air. And 105 00:11:52,020 --> 00:11:57,140 so in GNU radio you can just build an FM demodulator block, just drop that in and then you 106 00:11:57,140 --> 00:12:02,320 can look at the waveform and see what it looks like. And after you apply some filters, you do get 107 00:12:02,320 --> 00:12:08,960 some things that look pretty nice. So you see this, uh, repeating, uh, sign wave there. That looks 108 00:12:08,960 --> 00:12:13,640 pretty regular. That's the, the preamble. That is what, um, well, this experiments you're kind of done. These stuff, they, I don't know, are going to be 109 00:12:14,680 --> 00:12:21,000 lock on to the signal and get a precise timing on here. Now the interesting thing about the 110 00:12:21,000 --> 00:12:28,340 modulation scheme used on this radio is it uses something called dual binary. So normally when 111 00:12:28,340 --> 00:12:34,700 you have digital modulation schemes you have either a 1 or a 0 or if you have some crazy 112 00:12:34,700 --> 00:12:39,720 things you can have like 16 different points or 4 different points. Different things like 113 00:12:39,720 --> 00:12:46,780 that. Well this has 3 different points that it can be. It can either be plus 1, minus 1, or 0. 114 00:12:47,160 --> 00:12:55,580 And there are some theoretical reasons for this that I won't go into. But basically what you can 115 00:12:55,580 --> 00:13:03,940 do is you sample these at bit intervals and you can recover bits out of that. And we wrote some 116 00:13:03,940 --> 00:13:09,700 software that we'll make available to do that. But that wasn't, that wasn't all of the 117 00:13:11,080 --> 00:13:18,120 challenge in reverse engineering this. The other challenge was figuring out exactly what these 118 00:13:18,120 --> 00:13:26,280 bits mean. And so a common technique that is used to whiten the spectrum and basically make it 119 00:13:26,280 --> 00:13:34,520 more efficient and robust and make it have some nicer signal properties is they put the raw 120 00:13:34,520 --> 00:13:39,700 bits through a data scrambler. And so what comes out, what goes into that is the data 121 00:13:39,700 --> 00:13:44,720 scrambler. And what goes into the modem is basically a pseudo random stream of bits. And so we 122 00:13:44,720 --> 00:13:55,800 didn't know the scrambling function. And so at this point, like, okay, we can recover this in 123 00:13:55,800 --> 00:14:04,560 IDA Pro. But it's a pain. So how hard would it be to actually get one of these modems. And for a 124 00:14:04,560 --> 00:14:09,500 while we felt like this was cheating. This was, you know, we wanted to just reverse 125 00:14:09,700 --> 00:14:15,440 engineer it totally based on information we got over the internet and sniffing over the air. But as 126 00:14:15,440 --> 00:14:23,100 it turns out, you can just go on eBay and there's one for 50 bucks. Now, you might point out that 127 00:14:23,700 --> 00:14:30,140 that's a bit. That's the starting bit. That's not the actual sale price. Well, you can go to a 128 00:14:30,140 --> 00:14:38,080 buy it now one for 115 bucks and just obtain it. And so we obtained one of these. And it has this 129 00:14:38,080 --> 00:14:47,880 nice RS232 interface. Has a DB25 connector. It's not standard. They do some crazy crap with 130 00:14:47,880 --> 00:14:54,940 that. Takes 13.8 volts in. It's kind of esoteric. But it's relatively straightforward to 131 00:14:54,940 --> 00:15:01,560 interface with. So we started sending some test packets. And this is sort of this debug view that 132 00:15:01,560 --> 00:15:08,060 I have out of my GNU radio demodulator. And so what we did is we started sending some test packets. 133 00:15:08,080 --> 00:15:16,100 So this is, I believe, the character A and this is the character B. And I spent a fair amount of 134 00:15:16,100 --> 00:15:23,380 time just staring at this trying to figure out what the bit differences were. And from there we 135 00:15:23,380 --> 00:15:29,960 concluded that the packets are really simple. They have this simple preamble that indicates 136 00:15:29,960 --> 00:15:38,060 whether it's coming from a master station or from an out station. They support the 137 00:15:38,080 --> 00:15:46,880 out of band management. So you can send commands to manage the radio as opposed to pass through 138 00:15:46,880 --> 00:15:55,920 directly to the electronic control systems. For packets coming from an out station, there's a bit 139 00:15:55,920 --> 00:16:01,980 that it can send to say, I'm done sending. Don't try to decode anything more. And it had a really 140 00:16:01,980 --> 00:16:08,060 simple linear feedback shift register that it would use to generate this data. So that's kind of the 141 00:16:08,080 --> 00:16:14,920 way we've been doing it for several years. So once we found some of these parameters, then we went 142 00:16:14,920 --> 00:16:24,620 back into ITAPRO and tried to tear the firmware apart, try to figure out how the de-scrambling 143 00:16:24,620 --> 00:16:31,980 worked and things like that. And so now that we have data out, we wanted to look at what was 144 00:16:31,980 --> 00:16:37,940 actually going over the air. And so there are two major SCADA protocols that are 145 00:16:38,080 --> 00:16:45,420 generally used over these systems. One is an older one called Modbus. But the one that is used in 146 00:16:45,420 --> 00:16:52,600 San Diego is called DNP3. And these are pretty old standards that are designed to work over 147 00:16:52,600 --> 00:17:01,160 multi-drop serial lines. So you'll have basically imagine a shared bus where multiple things 148 00:17:01,160 --> 00:17:08,140 connect. And there's like one transmitter and it'll transmit a packet and everyone will receive 149 00:17:08,140 --> 00:17:14,180 it and look at the ID and see if it's for them. If it is, then they'll process the request and 150 00:17:14,180 --> 00:17:25,940 send a reply back on this bus. And so these RF links sort of emulate that situation. What 151 00:17:25,940 --> 00:17:31,140 these protocols let you do is they let you read values out of sensors. You can use them to 152 00:17:31,160 --> 00:17:37,340 they can, you can pull these systems for changes in values. You can actually send control 153 00:17:37,340 --> 00:17:43,220 signals. So you can send a signal to say turn a switch on or off. Or for some systems you can 154 00:17:43,220 --> 00:17:50,340 like adjust a pressure like a gas vessel or something like that. And interestingly enough, as 155 00:17:50,340 --> 00:17:59,540 we learned, these are fully supported by Wireshark. And so it is actually as simple as this to 156 00:17:59,540 --> 00:18:00,560 sniff SCADA. 157 00:18:01,160 --> 00:18:06,500 You just plug in this modem that you got off of eBay. You cap the serial device. You 158 00:18:07,480 --> 00:18:12,480 packetize it through Netcat. And then you go into Wireshark. You listen on the port that 159 00:18:12,480 --> 00:18:18,200 Wireshark expects for DMP3, which is port 20,000. And then you get all these fun things. You see 160 00:18:18,200 --> 00:18:23,500 all these responses from these outstations with different IDs going back to one, which is the 161 00:18:23,500 --> 00:18:29,600 master station reporting back all of their values. And so what the master station is doing here is 162 00:18:29,600 --> 00:18:35,420 it's pulling all these outstations for changes that come in. And so you see all these response 163 00:18:35,420 --> 00:18:43,420 data objects here. And you probably can't read it here. Probably post these slides and also show you 164 00:18:43,420 --> 00:18:50,480 some other things later. But the, some points to take away here is it has, you know, a time stamp 165 00:18:50,480 --> 00:18:58,760 here. It says I have a bunch of analog change events. And here are the new values and they're all 166 00:18:59,600 --> 00:19:08,900 stamped and things like that. But now the question is, like, okay, well, it says .25 changed 167 00:19:09,460 --> 00:19:21,240 to negative 6800. What does that mean? And so this brings us to the final part of the project, 168 00:19:21,360 --> 00:19:29,300 which is figuring out what all of these points actually mean. So backing up a bit, DMP3 defines these different 169 00:19:29,600 --> 00:19:36,400 object types. And you can, like, analog events, binary events, things like that. And you can read and 170 00:19:36,400 --> 00:19:44,480 write these objects, pull for changes. The tricky part is figuring out what these points are. But 171 00:19:44,480 --> 00:19:51,740 helpfully enough, our friends at San Diego Gas and Electric put these labels on everything, 172 00:19:51,940 --> 00:19:59,580 including the exact model number of the switch that they have, the voltage that it's running at, all sorts of things, like, the 173 00:19:59,600 --> 00:20:07,120 value of that. So then we go back to our good old friend Google. We put that in for the manufacturer of, um, the switch 174 00:20:07,120 --> 00:20:16,240 there and put in DMP point list. And, uh, one of the popular manufacturers for, uh, uh, electric distribution 175 00:20:16,240 --> 00:20:26,380 switches, uh, S&C, just publishes all these, um, these point lists. Uh, some are custom for, uh, Pacific Gas 176 00:20:26,380 --> 00:20:32,400 and Electric, and some are sort of generic. And the, you go through these, through all the equipment, and there's 177 00:20:32,400 --> 00:20:38,560 some very interesting things that you'll find in there. So, might not be able to read it, but you can measure 178 00:20:38,560 --> 00:20:46,660 things like current of phase A, current of phase B, voltage of phase A, voltage of phase B. So these are, um, if you're not 179 00:20:46,660 --> 00:20:56,320 familiar, uh, electricity is distributed in three phases, or three wires that are sort of out of sync with each other. Um, that's just, they're, they're 180 00:20:56,320 --> 00:21:01,580 reasons for that that aren't really important. But you can monitor, like, the cabinet temperature, the battery 181 00:21:01,580 --> 00:21:09,460 voltage of the backup battery for this control system, things like that. Uh, you can also get binary events, like, 182 00:21:09,580 --> 00:21:18,180 whether the, uh, the power transfer switch is open or closed, or things like that. Whether, uh, remote control is 183 00:21:18,180 --> 00:21:26,300 enabled, or if it's being overridden locally, things like that. Whether the cabinet door is open. Um, uh, 184 00:21:26,320 --> 00:21:56,300 and you can also send some control commands to like start a battery test or open and close a switch, you know, take down the power. Things like that. And then some really crazy things here. Like, you can send a packet to enable the, uh, local Wi-Fi interface on some of these switches. So you can turn them on, you can turn them off, you can test them. Uh, there's also a Wi-Fi intrusion alarm. So, I don't really know what that is, but, uh, it's, it's a little bit of a 185 00:21:56,300 --> 00:22:04,220 know what this is. But it looks like the switches have the ability when Wi-Fi is on to detect an 186 00:22:04,220 --> 00:22:09,860 intrusion, whatever that means. And when it detects an intrusion, then it will send an event 187 00:22:09,860 --> 00:22:15,420 back to the master station. And then the master station can say, okay, I acknowledge that 188 00:22:15,420 --> 00:22:20,660 intrusion. I'm going to set a bit and you'll forget that that ever happened. So that's some 189 00:22:20,660 --> 00:22:30,760 pretty crazy things. This didn't get us the whole story because the manufacturers of the actual 190 00:22:30,760 --> 00:22:37,380 physical switches are not necessarily the manufacturers of the control systems that are in 191 00:22:37,380 --> 00:22:43,080 that switch box. So we're not still super clear that these match up. So now what we're doing 192 00:22:43,080 --> 00:22:49,840 right now is trying to correlate values that we see with things that make sense and try to group 193 00:22:49,840 --> 00:22:50,640 them and try to get them to match up. So we're trying to get them to match up. And then we're 194 00:22:50,640 --> 00:22:56,120 trying to figure out what all these points mean. And this is still a work in progress. But 195 00:22:56,120 --> 00:23:03,200 here's an example of some of the things that we can pop out. So ignore this bit in here. This is 196 00:23:03,200 --> 00:23:09,760 when our monitoring crashed and we weren't aware for a while. But this is just one point from one 197 00:23:10,300 --> 00:23:18,260 station that we have that we're monitoring. And so I believe this is probably a voltage for one of 198 00:23:18,260 --> 00:23:27,180 the phases. And so it goes between like 6600 volts and 7800 volts. And it's sort of cyclic as 199 00:23:27,900 --> 00:23:36,880 probably as the load on the system increases or decreases. And so we actually have a website 200 00:23:36,880 --> 00:23:43,000 that one of the students at UCSD put together that can let us visualize all the data that we 201 00:23:43,000 --> 00:23:48,240 have collected so far. We have a nice antenna on the roof of our building. And that gets us to a 202 00:23:48,240 --> 00:23:55,300 lot. We're still, we have plans for getting even more data that I'll talk about in a minute. Now 203 00:23:55,300 --> 00:24:00,600 one of the problems here is that, or one of the things that we wanted to do is we don't exactly 204 00:24:00,600 --> 00:24:10,560 know which station this is coming from. Like we know that this data is coming from Skatebox 5338. 205 00:24:10,860 --> 00:24:18,220 So, okay, what is 5338? How do I know that? Well, once again, our friends at SKATEBOX have a lot of 206 00:24:18,240 --> 00:24:24,380 data that we can use. So we have the SDG&E helpful put the exact address on all of the boxes. And 207 00:24:24,380 --> 00:24:31,300 so we've started a sort of small scale crowd sourcing effort for anyone who sees any of these 208 00:24:31,300 --> 00:24:37,460 boxes to just write down its location. Write down the number. And what we eventually want to do is 209 00:24:37,460 --> 00:24:44,560 make this nice big map like the ones that you see on TV with like all the different power switches 210 00:24:44,560 --> 00:24:48,220 and their current status and things like that. And we're building this. And so this is our 211 00:24:48,760 --> 00:24:59,260 things out of CSI cyber or something like that. Just for the lulls. So let's see here. So this 212 00:24:59,260 --> 00:25:06,800 is all fine and dandy but let's say that you don't want to necessarily go out and buy one of 213 00:25:06,800 --> 00:25:13,440 these dedicated radios. How can you start actually sniffing this for yourself? Well if you 214 00:25:13,440 --> 00:25:21,460 have one of those $10 or $20 RTLS ER dongles and GNU radio, oh yeah. I was just going to show 215 00:25:21,460 --> 00:25:28,080 that this number here does in fact match up with exactly what you see in Wireshark. It's pretty 216 00:25:28,080 --> 00:25:38,440 straightforward. But as I was saying, we have actually written a GNU radio block which 217 00:25:38,440 --> 00:25:43,420 implements the receive side of the modem and the transmit side of the modem and the receive side 218 00:25:43,420 --> 00:25:53,560 should actually be simpler to implement but we can't actually legally or ethically send control 219 00:25:53,560 --> 00:25:59,180 packets to this system and figure out what it actually does. So we're receive only for right 220 00:25:59,180 --> 00:26:06,040 now. But we do have some code that we'll be releasing soon that will let you actually sniff 221 00:26:06,040 --> 00:26:13,300 this traffic for yourself, let you put it into Wireshark, figure out what it does, figure out if 222 00:26:13,420 --> 00:26:19,340 there's interesting things in your own community. I lived in Seattle for several years. It 223 00:26:19,340 --> 00:26:25,840 didn't look like they had anything interesting up there, but I did. So when I was scanning 224 00:26:25,840 --> 00:26:35,780 through the frequency bands up there, I did hear some, the very distinctive modem signal that 225 00:26:35,780 --> 00:26:43,400 you'll hear. And I wish I had a sample for you to play here. So that turns out to be a very 226 00:26:43,420 --> 00:26:45,460 nice system. It's called the MPPT. The MPPT is the radio control system and I don't know 227 00:26:45,460 --> 00:26:48,200 about you, but I was wondering what it is. Uh, it's probably it's a time control system. 228 00:26:48,200 --> 00:26:49,120 But it's not, it's a temp control system. But it's actually a couple of different kinds of 229 00:26:49,120 --> 00:26:50,740 things. It uses a susceptive radio to do radio works, I'm not exactly sure what that is. I 230 00:26:50,740 --> 00:26:57,740 didn't have enough chance to look into it. MDS also makes radios for remote train control 231 00:26:57,740 --> 00:27:07,580 systems. And so they make these radios for things that are for like positive train control and 232 00:27:07,580 --> 00:27:13,400 things that they were saying should be installed to prevent that kind of accidents that happens. And 233 00:27:13,400 --> 00:27:19,120 and New England, things like that. So this may also work for 234 00:27:19,120 --> 00:27:25,300 that. I don't know. One of the other points that I want to go 235 00:27:25,300 --> 00:27:31,940 back to is that while we think we can, we have identified the 236 00:27:31,940 --> 00:27:37,580 points that we can use to control the power grid, we can't 237 00:27:37,580 --> 00:27:42,860 actually test that. So it is possible for them to configure 238 00:27:42,860 --> 00:27:45,960 the switches for only monitoring and not control. We 239 00:27:45,960 --> 00:27:49,540 think that they do actually remotely control them. We have 240 00:27:49,540 --> 00:27:54,260 not observed them doing that yet, but we'll probably see that 241 00:27:54,260 --> 00:28:00,540 in the future. So just to wrap up, despite a lot of major 242 00:28:00,540 --> 00:28:04,580 attention on industrial control system and SCADA security over 243 00:28:04,580 --> 00:28:08,060 the years, there's a lot of critical infrastructure like 244 00:28:08,060 --> 00:28:11,700 the power grid in San Diego that's still completely exposed 245 00:28:11,700 --> 00:28:12,840 over these non-Icebergs. So I think it's important to 246 00:28:12,860 --> 00:28:12,960 recognize that and to understand that the things that 247 00:28:12,960 --> 00:28:13,320 we're looking at are not really looking at the main IP channels 248 00:28:13,320 --> 00:28:17,760 that people are really looking at. As you've seen, the barrier 249 00:28:17,760 --> 00:28:21,580 of entry to actually looking at this stuff is really low. It's 250 00:28:21,580 --> 00:28:25,980 like $100 on eBay or get my software in $10 for an RTL-SDR. 251 00:28:26,260 --> 00:28:31,200 And really looking through a lot of these standards, it was 252 00:28:31,200 --> 00:28:35,360 apparent that no one was really accepting responsibility for 253 00:28:35,360 --> 00:28:42,180 security. So the radio people say it is up to the SCADA box, 254 00:28:42,180 --> 00:28:48,860 box, the SCADA control module to do security, the SCADA box say or says that it's up to the 255 00:28:48,860 --> 00:28:55,140 link level to do security and so no one ends up securing the system at all, completely 256 00:28:55,140 --> 00:29:02,060 unencrypted, completely authenticated. And so if you're looking at these systems, they sort 257 00:29:02,060 --> 00:29:08,580 of need to be evaluated holistically and not just assuming that someone else is going to take 258 00:29:08,580 --> 00:29:15,400 care of the security for you. And finally the last point I want to make is that you shouldn't 259 00:29:15,400 --> 00:29:21,400 just focus on looking at IP vulnerabilities because there's a lot of interesting things just 260 00:29:21,400 --> 00:29:28,340 over the air, over serial lines, over some crazy things like that. So with that I'd like to 261 00:29:28,340 --> 00:29:32,440 thank you for your attention and that's all I have. 262 00:29:38,840 --> 00:29:40,240 Subtitles by the Amara.org community