1 00:00:00,000 --> 00:00:05,760 First things first, disclaimer. I'm employed and I'd like to stay employed. 2 00:00:07,040 --> 00:00:10,020 One of the side effects of being employed is that you end up doing a lot 3 00:00:10,020 --> 00:00:14,100 of research in your spare time. All of the research has been done in my spare 4 00:00:14,100 --> 00:00:18,560 time. This is all from publicly available sources. You could discover this just as 5 00:00:18,560 --> 00:00:29,340 easily as I did if you know what you're looking for. The voices in your head. So 6 00:00:29,340 --> 00:00:33,860 I've been in information security for 15 plus years. That's going to have to change to a 7 00:00:33,860 --> 00:00:37,540 different kind of number pretty soon and that scares me too. I've done everything from 8 00:00:37,540 --> 00:00:42,400 firewall admin and log review all the way up to CISO, publicly traded financial. So I've seen 9 00:00:42,400 --> 00:00:45,940 it all, I've done it all and I'm not afraid to tell other people to do the crap jobs I've been 10 00:00:45,940 --> 00:00:50,260 doing for the last 15 plus years. I've done a lot of stuff in the utilities vertical. You 11 00:00:50,260 --> 00:00:54,200 may have heard me talk about that crap. I've done a lot of stuff in the financials 12 00:00:54,200 --> 00:00:59,320 vertical. And I'm not an expert at anything. Remember, if somebody wants to know more about 13 00:00:59,320 --> 00:01:07,260 this, if somebody tells you they're an expert, they're lying. Nanoseconds. In researching and 14 00:01:07,260 --> 00:01:12,240 thanks to the Twitter, I came across this awesome clip of a rather incredible scientist and 15 00:01:12,240 --> 00:01:18,460 mathematician who gave us compilers and programming languages and much more exquisitely than I 16 00:01:18,460 --> 00:01:25,460 could possibly say is going to tell you about nanoseconds. Admiral Hopper. They started 17 00:01:25,460 --> 00:01:29,300 talking about circuits that acted in nanoseconds, billionths of a second. They were 18 00:01:29,320 --> 00:01:33,320 talking about nanoseconds. Oh, I didn't know what a billion was. I don't think most of those men 19 00:01:33,320 --> 00:01:41,100 downtown know what a billion is either. And if you don't know what a billion is, how on 20 00:01:41,100 --> 00:01:46,640 earth do you know what a billionth is? I fussed and fumed. Finally one morning, in total 21 00:01:46,640 --> 00:01:52,680 desperation, I called over to the engineering building and I said, please cut off a nanosecond 22 00:01:52,680 --> 00:01:57,680 and send it over to me. And I've brought you some today. Now what I wanted when I asked for a 23 00:01:57,680 --> 00:01:58,520 nanosecond was, 24 00:01:59,320 --> 00:02:05,660 I wanted a piece of wire which would represent the maximum distance that electricity could travel 25 00:02:05,660 --> 00:02:11,040 in a billionth of a second. Now of course it wouldn't really be through wire. It would be out in space 26 00:02:11,040 --> 00:02:15,920 at the velocity of light. So if you start with the velocity of light and use your friendly computer, 27 00:02:16,680 --> 00:02:24,220 you'll discover that a nanosecond is 11.8 inches long. The maximum limiting distance that electricity 28 00:02:24,220 --> 00:02:29,260 can travel in a billionth of a second. Finally, at the end of about a week, I called back and said, 29 00:02:29,320 --> 00:02:34,800 I need something to compare this to. Could I please have a microsecond? I've only got one 30 00:02:34,800 --> 00:02:44,980 microsecond, so I can't give you each one. Here's a microsecond. 984 feet. I sometimes think we ought 31 00:02:44,980 --> 00:02:52,040 to hang one over every programmer's desk or around the neck so they know what they're throwing away 32 00:02:52,040 --> 00:02:58,840 when they throw away microseconds. Now I hope you'll all get your nanoseconds. They're absolutely marvelous, 33 00:02:59,320 --> 00:03:05,580 for explaining to wives and husbands and children and admirals and generals and people like that. 34 00:03:06,160 --> 00:03:12,140 An admiral wanted to know why it took so damn long to send a message via satellite. And I had to point out 35 00:03:12,140 --> 00:03:17,480 that between here and the satellite, there were a very large number of nanoseconds. 36 00:03:19,080 --> 00:03:23,800 You can explain these things. It's really very helpful, so be sure to get your nanoseconds. 37 00:03:31,640 --> 00:03:37,860 For the record and for posterity, if you haven't spent a significant amount of time studying Admiral 38 00:03:37,860 --> 00:03:44,580 Hopper, you're failing. Do it. The woman was brilliant. She gave us compilers, she gave us programming 39 00:03:44,580 --> 00:03:51,540 languages. Her contributions to computer science are astronomical. And her explanations of the 40 00:03:51,540 --> 00:03:57,320 mundane are brilliant and hilarious. There's a clip of her going toe-to-toe with David Letterman that 41 00:03:57,320 --> 00:03:59,300 will knock you right off of your socks. 42 00:03:59,320 --> 00:04:05,300 Absolutely amazing stuff. I had every intention of bringing some nanoseconds to give out, but it turns out 43 00:04:05,300 --> 00:04:09,740 the Transportation Security Administration has a lot of problems with bundles of wire in luggage. 44 00:04:11,580 --> 00:04:16,640 They have a lot of problems with pennies. You can imagine what they'd think of pennies plus wire in the same bag. 45 00:04:18,200 --> 00:04:24,200 So possibly for the first time in the history of humanity, money equals C, the speed of light. 46 00:04:25,260 --> 00:04:29,300 You need to be very aware of how far light can travel, because if you don't know how far light can travel, 47 00:04:29,320 --> 00:04:36,460 it is, for now, the ultimate limiter. The distance that light travels in a millisecond, one one-thousandth of a second, 48 00:04:36,660 --> 00:04:46,080 is about 300 kilometers. It's 186 miles for the rest of you. In a millionth of a second, you get about 300 meters, 49 00:04:46,220 --> 00:04:59,060 328 yards, 984 feet. In a nanosecond, you get about 30 centimeters or roughly a foot, 11.8 inches. These are the absolute finite distances. This is as far as 50 00:04:59,320 --> 00:05:08,300 fast as you can possibly go. In reality, you go a whole heck of a lot slower than this, because we're not talking about light moving in a vacuum. 51 00:05:08,580 --> 00:05:18,260 At the best, it's moving in air or optical fiber or it's electrons moving through a conductor. So those distances get quite a bit longer. 52 00:05:18,580 --> 00:05:25,500 It's much more costly. Most people, like she said, don't have a good handle on what these kind of numbers are. 53 00:05:25,620 --> 00:05:28,620 And the majority of this talk, I mean, nanoseconds is funny to talk about. 54 00:05:29,320 --> 00:05:33,260 Most of this talk, we're actually going to talk about microseconds. We're not quite in the nanosecond space yet. 55 00:05:33,980 --> 00:05:39,160 When you think of things that are really, really fast in human scale, you think of the blink of an eye. 56 00:05:40,020 --> 00:05:49,760 Well, the blink of your eye, 350 to 450 microseconds. Trading is 10 times faster than that. 57 00:05:51,740 --> 00:05:57,120 So before you ask, this is a talk about money, filthy, love, money. 58 00:05:57,120 --> 00:06:05,120 money. And it's not about any of the other things on your buzz word bingo card. For the second 59 00:06:05,120 --> 00:06:09,440 year in a row I'm talking about finance at DEF CON. Last year we talked about PCI and we'll be 60 00:06:09,440 --> 00:06:15,840 talking about PCI again this afternoon in this room. It turns out that most of DEF CON is 61 00:06:16,340 --> 00:06:23,080 offense. It's how to be as offensive as you possibly can. And also a little bit of 62 00:06:23,080 --> 00:06:27,980 defense. But knowing sometimes that a vulnerability exists or a class of vulnerabilities 63 00:06:27,980 --> 00:06:33,280 exists and I am going to talk about classes of vulnerabilities, that helps to sort of focus 64 00:06:33,280 --> 00:06:37,600 attention and once attention is focused then research starts happening, then development of 65 00:06:37,600 --> 00:06:44,060 solutions starts happening. And sometimes crazy people like me will tell you about stuff that 66 00:06:44,060 --> 00:06:50,280 doesn't matter this year. Two years ago at DEF CON my co-presenter Tiffany Ratt and I told you 67 00:06:50,280 --> 00:06:53,060 all about how you weren't going to be able to keep the data that you were going to be able to 68 00:06:53,080 --> 00:06:59,520 keep secrets outside of your brain. And this year the Department of Justice has said give me your 69 00:06:59,520 --> 00:07:04,920 password or go to jail indeterminately. You'll stay there until we decide to let you out. So you 70 00:07:04,920 --> 00:07:11,160 had your two year warning. Last year I talked about bad things in the world of industrial 71 00:07:11,160 --> 00:07:17,880 control. This year I think I'm the only talk that isn't about industrial control. Next year 72 00:07:17,880 --> 00:07:23,060 everybody is going to be talking about money. So most of us don't really have a good idea 73 00:07:23,080 --> 00:07:26,960 of this whole trading thing. I mean you're used to when you were younger and your dad was 74 00:07:26,960 --> 00:07:31,540 watching the news on TV looking at the Dow Jones industrial average and the Nikkei index and 75 00:07:32,020 --> 00:07:39,340 NASDAQ and alphabet soup, what the hell does that mean? And facing fact, we're hackers. We 76 00:07:39,340 --> 00:07:47,240 don't have any money. We don't have any legitimate money. The idea of stock markets and of 77 00:07:47,240 --> 00:07:52,560 exchanges started back in about the 1200s with commodity and debt trading. So this is pork bellies 78 00:07:52,560 --> 00:07:58,200 and orange juice just like Ferris Bueller. In the 1500s we got intermarket trading. So where 79 00:07:58,200 --> 00:08:02,720 trades would be executed from one organization on multiple markets. In the 1600s with the 80 00:08:02,720 --> 00:08:07,880 Dutch East India Company we got our first real equity trading where you didn't have to be a lord 81 00:08:07,880 --> 00:08:14,860 or a peer. You could own part of a company. So this was the beginnings of corporations. By the 82 00:08:14,860 --> 00:08:22,160 late 1800s or sorry, early 1800s, this is a funny story. Everybody knows RFC 1149? IP by avian 83 00:08:22,160 --> 00:08:22,540 carrier? I don't know. I don't know. I don't know. I don't know. I don't know. I don't know. I don't 84 00:08:22,540 --> 00:08:24,040 know. I don't know. I don't know. I don't know. I don't know. I don't know. I don't know. Right? 85 00:08:24,040 --> 00:08:29,980 Reuters implemented that in the early 1800s. These carrier pigeons between Aachen and Brussels. 86 00:08:31,120 --> 00:08:36,560 When you think about that for just a minute, you realize that patents and software are stupid 87 00:08:36,560 --> 00:08:42,000 because prior art is sometimes an awfully long time ago. In the late 1800s, the electronic 88 00:08:42,000 --> 00:08:46,160 ticker tape started happening. This is daddy war bucks kind of stuff. You know, the glass dome and 89 00:08:46,160 --> 00:08:52,060 the paper spews out and somebody has a snit. This is telling you about what the prices were. By the 90 00:08:52,060 --> 00:08:56,580 the mid-1900s, quotation systems started to come into active use. These are things that looked an 91 00:08:56,580 --> 00:09:01,020 awful lot like a typewriter. They had a little bit of electronic knowledge to them, but what they 92 00:09:01,020 --> 00:09:05,940 were capable of doing was telling you the next price. They were an inquiry type system. By the 93 00:09:05,940 --> 00:09:10,480 late 1900s, computers are maintaining all the records. They used to maintain records on paper 94 00:09:10,480 --> 00:09:15,320 and with chalkboards and stuff like that. If you're old enough, you remember using little bits of 95 00:09:15,320 --> 00:09:20,200 paper to move money around at banks. They called it deposit slips. If you're from a modern country, 96 00:09:20,200 --> 00:09:25,060 you've been using debit cards for the last 25 years. If you're in the United States, you'll 97 00:09:25,060 --> 00:09:32,460 start using them in another five. Checks, really? And you spell them wrong, too. It's Q-U-E-S. 98 00:09:33,360 --> 00:09:39,560 By the early 2000s, computers are trading with each other and largely without human intervention. 99 00:09:39,860 --> 00:09:45,220 Humans are providing sort of stick handling kind of guidance, but are not responsible anymore for 100 00:09:45,220 --> 00:09:49,980 individual trades. Some definitions that are really 101 00:09:49,980 --> 00:09:50,180 important. The first one is that computers are not responsible for individual trades. 102 00:09:50,200 --> 00:09:55,840 High-speed trading is committing trades on a scale faster than human interaction. So, remember, 103 00:09:55,960 --> 00:10:01,120 the fastest humans can go is the blink of an eye. There really isn't that much else about us that 104 00:10:01,120 --> 00:10:08,080 can go any faster. And that's 350 to 450 microseconds. Trades are now in the very, very low 105 00:10:08,080 --> 00:10:13,800 three digits and very, very high two digits numbers of microseconds. Algorithmic trading is 106 00:10:13,800 --> 00:10:19,620 using math. And at this point, about half the room glazes over completely and the other half of the 107 00:10:19,620 --> 00:10:20,180 room starts giggling. So, it's a very, very high-speed trading. It's a very, very high-speed 108 00:10:20,180 --> 00:10:22,080 trading. The rest of the room is giggling because they know that the speaker doesn't know 109 00:10:22,080 --> 00:10:28,640 enough about math. Based on the results of incoming information, market data feeds and even 110 00:10:29,200 --> 00:10:34,440 English language or human language press releases, computers are able to make trades. 111 00:10:36,060 --> 00:10:45,980 Executing literally in that flash moment. I said change. There we go. Arbitrage. This is a 112 00:10:45,980 --> 00:10:50,060 funny term. Everybody likes saying it because it's got that lovely Arbitrage. Sounds very 113 00:10:50,060 --> 00:10:53,920 very important, very Wall Street. It's the practice of taking advantage of the difference 114 00:10:53,920 --> 00:11:00,840 in price between two or more markets. This is usually, or sorry, this is historically done 115 00:11:00,840 --> 00:11:07,180 in space where you'll have a single organization that trades on NASDAQ and the New York Stock 116 00:11:07,180 --> 00:11:12,900 Exchange. And it has slightly different prices on the two. So you would buy wholesale and sell 117 00:11:12,900 --> 00:11:18,620 retail. You'd buy the low price and sell the high price in the other market. Everybody sort of 118 00:11:18,620 --> 00:11:23,160 naturally does this. We're accustomed to buying wholesale and selling retail, except if you're 119 00:11:23,160 --> 00:11:27,620 in farming, in which case you buy retail and sell wholesale. Now we're talking about doing 120 00:11:27,620 --> 00:11:32,760 arbitrage in time. So this is no longer about having to be in multiple places at once. This is 121 00:11:32,760 --> 00:11:38,880 about being inserted interstitially between two other events in time. So from the time that you 122 00:11:38,880 --> 00:11:44,500 know that someone wants to purchase a large number of shares until the time that the purchase 123 00:11:44,500 --> 00:11:48,600 executes, there's a gap in there. And that gap in there is a gap in the time that you're 124 00:11:48,600 --> 00:11:52,660 going to be able to sell. So you can step in and say, well, I've got them for sale. So it never 125 00:11:52,660 --> 00:11:58,160 goes out to the wider community because you're right there ready to sell. So arbitrage is very 126 00:11:58,160 --> 00:12:02,660 interesting. Mostly because when you said I've got them ready to sell, you don't have them yet. 127 00:12:03,920 --> 00:12:08,400 You're going to buy them right away so that you've got them by the time they get around to saying, 128 00:12:08,480 --> 00:12:17,660 oh, yeah, I'll buy from you. Inside of hundreds of microseconds. It's scary fast. When markets 129 00:12:17,660 --> 00:12:23,640 were new, middle of last millennium, trade times were hours. You know, it's human beings. 130 00:12:23,920 --> 00:12:28,540 They're arguing with each other about price and haggling. Everybody loves a good haggle, right? 131 00:12:29,460 --> 00:12:35,960 By the late 1800s, we're down to minutes. By the 1900s, we're down to seconds. This is largely 132 00:12:35,960 --> 00:12:40,460 the trading technology that we're most familiar with because we've all watched Ferris Bueller's 133 00:12:40,460 --> 00:12:47,340 day off one too many times. Anybody do this thing? Yeah. By the 2000s, we're into hundreds of 134 00:12:47,340 --> 00:12:53,880 microseconds. In the future, I don't know, Tachyon pulse emissions or something. Future 135 00:12:53,880 --> 00:12:58,660 prediction kind of stuff. Because we're going to hit that wall of the speed of light and we're 136 00:12:58,660 --> 00:13:03,100 going to hit it kind of hard. It's going to hurt a lot. The architecture of these systems is 137 00:13:03,620 --> 00:13:08,260 astonishingly simple. When you look around the Internet for architecture diagrams for high 138 00:13:08,260 --> 00:13:14,100 speed trading, what you'll see is that someone threw up Invisio and gave you a chart this big 139 00:13:14,760 --> 00:13:15,580 and it looks like shit. 140 00:13:17,340 --> 00:13:22,420 Because they've included every damn thing they can think of. We all have the blinky lights and shiny 141 00:13:22,420 --> 00:13:28,400 things disease. These people have it in a way that we look at them and giggle because they're 142 00:13:28,400 --> 00:13:33,260 completely insane about this stuff. In reality, there's only four moving pieces you need to know 143 00:13:33,260 --> 00:13:39,800 about. You've got an exchange of some type. Whether it's the New York Stock Exchange, whether 144 00:13:39,800 --> 00:13:45,520 it's a commodity market in Chicago, whether it's a private exchange, whether it's a, well, 145 00:13:48,360 --> 00:13:54,100 you have a trading engine that's tightly coupled to that. The trading engine is this odd special piece of 146 00:13:54,100 --> 00:13:58,160 hardware and I'll come back and talk to it in a minute. The trading engine gets its information from 147 00:13:58,160 --> 00:14:02,860 market data sources. So this is telling you what's going on in other markets, what's going on in the 148 00:14:02,860 --> 00:14:08,320 news, what's going on in the markets you're tightly coupled to. And there is a human who provides, 149 00:14:08,500 --> 00:14:13,620 like I said, this sort of stick handling control over what's going on. That machine in the middle is 150 00:14:13,620 --> 00:14:17,320 kind of an interesting box. It's faster than most other computers you have. It's faster than most other 151 00:14:17,340 --> 00:14:22,740 computers you have. It's one of the few times when you can go to a major supplier of rack mounted 152 00:14:22,740 --> 00:14:28,200 computer equipment and they will sell you something that has been overclocked and maxed out and 153 00:14:28,200 --> 00:14:35,480 liquid cooled and, oh, my God, that's cool. You know, 12 to 24 cores, 128 gigs of RAM is not 154 00:14:35,480 --> 00:14:44,740 unusual. Gigabit, 10 gigabit, InfiniBand, PCIe interfaces between machines to cram that latency as 155 00:14:44,740 --> 00:14:45,380 low as possible. 156 00:14:45,380 --> 00:14:52,720 The thing that you'll never see them use is the actual network interface on the box. They'll always replace it 157 00:14:52,720 --> 00:14:58,620 with something faster. You don't really realize quite how much latency is added by things like well 158 00:14:58,620 --> 00:15:07,540 trusted, well documented, completely debugged Ethernet drivers and IP networking stacks. Instead, you 159 00:15:07,540 --> 00:15:14,040 should go out and have a couple of developers in their own little space design for you a custom FPGA 160 00:15:14,040 --> 00:15:15,060 card that interfaces. 161 00:15:15,380 --> 00:15:22,360 directly with Ethernet so that your application can build a trading in memory, a fixed transaction 162 00:15:22,360 --> 00:15:28,460 in memory and pass it to the FPGA as it's being built and the FPGA will ram that thing 163 00:15:28,460 --> 00:15:34,560 out on the wire as fast as possible. You'll notice that those couple of developers don't 164 00:15:34,560 --> 00:15:44,760 have the kind of historical legitimacy that something like the BSDIP stack has. Think 165 00:15:44,760 --> 00:15:48,580 how fast is fast, how fast does fast really matter. You need to keep hammering this point 166 00:15:48,580 --> 00:15:52,240 home because it's something that most people just can't grasp the first time around. 167 00:15:52,560 --> 00:15:57,700 If you're executing trades in terms of seconds, you have no position. You will lose every 168 00:15:57,700 --> 00:16:01,980 single time. You will lose your shirt in the market. You're the kind of person who sits 169 00:16:01,980 --> 00:16:11,640 at home watching ads for ITT tech. Sorry. In milliseconds, you're losing nearly 170 00:16:11,640 --> 00:16:14,420 every time. And when you think about it, milliseconds 171 00:16:14,420 --> 00:16:20,080 you don't notice milliseconds, right? You take a brand-new laptop, brand-new server and a 172 00:16:20,080 --> 00:16:24,380 brand-new gigabit Ethernet switch. I tried this just last week at home so I didn't have the 173 00:16:24,380 --> 00:16:29,720 number to prove it. And send a ping to the server and get the response back. Half a 174 00:16:29,720 --> 00:16:37,180 millisecond, it's pretty average. So your home stuff is pretty slow. You heard me say before 175 00:16:37,180 --> 00:16:43,320 that half a millisecond is just way too much. Sub millisecond, big players are regularly 176 00:16:43,320 --> 00:16:44,400 beating you because they've got big numbers. They're beating you because they've got 177 00:16:44,400 --> 00:16:50,440 better, faster computers. They're replacing them with asset timelines that aren't measured in 178 00:16:50,440 --> 00:16:54,600 years. They're measured in weeks or maybe months. So new hardware goes in there as fast as 179 00:16:54,600 --> 00:16:59,020 possible because new hardware is faster than old hardware. In the hundreds of microseconds, 180 00:16:59,580 --> 00:17:05,980 you're a bit player. You're winning based more on flip of a coin than on being able to 181 00:17:05,980 --> 00:17:11,360 actually win. And if you're in the tens of microseconds, you're almost always winning, which 182 00:17:11,360 --> 00:17:12,260 is kind of a nice place to be. 183 00:17:13,780 --> 00:17:19,320 Almost as important as being just playing fast, just very, very low latency is also being very, 184 00:17:19,380 --> 00:17:24,260 very predictable. So all those VoIP people out there that like to talk about crazy high jitter 185 00:17:24,260 --> 00:17:28,960 and how that completely wrecks the voice conversation and how people can't understand and be 186 00:17:28,960 --> 00:17:34,920 intelligible and they go all Skype robot-y and stuff. In this situation, the jitter matters 187 00:17:34,920 --> 00:17:41,100 because it's being taken into account as part of the calculation. You know what your round trip 188 00:17:41,100 --> 00:17:42,240 time to the exchange is. You know what your round trip time to the exchange is. You know what your 189 00:17:42,260 --> 00:17:46,540 round trip time to the exchange is. And that round trip time has to stay the same. If the round 190 00:17:46,540 --> 00:17:51,260 trip time becomes variable, you've introduced a new variable in a calculation where you were 191 00:17:51,260 --> 00:17:55,960 expecting a constant. This is going to cause you problems, right? You know, if the speed of light 192 00:17:55,960 --> 00:18:03,460 keeps changing, it's really, really hard to get your spaceship to go to warp nine. We used to joke 193 00:18:03,460 --> 00:18:08,000 about this back in the olden days when I was a router switch jockey about what would happen if 194 00:18:08,000 --> 00:18:11,680 you started having packet loss and the packets were just sort of falling out of the front of the 195 00:18:12,260 --> 00:18:16,620 floor. So you put a bit bucket underneath. Everybody remembers that horrible old joke from the 196 00:18:16,620 --> 00:18:23,260 90s. In this case, if you drop a packet, you're losing money. So drop packets are the enemy. You 197 00:18:23,260 --> 00:18:29,480 know, Ethernet. The idea that collisions can occur, no. Collisions are not permitted to occur. It's 198 00:18:29,480 --> 00:18:40,300 simply not allowed. Massively inefficient protocols like TCP that handshake are the enemy. Error 199 00:18:40,300 --> 00:18:41,600 correction? Who needs that crap? 200 00:18:44,080 --> 00:18:49,980 Proximity relieves a lot of these issues. The closer you are, the easier things are, the less likely that weird 201 00:18:49,980 --> 00:18:55,840 happens. You know, when you're doing an international ping, think about the path that packet is going 202 00:18:55,840 --> 00:19:01,700 to take. Theoretically it's going in an undersee cable, but maybe you just got switched to satellite. Or 203 00:19:01,700 --> 00:19:06,720 maybe every other packet takes a satellite path instead of a wire path. You lose all that 204 00:19:06,720 --> 00:19:11,700 predictability. You've got induced jitter that's just off the chart, right? So you move closer. You want 205 00:19:11,700 --> 00:19:16,360 be in the same city, metropolitan area network kind of stuff. Well, those are great. Dark fiber 206 00:19:16,360 --> 00:19:23,920 from building to building, that's awesome. Remember how long a microsecond is? If you're 207 00:19:23,920 --> 00:19:27,480 more than a couple of buildings away, that 984 feet is going to kick you right in the ass. 208 00:19:28,640 --> 00:19:34,380 So you got to be on the land. You need to be close. 300 meters is sort of the absolute top 209 00:19:34,380 --> 00:19:41,080 end. That's a thousand feet in American. And remember that this latency costs money. 210 00:19:41,860 --> 00:19:48,620 It's measurable. You can look and you can say, you know what? We're always 10 microseconds late. 211 00:19:50,540 --> 00:19:57,460 That means that we're losing 30% of our trades. Can you make that 10 microseconds go away? 212 00:19:58,180 --> 00:20:03,960 We're going to start winning 30% more trades. Damn, there's money there. It's often a lot 213 00:20:03,960 --> 00:20:04,360 of money there. 214 00:20:05,340 --> 00:20:10,080 So of course there's money. If you've got money to spend, if you've got money to make, 215 00:20:10,200 --> 00:20:15,840 you're going to make it happen. Nobody freaked out when I showed you that hyper simplified diagram. 216 00:20:16,560 --> 00:20:20,640 Nobody said there's stuff missing. I've seen network diagrams before. 217 00:20:20,940 --> 00:20:22,800 There were no boxes with flaming hair. 218 00:20:26,600 --> 00:20:30,920 Nobody caught that. It's like it's morning. You know, it's the afternoon, right? 219 00:20:31,780 --> 00:20:33,240 It's an oh crap kind of moment. 220 00:20:34,380 --> 00:20:39,820 Once it's pointed out to you and you go, oh, shit, there's nothing actually protecting those links 221 00:20:40,800 --> 00:20:48,200 except that they're private. How many people have private internet connections? 222 00:20:49,400 --> 00:20:58,460 How many people have private frame relay? How about private VLANs? How about private MPLS? 223 00:20:59,560 --> 00:21:01,580 Yeah, you dumbasses. 224 00:21:03,080 --> 00:21:04,300 There is no private. 225 00:21:04,380 --> 00:21:10,860 But the marketeering jerks can sell to people who are uninformed who say to them, well, it's your 226 00:21:10,860 --> 00:21:15,220 private link. It's your dark fiber that runs from one to one. There is no patch panels in the way. 227 00:21:15,460 --> 00:21:20,740 There are no switches that you're transiting through in a blind layer two system. You know, 228 00:21:20,760 --> 00:21:27,940 it's private. It's all yours. And nobody's ever been on a network with other participants, right? 229 00:21:28,120 --> 00:21:34,060 There's only two nodes on that network. Only two. There's no one else. There's no, 230 00:21:34,060 --> 00:21:37,700 you know, other customers. Can no one else is connected to that 231 00:21:37,700 --> 00:21:42,580 exchange except you. You are the only customer of the New York Stock Exchange. 232 00:21:44,660 --> 00:21:53,620 It's such crap that, it shouldn't be. I mean, people who use computers every day that have, 233 00:21:55,080 --> 00:22:03,900 it's frustrating because there's no firewalls. Like, the simplest thing, the most basic thing I want to control with whom I am 234 00:22:04,060 --> 00:22:10,420 communicating as tightly as possible. I want to say that I will only communicate with this list 235 00:22:10,420 --> 00:22:16,620 of IP addresses and I will only communicate on these ports. The bare minimum. Because, guess 236 00:22:16,620 --> 00:22:24,540 what? Firewalls add latency. Really great firewalls. Awesome firewalls that are all, you 237 00:22:24,540 --> 00:22:32,740 know, UTME. They add a crap ton of latency. What do we do about that? Well, there's not really a 238 00:22:32,740 --> 00:22:38,000 whole lot we can do, really. We sort of suck it up and say, oh, well. Because we're security 239 00:22:38,000 --> 00:22:41,340 people and we're okay with milliseconds of latency because nobody notices that when they're 240 00:22:41,340 --> 00:22:45,660 web browsing. And there's nothing in PCI DSS that says you have to have a fast firewall. You 241 00:22:45,660 --> 00:22:51,120 just have to have a firewall in a box in the corner of your data center providing a home to 242 00:22:51,120 --> 00:22:58,800 mice. Remember, that latency stuff costs money. And if you're not in a position where you're 243 00:22:58,800 --> 00:23:02,260 saving money, you've gone from being an information security department that is a cost 244 00:23:02,260 --> 00:23:02,600 centered. 245 00:23:06,380 --> 00:23:11,260 So the risk is smaller than the cost, which is smaller than the profit. Go away. There are no 246 00:23:11,260 --> 00:23:19,920 firewalls. Let's go back further in time. Anybody remember the 90s? Six of us in here. We 247 00:23:19,920 --> 00:23:23,720 used to use these things called ACLs, access control lists. We built them into our routers and 248 00:23:23,720 --> 00:23:27,420 stuff. We all had the Martian list. Everybody remember the Martian list? You know how many 249 00:23:27,420 --> 00:23:31,360 things are on the Martian list anymore? There's like four lines. 250 00:23:32,800 --> 00:23:38,520 They don't use ACLs because they add latency. Any time you put an ACL in, the router or switch 251 00:23:38,520 --> 00:23:43,480 has to receive the entire packet and only after it has received the entire packet does it make a 252 00:23:43,480 --> 00:23:51,840 decision. Latency. Most switches don't do cut through while ACLs are on. There are a couple that 253 00:23:51,840 --> 00:23:58,600 do now. But they're rare, few, far between. And risk is smaller than the cost, which is smaller 254 00:23:58,600 --> 00:24:00,880 than the profit. So screw you. No ACLs. 255 00:24:03,360 --> 00:24:09,820 Meaningful system hardening. Remember I told you about these crazy funky boxes that you 256 00:24:09,820 --> 00:24:15,440 would think are completely stripped? I mean, these are the race cars of this industry. These are 257 00:24:15,440 --> 00:24:22,320 not your Camry. There are no air bags. Breaks are for the weak. Actually, they look a lot like 258 00:24:22,320 --> 00:24:26,460 those kids who get their mom's civic and weld a coffee can onto the tailpipe and put a type R 259 00:24:26,460 --> 00:24:32,720 sticker on because they all still have SOL .EXE and CaliX. And you don't have to do that. You can 260 00:24:32,740 --> 00:24:38,240 .exe if they're Windows boxes or send mail, man pages, MP3 player, four different databases. 261 00:24:39,540 --> 00:24:46,580 That's all Linux boxes. All this custom interface crap is in there too. Remember our little 262 00:24:46,580 --> 00:24:51,320 team of two developers that wrote some custom FPGA code that of course completely implements 263 00:24:51,660 --> 00:24:58,340 the Ethernet standards and the IP standards. And they did it all using John Postel's recommendation 264 00:24:58,340 --> 00:25:02,520 which is that you be very conservative in what you send and liberal in what you accept. 265 00:25:03,020 --> 00:25:11,500 We know they did a great job of writing this entirely bug free code. Not so much. So you 266 00:25:11,500 --> 00:25:17,120 go to them and you say, well, let's look at the code on your FPGAs. No. A secret. You're 267 00:25:17,120 --> 00:25:20,560 not allowed to see that. No sharing. And then you've got all the usual complaints about 268 00:25:20,560 --> 00:25:27,300 maintainability. God, once you take Telnet.exe off of a box, then they can't see anything 269 00:25:27,300 --> 00:25:28,160 on the network. 270 00:25:28,160 --> 00:25:33,540 All their troubleshooting is gone. And these specialized systems come from manufacturers 271 00:25:33,540 --> 00:25:42,740 that you've never heard of. Anybody in this room recognize even a single name up there? Oh, my 272 00:25:42,740 --> 00:25:51,720 crap. Is the entire trading technology industry in this room right now? Shit. This is the 273 00:25:51,720 --> 00:25:57,980 only talk you came to Vegas for. Crap, crap, crap, crap, crap. Everybody does 274 00:25:57,980 --> 00:26:02,380 good threat modeling, right? Everybody has a good solid threat model for their organization. They know 275 00:26:02,380 --> 00:26:10,340 exactly who their bad guy is, who they're trying to protect against. Me? No. I can get hired as a 276 00:26:10,340 --> 00:26:17,920 secretary anywhere. I mean, have you seen these legs? We know what's missing out of our usual set 277 00:26:17,920 --> 00:26:22,100 of controls because we take for granted so much. We take for granted that there's going to be 278 00:26:22,100 --> 00:26:26,480 change control. Because, of course, everybody has change control. Everybody uses ITIL, right? 279 00:26:28,000 --> 00:26:33,840 Not so much. We take for granted that they're going to have done a great job of things like employee 280 00:26:33,840 --> 00:26:40,880 screening. I don't even do a good job of that in the government for crying out loud. So, you know, 281 00:26:40,880 --> 00:26:46,640 how do we talk about this threat model? How do we start to build who the potential bad guy is? This 282 00:26:46,640 --> 00:26:51,960 is not simple stuff. This is actually really hard. So, how do we do that determination? 283 00:26:52,920 --> 00:26:57,440 Well, let's walk through a couple of things that I think are threats. I think vendors are a threat. 284 00:26:58,160 --> 00:27:03,320 It's not that I don't appreciate being taken out for dinner and drinks every now and then. 285 00:27:03,920 --> 00:27:07,860 But you're trusting that the marketing slick is going to have exactly what you get on it. 286 00:27:08,540 --> 00:27:13,380 Anybody seen a lie on a marketing slick? Anybody bought a product that didn't have 287 00:27:13,380 --> 00:27:20,360 a feature they told you it had? Okay. Everybody who hasn't put up their hand obviously hasn't 288 00:27:20,360 --> 00:27:26,920 bought anything. This is a talk about capitalism. You're also trusting that they haven't hired 289 00:27:26,920 --> 00:27:32,440 any bad guys. You know the shortcuts that you take in your organizations? They all 290 00:27:32,440 --> 00:27:38,300 take them too. I think it's a maybe. I like to have faith that the vendors are doing the 291 00:27:38,300 --> 00:27:44,680 right thing. I like to think that ethics is a word that they know. I'm probably completely 292 00:27:44,680 --> 00:27:49,340 kidding myself. But imagine something very simple. Imagine that a vendor has a disgruntled 293 00:27:49,340 --> 00:27:56,900 customer. All vendors have all disgruntled customers. Imagine that a vendor has a disgruntled 294 00:27:56,920 --> 00:28:04,260 customer that's making their life miserable. Imagine if one developer takes it upon themselves 295 00:28:04,260 --> 00:28:14,000 to screw with that customer. They get custom patches. Only for them. In which they've mucked 296 00:28:14,000 --> 00:28:18,580 around with precision time protocol. Just enough that a microsecond isn't a microsecond 297 00:28:18,580 --> 00:28:22,980 anymore. Sometimes it's a little more and sometimes it's a little less. At the end of 298 00:28:22,980 --> 00:28:26,800 the day they still have the same number of microseconds. They were just a different 299 00:28:26,800 --> 00:28:26,900 law. 300 00:28:26,900 --> 00:28:37,080 lengths. Kind of awesome, isn't it? I think developers are a threat. Any developers in the 301 00:28:37,080 --> 00:28:45,720 crowd? I will tell you to your face that I love you, but I'm lying. Remember what Admiral Hopper 302 00:28:45,720 --> 00:28:50,840 said about wasting microseconds? 984 feet of wire, wrap it around your neck. Please and 303 00:28:50,840 --> 00:28:56,340 thank you. In most algo training, the developer isn't a developer. The developer is like a 304 00:28:56,340 --> 00:29:00,620 developer trader. There's someone who has more knowledge of what's going on from a market 305 00:29:00,620 --> 00:29:10,880 perspective than they have around traditional SDLC. And best of all, they don't do dev, QA, SIT, 306 00:29:11,940 --> 00:29:16,520 staging, all that crap. They just put their changes right on to production. And they do it 307 00:29:16,520 --> 00:29:26,220 multiple times a day. Nothing can go wrong. Nothing. And remember how it's kind of odd. 308 00:29:26,340 --> 00:29:30,460 When you're working for an organization, you're giving up your IP. That's the whole you give me 309 00:29:30,460 --> 00:29:36,460 dollars and I give you brains. You've become the means of production and the supply and also the 310 00:29:36,460 --> 00:29:42,760 labor. It really breaks the whole notion of the industrial revolution. Sometimes people get a 311 00:29:42,760 --> 00:29:48,780 little attached to their IP. Anybody ever taken something that they made at work and taken a 312 00:29:48,780 --> 00:29:56,320 copy of at home? Anybody telling the truth? It turns out that developers are a bit of a 313 00:29:56,340 --> 00:30:01,800 problem. They tend to take their crap home. In this case, we're talking about 32 megabytes of 314 00:30:01,800 --> 00:30:09,160 code. Anybody even remember megabytes? Yeah. Kind of like kilobytes. I remember once upon a time I 315 00:30:09,160 --> 00:30:16,920 had less than a megabyte of storage in my entire life. Yeah. 32 megabytes of code, snuck it out 316 00:30:16,920 --> 00:30:24,860 over SSL connections, went to jail for eight years and one month, paid a fine. Has a Facebook fan 317 00:30:26,340 --> 00:30:31,480 and it was kind of awesome. Took them a while to catch them, too. I think there's another kind of 318 00:30:31,480 --> 00:30:36,100 threat in the insider. So in the financial world, they talk about insiders and they mean something 319 00:30:36,100 --> 00:30:40,560 very, very specific. We're not talking about that kind of insider. We're talking about somebody 320 00:30:40,560 --> 00:30:49,120 who works in the organization. My favorite to pick on here is traders who get smart every now and 321 00:30:49,120 --> 00:30:53,500 then, start playing with their blinky lights and shiny things or administrators. Because remember, 322 00:30:53,640 --> 00:30:56,320 all of these boxes still have in that dark, dark box, you know, a little bit of money in it. And 323 00:30:56,320 --> 00:31:00,640 it's a dark IT department that nobody talks about that exists in the capital markets org. They've 324 00:31:00,640 --> 00:31:04,980 all got their own administrators doing the same kind of admin work that we've all done through the 325 00:31:04,980 --> 00:31:10,400 history of time. Which is largely saying have you tried turning it off and back on again? When 326 00:31:10,400 --> 00:31:14,860 these traders are administrators who have superior access to the system, you remember those 327 00:31:14,860 --> 00:31:19,420 comfy, warm feelings about things that of course you know exist, internal controls around 328 00:31:19,420 --> 00:31:24,720 segregation of duties and all that good stuff? Where everyone has root on the trading algo box? 329 00:31:26,320 --> 00:31:31,620 I think I'm joking. Could you cause negative effects on other participants if you were an 330 00:31:31,620 --> 00:31:36,060 administrator on a box? Could you induce a couple of microseconds latency in someone else's 331 00:31:36,060 --> 00:31:43,560 connection? Remember those fancy FPGA boxes? FPGA cards? That probably don't have the entire 332 00:31:43,560 --> 00:31:49,120 standard on board? If you send them a packet that makes them barf, what kind of barf do they have? 333 00:31:50,740 --> 00:31:55,420 You know, if we look at other places where we've seen this happen, where we've seen half-assed 334 00:31:56,320 --> 00:32:01,660 of Ethernet or IP, we'll look to the world of industrial control and say, a couple of years ago, 335 00:32:01,700 --> 00:32:07,880 if you had an Allen Bradley PLC and you sent it a ping with a payload, a simple ICMP packet with 336 00:32:07,880 --> 00:32:16,340 payload, it would literally just stop processing. Didn't crash, just stopped. Can you make 337 00:32:16,340 --> 00:32:24,480 somebody else's algo engine stop? Can you make the market algo, market engine stop in one packet? 338 00:32:26,920 --> 00:32:33,340 I think so. Or you've also got the disgruntled employee, because every organization is completely 339 00:32:33,340 --> 00:32:38,660 free of that, who says, you know what, I'm going to make sure that my employer never wins another 340 00:32:38,660 --> 00:32:43,280 trade. I'm going to induce another 75 microseconds of latency. I'm going to do it by adding a 341 00:32:43,280 --> 00:32:49,160 quarter of a microsecond every other day until it gets to 75. Along the way, I'm going to be very 342 00:32:49,160 --> 00:32:54,520 angry about PC load letter and the guy in the cube next to me who listens to music at a reasonable 343 00:32:54,520 --> 00:32:55,600 volume while collating. 344 00:32:57,860 --> 00:33:04,100 Turns out traders are a bit of a problem. This is my favorite, favorite case to wave in the face of 345 00:33:04,100 --> 00:33:09,400 people who say that printers are not part of information security's duties. This dude took the code 346 00:33:09,400 --> 00:33:19,620 out on slices of trees and only a couple hundred of them. That's really awesome. They had to do 347 00:33:19,620 --> 00:33:24,460 forensics on the printer to figure out what happened. Everybody knows that your printers have disk 348 00:33:24,460 --> 00:33:25,320 drives in them now? 349 00:33:26,720 --> 00:33:30,640 Sentenced to three years in prison, plus two years of supervised release and at that point will 350 00:33:30,640 --> 00:33:40,280 likely be deported. Oops. I think the market is a threat. I really do. And it's an odd kind of 351 00:33:40,280 --> 00:33:45,140 technical threat. In our world, we've seen this kind of threat before. It's an amplification kind 352 00:33:45,140 --> 00:33:49,820 of attack, right? You know, once things start going sideways, you can push them hard and make them 353 00:33:49,820 --> 00:33:56,300 go a whole lot more sideways. If the market suffers from malformed messages, it's going to be 354 00:33:56,800 --> 00:34:00,860 worse. Where someone is sending the market malformed messages or worse, the market is sending out 355 00:34:00,860 --> 00:34:08,480 malformed messages. What's going to happen? Badness. How would malformed messages happen? Shitty code 356 00:34:08,480 --> 00:34:15,120 push. Yeah. There's a bunch of issues around transaction risk scrutiny and whether or not a 357 00:34:15,120 --> 00:34:19,360 transaction is permitted to go through. And there's some compromise systems kind of problems that I 358 00:34:19,360 --> 00:34:24,220 think are very, very real. Because, you know, every large organization with more than 30,000 employees 359 00:34:24,740 --> 00:34:26,060 has, oh, my God. 360 00:34:28,240 --> 00:34:32,400 Has never had a compromise system on the inside, right? There are no botnets running inside of 361 00:34:32,400 --> 00:34:37,940 Fortune 50, Fortune 100 companies. It turns out that, yeah, the market is actually kind of a huge 362 00:34:37,940 --> 00:34:45,940 threat. In May of 2010, the Dow Jones Industrial Average plummeted 900 points in minutes. This is a 363 00:34:45,940 --> 00:34:50,820 flash crash. About three minutes. There's a huge amount of documentation. There's what I think is a 364 00:34:50,820 --> 00:34:54,960 great document from Nanex. I was told when I gave this talk at Black Hat that the Nanex report is a 365 00:34:54,960 --> 00:34:56,300 lie. I don't think it's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a 366 00:34:56,320 --> 00:34:56,340 lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. It's a lie. 367 00:34:56,340 --> 00:35:01,780 But I don't know whether that guy had a tinful of hat on under his toupee. But the point is that this was 368 00:35:01,780 --> 00:35:09,340 exactly that kind of amplification attack. Algo started selling. And it saw the price drop. Because 369 00:35:09,340 --> 00:35:13,840 supply increased on the market. And so as the price was dropping, it said, oh, my God. I've got to 370 00:35:13,840 --> 00:35:17,280 sell. And so it sold more and the price dropped more and it went oh, my God. I've got to sell more 371 00:35:17,280 --> 00:35:23,980 and the price dropped more and things went downhill from there. Hi, guys. I am so scared about this 372 00:35:23,980 --> 00:35:24,680 next panel I'm in. 373 00:35:26,320 --> 00:35:30,960 Felton, whom you should all know from Princeton, did a really good teardown of it and thinks 374 00:35:30,960 --> 00:35:36,640 that it comes down to really kind of five points. A bunch of weird quote requests went 375 00:35:36,640 --> 00:35:45,200 into the stock exchange computers. Normally these quotes are shoved in a queue, but because 376 00:35:45,200 --> 00:35:49,500 of the high rate of requests, the queue got backed up and there was an error. The quote 377 00:35:49,500 --> 00:35:55,580 lists a price and a time. In this case, the price was determined when the quote went into 378 00:35:55,580 --> 00:36:00,600 the queue, but it wasn't timestamped until it left the queue. It was in the queue for 379 00:36:00,600 --> 00:36:04,720 more than a couple of microseconds and the price changed during that time period. What 380 00:36:05,620 --> 00:36:13,840 people thought was the price wasn't the price, essentially. These got really confusing. Everything 381 00:36:13,840 --> 00:36:19,300 went crazy. The market destabilized. The faster it happened, the weirder it got. Remember, 382 00:36:19,400 --> 00:36:23,620 we're talking crazy fast here. The whole issue happened inside of three minutes. 383 00:36:23,620 --> 00:36:29,120 ants. Those trades were all backed out. They essentially pulled a mulligan on the 384 00:36:29,120 --> 00:36:33,580 market. I didn't know you could do that outside of stupid games old white men play. 385 00:36:36,000 --> 00:36:39,880 How do we trust in this kind of framework? I mean, we've got these threats and these 386 00:36:39,880 --> 00:36:43,500 threats are kind of spooky, scary, nasty, weird, odd, we don't really know what to 387 00:36:43,500 --> 00:36:50,620 do with them kind of threats. We don't really trust our coworkers. I don't trust very many 388 00:36:50,620 --> 00:36:53,600 of mine. They steal things from my desk, like my stapler. We just wonder how the hell 389 00:36:53,960 --> 00:36:57,020 And there's no good way to monitor what's going on 390 00:36:57,020 --> 00:36:58,760 because this is happening so incredibly fast. 391 00:36:59,060 --> 00:37:00,920 But the best monitors for this stuff 392 00:37:00,920 --> 00:37:03,200 that are available from the general IT market 393 00:37:03,200 --> 00:37:04,660 are sampling only. 394 00:37:05,340 --> 00:37:07,060 They do not examine every packet. 395 00:37:07,160 --> 00:37:08,280 They examine on a sampling basis. 396 00:37:08,820 --> 00:37:11,720 The more packets there are or the larger the packets are, 397 00:37:11,860 --> 00:37:13,000 the less sampling they do, 398 00:37:13,120 --> 00:37:14,560 the more inaccurate they become. 399 00:37:15,240 --> 00:37:18,780 There are a couple of very, very specific devices 400 00:37:18,780 --> 00:37:22,200 that are made for this market that do a much better job. 401 00:37:22,200 --> 00:37:25,680 But you're in IT security, not capital markets, 402 00:37:25,800 --> 00:37:27,860 so you've got no idea who those companies are 403 00:37:27,860 --> 00:37:28,960 or where those devices come from. 404 00:37:30,640 --> 00:37:32,880 Traditional security is an absolute fail here. 405 00:37:33,040 --> 00:37:33,980 Just epic. 406 00:37:34,160 --> 00:37:35,480 We're 100,000 times too slow. 407 00:37:35,680 --> 00:37:36,260 We come in and say, 408 00:37:36,340 --> 00:37:37,740 well, we're going to add a couple of milliseconds 409 00:37:37,740 --> 00:37:39,160 of latency to those transactions 410 00:37:39,160 --> 00:37:42,680 so that we can make you secure with our UTM device, 411 00:37:42,840 --> 00:37:45,080 which will protect you from email-based threats. 412 00:37:48,000 --> 00:37:49,960 The only thing that's supposed to transit the network 413 00:37:49,960 --> 00:37:52,180 is fixed transactions on specific IPs 414 00:37:52,200 --> 00:37:53,120 and specific ports. 415 00:37:53,360 --> 00:37:55,100 Anything else that's moving on that network 416 00:37:55,100 --> 00:37:56,340 is illegal and shouldn't be there. 417 00:37:56,400 --> 00:37:57,700 You should just frigging drop it. 418 00:37:57,780 --> 00:38:00,120 You don't need pattern behavioral detection. 419 00:38:01,580 --> 00:38:07,240 And IT security is so goddamn proud of itself 420 00:38:07,240 --> 00:38:09,120 that it's unwilling to listen. 421 00:38:09,260 --> 00:38:10,160 It's unwilling to learn. 422 00:38:10,300 --> 00:38:11,940 It's unwilling to sit and be the student and say, 423 00:38:12,020 --> 00:38:13,940 well, shit, teach me about this stuff. 424 00:38:14,520 --> 00:38:16,560 Because we're all focused on checkbox compliance 425 00:38:16,560 --> 00:38:17,560 that's so easy. 426 00:38:18,360 --> 00:38:19,740 Oh, do we have a firewall? 427 00:38:20,080 --> 00:38:22,100 I have 21. 428 00:38:22,200 --> 00:38:23,280 I have 21 minutes left, not five. 429 00:38:24,760 --> 00:38:25,980 I know, I started late. 430 00:38:26,580 --> 00:38:28,900 So let's answer these hard questions later. 431 00:38:29,520 --> 00:38:30,480 The hard questions, 432 00:38:30,600 --> 00:38:32,040 we're not in a position to answer right now 433 00:38:32,040 --> 00:38:33,600 because we're still way too busy 434 00:38:33,600 --> 00:38:35,160 figuring out where the heck our socks are 435 00:38:35,160 --> 00:38:35,800 and pulling them up. 436 00:38:36,200 --> 00:38:38,120 We're not going to be able to secure custom everything. 437 00:38:38,480 --> 00:38:40,920 Who possibly in this room, 438 00:38:40,980 --> 00:38:43,260 besides maybe 10% of you, 439 00:38:43,320 --> 00:38:44,380 can go through FPGA code 440 00:38:44,380 --> 00:38:45,860 and figure out whether or not it's got a bug 441 00:38:45,860 --> 00:38:47,000 relative to a standard 442 00:38:47,000 --> 00:38:50,280 that's spread over 700, 800 pages worth of documentation? 443 00:38:51,400 --> 00:38:51,800 Yeah. 444 00:38:52,880 --> 00:38:54,380 We've got to learn how to be fast enough 445 00:38:54,380 --> 00:38:55,400 and we're not there yet. 446 00:38:56,040 --> 00:38:58,400 We don't even really understand this whole money thing. 447 00:39:00,180 --> 00:39:01,560 And we need to make the case 448 00:39:01,560 --> 00:39:05,020 that security efforts are important 449 00:39:05,020 --> 00:39:06,820 because they reduce the chance of disaster. 450 00:39:07,340 --> 00:39:08,680 We don't know for sure 451 00:39:08,680 --> 00:39:10,380 that the next time there's a flash crash 452 00:39:10,380 --> 00:39:12,140 that those trades will just be backed out. 453 00:39:13,000 --> 00:39:14,380 The market may just say, 454 00:39:15,520 --> 00:39:16,980 caveat emptor, suck it up. 455 00:39:19,480 --> 00:39:20,960 I need you to do something though 456 00:39:20,960 --> 00:39:22,000 pretty much, 457 00:39:22,000 --> 00:39:22,380 anything. 458 00:39:23,360 --> 00:39:25,040 It's time to party like it's 1999 459 00:39:25,040 --> 00:39:26,880 and do some network security basics. 460 00:39:27,640 --> 00:39:28,980 Like those ACL things, 461 00:39:29,520 --> 00:39:31,360 let's implement some, shall we? 462 00:39:34,340 --> 00:39:36,800 There isn't a whole lot in the next generation. 463 00:39:37,100 --> 00:39:38,580 Juniper and Cisco are coming to the table 464 00:39:38,580 --> 00:39:40,840 with some stuff that's pretty fast. 465 00:39:41,560 --> 00:39:43,280 It's still not quite fast enough 466 00:39:43,280 --> 00:39:44,160 that there isn't an argument, 467 00:39:44,940 --> 00:39:46,020 but it's pretty fast. 468 00:39:47,400 --> 00:39:48,680 We need to keep up 469 00:39:48,680 --> 00:39:51,620 and I don't know exactly how. 470 00:39:51,620 --> 00:39:52,280 I don't know how we're going to do that. 471 00:39:55,500 --> 00:39:57,360 But I am sure that we need to do anything. 472 00:39:58,300 --> 00:39:59,140 Literally anything. 473 00:40:00,260 --> 00:40:02,280 Even just understand what it is. 474 00:40:02,420 --> 00:40:03,840 Go and find the people in your organization 475 00:40:03,840 --> 00:40:04,960 that barf Visio 476 00:40:06,200 --> 00:40:08,060 and get them to walk you through the diagrams. 477 00:40:08,280 --> 00:40:09,460 Follow the packet. 478 00:40:09,640 --> 00:40:10,220 Follow the money. 479 00:40:10,320 --> 00:40:11,100 Follow the process. 480 00:40:11,480 --> 00:40:13,460 Start to understand exactly what's going on. 481 00:40:14,620 --> 00:40:16,040 And make friends and influence people. 482 00:40:16,260 --> 00:40:17,000 Buy some coffee. 483 00:40:17,160 --> 00:40:18,300 It's kind of important. 484 00:40:19,500 --> 00:40:21,280 The reason I'm so pissed off about this 485 00:40:21,280 --> 00:40:22,520 is because this report came out 486 00:40:22,520 --> 00:40:23,460 just a couple of weeks ago 487 00:40:23,460 --> 00:40:25,260 that says IT security pros 488 00:40:25,260 --> 00:40:27,000 think that performance is more important 489 00:40:27,000 --> 00:40:27,720 than actual security. 490 00:40:29,240 --> 00:40:30,940 We're shooting ourselves in the back 491 00:40:30,940 --> 00:40:32,540 while we're giving ourselves 492 00:40:32,540 --> 00:40:34,580 a self-congratulatory reach around. 493 00:40:35,020 --> 00:40:40,280 And it's stupid, senseless, pointless, dumbassery 494 00:40:40,280 --> 00:40:42,440 because we're all so damn sure 495 00:40:42,440 --> 00:40:43,480 that we're experts in everything. 496 00:40:45,520 --> 00:40:46,440 Challenge the vendors. 497 00:40:46,720 --> 00:40:48,340 We want more than check boxes. 498 00:40:48,600 --> 00:40:49,680 They come back and they say, 499 00:40:49,800 --> 00:40:51,040 well, nobody's asking. 500 00:40:51,280 --> 00:40:51,500 We're not asking for it. 501 00:40:51,600 --> 00:40:54,680 So, you know, because nobody's asking for it, 502 00:40:54,700 --> 00:40:55,380 we're not doing it. 503 00:40:56,000 --> 00:40:58,180 We're going to give you raging featuritis instead. 504 00:40:58,920 --> 00:41:01,140 We're going to change those LEDs from green to blue 505 00:41:01,140 --> 00:41:02,340 and that's going to make it better. 506 00:41:04,880 --> 00:41:05,580 Goddamn bullshit. 507 00:41:06,620 --> 00:41:09,180 If you're a risk process policy or GRC wonk, 508 00:41:09,640 --> 00:41:11,180 what the hell are you doing at DEF CON? 509 00:41:15,440 --> 00:41:16,060 Thank you. 510 00:41:16,760 --> 00:41:17,980 Work with the business folks. 511 00:41:18,660 --> 00:41:21,180 You have equivalents in the business that aren't in IT. 512 00:41:21,280 --> 00:41:22,360 That understand things 513 00:41:22,360 --> 00:41:24,180 from sort of a different perspective than you do. 514 00:41:24,740 --> 00:41:27,220 And their tolerances for risk are very different from yours. 515 00:41:27,340 --> 00:41:29,580 You may still be suffering from the palerism disease 516 00:41:29,580 --> 00:41:32,080 where you think that attaching an iPod to a computer 517 00:41:32,080 --> 00:41:34,160 is this, oh my God, hair on fire kind of threat. 518 00:41:35,220 --> 00:41:36,760 They're not in that same kind of world. 519 00:41:36,860 --> 00:41:38,200 They don't think dogma is all that important. 520 00:41:38,380 --> 00:41:39,500 They're ready to rewrite the rules 521 00:41:39,500 --> 00:41:42,320 every time something changes in the markets, which is daily. 522 00:41:45,420 --> 00:41:46,960 You're never going to be able to change their minds 523 00:41:46,960 --> 00:41:49,040 about the cost of latency because it's real. 524 00:41:49,140 --> 00:41:50,700 They've got the numbers to back it up. 525 00:41:50,700 --> 00:41:51,620 They've got the profit. 526 00:41:51,760 --> 00:41:52,680 You're not a profit center. 527 00:41:52,760 --> 00:41:53,380 You're a cost center. 528 00:41:54,360 --> 00:41:58,660 So work with them and learn to understand that just because we 529 00:41:58,660 --> 00:42:00,580 did it that way last year isn't a good reason 530 00:42:00,580 --> 00:42:01,360 to do it that way this year. 531 00:42:03,200 --> 00:42:06,420 Compliance people, meet your financial compliance people. 532 00:42:07,020 --> 00:42:09,060 They know more about compliance than you ever will. 533 00:42:11,060 --> 00:42:13,280 The SEC is taking an active interest in this. 534 00:42:13,480 --> 00:42:16,400 Just last week, they released something called the Large 535 00:42:16,400 --> 00:42:18,660 Trader Reporting Rule, which is 13H-1. 536 00:42:19,140 --> 00:42:20,040 You should read it. 537 00:42:20,040 --> 00:42:21,020 It's really, really interesting. 538 00:42:21,200 --> 00:42:23,600 This is their entire response thus far to the flash crash. 539 00:42:23,860 --> 00:42:25,380 And what they're saying is, it would be nice 540 00:42:25,380 --> 00:42:26,320 if we had an audit trail. 541 00:42:32,540 --> 00:42:33,460 Yep, that's right. 542 00:42:33,620 --> 00:42:36,980 All you need to be regulatorily compliant 543 00:42:36,980 --> 00:42:38,260 is a better audit trail. 544 00:42:40,100 --> 00:42:43,240 If you're in the trenches, do some fucking research. 545 00:42:45,320 --> 00:42:48,320 We haven't seen original research at DEF CON 546 00:42:48,320 --> 00:42:49,800 in God knows how long. 547 00:42:50,040 --> 00:42:54,160 The next derivative piece of shit talk, I am so fed up. 548 00:42:54,760 --> 00:42:56,340 Do the research, please. 549 00:42:56,620 --> 00:42:57,680 Make the time. 550 00:42:57,780 --> 00:43:00,160 If you don't have 20% or 10% time from work, 551 00:43:00,300 --> 00:43:01,380 you should be doing it at home. 552 00:43:02,000 --> 00:43:04,860 Find something and start picking at it and peel up the edge. 553 00:43:05,360 --> 00:43:08,600 I only started really poking into this actively 554 00:43:09,080 --> 00:43:10,420 about six months ago. 555 00:43:11,800 --> 00:43:12,880 I'm hearing you're not. 556 00:43:15,320 --> 00:43:16,660 Understand your business partners. 557 00:43:16,960 --> 00:43:19,440 Build the POC labs so that you could show this stuff. 558 00:43:20,160 --> 00:43:23,060 Your POC lab is going to have to be weird and esoteric. 559 00:43:23,120 --> 00:43:25,020 It's not the POC lab that you're using right now 560 00:43:25,020 --> 00:43:26,240 for your little Windows vulnerabilities 561 00:43:26,240 --> 00:43:27,480 and desktop bullshit. 562 00:43:28,280 --> 00:43:29,920 You need 10 gigabit E. 563 00:43:30,040 --> 00:43:30,960 You need InfiniBand. 564 00:43:31,100 --> 00:43:32,460 You need PCIe machine to machine. 565 00:43:32,760 --> 00:43:35,760 You need machines that have 12 cores, 128 gigs of RAM 566 00:43:35,760 --> 00:43:37,480 and stupid fast connections. 567 00:43:37,840 --> 00:43:40,020 You need the open source fixed transaction system 568 00:43:40,020 --> 00:43:41,520 so that you can build fixed transactions 569 00:43:41,520 --> 00:43:42,500 and send them out on the wire. 570 00:43:42,920 --> 00:43:44,640 You don't understand this stuff 571 00:43:44,640 --> 00:43:46,420 and you try to talk with authority about it. 572 00:43:46,780 --> 00:43:49,240 Until you've played with it, you don't get to talk 573 00:43:49,240 --> 00:43:49,620 about it. 574 00:43:49,740 --> 00:43:51,460 It's kind of like teenagers and sex. 575 00:43:53,780 --> 00:43:56,140 Encourage the vendors to get with the program. 576 00:43:56,480 --> 00:43:57,540 Please thank you. 577 00:43:57,600 --> 00:43:58,200 Oh, my God. 578 00:43:58,340 --> 00:43:59,320 Vendors, step up. 579 00:43:59,420 --> 00:44:00,240 A couple of them have. 580 00:44:00,520 --> 00:44:02,520 And huge kudos for the couple that have. 581 00:44:13,280 --> 00:44:15,940 I'm in the next panel, but I will do Q&A. 582 00:44:16,020 --> 00:44:17,920 If you see me walking around, I'll talk to anybody 583 00:44:17,920 --> 00:44:18,440 for anything. 584 00:44:19,720 --> 00:44:21,020 Yes, you can bring the beer up now. 585 00:44:21,780 --> 00:44:22,620 Oh, you're waiting for? 586 00:44:22,800 --> 00:44:24,040 I'm in the next talk. 587 00:44:24,520 --> 00:44:25,640 I need the beer now. 588 00:44:26,900 --> 00:44:29,660 I'm worried about those paper towels, though. 589 00:44:30,380 --> 00:44:31,480 Always have your towel. 590 00:44:31,620 --> 00:44:32,760 Yeah, always have my towel. 591 00:44:33,040 --> 00:44:33,660 Thanks, everybody. 592 00:44:33,840 --> 00:44:34,960 Really appreciate you coming out.