1 00:00:00,000 --> 00:00:07,080 Today we have on behalf of or from Utilisec, Mr. Justin Cyril, who has spoke at a number of 2 00:00:07,080 --> 00:00:10,500 different conferences including Black Hat and DEF CON. Let's give him a big hand and welcome 3 00:00:10,500 --> 00:00:22,580 today. All right. How's everybody doing today? All right. Good to hear. Good to hear. Okay. 4 00:00:22,640 --> 00:00:27,620 So at Black Hat I did a four hour presentation, four hour workshop on this material. You guys 5 00:00:27,620 --> 00:00:31,400 get the condensed version of it, but I still have a lot of slides. So we are going to go through 6 00:00:31,400 --> 00:00:34,780 the slides. We're not going to hit all the points on the slides, but we are going to have them 7 00:00:34,780 --> 00:00:39,960 uploaded to the DEF CON site so you do have availability to all the content. Okay. So first 8 00:00:39,960 --> 00:00:44,900 off, I am a managing partner for an organization called Utilisec. We specialize in security 9 00:00:44,900 --> 00:00:50,560 services for electric utility companies. We provide penetration testing services, secure 10 00:00:50,560 --> 00:00:55,880 architecture design, and other types of services, including trying to represent the 11 00:00:55,880 --> 00:00:57,600 utilities in and their resources. So I'm going to give you a little bit of an introduction. 12 00:00:57,600 --> 00:01:00,660 So we are part of a security team. We are interested in a lot of the standards that are out 13 00:01:00,660 --> 00:01:04,300 there, trying to build in some of the security standards. In fact, some of the groups that we 14 00:01:04,300 --> 00:01:12,640 worked in, we currently lead and facilitate one of our managing partners leads and facilitates 15 00:01:12,640 --> 00:01:20,060 the NERC CIPs, Joe Bucciaro. We also lead many of the different groups that the electric 16 00:01:20,060 --> 00:01:26,560 utilities have put together to try to build security or try to generate industry awareness in 17 00:01:26,560 --> 00:01:27,580 security issues. Now, we work with a lot of these organizations, a lot of them in the 18 00:01:27,600 --> 00:01:29,200 issues that we have inside of the smart grid. 19 00:01:31,060 --> 00:01:34,880 So the purpose of this talk, a lot of times we hear a lot of different talks, Black Hat, 20 00:01:34,980 --> 00:01:38,500 DEF CON, SHMOO CON, TOR CON, of different types of things in the smart grid. 21 00:01:38,700 --> 00:01:42,320 We have a lot of good research going on, a lot of good researchers that are doing a lot 22 00:01:42,320 --> 00:01:43,100 of good in this industry. 23 00:01:43,240 --> 00:01:46,900 We also have a lot of talks that are smart grid talks that are simply there to try to 24 00:01:46,900 --> 00:01:47,800 generate a lot of the hype. 25 00:01:48,060 --> 00:01:52,320 So the purpose of this talk is really to try to give everybody a very clear picture of 26 00:01:52,320 --> 00:01:56,340 what the smart grid is, give you an idea of some of the issues that we're dealing with, 27 00:01:56,340 --> 00:01:58,960 some of the different attacks that we're seeing, and some of the different attacks that we 28 00:01:58,960 --> 00:02:03,440 perform as penetration testers on the smart grid, and more importantly, show you that 29 00:02:03,440 --> 00:02:04,940 the smart grid is more than just SCADA. 30 00:02:05,080 --> 00:02:07,540 The smart grid is more than just smart meters. 31 00:02:07,760 --> 00:02:11,660 There's a lot more out there to do, and a lot of the people inside of this audience 32 00:02:11,660 --> 00:02:18,060 that are security professionals, your skill sets are very applicable in many areas of 33 00:02:18,060 --> 00:02:18,620 the smart grid. 34 00:02:18,740 --> 00:02:23,160 You just may not know where to look and where to try to generate that business. 35 00:02:23,660 --> 00:02:26,160 And ultimately, one of the ultimate goals of this talk. 36 00:02:26,340 --> 00:02:30,360 is to really try to generate more awareness, more interest in the security community, to 37 00:02:30,360 --> 00:02:34,360 try to get more researchers and more people in this field, because the smart grid is not 38 00:02:34,360 --> 00:02:34,640 perfect. 39 00:02:34,740 --> 00:02:36,360 Name a single vertical industry that is secure. 40 00:02:36,800 --> 00:02:38,360 We need to get more security. 41 00:02:38,500 --> 00:02:39,460 We need more people in this. 42 00:02:39,520 --> 00:02:42,200 We need more expertise, and we need more technical expertise in particular. 43 00:02:43,180 --> 00:02:44,640 So really, that's some of the goals. 44 00:02:44,720 --> 00:02:49,020 So the first half of the presentation, we're going to be focusing on trying to let you 45 00:02:49,020 --> 00:02:52,680 guys understand a little bit more about the smart grid architecture, and then the second 46 00:02:52,680 --> 00:02:55,960 half, we're going to be talking about some of the different penetration attacks and the 47 00:02:56,340 --> 00:03:00,160 defenses that we're recommending, and working with vendors and utilities to try to address 48 00:03:00,160 --> 00:03:01,320 these issues and mitigate them. 49 00:03:02,020 --> 00:03:03,920 Okay, so first off, what is the smart grid? 50 00:03:04,200 --> 00:03:08,340 The smart grid, any time you hear the term smart grid, this is something very similar to 51 00:03:08,340 --> 00:03:09,300 hearing the word internet. 52 00:03:10,500 --> 00:03:11,800 It is a marketing term. 53 00:03:11,920 --> 00:03:14,260 It can mean anything and everything you possibly ever want. 54 00:03:15,160 --> 00:03:20,220 Ultimately, what the goal is of the smart grid is to try to take our existing infrastructure and 55 00:03:20,220 --> 00:03:26,040 add additional intelligence to it, add capabilities where in the past we had to have people sitting in 56 00:03:26,040 --> 00:03:30,460 the control rooms looking at different sensors coming back, and having them sit and toggle the 57 00:03:30,460 --> 00:03:33,580 different switches, toggle the different controls to cause reactions in the grid. 58 00:03:34,140 --> 00:03:39,760 With this smart grid, we're trying to add more infrastructure to be able to give us a better view 59 00:03:39,760 --> 00:03:44,440 of what's really happening in the grid, a better view of what's happening at the homes of each one 60 00:03:44,440 --> 00:03:49,440 of you consuming power, instead of being able to see once a month how much consumption you have, be 61 00:03:49,440 --> 00:03:53,680 able to see within a 15-minute interval of how much energy you're consuming. 62 00:03:53,900 --> 00:03:56,020 And hopefully, this is going to be something to benefit the rest of the grid. 63 00:03:56,020 --> 00:04:01,060 I don't know about you, but I personally want to know exactly how much power I'm using in 15-minute intervals in my 64 00:04:01,060 --> 00:04:04,000 house, because I can do a lot of really cool things for my own self for that. 65 00:04:04,360 --> 00:04:07,220 Of course, attackers can do a lot of cool things with that as well. 66 00:04:07,540 --> 00:04:09,560 But ultimately, that's the goal. 67 00:04:09,740 --> 00:04:13,820 We try to do the same exact thing with the technologies out in the substations themselves. 68 00:04:14,960 --> 00:04:20,280 So if you look at this diagram, this diagram goes through and shows you the different elements or different major 69 00:04:20,280 --> 00:04:21,820 domains in the smart grid. 70 00:04:22,080 --> 00:04:23,720 So we see the ones across the top. 71 00:04:23,820 --> 00:04:24,500 We have the markets. 72 00:04:24,540 --> 00:04:25,940 We have the operations and the server. 73 00:04:26,020 --> 00:04:26,260 We have the service providers. 74 00:04:26,620 --> 00:04:32,800 These are a lot of the organizations and the companies that are kind of the glue holding the different processes together. 75 00:04:33,840 --> 00:04:38,740 Then if you look on the very bottom, we see that dotted yellow line across those four clouds on the bottom. 76 00:04:38,860 --> 00:04:45,320 This is the dotted yellow line represents the energy that's flowing from the bulk generation plant to our homes. 77 00:04:46,060 --> 00:04:48,260 All the blue lines are communication lines. 78 00:04:48,400 --> 00:04:52,340 We have a lot of different types of communications between these different entities and these different domains. 79 00:04:53,560 --> 00:04:56,000 So this is basically the same exact diagram. 80 00:04:56,020 --> 00:04:59,640 This is showing you just more information and more of the devices. 81 00:04:59,840 --> 00:05:05,200 These are the actual systems that you're going to see inside of a lot of the utility companies that are out there in their back offices. 82 00:05:05,720 --> 00:05:07,300 So this is all color coded. 83 00:05:07,620 --> 00:05:10,280 If you look at the very yellow part, this is the operations. 84 00:05:10,560 --> 00:05:13,260 This is what most of your electric utility companies are doing. 85 00:05:13,700 --> 00:05:17,160 Each one of those boxes are a lot of the main control centers. 86 00:05:17,280 --> 00:05:21,140 These are some of the major systems that they have to control your power and to monitor your power. 87 00:05:21,420 --> 00:05:25,800 If we look in the action, we go back just one slide to show you one thing. 88 00:05:26,020 --> 00:05:27,600 So bulk generation on the very bottom. 89 00:05:27,660 --> 00:05:29,380 Bulk generation, I think that's pretty obvious. 90 00:05:29,500 --> 00:05:33,640 These are going to be the power plants, the nuclear power plants, the coal plants that are generating the power for us. 91 00:05:33,720 --> 00:05:39,560 That power flows over to a group of organizations called transmission operators. 92 00:05:40,200 --> 00:05:45,440 These transmission operators are what take this power from the bulk generators down to the distribution operators, 93 00:05:45,700 --> 00:05:50,860 which are more of the companies that we think of as electric utility companies because they're the ones that we're buying our power from. 94 00:05:51,040 --> 00:05:53,320 And then that power flows back into our home. 95 00:05:53,500 --> 00:05:56,000 So the transmission operators and the distribution operators, 96 00:05:56,000 --> 00:05:58,280 for the most part, they're very distinct. 97 00:05:58,540 --> 00:06:02,040 There are several different organizations and utility companies that act as both. 98 00:06:02,940 --> 00:06:07,480 But when we look at this diagram, we see the transmission operators in the upper left-hand corner. 99 00:06:07,700 --> 00:06:09,980 These are the transmission field devices. 100 00:06:10,200 --> 00:06:15,820 The devices that are on those big giant steel poles with the big power lines that we see crossing state borders. 101 00:06:17,120 --> 00:06:21,300 My wife and I are falconers, and we always have called these the steelies 102 00:06:21,300 --> 00:06:25,340 because when we're looking for falcons to trap, some of your bigger falcons, like the jeers, 103 00:06:25,340 --> 00:06:31,220 and your peregrine falcons like to sit up there in the morning and catch the sun as it's rising. 104 00:06:31,440 --> 00:06:34,000 So that's how we find a lot of those birds. 105 00:06:34,260 --> 00:06:38,780 So those are the transmission operators and their field devices out in the field. 106 00:06:38,880 --> 00:06:41,880 The upper right-hand corner, that's the distribution field devices. 107 00:06:42,240 --> 00:06:48,580 These are the devices that are put out in the field to control the power that's ultimately flowing down into each one of our houses. 108 00:06:49,580 --> 00:06:52,100 That's primarily done through what we call substations. 109 00:06:52,100 --> 00:06:54,500 Those are those big things that have the big fences around them. 110 00:06:54,500 --> 00:06:56,300 The security cameras, all the barbed wire. 111 00:06:57,280 --> 00:06:58,840 So those are substations. 112 00:06:59,040 --> 00:07:01,280 The transmission operator will take this bulk power. 113 00:07:01,400 --> 00:07:05,580 They'll drop it down to the distribution operators, usually in one of these large substations. 114 00:07:05,720 --> 00:07:10,240 And then from there, the power is distributed out to the smaller substations that are closer to our neighborhoods. 115 00:07:10,480 --> 00:07:19,080 And each of our neighborhoods then are connected back to those substations to be able to pull the power. 116 00:07:19,380 --> 00:07:24,060 We have different types of devices like feeder switches that allow the utility company 117 00:07:24,060 --> 00:07:28,080 to control which substation one single neighborhood is connected to. 118 00:07:28,300 --> 00:07:32,300 So if you ever have a certain circumstance where your power goes out, 119 00:07:32,340 --> 00:07:35,940 and the power is only out for five to seven seconds, 120 00:07:36,360 --> 00:07:41,920 we're going to have feeder switches and relays that are going to automatically be connecting us back over to a different power source. 121 00:07:42,160 --> 00:07:44,760 And so that's why you drop out just for a couple seconds and you come right back on. 122 00:07:44,860 --> 00:07:48,240 Because they've had some automated event switch you back over to a different power source 123 00:07:48,240 --> 00:07:51,960 to try to avoid the power issues that you're experiencing. 124 00:07:52,480 --> 00:07:53,920 Now if you look on the very bottom, 125 00:07:54,060 --> 00:07:58,640 the things that are probably more interesting to a lot of you are going to be the devices in our home 126 00:07:58,640 --> 00:08:01,920 and the lines and the communications between our home and the electric utility companies. 127 00:08:02,220 --> 00:08:04,200 That's the bottom right-hand corner with all the green. 128 00:08:04,460 --> 00:08:07,580 So these are the smart meters that are inside of our homes 129 00:08:07,580 --> 00:08:11,440 and the other devices that we ourselves bring, some of our home automation devices, 130 00:08:12,100 --> 00:08:13,400 those that have electric vehicles. 131 00:08:13,520 --> 00:08:15,820 How many people have electric vehicles in this room, out of curiosity? 132 00:08:16,040 --> 00:08:19,000 Now that we actually can start buying them in quantity... 133 00:08:19,000 --> 00:08:20,980 Okay, so we have one or two. 134 00:08:22,300 --> 00:08:23,480 So now we can start buying them. 135 00:08:23,480 --> 00:08:24,500 And then we're going to start seeing more of them. 136 00:08:24,920 --> 00:08:25,820 Okay, now look at this diagram. 137 00:08:26,060 --> 00:08:28,440 This kind of gives you the overall of the different components. 138 00:08:28,720 --> 00:08:30,620 What I'm going to do is I'm going to remove the labels 139 00:08:30,620 --> 00:08:32,840 and remove the nice pretty fluffy clouds 140 00:08:32,840 --> 00:08:35,640 and show you the communication links between each one of these devices. 141 00:08:36,740 --> 00:08:39,020 Okay, this is what we lovingly call the spaghetti diagram. 142 00:08:40,200 --> 00:08:42,420 Okay, this is a diagram that I created for, 143 00:08:42,600 --> 00:08:45,280 I should say Darren Highfield, one of my partners and myself. 144 00:08:45,500 --> 00:08:48,260 The two of us created this diagram for NIST 145 00:08:48,260 --> 00:08:51,480 in an interagency report that we released last summer. 146 00:08:52,020 --> 00:08:54,640 So if you go back and check out this NIST report, 147 00:08:54,820 --> 00:08:56,500 you can see the reference on the very bottom 148 00:08:56,500 --> 00:08:58,700 for those that are interested in seeing it, 7628. 149 00:09:00,300 --> 00:09:04,960 This document is about, I don't know, 700 pages in length. 150 00:09:05,080 --> 00:09:06,540 It comes up in three different volumes. 151 00:09:06,940 --> 00:09:08,060 There's a lot of good information. 152 00:09:08,260 --> 00:09:10,480 If you're interested in learning more about some of the issues, 153 00:09:10,620 --> 00:09:12,200 some of the more details, some of the concerns, 154 00:09:13,000 --> 00:09:17,160 some of the security architectures and security controls that we're recommending 155 00:09:17,160 --> 00:09:19,760 at a high level, realize that this is high level. 156 00:09:19,840 --> 00:09:21,460 This doesn't go into a great range. 157 00:09:21,480 --> 00:09:21,920 There's a fair amount of detail. 158 00:09:22,560 --> 00:09:25,220 That's a great document to be able to get that information from. 159 00:09:25,880 --> 00:09:27,300 Okay, now what I'm going to do is, 160 00:09:27,400 --> 00:09:30,020 you see this overall architecture and the communication links. 161 00:09:30,120 --> 00:09:31,700 I'm going to point out the different areas 162 00:09:31,700 --> 00:09:33,300 that we hear all the buzzwords. 163 00:09:33,420 --> 00:09:35,220 Everybody has heard buzzwords like SCADA, right? 164 00:09:35,500 --> 00:09:38,600 Everybody's heard buzzwords, smart grid, or excuse me, smart meters. 165 00:09:39,040 --> 00:09:41,300 I'll show you exactly where each one of those different areas are. 166 00:09:41,500 --> 00:09:42,820 So first off, the SCADA. 167 00:09:43,740 --> 00:09:46,880 When we talk about SCADA, these are the types of devices 168 00:09:46,880 --> 00:09:50,800 that allow us to read sensor information from the field 169 00:09:51,480 --> 00:09:53,820 and be able to then make decisions on sensor information 170 00:09:53,820 --> 00:09:56,260 and send control signals back out to the field 171 00:09:56,260 --> 00:09:59,180 to cause reactions and changes in our real-world environment. 172 00:09:59,980 --> 00:10:03,300 So you can see those blue sections in the upper right-hand corner that are circled. 173 00:10:03,360 --> 00:10:07,200 Those are going to be the sensors in the different devices, IEDs, 174 00:10:07,740 --> 00:10:09,080 and other types of devices. 175 00:10:09,240 --> 00:10:12,240 Yes, IEDs does have another meaning inside of the smart grid. 176 00:10:12,780 --> 00:10:16,620 And RTUs, the devices that are controlling a lot of the devices out there 177 00:10:16,620 --> 00:10:19,280 and the central brains that usually collect a lot of the sensor information 178 00:10:19,280 --> 00:10:20,060 and send it back. 179 00:10:20,060 --> 00:10:22,500 Okay, we're using SCADA protocols to send those back 180 00:10:22,500 --> 00:10:24,240 to what we call our back-end SCADA systems. 181 00:10:25,240 --> 00:10:28,860 So here, that one single yellow box that's circled is our distribution SCADA. 182 00:10:29,260 --> 00:10:32,160 In the smart grid, we have several different protocols that we use, 183 00:10:32,280 --> 00:10:35,560 some of the earlier protocols like Modbus serial communications 184 00:10:36,060 --> 00:10:37,820 across basic serial lines. 185 00:10:38,300 --> 00:10:41,880 Then as history went forward, we started taking that serial communication, 186 00:10:42,780 --> 00:10:45,720 packetizing it, throw it in TCPIP streams or UDP streams, 187 00:10:45,940 --> 00:10:49,500 sending it back across higher bandwidth lines back to the organization. 188 00:10:51,620 --> 00:10:53,440 And, you know, some of the newer protocols, 189 00:10:53,620 --> 00:10:56,180 DMP3 is probably one of the most commonly used SCADA protocol 190 00:10:56,180 --> 00:10:58,240 in the electric sector here in the United States. 191 00:10:59,240 --> 00:11:01,800 A lot of these protocols have very, very limited security, 192 00:11:02,020 --> 00:11:03,320 and it's something we're trying to address. 193 00:11:03,420 --> 00:11:05,400 We're trying to build new protocols to replace them. 194 00:11:06,020 --> 00:11:08,940 DMP3 being the most popular one, it's only been about two years ago 195 00:11:08,940 --> 00:11:12,320 that we even had even encryption capabilities inside of DMP3. 196 00:11:12,800 --> 00:11:16,320 And we are looking at replacing DMP3 with additional protocols 197 00:11:16,320 --> 00:11:17,840 that have much stronger security models. 198 00:11:18,480 --> 00:11:19,780 So that's distribution. 199 00:11:20,480 --> 00:11:22,200 Transmission SCADA is very similar as well. 200 00:11:22,340 --> 00:11:24,200 Of course, they have their own field devices out there. 201 00:11:24,280 --> 00:11:27,980 There's usually their own SCADA transmission SCADA server 202 00:11:27,980 --> 00:11:30,760 that's controlling a lot of those signals. 203 00:11:31,040 --> 00:11:33,040 And as you can see, there are some communication links 204 00:11:33,040 --> 00:11:36,080 between the distribution and the transmission devices. 205 00:11:37,560 --> 00:11:40,140 And then we have, last but not least, the bulk generation. 206 00:11:41,380 --> 00:11:43,980 Generation plants, nuclear power plants, all those guys, 207 00:11:44,080 --> 00:11:47,000 yes, they have more infrastructure than what we show with this one single box. 208 00:11:47,560 --> 00:11:49,680 The reason why it's only one box is that was, 209 00:11:50,060 --> 00:11:52,480 for the most part, out of scope other than the lines of communication 210 00:11:52,480 --> 00:11:56,060 between those bulk generation and the utilities themselves. 211 00:11:56,380 --> 00:11:58,400 It was out of scope for the work that we were doing for NIST. 212 00:11:58,900 --> 00:12:00,400 So that's why you only see that one box. 213 00:12:00,540 --> 00:12:03,800 But realize that there's a lot more technology and a lot more devices 214 00:12:03,800 --> 00:12:05,940 and communication links inside of the bulk generation. 215 00:12:06,820 --> 00:12:11,040 The next buzzword we want to talk about is the electric vehicles or the PEVs. 216 00:12:11,580 --> 00:12:13,480 A lot of us that are bringing these back to our house, 217 00:12:13,560 --> 00:12:16,460 right now they're fairly simple in their communications modules. 218 00:12:18,040 --> 00:12:20,040 For the most part, when you get a PEV, 219 00:12:20,060 --> 00:12:22,580 you are going to be talking to your electric utility company 220 00:12:22,580 --> 00:12:26,000 and they'll usually either issue you a second separate electric meter 221 00:12:26,000 --> 00:12:29,700 for your house that's specific towards your electric vehicle 222 00:12:29,700 --> 00:12:32,960 because each one of these electric vehicles on average consume 223 00:12:32,960 --> 00:12:36,140 about the same amount of power to charge its batteries 224 00:12:36,140 --> 00:12:38,560 as your whole entire house uses. 225 00:12:39,320 --> 00:12:41,360 So there's a lot of power going on there. 226 00:12:42,060 --> 00:12:45,840 Each utilities are trying to find different ways and different strategies 227 00:12:45,840 --> 00:12:48,940 to try to deal with additional load inside of our infrastructure. 228 00:12:48,940 --> 00:12:51,100 So part of that's with separate meters. 229 00:12:51,920 --> 00:12:55,780 Sometimes they'll have you just plug into your normal links inside of your house, 230 00:12:55,880 --> 00:12:57,560 but then you usually end up getting charged more. 231 00:12:58,000 --> 00:13:03,920 Most utilities will give you a price break by having the separate meter in there. 232 00:13:05,120 --> 00:13:08,040 Right now, like I said, there's little to no communications. 233 00:13:08,400 --> 00:13:10,720 There's a lot of work going on with communications 234 00:13:10,720 --> 00:13:14,980 to be able to allow your PEV to communicate back to the electric utility vehicle. 235 00:13:15,420 --> 00:13:18,060 It'll be interesting to see whatever happens with this, 236 00:13:18,060 --> 00:13:21,120 but one of the initiatives and some of the vendors that are out there 237 00:13:21,120 --> 00:13:25,380 are trying to get to the point where the electric vehicle can self-identify itself. 238 00:13:25,780 --> 00:13:29,960 And when you plug power in or plug your vehicle into either your employer 239 00:13:29,960 --> 00:13:32,160 or your neighbor's house or some family member's house, 240 00:13:32,600 --> 00:13:36,440 a lot of people in the industry have this idea that they want to be able to charge, 241 00:13:36,880 --> 00:13:39,860 track where your vehicle goes, and it still gets paid on your bill 242 00:13:39,860 --> 00:13:42,800 no matter if you're plugging into your neighbor's house or your family's house or somewhere else. 243 00:13:42,940 --> 00:13:46,740 Of course, this becomes a security nightmare trying to tie this together, 244 00:13:46,740 --> 00:13:49,780 especially when we start mixing up different electric utility companies. 245 00:13:50,060 --> 00:13:52,040 For most of us in the states, it's fairly easy. 246 00:13:52,140 --> 00:13:56,440 Each regional or each city or each town is tied to one single electric utility vendor. 247 00:13:56,900 --> 00:14:01,060 It's not quite as easy a case with those people down in that little state called Texas. 248 00:14:01,920 --> 00:14:05,480 They're a little bit different beast for most of us in the electric sector. 249 00:14:06,820 --> 00:14:08,740 Okay, the next area, synchrophasers. 250 00:14:09,540 --> 00:14:10,800 Synchrophasers are another technology. 251 00:14:11,200 --> 00:14:13,040 Now, for those people in the room, 252 00:14:13,080 --> 00:14:16,100 who understands the difference between a digital multimeter and an oscilloscope? 253 00:14:16,240 --> 00:14:16,720 Raise your hand. 254 00:14:18,220 --> 00:14:20,880 Okay, so right now, if you want to think about it, 255 00:14:21,080 --> 00:14:24,760 the way that in general, once again, this is oversimplification, 256 00:14:25,160 --> 00:14:28,820 but in general, the way that the electric utilities right now are controlling 257 00:14:28,820 --> 00:14:31,740 and measuring the power inside of the grid 258 00:14:31,740 --> 00:14:35,800 is more or less with a whole bunch of really smart digital multimeters 259 00:14:35,800 --> 00:14:38,760 that are in all the different substations. 260 00:14:38,820 --> 00:14:41,500 They're taking readings on average about every two seconds 261 00:14:41,500 --> 00:14:44,040 to find out what's going on, how much power is being used, 262 00:14:44,160 --> 00:14:46,620 how much voltage is there, and all the other pertinent measurements 263 00:14:46,620 --> 00:14:47,160 that they need. 264 00:14:47,880 --> 00:14:51,660 They realize that while that's necessary, while that's good, 265 00:14:51,760 --> 00:14:54,740 they have some good information, it's not quite as finite as they need. 266 00:14:54,940 --> 00:14:56,920 And so they're trying to employ additional technologies 267 00:14:57,500 --> 00:14:59,380 to give them something that's more visibility, 268 00:14:59,620 --> 00:15:01,480 like you would see with an oscilloscope. 269 00:15:01,680 --> 00:15:06,420 Instead of just getting a digital number telling you what the power is, 270 00:15:06,500 --> 00:15:09,780 they're putting these devices out that will more or less let them recreate 271 00:15:09,780 --> 00:15:13,240 that sine wave or what the power is really doing and how it's really flowing. 272 00:15:13,540 --> 00:15:16,380 They actually call these phasers, and they do phase angles, 273 00:15:16,380 --> 00:15:17,280 to try to figure that out. 274 00:15:17,380 --> 00:15:18,960 These measurements, these synchro phasers, 275 00:15:19,020 --> 00:15:24,300 are making readings of the power at minimal 30 times per second. 276 00:15:24,500 --> 00:15:28,300 At maximum, a lot of the vendors are doing up to about 120, 277 00:15:28,600 --> 00:15:32,260 and there are some discussions about pushing it all the way up to 240 times per second 278 00:15:32,260 --> 00:15:33,180 down in the future. 279 00:15:33,780 --> 00:15:39,600 But right now, I'd say probably 30 to 60 times per second 280 00:15:39,600 --> 00:15:43,020 are what most of the utilities that are deploying these synchro phasers 281 00:15:43,020 --> 00:15:44,240 are trying to get to. 282 00:15:44,360 --> 00:15:45,860 To give them a little bit better idea, 283 00:15:46,380 --> 00:15:48,140 on what the power looks like at one end, 284 00:15:48,200 --> 00:15:50,800 at one state to the other state across their whole domain. 285 00:15:51,040 --> 00:15:54,020 Because in general, that sine wave should be nearly identical 286 00:15:54,020 --> 00:15:55,580 across the whole entire grid. 287 00:15:56,120 --> 00:15:59,280 The United States is actually broken into three separate grids. 288 00:15:59,360 --> 00:16:01,900 We have the East, we have the West, and we have Texas. 289 00:16:02,660 --> 00:16:06,140 Like I said, they're kind of their own entity and their own beast, 290 00:16:06,240 --> 00:16:09,300 and they have a little bit different legal and political issues 291 00:16:09,300 --> 00:16:10,960 to deal with as well when it comes to power. 292 00:16:13,140 --> 00:16:14,640 So that's what the synchro phasers are. 293 00:16:14,640 --> 00:16:18,280 The synchro phasers are primarily being used by your transmission operators, 294 00:16:18,660 --> 00:16:21,620 the people that are actually pushing the power long distances. 295 00:16:22,340 --> 00:16:25,980 This information is also being sent back up to what we call regional coordinators. 296 00:16:26,300 --> 00:16:29,100 Regional coordinators are entities in the United States 297 00:16:29,100 --> 00:16:31,780 that try to work with the transmission operators 298 00:16:31,780 --> 00:16:37,740 and help the transmission operators make sure that the power is balanced out 299 00:16:37,740 --> 00:16:39,500 and make sure that we have a nice stable grid. 300 00:16:39,760 --> 00:16:42,880 So there's about 15 different regional coordinators inside of the United States 301 00:16:42,880 --> 00:16:44,620 that help try to manage this grid. 302 00:16:44,640 --> 00:16:49,960 The next buzzword we usually hear about are the smart meters themselves. 303 00:16:51,460 --> 00:16:53,980 While these are definitely fun devices to play around on, 304 00:16:54,060 --> 00:16:58,320 this is something that is a relatively minor issue that we have 305 00:16:58,320 --> 00:17:02,600 compared to a lot of the other issues that we're facing with the smart grid. 306 00:17:03,040 --> 00:17:06,800 So down here you can see that the smart meter in that bottom right-hand corner, 307 00:17:07,020 --> 00:17:09,040 the one right in the middle, 308 00:17:09,540 --> 00:17:14,180 that's going to be an interface that is usually deployed on the meter itself. 309 00:17:14,640 --> 00:17:18,180 It's not necessarily its own device in most circumstances for residential people. 310 00:17:18,340 --> 00:17:22,780 When we get into larger deployments for corporations and more so even in industrial, 311 00:17:23,280 --> 00:17:26,580 there's going to be a separate interface to be able to control and manage 312 00:17:26,580 --> 00:17:29,060 all the different meter readings that are deployed out there. 313 00:17:29,620 --> 00:17:30,620 So this is where the meter is. 314 00:17:30,740 --> 00:17:33,720 There's lines of communications between these smart meters that are being deployed 315 00:17:33,720 --> 00:17:37,620 back to the electric utility company to what we call a head end 316 00:17:37,620 --> 00:17:39,340 that's in the back of the electric utility company. 317 00:17:43,060 --> 00:17:44,620 With this infrastructure, 318 00:17:46,720 --> 00:17:48,840 traditionally for most of the people inside of this room, 319 00:17:48,920 --> 00:17:51,840 most of you do not have the new smart meters on the sides of your house. 320 00:17:51,940 --> 00:17:54,940 If you're interested to find out what type of meters you have on the side of your house, 321 00:17:55,080 --> 00:17:57,780 just simply go out there, look to see what the manufacturer is, 322 00:17:57,840 --> 00:17:58,840 look to see what the model is. 323 00:17:58,920 --> 00:18:00,700 It's usually very visible right on the front of the meter. 324 00:18:00,840 --> 00:18:03,700 Punch that into Google and you can get spec sheets on any of these meters 325 00:18:03,700 --> 00:18:06,120 to tell you information about what capabilities it supports. 326 00:18:06,920 --> 00:18:10,420 A lot of you will be able to go to the meters and you'll find that information. 327 00:18:10,880 --> 00:18:14,620 You'll also see this little acronym that's ERT on the front of the meter. 328 00:18:14,640 --> 00:18:17,120 What ERT is, 329 00:18:17,240 --> 00:18:21,400 is this is a protocol that probably the majority of us inside of this room 330 00:18:21,400 --> 00:18:22,660 have inside of our meters. 331 00:18:22,820 --> 00:18:25,340 This is not the new smart meter technology. 332 00:18:25,780 --> 00:18:28,640 This is a one-way broadcast protocol 333 00:18:29,620 --> 00:18:31,660 that the meters will go through and protocol 334 00:18:31,660 --> 00:18:34,640 about every two minutes what their data consumption is. 335 00:18:34,800 --> 00:18:35,720 One way. 336 00:18:35,780 --> 00:18:37,680 There's no way to be able to use this communication protocol 337 00:18:37,680 --> 00:18:38,900 to talk back to the meter. 338 00:18:39,300 --> 00:18:42,660 It's broadcast out using a 900 megahertz protocol. 339 00:18:42,980 --> 00:18:44,360 It does frequency hopping. 340 00:18:44,640 --> 00:18:46,040 Well, it doesn't even do frequency hopping. 341 00:18:46,200 --> 00:18:47,020 It randomly chooses. 342 00:18:47,060 --> 00:18:49,900 When it comes up to its time, its allotment every two seconds, 343 00:18:50,060 --> 00:18:54,560 it randomly chooses one of 40 channels to broadcast that information on. 344 00:18:56,320 --> 00:18:59,760 That way it tries to avoid stepping on top of anybody else 345 00:18:59,760 --> 00:19:00,900 inside of the neighborhood. 346 00:19:01,500 --> 00:19:03,100 That's what we have with the meter readers. 347 00:19:03,280 --> 00:19:04,720 They used to have to come up and read the meter themselves. 348 00:19:05,020 --> 00:19:07,900 Now they can just do drive-bys because they're collecting these ERT signals 349 00:19:07,900 --> 00:19:08,900 that are being sent back out. 350 00:19:09,140 --> 00:19:10,960 There are other protocols besides ERT. 351 00:19:11,060 --> 00:19:14,520 There's also some that transmit and communicate 352 00:19:14,640 --> 00:19:15,640 over the power lines themselves. 353 00:19:16,080 --> 00:19:21,300 But the ERT is probably the most commonly deployed precursor 354 00:19:21,300 --> 00:19:25,560 or semi-intelligent meter that are being deployed right now. 355 00:19:25,700 --> 00:19:27,420 In fact, we call these meters AMR meters, 356 00:19:27,640 --> 00:19:31,380 these ones with the one-direction communications that are out there, 357 00:19:31,460 --> 00:19:33,200 as opposed to AMI meters, 358 00:19:33,340 --> 00:19:36,700 AMI meaning the more intelligent ones that have bidirectional communications. 359 00:19:37,540 --> 00:19:39,660 The AMI meters, the new smart meters, 360 00:19:39,740 --> 00:19:41,360 their deployment is relatively small. 361 00:19:41,760 --> 00:19:43,520 Depending on the research that you see, 362 00:19:43,520 --> 00:19:49,200 you'll see that deployment is anywhere from 10% to 25% across the U.S. 363 00:19:50,220 --> 00:19:55,260 Once again, there's a lot of debate on the exact number of those smart meters out there 364 00:19:55,260 --> 00:19:57,260 and exactly what's the difference between some of the smart meters 365 00:19:57,260 --> 00:19:58,600 and what are not some of the smart meters. 366 00:19:59,240 --> 00:20:02,100 So to dig a little bit deeper into the smart meters themselves, 367 00:20:02,320 --> 00:20:03,580 and that generates a lot of interest, 368 00:20:04,020 --> 00:20:07,800 and this in general, if we take all the detailed information out 369 00:20:07,800 --> 00:20:10,320 and abstract this to a generic architectural view, 370 00:20:10,480 --> 00:20:12,680 this is true for most of the field devices. 371 00:20:12,680 --> 00:20:15,600 In general, that we deploy in the smart grid, 372 00:20:15,700 --> 00:20:18,480 just differences of protocols and the exact terms of the devices. 373 00:20:18,740 --> 00:20:21,460 But when we look at the AMI meters themselves and these smart meters, 374 00:20:21,640 --> 00:20:23,900 we see on that far left-hand side of this diagram 375 00:20:23,900 --> 00:20:25,480 the electric utility company themselves 376 00:20:26,000 --> 00:20:28,720 and all their back-end systems that's reading this information. 377 00:20:29,400 --> 00:20:32,140 The very first device that's part of the AMI network, 378 00:20:32,340 --> 00:20:34,220 these servers that are purchased with the meters, 379 00:20:34,320 --> 00:20:35,340 are going to be these head-ends. 380 00:20:35,500 --> 00:20:38,160 These head-ends usually are protected by some type of a firewall 381 00:20:38,160 --> 00:20:41,260 or some type of a perimeter that they set up 382 00:20:41,260 --> 00:20:42,060 before they're deployed. 383 00:20:42,680 --> 00:20:43,820 We get out to the field devices. 384 00:20:44,440 --> 00:20:46,140 Then, of course, we'll hit some routers, 385 00:20:46,140 --> 00:20:48,200 and the routers will then put it back out, 386 00:20:48,240 --> 00:20:50,160 for the most part, out to the ISPs 387 00:20:50,160 --> 00:20:54,620 and the telco companies that are connecting to them. 388 00:20:55,160 --> 00:20:58,820 Most of the meter data is going across cellular connections. 389 00:20:59,540 --> 00:21:01,840 So you can see the different links we have there. 390 00:21:02,060 --> 00:21:04,860 The good majority is through cellular connections out to these meters. 391 00:21:04,940 --> 00:21:07,860 We do have some proprietary and third-party-offered RF towers. 392 00:21:08,360 --> 00:21:10,100 We also had, in certain circumstances, 393 00:21:10,300 --> 00:21:12,340 especially in the case of industrial, 394 00:21:12,680 --> 00:21:13,640 industrial customers, 395 00:21:14,060 --> 00:21:15,980 we'll have leased lines out to each one of these. 396 00:21:16,300 --> 00:21:19,620 These communications for the meters go down then, 397 00:21:19,800 --> 00:21:20,780 these control signals, 398 00:21:20,960 --> 00:21:23,180 or when they tell you to shut the power off at your house, 399 00:21:23,280 --> 00:21:26,200 will go down to what we call the drop point 400 00:21:26,200 --> 00:21:28,540 or the aggregator for the network. 401 00:21:28,860 --> 00:21:31,920 These aggregators are devices that are deployed out in the field, 402 00:21:32,620 --> 00:21:35,440 either as a pull-top device up on top of a pole 403 00:21:35,440 --> 00:21:37,340 or as a meter, 404 00:21:37,520 --> 00:21:38,700 kind of a more intelligent meter, 405 00:21:38,840 --> 00:21:41,980 that's placed on the side of one house inside of your neighborhood. 406 00:21:42,680 --> 00:21:44,880 You can tell when you have these take-out points 407 00:21:44,880 --> 00:21:46,360 or these aggregator meters 408 00:21:46,360 --> 00:21:47,760 when they're on the side of somebody's house 409 00:21:47,760 --> 00:21:49,040 because, in general, 410 00:21:49,200 --> 00:21:51,260 these will usually be sticking out a few inches further 411 00:21:51,260 --> 00:21:52,820 than all the other ones inside of the neighborhood 412 00:21:52,820 --> 00:21:55,420 because they have to make room for that additional communications. 413 00:21:55,760 --> 00:21:58,940 Namely, they have to make room for the cellular communication module 414 00:21:58,940 --> 00:22:00,380 that's inside of the device. 415 00:22:01,680 --> 00:22:02,360 Beyond that, 416 00:22:03,120 --> 00:22:05,060 in some deployments and some of the vendors 417 00:22:05,060 --> 00:22:07,440 that have these smart meter products that are being sold, 418 00:22:08,140 --> 00:22:09,100 they will have, 419 00:22:09,240 --> 00:22:12,240 some of them will be deployed with cellular modems 420 00:22:12,240 --> 00:22:13,280 in every single one of the meters, 421 00:22:13,420 --> 00:22:15,640 but I would say that the vast majority of the vendors 422 00:22:15,640 --> 00:22:16,900 that are selling here in the United States 423 00:22:16,900 --> 00:22:19,320 instead will have a meshing technology set up 424 00:22:19,320 --> 00:22:21,940 so that all the meters inside of the neighborhood 425 00:22:21,940 --> 00:22:23,760 will set up a communications mesh 426 00:22:23,760 --> 00:22:25,960 to get that data and assemble that data 427 00:22:25,960 --> 00:22:28,700 back to the take-out point or the aggregator 428 00:22:28,700 --> 00:22:30,620 to push that back up to the utility company itself. 429 00:22:31,380 --> 00:22:33,980 Of those devices that have this mesh network, 430 00:22:34,080 --> 00:22:35,300 it's rather interesting. 431 00:22:36,200 --> 00:22:38,080 Every single one of the vendors that are out there, 432 00:22:38,780 --> 00:22:39,660 while they may, 433 00:22:40,960 --> 00:22:43,480 while they may be using meshing technology, 434 00:22:43,880 --> 00:22:45,640 and almost every single one of them is using 435 00:22:45,640 --> 00:22:47,900 a 900 megahertz frequency to do that meshing technology, 436 00:22:48,140 --> 00:22:49,660 every single one of the meshing technologies 437 00:22:49,660 --> 00:22:52,300 and frequency hopping patterns of those 900 megahertz spectrum 438 00:22:52,300 --> 00:22:53,960 communications is different. 439 00:22:54,880 --> 00:22:56,960 Generally, what the vendors are doing is 440 00:22:56,960 --> 00:22:58,480 they're choosing chips from TI 441 00:22:58,480 --> 00:23:00,860 and the other different types of communication chips 442 00:23:01,180 --> 00:23:02,580 that are out there that are, you know, 443 00:23:02,580 --> 00:23:05,880 generic off-the-shelf commodity chips for their boards. 444 00:23:06,020 --> 00:23:07,040 They're taking these. 445 00:23:07,160 --> 00:23:09,200 They are taking the configuration file 446 00:23:09,660 --> 00:23:11,320 that dictates the frequency hopping. 447 00:23:11,560 --> 00:23:13,820 They'll build their own frequency hopping algorithm 448 00:23:13,820 --> 00:23:15,140 and the frequency hopping patterns 449 00:23:15,140 --> 00:23:17,120 based on a number of different factors. 450 00:23:17,280 --> 00:23:18,680 By changing the frequency hopping, 451 00:23:18,780 --> 00:23:20,040 they can change the amount of bandwidth 452 00:23:20,040 --> 00:23:23,340 and the amount of distance they can get out of some of the devices. 453 00:23:23,600 --> 00:23:25,460 So they'll tweak that to get the magic numbers 454 00:23:25,460 --> 00:23:27,060 that that vendor is interested in. 455 00:23:27,260 --> 00:23:29,380 And then on top of that, they'll build the meshing protocol. 456 00:23:29,680 --> 00:23:31,440 And every single meter vendor out there 457 00:23:31,440 --> 00:23:33,020 that has a mesh network 458 00:23:33,020 --> 00:23:35,080 has their own proprietary mesh network. 459 00:23:35,740 --> 00:23:37,100 There's no shared technology 460 00:23:37,100 --> 00:23:38,400 between the meshing technologies. 461 00:23:39,660 --> 00:23:40,620 Above that meshing technology, 462 00:23:41,100 --> 00:23:45,180 we'll see a combination of vendors. 463 00:23:45,500 --> 00:23:47,560 I would say probably about 50% of them 464 00:23:47,560 --> 00:23:50,100 are using a standard protocol for meter communication 465 00:23:50,100 --> 00:23:51,300 called C1222. 466 00:23:52,860 --> 00:23:53,840 Each one of them, 467 00:23:53,860 --> 00:23:56,100 of those 50% that are using C1222, 468 00:23:56,760 --> 00:23:58,380 even their implementations are different. 469 00:23:58,480 --> 00:24:01,560 While they meet the specification to the letter, 470 00:24:01,660 --> 00:24:02,940 they don't necessarily meet it 471 00:24:02,940 --> 00:24:04,220 to the point where it's interoperable 472 00:24:04,220 --> 00:24:04,940 with anybody else 473 00:24:04,940 --> 00:24:06,760 because of a number of different factors. 474 00:24:07,280 --> 00:24:09,240 The other 50% of the vendors out there 475 00:24:09,720 --> 00:24:10,440 that are using C1222 476 00:24:10,440 --> 00:24:12,020 are going to be using a TCP IP connection, 477 00:24:12,760 --> 00:24:14,460 either IPv4 or IPv6, 478 00:24:14,580 --> 00:24:15,320 depending on the vendor, 479 00:24:15,460 --> 00:24:17,100 and then pushing either 480 00:24:17,100 --> 00:24:19,320 their own proprietary protocol across it, 481 00:24:19,860 --> 00:24:22,140 either raw C1219 tables, 482 00:24:22,260 --> 00:24:23,680 which is C1219 tables 483 00:24:23,680 --> 00:24:25,500 or how each of the meters actually store their data 484 00:24:25,500 --> 00:24:26,520 inside of the meters themselves, 485 00:24:27,540 --> 00:24:30,140 or they are going to be using some standard protocols. 486 00:24:30,360 --> 00:24:32,480 They might be using some web services across it. 487 00:24:32,600 --> 00:24:33,920 There's not many vendors out there 488 00:24:33,920 --> 00:24:36,380 doing web services or XML data streams 489 00:24:36,380 --> 00:24:37,740 and exchanges on those meters. 490 00:24:39,660 --> 00:24:40,000 There's not many of them in the United States. 491 00:24:40,840 --> 00:24:42,200 Of this area of the mesh, 492 00:24:42,360 --> 00:24:43,300 when we think mesh, 493 00:24:43,400 --> 00:24:44,740 wireless mesh at 900 MHz, 494 00:24:44,860 --> 00:24:46,320 most of us automatically think Zigbee. 495 00:24:46,420 --> 00:24:50,620 As I wanted to clarify, 496 00:24:50,900 --> 00:24:52,200 I did mention that every single vendor 497 00:24:52,200 --> 00:24:53,540 is using their own proprietary one. 498 00:24:53,720 --> 00:24:55,460 That means that nobody is using mesh 499 00:24:55,460 --> 00:24:57,420 for this meter-to-meter network neighborhood. 500 00:24:58,900 --> 00:25:00,180 Every single one uses a proprietary. 501 00:25:00,460 --> 00:25:01,940 The place where most of these devices 502 00:25:01,940 --> 00:25:03,240 are using Zigbee, 503 00:25:03,320 --> 00:25:05,260 which most of them do have Zigbee modules in them, 504 00:25:05,380 --> 00:25:07,240 are between the meter down to the devices 505 00:25:09,700 --> 00:25:11,060 and that's where the communications come into play. 506 00:25:12,680 --> 00:25:14,520 If you can get these slides later, 507 00:25:14,620 --> 00:25:15,480 you can go through and see 508 00:25:15,480 --> 00:25:16,300 some of the different protocols 509 00:25:16,300 --> 00:25:17,440 and dig a little bit more into it. 510 00:25:18,100 --> 00:25:20,900 If we look at the payloads 511 00:25:20,900 --> 00:25:21,640 that are being sent across 512 00:25:21,640 --> 00:25:22,900 to give you a high-level idea 513 00:25:22,900 --> 00:25:24,900 of what happens in the type of communications 514 00:25:24,900 --> 00:25:26,960 that pass back and forth between these devices, 515 00:25:27,160 --> 00:25:28,580 I have gone through and listed out 516 00:25:28,580 --> 00:25:29,520 some of the different payloads. 517 00:25:29,640 --> 00:25:32,400 Notice that the first block of payloads 518 00:25:32,400 --> 00:25:33,280 primarily are communications 519 00:25:33,280 --> 00:25:35,280 between the meters themselves and the head end. 520 00:25:39,660 --> 00:25:39,880 Next slide. 521 00:25:39,920 --> 00:25:41,720 These are pass-through communications. 522 00:25:42,140 --> 00:25:43,520 These are going to be the communications 523 00:25:43,520 --> 00:25:46,200 that come from the Zigbee network 524 00:25:46,200 --> 00:25:47,420 inside of our home area network, 525 00:25:47,580 --> 00:25:48,700 the devices inside of our house, 526 00:25:48,800 --> 00:25:50,320 passing back to the utility company. 527 00:25:51,040 --> 00:25:53,340 These will usually either be tunneled 528 00:25:53,340 --> 00:25:55,860 across the connection in some situations 529 00:25:55,860 --> 00:25:58,620 or they will simply be data 530 00:25:58,620 --> 00:26:01,080 inside of some of the C1219 tables 531 00:26:01,080 --> 00:26:02,100 that are being passed 532 00:26:02,100 --> 00:26:04,700 with whatever communication protocols are there. 533 00:26:04,860 --> 00:26:06,460 The head end will simply pull out 534 00:26:06,460 --> 00:26:07,720 that input from that table, 535 00:26:09,660 --> 00:26:10,300 and then it will be data on the back end. 536 00:26:11,140 --> 00:26:12,140 For the most part, 537 00:26:12,280 --> 00:26:13,960 a lot of the utility companies 538 00:26:13,960 --> 00:26:14,760 aren't doing a lot of this 539 00:26:14,760 --> 00:26:15,940 pass-through communications yet. 540 00:26:16,040 --> 00:26:17,220 It's there for future use. 541 00:26:17,780 --> 00:26:19,200 Some of the goals that they have 542 00:26:19,200 --> 00:26:20,920 is with demand response programs. 543 00:26:21,580 --> 00:26:24,180 This is where a utility would give you 544 00:26:24,180 --> 00:26:26,380 a discount to the power that you're paying 545 00:26:26,880 --> 00:26:28,600 in order to allow them to have 546 00:26:28,600 --> 00:26:30,800 some limited control of some of your 547 00:26:30,800 --> 00:26:32,880 high-consumption devices in your house, 548 00:26:32,920 --> 00:26:33,740 like your AC unit, 549 00:26:34,360 --> 00:26:35,880 during times of peak load. 550 00:26:39,660 --> 00:26:40,440 A lot of people up there, 551 00:26:40,560 --> 00:26:41,600 the electric utility company, 552 00:26:41,760 --> 00:26:43,160 Rocky Mountain Power, 553 00:26:43,360 --> 00:26:45,340 give this discount if you have this device 554 00:26:45,340 --> 00:26:47,280 called a Cool Keeper put on your house 555 00:26:47,280 --> 00:26:49,640 between your AC unit and the control unit 556 00:26:49,640 --> 00:26:50,120 of your house. 557 00:26:50,720 --> 00:26:53,320 What this does is in the middle of July 558 00:26:53,320 --> 00:26:54,140 when it's the hottest, 559 00:26:54,220 --> 00:26:55,020 highest temperatures, 560 00:26:55,700 --> 00:26:58,640 when it becomes a threat to the power stability 561 00:26:58,640 --> 00:26:59,880 inside of Salt Lake, 562 00:26:59,940 --> 00:27:01,520 because we've had a bit of a power issue 563 00:27:01,520 --> 00:27:02,460 up there over the last couple of years, 564 00:27:03,020 --> 00:27:05,100 they can go through and they can power cycle 565 00:27:09,660 --> 00:27:10,400 in a coordinated fashion 566 00:27:10,400 --> 00:27:11,720 where they'll take approximately 567 00:27:11,720 --> 00:27:14,040 one-fifth to one-eighth of the AC units 568 00:27:14,040 --> 00:27:14,680 inside of the neighborhood, 569 00:27:14,900 --> 00:27:16,700 they'll cycle them down for five minutes 570 00:27:16,700 --> 00:27:17,520 or seven minutes, 571 00:27:18,480 --> 00:27:20,420 and then they'll go ahead and let them come back up 572 00:27:20,420 --> 00:27:22,260 and then they'll cycle down the next fifth 573 00:27:22,260 --> 00:27:23,280 for that amount of time. 574 00:27:23,360 --> 00:27:24,980 That way they're at least trying to decrease 575 00:27:24,980 --> 00:27:26,340 some of the load inside of the grid. 576 00:27:26,460 --> 00:27:27,880 They've had a lot of success with doing this. 577 00:27:28,900 --> 00:27:31,220 As customers, we appreciate that to some degree, 578 00:27:31,380 --> 00:27:32,500 except for on the hottest days 579 00:27:32,500 --> 00:27:33,860 when they actually start turning the cycling on. 580 00:27:39,660 --> 00:27:40,500 That's a little demand response question. 581 00:27:41,860 --> 00:27:43,800 Demand response programs here in the future. 582 00:27:45,820 --> 00:27:47,380 On the meter communications themselves, 583 00:27:47,780 --> 00:27:49,420 we have some basics. 584 00:27:49,540 --> 00:27:51,180 Of course, we have the consumption data 585 00:27:51,180 --> 00:27:53,180 that's coming back to the head ends themselves. 586 00:27:53,440 --> 00:27:55,400 We have control signals to be able to turn off power 587 00:27:55,400 --> 00:27:55,880 at the house. 588 00:27:57,220 --> 00:27:59,040 Part of the reason why they had these communications 589 00:27:59,040 --> 00:28:00,540 in there is when people move out, 590 00:28:00,900 --> 00:28:02,500 it's always been a big problem to have people 591 00:28:02,500 --> 00:28:04,300 going and squatting inside of the houses 592 00:28:04,300 --> 00:28:05,460 and getting free power. 593 00:28:06,120 --> 00:28:08,020 So now when you call up and say, hey, I'm moving, 594 00:28:09,780 --> 00:28:12,220 they can immediately just shut down power at your house. 595 00:28:12,300 --> 00:28:13,580 When you move in, you can call up and say, 596 00:28:13,660 --> 00:28:14,500 hey, can you re-enable power? 597 00:28:14,680 --> 00:28:16,300 They can do that while you're right on the phone with them. 598 00:28:17,220 --> 00:28:18,860 That one piece of functionality, 599 00:28:19,120 --> 00:28:19,900 that remote disconnect, 600 00:28:20,160 --> 00:28:21,600 is probably the greatest threat 601 00:28:21,600 --> 00:28:24,080 from a security perspective of these meters. 602 00:28:24,680 --> 00:28:26,140 I would say the other major threat 603 00:28:26,140 --> 00:28:27,960 from these meters themselves is realize 604 00:28:27,960 --> 00:28:29,380 that these meters are collecting information 605 00:28:29,380 --> 00:28:31,020 and sending them back to a controlling server 606 00:28:31,020 --> 00:28:31,660 on the back end. 607 00:28:31,860 --> 00:28:34,500 And any time we have data passing input data 608 00:28:34,500 --> 00:28:37,140 from a meter back to a controlling server on the back end, 609 00:28:39,660 --> 00:28:41,640 I've never seen any good proof of concept code 610 00:28:41,640 --> 00:28:44,060 to be able to attack any of these head ends. 611 00:28:44,260 --> 00:28:46,300 But that still is a concern in my book 612 00:28:46,300 --> 00:28:47,680 and something that I think 613 00:28:47,680 --> 00:28:49,460 personally deserves a little bit more research 614 00:28:49,460 --> 00:28:50,060 that are out there. 615 00:28:50,360 --> 00:28:52,180 Seeing if you can take the few input fields 616 00:28:52,180 --> 00:28:53,820 that those head ends are accepting from the meters 617 00:28:53,820 --> 00:28:55,500 and see if you can get a buffer overflow 618 00:28:55,500 --> 00:28:57,640 or some other type of attack to gain control 619 00:28:57,640 --> 00:28:58,240 of that head end. 620 00:28:58,320 --> 00:28:59,840 Because ultimately that would give you the most control 621 00:28:59,840 --> 00:29:01,060 over these meters themselves. 622 00:29:01,560 --> 00:29:03,600 There are other attacks out there with vulnerabilities. 623 00:29:04,660 --> 00:29:07,060 If you can find the right combination of vulnerabilities, 624 00:29:09,660 --> 00:29:10,980 you can try to control some of the other meters remotely 625 00:29:10,980 --> 00:29:13,460 by building your own devices to build this 626 00:29:13,460 --> 00:29:15,020 to communicate on these mesh networks 627 00:29:15,020 --> 00:29:17,020 or if you repurpose one of the meters 628 00:29:17,020 --> 00:29:18,720 and try to make it so it communicates on it. 629 00:29:18,820 --> 00:29:20,380 If you can get the right combination of vulnerabilities 630 00:29:20,380 --> 00:29:22,520 you can do a thing and attack the meters remotely. 631 00:29:22,960 --> 00:29:25,400 The good thing is most of these meter manufacturers 632 00:29:25,400 --> 00:29:27,580 are on their third and fourth generation 633 00:29:27,580 --> 00:29:28,500 products right now. 634 00:29:28,720 --> 00:29:30,780 If you go back and look at the first generation products 635 00:29:30,780 --> 00:29:33,240 it was a huge nightmare and very, very much a possibility 636 00:29:33,800 --> 00:29:35,440 to be able to perform these types of attacks. 637 00:29:35,740 --> 00:29:37,300 With the current models right now 638 00:29:37,300 --> 00:29:38,900 with these third and fourth generation devices 639 00:29:39,660 --> 00:29:40,460 that are currently being deployed, 640 00:29:40,740 --> 00:29:43,560 it's a much harder attack surface 641 00:29:43,560 --> 00:29:44,980 to be able to find that right combination 642 00:29:44,980 --> 00:29:47,240 of vulnerabilities to attack that infrastructure. 643 00:29:47,580 --> 00:29:49,580 Most of them are doing a fairly decent job now 644 00:29:49,580 --> 00:29:50,540 with their security infrastructure 645 00:29:50,540 --> 00:29:51,760 and security architectures. 646 00:29:53,820 --> 00:29:54,540 Attacks and defenses. 647 00:29:54,740 --> 00:29:55,760 That gives you a little bit of an idea 648 00:29:55,760 --> 00:29:57,680 of what the architecture looks like. 649 00:29:57,800 --> 00:29:59,600 Let's talk a little bit more about some of the attacks 650 00:29:59,600 --> 00:30:01,600 that we perform as penetration testers 651 00:30:01,600 --> 00:30:02,500 and some of the defenses. 652 00:30:03,840 --> 00:30:05,540 This is an oversimplified chart. 653 00:30:05,680 --> 00:30:08,080 Realize this is not what a utility company really looks like. 654 00:30:09,660 --> 00:30:11,100 This just goes through to show 655 00:30:11,100 --> 00:30:12,220 that we have client-side attacks, 656 00:30:12,400 --> 00:30:13,580 server-side attacks, network attacks 657 00:30:13,580 --> 00:30:14,740 just like any other industry. 658 00:30:14,920 --> 00:30:17,640 We do have that additional vector of network attacks 659 00:30:17,640 --> 00:30:20,140 in the field devices and the hardware attacks 660 00:30:20,140 --> 00:30:21,260 on these devices as well. 661 00:30:22,040 --> 00:30:23,820 Some really fast client-side attacks. 662 00:30:24,080 --> 00:30:25,460 It is a threat, honestly. 663 00:30:25,780 --> 00:30:27,500 Out of all the attacks that are out there 664 00:30:27,500 --> 00:30:28,420 inside of the smart grid, 665 00:30:28,540 --> 00:30:30,180 all the attacks that we can do to the meters 666 00:30:30,180 --> 00:30:31,900 on our homes, all the attacks we can do 667 00:30:31,900 --> 00:30:35,480 to the big iron products in the transmission operator 668 00:30:35,900 --> 00:30:36,820 substations that are out there. 669 00:30:39,660 --> 00:30:40,480 They only keep me up at night. 670 00:30:40,600 --> 00:30:41,940 The things that I'm most worried about. 671 00:30:42,320 --> 00:30:44,280 Electric utility companies are just like 672 00:30:44,280 --> 00:30:45,520 any other organization out there. 673 00:30:45,600 --> 00:30:46,440 They have internet links. 674 00:30:46,580 --> 00:30:47,980 They have clients that are surfing the web. 675 00:30:49,400 --> 00:30:51,960 For the most part, they are control center technicians 676 00:30:51,960 --> 00:30:53,140 and control center operators. 677 00:30:53,400 --> 00:30:55,720 They don't have direct internet access on their workstation. 678 00:30:55,900 --> 00:30:59,340 They do have connectivity to services 679 00:30:59,340 --> 00:31:01,040 and different devices inside of the organization. 680 00:31:01,580 --> 00:31:03,360 If an attacker comes in through the front door 681 00:31:03,360 --> 00:31:04,260 through a client-side attack, 682 00:31:04,540 --> 00:31:06,680 gets a presence inside of the organization, 683 00:31:07,020 --> 00:31:08,200 it is only a matter of time 684 00:31:09,660 --> 00:31:10,200 for him to get his way and work his way 685 00:31:10,200 --> 00:31:11,980 to the right workstations and the right subnets 686 00:31:11,980 --> 00:31:13,580 to be able to gain access to some of these servers. 687 00:31:14,180 --> 00:31:15,420 That's what keeps me up at night. 688 00:31:15,640 --> 00:31:18,140 I personally think the day when we see 689 00:31:18,140 --> 00:31:21,220 the biggest incident from attackers 690 00:31:22,100 --> 00:31:23,820 that affect us from the smart grid, 691 00:31:23,960 --> 00:31:25,500 I personally think that the front doors 692 00:31:25,500 --> 00:31:27,020 that launch this attack 693 00:31:27,020 --> 00:31:27,780 are going to be coming through 694 00:31:27,780 --> 00:31:29,940 client-side attacks. 695 00:31:30,600 --> 00:31:32,480 Server-side attacks, nothing different here. 696 00:31:32,980 --> 00:31:33,760 Same vulnerabilities. 697 00:31:34,060 --> 00:31:36,160 Realize that all these control servers that I showed you, 698 00:31:36,300 --> 00:31:38,140 the ones that are controlling all the communications 699 00:31:39,660 --> 00:31:40,680 between the networks and for the AMI meters, 700 00:31:40,820 --> 00:31:42,660 this is commodity operating systems 701 00:31:42,660 --> 00:31:43,540 on commodity hardware. 702 00:31:44,180 --> 00:31:46,260 The things that everybody in this room does 703 00:31:46,260 --> 00:31:47,720 for penetration testing of devices, 704 00:31:47,960 --> 00:31:49,820 your knowledge is directly applicable here 705 00:31:49,820 --> 00:31:51,280 for the server-side attacks. 706 00:31:51,800 --> 00:31:53,180 Just like any other industry, 707 00:31:53,400 --> 00:31:56,000 we have a lot of the controlling interfaces 708 00:31:56,000 --> 00:31:58,520 are moving from fat client-type control interfaces 709 00:31:58,520 --> 00:32:00,480 and serial and terminal interfaces, 710 00:32:00,760 --> 00:32:02,900 they're moving to web-based interfaces as well. 711 00:32:03,160 --> 00:32:04,760 Things like cross-site request forgery 712 00:32:04,760 --> 00:32:06,280 immediately become problematic. 713 00:32:06,580 --> 00:32:07,980 For those of you that do web pen testing, 714 00:32:09,660 --> 00:32:11,700 you're probably 95-98% 715 00:32:11,700 --> 00:32:13,300 of every single web interface you ever touch. 716 00:32:14,400 --> 00:32:16,160 It's been a huge issue 717 00:32:16,160 --> 00:32:17,680 and this is something that's a very 718 00:32:17,680 --> 00:32:19,140 valid attack angle for us. 719 00:32:20,760 --> 00:32:21,600 Network attacks. 720 00:32:22,000 --> 00:32:23,000 In the network attacks, 721 00:32:23,260 --> 00:32:24,520 when we're looking at the field devices, 722 00:32:24,780 --> 00:32:26,420 inside the organization it's just like anything else. 723 00:32:27,100 --> 00:32:29,220 Most of the protocols, most of those devices 724 00:32:29,220 --> 00:32:30,960 that you saw in the earlier architecture diagrams 725 00:32:30,960 --> 00:32:31,800 that have communications, 726 00:32:32,220 --> 00:32:33,440 most of those are using 727 00:32:35,300 --> 00:32:37,320 web services and other types 728 00:32:37,320 --> 00:32:39,060 of very common protocols 729 00:32:39,660 --> 00:32:40,800 that we're used to dealing with. 730 00:32:41,020 --> 00:32:42,280 When we get to the field devices, 731 00:32:42,520 --> 00:32:45,600 we get a lot of proprietary one-off protocols, 732 00:32:46,040 --> 00:32:47,640 especially when we get to the substations 733 00:32:47,640 --> 00:32:50,800 because for a lot of the devices 734 00:32:50,800 --> 00:32:51,800 that were deployed 735 00:32:51,800 --> 00:32:52,980 in the substations 736 00:32:52,980 --> 00:32:54,720 in the last 20-30 years, 737 00:32:54,960 --> 00:32:56,620 a lot of them were custom-built 738 00:32:57,480 --> 00:32:59,160 for each one of those utilities. 739 00:32:59,540 --> 00:33:00,860 They're very, very customized 740 00:33:00,860 --> 00:33:02,240 proprietary languages. 741 00:33:02,600 --> 00:33:04,000 Even when we have standard languages 742 00:33:04,000 --> 00:33:05,840 like I told you, C1222 for the meters, 743 00:33:06,040 --> 00:33:08,020 each of the vendors are doing customizations 744 00:33:09,660 --> 00:33:10,900 When we look at network attacks, 745 00:33:11,580 --> 00:33:13,460 for the most part when we do penetration tests, 746 00:33:13,660 --> 00:33:15,280 if we have enough time and enough budget, 747 00:33:15,340 --> 00:33:16,880 we will go through and try to reverse engineering 748 00:33:16,880 --> 00:33:18,720 the proprietary protocols that are out there. 749 00:33:19,060 --> 00:33:21,980 A lot of times, just like it always is the case 750 00:33:21,980 --> 00:33:22,680 when we do pentesting, 751 00:33:22,780 --> 00:33:24,200 there's always limited budgets to work with. 752 00:33:24,660 --> 00:33:27,700 We always want to at least do a very, very simple 753 00:33:27,700 --> 00:33:29,200 check of the network communication protocol 754 00:33:29,200 --> 00:33:30,420 for some basics. 755 00:33:30,840 --> 00:33:32,880 Some of the basics we're going to be checking for 756 00:33:32,880 --> 00:33:34,780 is going through and checking for 757 00:33:34,780 --> 00:33:37,380 the cryptography they're using, checking for encryption. 758 00:33:39,660 --> 00:33:40,460 Checking for encryption enabled at all. 759 00:33:41,640 --> 00:33:43,340 Another thing we often see 760 00:33:43,340 --> 00:33:45,120 for the wireless communications is 761 00:33:45,640 --> 00:33:47,500 a misconception that frequency hopping 762 00:33:47,500 --> 00:33:48,540 is one of the security controls. 763 00:33:49,060 --> 00:33:50,780 Frequency hopping is not a security control. 764 00:33:50,940 --> 00:33:52,380 With the right equipment and enough time, 765 00:33:52,480 --> 00:33:54,340 you can go back and you can backtrack and trace 766 00:33:54,340 --> 00:33:55,880 what that frequency hopping algorithm is 767 00:33:55,880 --> 00:33:58,280 and bypass that. It's more of a method 768 00:33:58,280 --> 00:33:59,640 for obscuring than anything. 769 00:33:59,880 --> 00:34:01,900 Ultimately, the reason why we do frequency hopping 770 00:34:01,900 --> 00:34:03,960 isn't for security. It's ultimately to be able 771 00:34:03,960 --> 00:34:06,260 to provide higher quality of communications. 772 00:34:08,840 --> 00:34:09,640 We also need 773 00:34:09,660 --> 00:34:11,520 to see problems with communications 774 00:34:11,520 --> 00:34:13,600 with cryptography because a lot 775 00:34:13,600 --> 00:34:15,760 of the protocols that we're used to dealing with, 776 00:34:15,840 --> 00:34:18,000 cryptographic protocols in normal IT, 777 00:34:18,540 --> 00:34:20,700 simply are too heavy-handed 778 00:34:20,700 --> 00:34:23,260 and the embedded devices 779 00:34:23,260 --> 00:34:23,960 that we're deploying 780 00:34:23,960 --> 00:34:25,280 don't have that capability. 781 00:34:25,540 --> 00:34:26,720 So we have very limited capabilities 782 00:34:26,720 --> 00:34:27,740 for some of these devices. 783 00:34:27,980 --> 00:34:29,640 So a lot of times we're going to be messing with 784 00:34:29,640 --> 00:34:32,980 asymmetrical encryption, AES encryption, 785 00:34:33,300 --> 00:34:35,260 because it's a lot easier to have 786 00:34:35,260 --> 00:34:36,480 these embedded devices use it. 787 00:34:36,580 --> 00:34:38,520 We do have some asymmetrical protocols out there, 788 00:34:39,660 --> 00:34:41,320 a few asymmetrical options that we have 789 00:34:41,320 --> 00:34:41,780 at our disposal. 790 00:34:42,720 --> 00:34:45,540 When we're dealing with these protocols, 791 00:34:45,980 --> 00:34:47,280 one of the first things we're interested in 792 00:34:47,280 --> 00:34:49,460 is how they do their key updates and key distribution 793 00:34:50,040 --> 00:34:51,480 because that's one of the biggest weaknesses 794 00:34:51,480 --> 00:34:53,180 in Achilles' heels to symmetrical encryption. 795 00:34:54,960 --> 00:34:55,720 When we get 796 00:34:55,720 --> 00:34:57,460 a proprietary protocol that we've never 797 00:34:57,460 --> 00:34:59,100 messed with before, never seen before, 798 00:34:59,300 --> 00:35:00,760 the first thing we're going to do is 799 00:35:01,320 --> 00:35:03,160 we're going to try to determine whether it's an encrypted 800 00:35:03,160 --> 00:35:04,820 protocol or not, and if it is encrypted, 801 00:35:04,920 --> 00:35:06,520 try to determine how encrypted it is. 802 00:35:06,860 --> 00:35:09,220 Here's some charts showing you different ways 803 00:35:09,660 --> 00:35:11,160 to determine. You capture the packets, 804 00:35:11,280 --> 00:35:12,600 you strip out any header information, 805 00:35:12,800 --> 00:35:13,540 you take just the payload. 806 00:35:14,200 --> 00:35:16,620 We build a histogram, 807 00:35:17,280 --> 00:35:19,100 checking the entropy of the data inside 808 00:35:19,100 --> 00:35:19,900 of the payloads themselves. 809 00:35:20,560 --> 00:35:21,480 The graph on the chart, 810 00:35:21,640 --> 00:35:25,180 the graph on top is going to be, 811 00:35:25,900 --> 00:35:28,100 this is the prime model, 812 00:35:28,200 --> 00:35:29,560 this is the one we want to see 813 00:35:29,560 --> 00:35:31,240 when we want to see encryption, 814 00:35:31,520 --> 00:35:33,620 something that's very, very evenly distributed out. 815 00:35:33,820 --> 00:35:35,460 The one on the bottom is still encrypted, 816 00:35:35,620 --> 00:35:37,960 but it's not as good as in its encryption mechanism 817 00:35:37,960 --> 00:35:39,340 because we don't have quite the 818 00:35:39,660 --> 00:35:40,520 even number of balance. 819 00:35:40,840 --> 00:35:42,520 If you ever see, when you're doing this 820 00:35:43,200 --> 00:35:44,960 histogram and the comparison, if you ever see 821 00:35:44,960 --> 00:35:47,300 a large jump right in the very middle 822 00:35:47,300 --> 00:35:48,720 and then right back down, usually it means 823 00:35:48,720 --> 00:35:50,440 you've come across an ASCII-based protocol 824 00:35:50,440 --> 00:35:52,520 because you hit the big jump right in the middle 825 00:35:52,520 --> 00:35:54,660 of the ASCII characters and very, very few 826 00:35:54,660 --> 00:35:56,860 representation anywhere outside of those 827 00:35:56,860 --> 00:35:58,220 common ASCII characters. 828 00:36:00,900 --> 00:36:02,600 Another issue we have is 829 00:36:03,060 --> 00:36:04,520 in the web world, 830 00:36:05,220 --> 00:36:05,960 we have products, 831 00:36:06,160 --> 00:36:08,120 vendors that are selling web-based products 832 00:36:08,120 --> 00:36:09,600 that say, yes, we're secure because 833 00:36:09,660 --> 00:36:11,400 we use SSL and TLS. 834 00:36:11,780 --> 00:36:13,340 We have the same exact problem we have 835 00:36:13,340 --> 00:36:14,400 inside of the embedded world. 836 00:36:15,040 --> 00:36:16,740 We have vendors coming up and saying, yes, 837 00:36:16,780 --> 00:36:18,220 we're secure because we use 8S. 838 00:36:19,080 --> 00:36:20,960 One of the first questions we're always going to ask 839 00:36:20,960 --> 00:36:23,060 is what types of cycle modes are you using 840 00:36:23,060 --> 00:36:24,860 for your 8S and trying to start digging down 841 00:36:24,860 --> 00:36:25,760 into the architecture there. 842 00:36:28,860 --> 00:36:30,080 Of the hardware attacks, 843 00:36:30,680 --> 00:36:32,320 the hardware attacks does represent 844 00:36:32,320 --> 00:36:33,500 not just the meters themselves, 845 00:36:33,740 --> 00:36:34,840 it's going to be performed by any of the 846 00:36:34,840 --> 00:36:37,680 pull-top devices like the aggregation points 847 00:36:39,660 --> 00:36:41,860 and this also takes effect of the RTUs 848 00:36:41,860 --> 00:36:43,660 and the different devices in the substations themselves. 849 00:36:44,560 --> 00:36:45,700 Of those hardware attacks, 850 00:36:48,900 --> 00:36:50,320 most of these are susceptible 851 00:36:50,320 --> 00:36:51,740 to different types of physical attacks 852 00:36:51,740 --> 00:36:52,140 themselves, 853 00:36:52,520 --> 00:36:54,020 either just getting in and trying to get 854 00:36:54,020 --> 00:36:56,040 information back out or making some 855 00:36:56,040 --> 00:36:57,520 modifications in the hardware themselves. 856 00:36:57,920 --> 00:36:59,280 A lot of the vendors that are out there 857 00:36:59,280 --> 00:37:01,940 have minimal capabilities or minimal controls 858 00:37:01,940 --> 00:37:03,880 around trying to detect when people are 859 00:37:03,880 --> 00:37:04,920 tampering with these devices, 860 00:37:05,220 --> 00:37:07,820 but for the most part they're fairly weak. 861 00:37:08,080 --> 00:37:09,560 When we are trying to attack, 862 00:37:09,660 --> 00:37:10,600 each one of these hardwares, 863 00:37:10,620 --> 00:37:12,400 the primary purpose for us to perform 864 00:37:12,400 --> 00:37:15,060 a penetration test on one single piece of hardware 865 00:37:15,060 --> 00:37:16,380 isn't to compromise that hardware. 866 00:37:16,540 --> 00:37:17,880 Just like everybody in this room knows, 867 00:37:18,020 --> 00:37:19,720 when you have physical access to the computer, 868 00:37:19,820 --> 00:37:21,540 we assume everything on that computer is compromised 869 00:37:21,540 --> 00:37:23,880 with some minor exceptions and some edge cases. 870 00:37:24,740 --> 00:37:26,700 Same thing with the meters themselves 871 00:37:26,700 --> 00:37:30,660 and any of the embedded hardware devices 872 00:37:30,660 --> 00:37:31,560 deployed to the field. 873 00:37:31,720 --> 00:37:33,140 We get our hands on these devices 874 00:37:33,140 --> 00:37:35,160 not to show that we can attack these devices 875 00:37:35,160 --> 00:37:36,860 and get information off these devices. 876 00:37:37,020 --> 00:37:38,860 We attack these devices to try to identify 877 00:37:39,660 --> 00:37:40,820 and to try to get information 878 00:37:40,820 --> 00:37:43,220 to enable us to attack the other devices 879 00:37:43,220 --> 00:37:43,940 inside of the infrastructure. 880 00:37:44,300 --> 00:37:45,840 Some of the things I'm going to be looking for 881 00:37:45,840 --> 00:37:47,640 are the cryptography keys, the asymmetrical 882 00:37:47,640 --> 00:37:49,260 or the asymmetrical cryptography keys 883 00:37:49,260 --> 00:37:50,300 that are stored on these devices 884 00:37:50,300 --> 00:37:52,180 because with access to this information 885 00:37:52,180 --> 00:37:53,740 I can go through and I can attack 886 00:37:53,740 --> 00:37:55,760 the other devices inside of the infrastructure 887 00:37:55,760 --> 00:37:57,880 either directly, let's say I can get 888 00:37:57,880 --> 00:37:59,680 the infrared password because all the meters 889 00:37:59,680 --> 00:38:00,820 have that little infrared interface, 890 00:38:01,020 --> 00:38:02,840 that little round thing with the two little dots 891 00:38:02,840 --> 00:38:04,920 on the front of your meter. It's an infrared interface. 892 00:38:09,660 --> 00:38:10,540 I can get the other meters inside of the neighborhood. 893 00:38:10,800 --> 00:38:12,660 What I'm more interested in is getting the keys 894 00:38:12,660 --> 00:38:15,020 for the wireless mesh communication protocols 895 00:38:15,020 --> 00:38:16,520 because if I can get the asymmetrical 896 00:38:16,520 --> 00:38:17,700 or the symmetrical keys for that 897 00:38:17,700 --> 00:38:20,000 and I can find a vulnerability in the way 898 00:38:20,000 --> 00:38:21,760 that they've been implemented, I might be able 899 00:38:21,760 --> 00:38:22,980 to launch other types of attacks 900 00:38:22,980 --> 00:38:24,480 like impersonating another meter 901 00:38:24,480 --> 00:38:26,560 or impersonating the head end and sending 902 00:38:26,560 --> 00:38:28,400 control signals down to the other meters 903 00:38:28,400 --> 00:38:30,040 from my device. 904 00:38:33,000 --> 00:38:35,860 Another thing we have is with energy theft 905 00:38:36,820 --> 00:38:37,700 of these meters. 906 00:38:37,780 --> 00:38:38,960 This is something we've had forever. 907 00:38:39,660 --> 00:38:41,240 This is not a new thing. Ever since they've had power 908 00:38:41,240 --> 00:38:43,380 people have been stealing power from the meters themselves. 909 00:38:43,640 --> 00:38:44,620 There's a lot of information. 910 00:38:44,800 --> 00:38:46,580 Any of these terms, if you just punch them into Google 911 00:38:46,580 --> 00:38:48,000 you'll be able to get some details, information 912 00:38:48,000 --> 00:38:50,280 about how people have done this in the past 913 00:38:50,280 --> 00:38:51,400 with some of the attacks. 914 00:38:51,780 --> 00:38:53,840 This is basic stuff, simply trying to steal power. 915 00:38:54,200 --> 00:38:55,840 That's not all that interesting to us 916 00:38:55,840 --> 00:38:57,160 but it is kind of fun to talk about it 917 00:38:57,160 --> 00:38:58,860 especially when you see really cool pictures like this 918 00:38:58,860 --> 00:39:01,480 of people stealing power, piggybacking multiple meters 919 00:39:01,480 --> 00:39:03,660 together, ripping the meter out, just getting in 920 00:39:03,660 --> 00:39:05,220 and actually hard wiring communications 921 00:39:05,220 --> 00:39:07,560 back to one single meter or usually 922 00:39:09,660 --> 00:39:10,380 it's not being read at all. 923 00:39:12,220 --> 00:39:13,620 We also have physical bypass. 924 00:39:13,840 --> 00:39:15,600 A lot of these devices are being tried 925 00:39:15,600 --> 00:39:17,220 to protect with different controls like 926 00:39:17,220 --> 00:39:19,700 locked cases and lock boxes on them 927 00:39:19,700 --> 00:39:21,260 and fences and perimeters 928 00:39:21,260 --> 00:39:23,040 and security cameras and all these things. 929 00:39:23,220 --> 00:39:24,780 Of course, locks, we can pick the locks. 930 00:39:25,000 --> 00:39:26,280 Fences, we can climb the fences. 931 00:39:27,240 --> 00:39:29,520 Cameras, well number one, if they have cameras 932 00:39:29,520 --> 00:39:31,540 number two, if they have cameras 933 00:39:31,540 --> 00:39:32,940 do they actually monitor them? 934 00:39:33,000 --> 00:39:35,120 If they do monitor them, how long does it take to roll something out? 935 00:39:35,360 --> 00:39:37,380 If you get a good attack and you can actually 936 00:39:37,380 --> 00:39:39,000 replicate this attack and make it 937 00:39:39,960 --> 00:39:41,600 very easy to go through and launch 938 00:39:41,600 --> 00:39:43,540 you can go to each of the 939 00:39:43,540 --> 00:39:45,980 different substations 940 00:39:45,980 --> 00:39:47,300 launch your little attack 941 00:39:47,940 --> 00:39:49,840 get back out within a 10-15 minute 942 00:39:49,840 --> 00:39:51,660 at least give you some remote presence 943 00:39:51,660 --> 00:39:53,960 some wireless remote presence inside of that substation 944 00:39:53,960 --> 00:39:55,560 to be able to go through and continue 945 00:39:55,560 --> 00:39:56,580 your attack down the road. 946 00:39:56,760 --> 00:39:58,600 So these are things that we're trying to combat 947 00:39:58,600 --> 00:40:00,840 some of the things that we're trying to address inside of the smart grid. 948 00:40:01,780 --> 00:40:03,260 When we're working with the hardware itself 949 00:40:03,260 --> 00:40:05,620 I told you we're looking for keys in the hardware 950 00:40:06,060 --> 00:40:07,740 we want to go into these keys and try to 951 00:40:07,740 --> 00:40:09,640 extract these keys out. Two methods that we use 952 00:40:09,660 --> 00:40:11,200 for extracting these keys out is 953 00:40:11,200 --> 00:40:13,300 either going through on these hardware devices 954 00:40:13,300 --> 00:40:15,380 and identifying where the data is stored 955 00:40:15,380 --> 00:40:17,480 at rest, so the EPROMs 956 00:40:17,480 --> 00:40:19,480 the RAM chips, the flash 957 00:40:19,480 --> 00:40:21,580 memory inside of the chips, the onboard storage 958 00:40:21,580 --> 00:40:23,380 of the system on the chips and the 959 00:40:23,380 --> 00:40:25,480 microprocessors. Trying to gain access to those 960 00:40:25,480 --> 00:40:26,800 and dump the data back off of them. 961 00:40:27,000 --> 00:40:29,140 Another thing that we'll do is we'll go in and 962 00:40:30,000 --> 00:40:31,580 identify communications between 963 00:40:31,580 --> 00:40:33,300 the microprocessor and other keys 964 00:40:33,300 --> 00:40:35,260 or other chips on the board 965 00:40:35,260 --> 00:40:37,280 like the wireless board and we'll jump in and we'll 966 00:40:37,280 --> 00:40:39,640 sniff the bus communications off those devices 967 00:40:39,660 --> 00:40:41,280 trying to find those key exchanges. 968 00:40:41,680 --> 00:40:43,500 This is something that we'll 969 00:40:43,500 --> 00:40:45,580 occasionally find is in order to set up 970 00:40:45,580 --> 00:40:47,620 the encryption if a lot of the encryption is being 971 00:40:47,620 --> 00:40:49,680 done by the microprocessor and the RF 972 00:40:49,680 --> 00:40:51,580 chip itself is just a very very dumb chip 973 00:40:51,580 --> 00:40:53,620 building the median for it to communicate 974 00:40:53,620 --> 00:40:53,980 on 975 00:40:55,820 --> 00:40:57,640 we might not be able to get any data 976 00:40:57,640 --> 00:40:59,160 off because the data is already becoming encrypted 977 00:40:59,160 --> 00:41:01,480 but if that RF chip has 978 00:41:01,480 --> 00:41:03,420 more intelligence and is doing the encryption itself 979 00:41:03,420 --> 00:41:05,340 quite often the data is being passed 980 00:41:05,340 --> 00:41:07,320 plain text in a 981 00:41:07,320 --> 00:41:09,260 serial link across that bus to the chip 982 00:41:09,660 --> 00:41:11,320 and quite often that key is also being 983 00:41:11,320 --> 00:41:12,820 sent clear text over that chip as well 984 00:41:12,820 --> 00:41:15,480 because the key is usually stored on the microprocessor itself 985 00:41:15,480 --> 00:41:17,280 so if we can capture that key back off 986 00:41:17,280 --> 00:41:19,380 we can get access to the cryptography keys 987 00:41:19,380 --> 00:41:20,420 for the communications channel. 988 00:41:20,800 --> 00:41:22,460 So these are just some pictures of going in 989 00:41:22,460 --> 00:41:24,660 showing how we jump in on some of the different devices 990 00:41:24,660 --> 00:41:26,120 connect different wires to it 991 00:41:26,120 --> 00:41:28,500 using syringes, that one thing on the left hand side 992 00:41:28,500 --> 00:41:29,900 that's a big syringe that we use 993 00:41:29,900 --> 00:41:32,760 it makes it very easy to use a syringe to go in and get 994 00:41:32,760 --> 00:41:34,500 some of the small surface mounted pins 995 00:41:34,500 --> 00:41:35,760 that are on the devices themselves 996 00:41:37,120 --> 00:41:38,820 Occasionally we have to go through and make some minor modifications 997 00:41:39,660 --> 00:41:40,740 to try to get chips out of the way 998 00:41:40,740 --> 00:41:42,480 from interfering with our communications 999 00:41:42,480 --> 00:41:45,380 and try to stop the attacks that we're doing 1000 00:41:45,380 --> 00:41:46,740 we avoid this when possible 1001 00:41:46,740 --> 00:41:47,780 it's not always possible 1002 00:41:47,780 --> 00:41:50,500 Here's just a little screenshot of us going through 1003 00:41:50,500 --> 00:41:52,420 and dumping out the contents of EEPROM 1004 00:41:53,100 --> 00:41:55,340 usually using either the I2C or the SPI 1005 00:41:55,340 --> 00:41:56,200 communication buses 1006 00:41:56,900 --> 00:41:58,160 on these chips themselves 1007 00:41:58,160 --> 00:42:00,060 so basically bypass the microprocessors 1008 00:42:00,060 --> 00:42:02,040 get our own hardware and straight into that EEPROM 1009 00:42:02,040 --> 00:42:03,840 or the flash module and dump the contents out 1010 00:42:04,480 --> 00:42:06,240 Here's an example of bus snooping 1011 00:42:06,240 --> 00:42:08,760 identify the bus, jump in between 1012 00:42:09,660 --> 00:42:11,440 the chips that we're trying to get the captured information from 1013 00:42:11,440 --> 00:42:13,580 and capture that information so we can go back 1014 00:42:13,580 --> 00:42:14,340 and do analysis later 1015 00:42:14,340 --> 00:42:16,960 Once we capture that information we have to identify 1016 00:42:16,960 --> 00:42:19,560 the information that we want out of the side of this dump 1017 00:42:19,560 --> 00:42:21,900 because a lot of times these dumps are very, very cryptic 1018 00:42:21,900 --> 00:42:23,460 Two different ways to do this 1019 00:42:23,460 --> 00:42:25,000 if we have symmetrical encryption keys 1020 00:42:25,000 --> 00:42:26,760 we do attacks very similar to the attacks 1021 00:42:26,760 --> 00:42:28,920 that they did with the Blu-ray discs 1022 00:42:28,920 --> 00:42:31,380 where we systematically go through 1023 00:42:31,380 --> 00:42:31,980 and take 1024 00:42:33,040 --> 00:42:35,640 the exact length of the key that we know that they're using 1025 00:42:35,640 --> 00:42:37,280 and we systematically step through 1026 00:42:37,280 --> 00:42:39,460 the memory dump until we find a key 1027 00:42:39,660 --> 00:42:41,240 that successfully decrypts whatever traffic 1028 00:42:41,240 --> 00:42:42,900 we're trying to decrypt 1029 00:42:42,900 --> 00:42:44,380 If you see here in the very bottom 1030 00:42:44,380 --> 00:42:46,560 this is a combination of Travis Goodfet's 1031 00:42:46,560 --> 00:42:49,380 Goodfet tool and Josh Wright's Killer Bee protocol 1032 00:42:49,380 --> 00:42:51,020 that we do this attack in 1033 00:42:51,020 --> 00:42:52,240 when we're dealing with Zigbee 1034 00:42:52,240 --> 00:42:54,540 so dump the memory contents off of a 1035 00:42:55,460 --> 00:42:56,460 Zigbee chip 1036 00:42:56,460 --> 00:42:58,120 or grab it straight out of RAM 1037 00:42:58,120 --> 00:43:00,620 we then use that binary dump to step through it 1038 00:43:00,620 --> 00:43:02,960 until we can successfully decrypt a Zigbee packet 1039 00:43:04,240 --> 00:43:05,300 Asymmetrical is even easier 1040 00:43:05,300 --> 00:43:06,740 Asymmetrical keys are randomly 1041 00:43:07,450 --> 00:43:08,480 pseudo-randomly generated 1042 00:43:09,660 --> 00:43:11,020 so all we do is we go through 1043 00:43:11,020 --> 00:43:12,780 and do an entropy analysis of the dump we have 1044 00:43:12,780 --> 00:43:15,080 and as long as the rest of the data 1045 00:43:15,080 --> 00:43:17,140 on the device is not encrypted 1046 00:43:17,500 --> 00:43:18,820 you can very easily decide 1047 00:43:18,820 --> 00:43:21,060 exactly where that asymmetrical key is 1048 00:43:21,060 --> 00:43:22,540 so you see that one spike right in the middle 1049 00:43:22,540 --> 00:43:24,860 that was the asymmetrical key inside of this dump 1050 00:43:25,400 --> 00:43:26,980 so they're fairly easy to identify 1051 00:43:30,200 --> 00:43:31,940 Once we go through 1052 00:43:31,940 --> 00:43:32,820 and we have this information 1053 00:43:32,820 --> 00:43:35,160 once again the goal is to try to leverage this for other purposes 1054 00:43:35,600 --> 00:43:37,120 some of the defenses we're recommending 1055 00:43:37,120 --> 00:43:39,160 for the utilities is try to use 1056 00:43:39,660 --> 00:43:41,120 as one of the best defenses they have 1057 00:43:41,120 --> 00:43:43,660 as well as try to limit the cryptographic keys 1058 00:43:43,660 --> 00:43:45,720 that they're deploying out to the other devices 1059 00:43:48,220 --> 00:43:49,820 Another item that we're going to be using 1060 00:43:49,820 --> 00:43:51,580 or looking for besides the key itself 1061 00:43:51,580 --> 00:43:52,880 is the firmware 1062 00:43:53,580 --> 00:43:54,740 because with the keys 1063 00:43:54,740 --> 00:43:57,300 while we can get the keys as all great fine and dandy 1064 00:43:57,300 --> 00:43:59,280 if we can get the firmware itself 1065 00:43:59,280 --> 00:44:01,660 the firmware gives us capability and greater insight 1066 00:44:01,660 --> 00:44:02,200 to these devices 1067 00:44:02,200 --> 00:44:03,820 and you can go through and use these 1068 00:44:03,820 --> 00:44:07,800 or binary decompilation 1069 00:44:07,800 --> 00:44:09,440 and go through and analyze the binary 1070 00:44:09,660 --> 00:44:11,620 itself or do source code review 1071 00:44:11,620 --> 00:44:12,140 on the device 1072 00:44:12,140 --> 00:44:15,060 those are two different options if you have copy of the source code 1073 00:44:15,060 --> 00:44:17,700 if you are going to be doing binary analysis on the flash 1074 00:44:17,700 --> 00:44:19,540 it does become a little more problematic 1075 00:44:19,540 --> 00:44:21,200 than most of you doing binary analysis 1076 00:44:21,200 --> 00:44:22,680 on common everyday computers 1077 00:44:22,680 --> 00:44:24,360 because each one of these embedded devices 1078 00:44:24,360 --> 00:44:26,700 has different microprocessors with different instruction sets 1079 00:44:26,700 --> 00:44:29,300 so you quite often will have to go through 1080 00:44:29,300 --> 00:44:31,760 and build decompilers to try to simply gain access 1081 00:44:31,760 --> 00:44:33,700 to the instructions in the first place 1082 00:44:33,700 --> 00:44:35,500 so that's a huge obstacle 1083 00:44:35,500 --> 00:44:36,160 that we come across 1084 00:44:36,160 --> 00:44:38,860 and for those that like writing decompilers 1085 00:44:39,660 --> 00:44:41,300 we could definitely use a lot more of them out there 1086 00:44:41,300 --> 00:44:42,120 for the embedded chip space 1087 00:44:42,120 --> 00:44:44,600 so great huge opportunity for you to get into 1088 00:44:45,220 --> 00:44:47,280 other than that for conclusion 1089 00:44:47,280 --> 00:44:48,620 yes the smart grid is out there 1090 00:44:48,620 --> 00:44:50,580 the smart grid does have security issues out there 1091 00:44:50,580 --> 00:44:51,880 no industry is perfect 1092 00:44:52,420 --> 00:44:54,800 but at the end of the day I think we are moving forward 1093 00:44:54,800 --> 00:44:56,440 and we have a lot of people looking at these devices 1094 00:44:56,440 --> 00:44:57,540 and we can always use more 1095 00:44:57,540 --> 00:45:00,500 for those that are running security shops out there 1096 00:45:00,500 --> 00:45:01,620 and providing security services 1097 00:45:02,140 --> 00:45:04,760 realize that there is a huge potential inside of the smart grid 1098 00:45:04,760 --> 00:45:06,680 working with the vendors of the smart grid 1099 00:45:06,680 --> 00:45:08,700 as well as the utility companies 1100 00:45:09,660 --> 00:45:10,580 that are buying these products 1101 00:45:10,580 --> 00:45:13,660 your skills are directly applicable in many of the different areas 1102 00:45:13,660 --> 00:45:15,360 and for those that want to learn new skills 1103 00:45:15,360 --> 00:45:16,760 there is a lot of new skills out there 1104 00:45:16,760 --> 00:45:19,260 you can pick up with some of the hardware hacking techniques 1105 00:45:19,260 --> 00:45:22,000 and some of the proprietary networking protocols 1106 00:45:22,480 --> 00:45:23,280 that are out there 1107 00:45:23,280 --> 00:45:25,100 so a lot of good information out there 1108 00:45:25,540 --> 00:45:26,640 if you want more information 1109 00:45:26,640 --> 00:45:29,160 you can go through and check out a couple of different resources 1110 00:45:29,160 --> 00:45:30,920 throughout the slide deck I try to give resources 1111 00:45:30,920 --> 00:45:32,100 wherever I possibly could 1112 00:45:32,520 --> 00:45:34,960 if you want more information about some of the attacks specific 1113 00:45:34,960 --> 00:45:36,820 my previous employer in guardians 1114 00:45:36,820 --> 00:45:38,780 they do have on their website 1115 00:45:39,660 --> 00:45:41,560 an attack methodology that goes a little bit more into detail 1116 00:45:41,560 --> 00:45:43,480 about some of the hardware attacks that are out there 1117 00:45:43,480 --> 00:45:44,760 that's a great source 1118 00:45:44,760 --> 00:45:47,300 of course I did mention the NIST inter-agency report 1119 00:45:47,300 --> 00:45:48,540 that was released last summer 1120 00:45:48,540 --> 00:45:49,720 you can go through and grab that 1121 00:45:49,720 --> 00:45:50,880 the URL is up there 1122 00:45:50,880 --> 00:45:53,760 and then also if you go to smart gridipedia 1123 00:45:53,760 --> 00:45:55,600 it's a great place to get information 1124 00:45:55,600 --> 00:45:56,900 and specifically on smart gridipedia 1125 00:45:56,900 --> 00:45:59,140 there is ASAP SG 1126 00:45:59,140 --> 00:46:02,000 one of the work groups that I've been working on for the last two years 1127 00:46:02,000 --> 00:46:03,780 all the products that we create 1128 00:46:03,780 --> 00:46:05,260 and all the documents that we create 1129 00:46:05,260 --> 00:46:07,580 to try to help the utility secure their infrastructure 1130 00:46:09,660 --> 00:46:10,920 on this website 1131 00:46:10,920 --> 00:46:12,420 you can gain access to any of these 1132 00:46:12,420 --> 00:46:15,160 and get more information about any of the specific domains 1133 00:46:15,160 --> 00:46:16,200 that I've spoken about today 1134 00:46:16,740 --> 00:46:18,500 other than that thank you very much 1135 00:46:18,500 --> 00:46:20,080 I will go ahead and take questions in Q&A 1136 00:46:20,080 --> 00:46:20,660 but thank you