1 00:00:00,000 --> 00:00:00,800 Greetings, DEF CON. 2 00:00:05,440 --> 00:00:06,260 I'm Dave. 3 00:00:12,060 --> 00:00:17,280 And I am here to talk about short-lived BGP prefix hijacking. 4 00:00:20,460 --> 00:00:23,260 I'm going to probably level with you right up front. 5 00:00:23,440 --> 00:00:25,360 I'm kind of terrified of public speaking. 6 00:00:26,280 --> 00:00:27,780 And there's an awful lot of you. 7 00:00:27,780 --> 00:00:32,760 The last DEF CON that I was at, there was only about 20 people, really. 8 00:00:32,860 --> 00:00:35,020 It was me and about 20 other people. 9 00:00:36,460 --> 00:00:42,680 So I'm going to try to talk slowly and not faint and try not to drop F-bombs. 10 00:00:42,880 --> 00:00:46,240 And if I do, I'll try to drop the F-bombs really quickly. 11 00:00:47,560 --> 00:00:48,580 We're doing well. 12 00:00:48,780 --> 00:00:49,100 Thanks. 13 00:00:51,440 --> 00:00:52,160 Feels great. 14 00:00:53,840 --> 00:00:54,420 All right. 15 00:00:55,600 --> 00:00:57,760 So who the hell do I think I am? 16 00:00:57,780 --> 00:00:58,860 I'm Dave. 17 00:00:59,120 --> 00:01:00,140 Like I said, I think I covered that. 18 00:01:00,200 --> 00:01:00,440 I'm Dave. 19 00:01:03,000 --> 00:01:03,400 Hello? 20 00:01:04,360 --> 00:01:05,060 I wrote... 21 00:01:08,260 --> 00:01:09,640 Ah, I thought of that. 22 00:01:10,760 --> 00:01:13,060 These actually are slides that are on the interweb. 23 00:01:13,160 --> 00:01:17,040 So if you're brave enough to use, you know, the Wi-Fi here, 24 00:01:17,620 --> 00:01:19,820 you can go to SkepTech.org and just sort of follow along. 25 00:01:21,100 --> 00:01:23,400 I can't make the fonts bigger, unfortunately. 26 00:01:25,520 --> 00:01:26,160 You know what? 27 00:01:26,160 --> 00:01:26,920 Good damn point. 28 00:01:27,260 --> 00:01:28,000 Control plus. 29 00:01:28,480 --> 00:01:28,940 How's that? 30 00:01:33,540 --> 00:01:33,900 Applause. 31 00:01:34,220 --> 00:01:34,980 I'm pumped now. 32 00:01:35,060 --> 00:01:35,240 All right. 33 00:01:35,420 --> 00:01:35,860 We're good. 34 00:01:36,860 --> 00:01:37,220 Okay. 35 00:01:37,540 --> 00:01:38,500 So I wrote this book. 36 00:01:38,800 --> 00:01:42,040 It's about building Nagios infrastructures or something. 37 00:01:42,160 --> 00:01:42,820 I don't remember, really. 38 00:01:42,920 --> 00:01:43,460 Off the top of my head. 39 00:01:43,600 --> 00:01:45,680 But you should buy it because I get $4. 40 00:01:46,980 --> 00:01:50,560 I write the monitoring column for Login Magazine if you're, like, a Usenix person. 41 00:01:52,400 --> 00:01:54,080 I actually brought some books with me. 42 00:01:54,100 --> 00:01:55,180 They're way over there in that black bag. 43 00:01:55,640 --> 00:01:56,140 So I'm going to show you a couple of them. 44 00:01:56,140 --> 00:01:58,000 So, you know, I'll be handing them out or doing whatever. 45 00:01:59,440 --> 00:01:59,920 Right on? 46 00:02:00,280 --> 00:02:01,480 So you can find me at those places. 47 00:02:01,580 --> 00:02:02,940 If you see me, I'm usually lonely. 48 00:02:03,120 --> 00:02:03,880 So come up and talk to me. 49 00:02:05,380 --> 00:02:06,400 I'm much better in person. 50 00:02:06,540 --> 00:02:07,020 I promise. 51 00:02:10,100 --> 00:02:16,520 So, really what this talk is about is in my opinion, my humble opinion, 52 00:02:16,700 --> 00:02:18,580 and we probably have nothing but spammers in the audience anyway, 53 00:02:19,320 --> 00:02:20,400 so your opinions don't count. 54 00:02:21,920 --> 00:02:26,040 In my opinion, I believe that we are incentivizing spammers to attack the network. 55 00:02:26,120 --> 00:02:28,760 By using things like RBLs. 56 00:02:29,320 --> 00:02:33,620 And I'm going to give you basically some historical context around why I think this. 57 00:02:34,480 --> 00:02:38,920 And I'm going to then cover an attack that I think is really scary 58 00:02:39,900 --> 00:02:45,800 and that I would like to sort of nip in the bud by hopefully convincing you to stop using RBLs. 59 00:02:46,540 --> 00:02:48,980 So this is sort of the context portion of the talk. 60 00:02:51,500 --> 00:02:55,820 And what I have here is I have a timeline that starts in 1978. 61 00:02:56,120 --> 00:02:57,440 With Gary Thurick. 62 00:02:57,640 --> 00:02:59,000 You guys remember Gary Thurick? 63 00:02:59,120 --> 00:03:01,080 Does anybody know this story? 64 00:03:01,200 --> 00:03:01,560 Gary Thurick. 65 00:03:01,660 --> 00:03:04,500 A book to the first person you can tell me where Gary Thurick worked. 66 00:03:07,380 --> 00:03:08,320 There you go. 67 00:03:18,360 --> 00:03:23,180 So Gary Thurick was a sales engineer at Digital Equipment Corporation in 1978. 68 00:03:23,800 --> 00:03:24,920 And he had a problem. 69 00:03:24,920 --> 00:03:28,560 And his problem was basically that he knew a lot of people on the East Coast. 70 00:03:29,260 --> 00:03:35,160 He knew lots of MIT people and he knew lots of Cambridge people who were into computers. 71 00:03:35,280 --> 00:03:36,440 But he didn't know what he meant on the West Coast. 72 00:03:36,680 --> 00:03:42,880 And so what Gary Thurick decided he was going to do was he was going to host a couple meet and greets 73 00:03:42,880 --> 00:03:43,780 basically on the West Coast. 74 00:03:43,920 --> 00:03:46,400 So that people could come and look at the new DEC PDP-20. 75 00:03:46,520 --> 00:03:48,600 The DEC implementation of the PDP-20 at the time. 76 00:03:50,920 --> 00:03:53,260 And in order to invite them, he thought it would be neat. 77 00:03:53,260 --> 00:03:56,000 You know, in digital and, you know, net aware. 78 00:03:56,740 --> 00:04:01,720 If he could email every single person on the West Coast who was on ARPANET at the time. 79 00:04:02,080 --> 00:04:04,260 And tell them, hey, we're going to have this meet and greet. 80 00:04:04,340 --> 00:04:05,380 Come and see the PDP-20. 81 00:04:06,120 --> 00:04:08,500 And needless to say, it pissed a lot of people off. 82 00:04:09,580 --> 00:04:10,720 It's really funny. 83 00:04:10,800 --> 00:04:11,380 It's amusing actually. 84 00:04:11,460 --> 00:04:17,980 Because at the time, you know, the send mail interface was like, and this is send space mail, not send mail. 85 00:04:19,580 --> 00:04:22,380 You know, it was not very helpful. 86 00:04:22,380 --> 00:04:29,440 And so Gary, not wanting to actually do this himself, had his secretary manually type in all 600 addresses. 87 00:04:29,980 --> 00:04:31,300 And so she, and it's great. 88 00:04:31,380 --> 00:04:31,980 You can see this on here. 89 00:04:32,080 --> 00:04:32,580 You can go and look. 90 00:04:32,660 --> 00:04:33,280 It's hilarious. 91 00:04:33,460 --> 00:04:35,100 She starts in the subject line. 92 00:04:35,920 --> 00:04:38,560 And just, you know, and the subject line buffer is one line long. 93 00:04:38,700 --> 00:04:40,100 So then she wraps to, you know, two. 94 00:04:40,160 --> 00:04:40,640 And then CC. 95 00:04:40,800 --> 00:04:42,320 And then you have this big long list of CC addresses. 96 00:04:43,220 --> 00:04:44,820 And then that overflows. 97 00:04:44,820 --> 00:04:47,920 Because the CC address line was, I don't know, like 320 lines or something like that. 98 00:04:48,460 --> 00:04:50,500 And then it actually wraps into the body of the message. 99 00:04:50,720 --> 00:04:51,380 It's neat. 100 00:04:51,380 --> 00:04:54,460 It's kind of, you know, sort of old school in a way. 101 00:04:54,500 --> 00:04:54,920 But anyway. 102 00:04:55,820 --> 00:04:58,360 So the poor woman had to type in all of these addresses manually. 103 00:04:58,500 --> 00:04:59,140 And they sent the mail. 104 00:04:59,260 --> 00:05:01,700 And it only went to like half the recipients they wanted it to go to. 105 00:05:01,760 --> 00:05:04,260 Because obviously most of the addresses were in the message body. 106 00:05:06,160 --> 00:05:09,460 And holy crap did it generate, you know, some backlash. 107 00:05:09,680 --> 00:05:12,060 And also some other really interesting things happened. 108 00:05:12,180 --> 00:05:16,520 Like you have these really neat emails that are coming from like RMS, Richard Stallman. 109 00:05:17,420 --> 00:05:21,360 Who are saying things like, you know, yeah, I guess it's kind of weird. 110 00:05:21,360 --> 00:05:21,680 It's kind of annoying. 111 00:05:21,840 --> 00:05:24,720 But if it has to do with jobs or chicks, you know, send it to me. 112 00:05:25,000 --> 00:05:25,880 I'm good with that. 113 00:05:28,080 --> 00:05:28,680 It's out there. 114 00:05:29,340 --> 00:05:30,320 I'm paraphrasing, obviously. 115 00:05:30,580 --> 00:05:32,020 But yeah. 116 00:05:32,400 --> 00:05:35,580 And by the way, all of these dots I'm not going to spend this much time on. 117 00:05:36,760 --> 00:05:38,760 1978, you basically have the world's first spam. 118 00:05:40,100 --> 00:05:43,480 So the period between 1970 to 1994, not a lot is going on. 119 00:05:43,560 --> 00:05:48,540 You have a couple right there before the green card spam, right? 120 00:05:49,240 --> 00:05:50,780 And these are not. 121 00:05:51,740 --> 00:05:53,420 You know, these are like, you know, I love Jesus. 122 00:05:53,520 --> 00:05:58,780 And can I, you know, get some money for my scholarship, you know, fund or something. 123 00:05:58,940 --> 00:06:01,200 I don't remember exactly what the point of that one was. 124 00:06:01,260 --> 00:06:06,180 But none of them were commercial and unsolicited until Cantor and Siegel. 125 00:06:06,240 --> 00:06:09,320 And the real difference with Cantor and Siegel, Cantor and Siegel is a pair of lawyers. 126 00:06:09,780 --> 00:06:10,980 They were eventually disbarred. 127 00:06:11,000 --> 00:06:18,420 Lawyers who were so despicable that even other lawyers decided they were too despicable to be lawyers anymore. 128 00:06:20,200 --> 00:06:20,560 And. 129 00:06:20,560 --> 00:06:26,560 And really the weird thing about them that was unprecedented at the time was that they were completely unapologetic about it. 130 00:06:27,120 --> 00:06:35,200 When people were spamming Usenet before this, you know, the Usenet community would, you know, rear up and say, you know, wah, you're spamming us. 131 00:06:35,320 --> 00:06:41,320 And people would say, oh, my God, I'm sorry, you know, and then go away or, you know, learn to be polite. 132 00:06:42,620 --> 00:06:45,440 Cantor and Siegel were really happy with it. 133 00:06:45,520 --> 00:06:47,780 I mean, they were like, yeah, backlash. 134 00:06:47,780 --> 00:06:52,600 They wrote a book actually about the whole thing that sold like I think four and a half copies. 135 00:06:52,700 --> 00:06:55,540 It's selling a little bit better than my book at this point. 136 00:06:55,700 --> 00:07:04,720 But they wrote a book and created a, you know, consulting firm for guerrilla marketing on the Internet. 137 00:07:05,920 --> 00:07:08,020 And like I said, were eventually disbarred. 138 00:07:09,500 --> 00:07:15,200 So between 94 and 95, you sort of, this is like sort of the infantile period of the web. 139 00:07:15,200 --> 00:07:23,580 And people who sort of have this sense for, you know, holy crap, that could make me a lot of money and I have no morals, 140 00:07:23,740 --> 00:07:29,740 you know, that type of, you know, sort of intellect was, you know, looking over at Cantor and Siegel and noticing, holy crap, you know, 141 00:07:29,740 --> 00:07:31,680 there's actually probably some money to be made here. 142 00:07:32,340 --> 00:07:38,540 At this point, you have, you know, you have the actual interweb, so to speak, and you have lots of people on it already, 143 00:07:38,740 --> 00:07:40,680 most of them, you know, like Unix shell accounts and stuff. 144 00:07:40,720 --> 00:07:44,660 But still, you had quite a few people you could reach with any given message. 145 00:07:44,660 --> 00:07:56,920 So by 95, you have, and this is just one year later, you have the first commercial for-sale spamware, basically, for all intents and purposes. 146 00:07:57,100 --> 00:08:02,260 It's like a Perl script or something, but it's, you know, it's being commercially sold as, you know, software. 147 00:08:02,640 --> 00:08:09,900 And along with it, an email address list of one million people that you can, you know, reach, supposedly. 148 00:08:10,160 --> 00:08:14,640 And also in this time, you have these sort of weird agencies called the Facebook. 149 00:08:14,660 --> 00:08:18,660 You know, Freedom Knights, and there's an acronym there that I can't remember off the top of my head. 150 00:08:19,120 --> 00:08:23,040 But so, like, there's these trade groups that are coming up that are saying, you know, 151 00:08:24,240 --> 00:08:26,300 let's legitimize this as a business strategy and blah, blah, blah. 152 00:08:27,160 --> 00:08:30,720 And there's a lot of argument going back and forth. 153 00:08:30,740 --> 00:08:34,340 And a lot of it is really neat and naive and cool. 154 00:08:34,460 --> 00:08:41,780 It's, you know, it's like the, it's like people, you know, who nowadays would be like, you know, shoot them. 155 00:08:41,940 --> 00:08:43,880 You know, just shoot them. Public hangings, right? 156 00:08:45,060 --> 00:08:47,120 It's like these people, but they're sort of on the other side. 157 00:08:47,240 --> 00:08:49,080 They're like, well, censorship and, you know, blah, blah, blah. 158 00:08:49,160 --> 00:08:50,240 And this is probably not a good idea. 159 00:08:51,720 --> 00:08:53,600 Some of you who are older might remember Cancelmoose. 160 00:08:54,720 --> 00:09:01,260 Cancelmoose was a guy, like, somewhere in the Netherlands who was one of the very first people who could cancel UDP postings, kind of at will. 161 00:09:02,600 --> 00:09:09,700 And he, you know, also, he had this sort of enigmatic, you know, I guess a lot of you, you know, will probably relate to this. 162 00:09:09,740 --> 00:09:11,620 He had, you know, like the code name, Cancelmoose. 163 00:09:11,900 --> 00:09:12,980 And no one knew who he was. 164 00:09:12,980 --> 00:09:14,880 And he was, you know, like this shadowy, enigmatic character. 165 00:09:15,160 --> 00:09:25,540 And he generated a lot of discussion around this time about, you know, just what is, you know, just what is a netizen's right around not receiving someone else's email. 166 00:09:27,820 --> 00:09:32,240 So at this point, basically, in my timeline, I have a split. 167 00:09:32,640 --> 00:09:36,900 And what I'm doing here is I'm, and you could disagree with this if you want. 168 00:09:37,000 --> 00:09:39,240 And you'd probably be, you know, you'd probably have a valid point. 169 00:09:40,060 --> 00:09:41,560 But what I'm doing is I'm separating. 170 00:09:42,980 --> 00:09:47,180 The anti-spam, right, solutions into two basic groups. 171 00:09:47,720 --> 00:09:53,600 And the one on the top, the green dots, is content filters, right? 172 00:09:53,720 --> 00:10:00,500 So, like, this is, you know, various forms of content filter that have sort of evolved around, you know, over the years. 173 00:10:01,000 --> 00:10:03,840 Down here at the bottom, I have what I call delivery countermeasures. 174 00:10:04,220 --> 00:10:11,340 And these are solutions that are based on basically taking some, you know, some, you know, blah. 175 00:10:12,380 --> 00:10:13,120 Indicator, right? 176 00:10:13,160 --> 00:10:19,500 IP address or, you know, email address of sender or, you know, just some token, right, in the email. 177 00:10:19,600 --> 00:10:21,800 And we're going to use that, this singular token, and we're going to block the message. 178 00:10:26,420 --> 00:10:28,800 So, and in the center, I have what the spammers are doing. 179 00:10:29,780 --> 00:10:38,760 So you can sort of see, you know, like, right off the top of your head, what's happening down here is we have kind of an arms race going on with the delivery countermeasures. 180 00:10:39,180 --> 00:10:40,560 You start off with cancel moves. 181 00:10:41,340 --> 00:10:56,120 Then you start going into, like, you know, static, IP and static, you know, from address filters, which cause Joe Job attacks, which, you know, beget RBL, which, you know, causes, you know, whatever, open relays, there you go. 182 00:10:56,800 --> 00:11:01,340 You know, and it's just sort of kind of, you know, bouncing back and forth between, you know, spammer and anti-spammer. 183 00:11:02,060 --> 00:11:06,180 This goes on for, well, about 20 years at this point. 184 00:11:06,200 --> 00:11:08,580 This has been going on, this sort of delivery countermeasure war. 185 00:11:08,580 --> 00:11:18,680 And you sort of, you start off in, I'm assuming most of you guys know, like, when I say gray listing, right, like, we're, you know, I see heads nodding. 186 00:11:18,720 --> 00:11:24,540 So when I say RBL, basically just a blacklist of IP addresses that, you know, somebody else is doing. 187 00:11:25,040 --> 00:11:29,660 Here you have, this is around 1999, here you have eStamps and HashCache. 188 00:11:30,440 --> 00:11:34,720 And these are, like, eStamps is a micropayment system, right? 189 00:11:34,800 --> 00:11:38,560 So, like, every email you send has basically a check at the bottom of it. 190 00:11:38,580 --> 00:11:44,600 Like, a PayPal check or, you know, use third party verification of your choice type provider thing. 191 00:11:46,020 --> 00:11:49,360 And so you send me mail and the mail has this little check at the bottom of it. 192 00:11:49,380 --> 00:11:52,320 And if I want your mail, I don't cash the check, right? 193 00:11:52,460 --> 00:11:54,500 And it's like a check for two cents or whatever it is. 194 00:11:55,200 --> 00:11:59,620 But if, you know, I didn't want your mail and I think you're mean, then I cash the check. 195 00:12:01,000 --> 00:12:03,460 Which even now seems sort of kind of silly. 196 00:12:05,240 --> 00:12:07,880 HashCache was sort of the same idea, right? 197 00:12:07,880 --> 00:12:10,620 So we're going to take this, we're going to make a micropayment system. 198 00:12:10,780 --> 00:12:13,160 But instead of charging money, we're going to charge CPU cycles. 199 00:12:13,820 --> 00:12:20,060 So when you send me a mail, I'm going to give you, you know, some marginally difficult value to factor. 200 00:12:20,220 --> 00:12:23,220 And then you factor it to prove that you're who you say you are. 201 00:12:23,260 --> 00:12:27,160 And the idea is that spammers basically aren't going to waste the time factoring. 202 00:12:27,860 --> 00:12:29,000 They have too much spam to send. 203 00:12:30,200 --> 00:12:34,180 So then 2000, we start getting into legal stuff. 204 00:12:34,340 --> 00:12:35,660 We're going to, you know, sue the spammers. 205 00:12:35,800 --> 00:12:37,860 And, you know, we're going to sue the ISPs. 206 00:12:37,880 --> 00:12:40,820 Who aren't blocking port 25 from their customers, et cetera, et cetera. 207 00:12:42,360 --> 00:12:48,080 Around about 2002, in the delivery countermeasures war, you have a paper from Paul Vixie. 208 00:12:48,440 --> 00:12:50,340 Who wrote Vixie Cron and a bunch of other stuff. 209 00:12:50,440 --> 00:12:51,160 He's a big guy. 210 00:12:52,640 --> 00:12:55,400 He writes a paper that's called Repudiating Mail From. 211 00:12:56,120 --> 00:12:57,120 Usually I can pronounce that. 212 00:12:58,400 --> 00:13:06,060 And the paper is basically about, hey, we're going to take DNS and we're going to make it into this authentication mechanism, right? 213 00:13:06,120 --> 00:13:07,860 So now when you send me an email. 214 00:13:07,880 --> 00:13:13,000 I'm going to go back and I'm going to ask your DNS server, hey, DNS server, where should this person be sending mail from? 215 00:13:13,260 --> 00:13:19,200 And if your DNS server says that it's, you know, someplace other than where you're actually sending it to me from, then I block your mail. 216 00:13:19,960 --> 00:13:21,360 This was then adopted. 217 00:13:21,580 --> 00:13:25,820 This idea was then adopted by AOL, Microsoft, and it's now called SPF. 218 00:13:26,340 --> 00:13:27,320 Sender Permitted From. 219 00:13:27,800 --> 00:13:30,440 It goes under a couple of the names that I can't recall off the top of my head. 220 00:13:30,580 --> 00:13:31,600 There's an awful lot of you out there. 221 00:13:34,260 --> 00:13:36,520 And it's really, really popular among. 222 00:13:36,520 --> 00:13:40,360 Well, second most popular, like second largest adopter. 223 00:13:40,380 --> 00:13:41,240 And this is from a. 224 00:13:44,940 --> 00:13:46,200 Damn, I can't remember the name of the company. 225 00:13:48,980 --> 00:13:52,020 The guy where John Graham Cummings, or the company where John Graham Cummings works. 226 00:13:52,200 --> 00:13:54,320 A book to the person who knows where John Graham Cummings works. 227 00:13:56,600 --> 00:13:59,000 No, it's like Sophos. 228 00:13:59,000 --> 00:13:59,520 There you go. 229 00:14:00,000 --> 00:14:00,360 Sophos. 230 00:14:01,180 --> 00:14:03,200 So Sophos comes out with a paper like a month ago. 231 00:14:03,320 --> 00:14:04,400 And they actually have a. 232 00:14:05,380 --> 00:14:06,220 Like a list. 233 00:14:06,520 --> 00:14:11,940 Of who is implementing SPF procedurally within their, you know, organizations. 234 00:14:12,960 --> 00:14:15,820 And the second, you know, second favorite, right? 235 00:14:15,860 --> 00:14:19,460 The second top implementer was like, you know, corporate or, you know, really corporate companies. 236 00:14:20,220 --> 00:14:22,940 Like the American Expresses and the Bank of Americas of the world. 237 00:14:23,380 --> 00:14:28,020 Can anybody guess who the first most popular, like who SPF is for a book? 238 00:14:28,360 --> 00:14:28,780 What? 239 00:14:31,940 --> 00:14:32,700 Shout it out to. 240 00:14:32,780 --> 00:14:32,920 No. 241 00:14:33,320 --> 00:14:33,740 Spammers. 242 00:14:34,220 --> 00:14:34,640 Spammers. 243 00:14:42,100 --> 00:14:42,500 Spammers. 244 00:14:46,860 --> 00:14:48,880 Spammers love SPF. 245 00:14:49,560 --> 00:14:55,020 Because basically, I mean the entire cottage industry at this point has grown up around registering lots of domain names. 246 00:14:55,220 --> 00:14:55,340 Right? 247 00:14:55,780 --> 00:14:57,720 So, you have like, you know, Domain Garden. 248 00:14:57,840 --> 00:15:00,700 You see all these companies that will actually just generate on the fly. 249 00:15:00,860 --> 00:15:02,180 Like 200, you know, domain names. 250 00:15:02,400 --> 00:15:04,020 Random, you know, guaranteed. 251 00:15:04,020 --> 00:15:05,020 Never generated before. 252 00:15:05,020 --> 00:15:12,040 four names for you, and you publish a reverse lookup record for these, and you say, that 253 00:15:12,040 --> 00:15:13,020 makes me legitimate. 254 00:15:13,240 --> 00:15:14,860 Like, yay, I can send to AOL users now. 255 00:15:14,960 --> 00:15:17,940 So SPF is really, really popular among experiments. 256 00:15:18,100 --> 00:15:18,840 I love this idea. 257 00:15:18,960 --> 00:15:19,640 I think it's just great. 258 00:15:23,020 --> 00:15:28,600 So SPF sort of, a lot of people are still using it, actually, but not working so well. 259 00:15:28,980 --> 00:15:34,880 So at this point, in the delivery countermeasures game, we've sort of reverted back to RBL. 260 00:15:35,020 --> 00:15:37,020 And now we have this preponderance of them. 261 00:15:37,120 --> 00:15:48,340 I mean, there's like 20,000 RBLs, and regional, specific, with .co.uk addresses, and things 262 00:15:48,340 --> 00:15:51,660 like this, and literally just thousands of them. 263 00:15:51,680 --> 00:15:53,400 20,000 may have been an exaggeration. 264 00:15:53,520 --> 00:15:54,700 I'm prone to hyperbole. 265 00:15:54,780 --> 00:15:55,640 I should have mentioned that, too. 266 00:15:58,320 --> 00:16:04,340 So by contrast, if you look up here into the content filtering section, 267 00:16:05,020 --> 00:16:10,660 what you see is the very first content filters were probably Nancy McCullough's ProcMail facts, 268 00:16:10,880 --> 00:16:17,040 somewhere around there, sort of mid-1994, right, where people are just sort of using 269 00:16:17,040 --> 00:16:19,380 static string filters in ProcMail. 270 00:16:19,500 --> 00:16:22,960 And that sort of continues until you hit, like, SpamAssassin. 271 00:16:23,000 --> 00:16:27,140 And SpamAssassin is basically, OK, and there are arguments you can make either way, 272 00:16:27,180 --> 00:16:30,800 SpamAssassin being a content delivery measure or a content filter. 273 00:16:30,980 --> 00:16:34,580 But basically, the idea behind SpamAssassin was we're going to, you know, you know, 274 00:16:34,580 --> 00:16:35,620 no, I'm not going to bother. 275 00:16:37,020 --> 00:16:40,500 Then you have 1999, you have another paper from Paul Vixie. 276 00:16:40,560 --> 00:16:41,560 This was actually the first paper. 277 00:16:41,920 --> 00:16:42,640 SPF came later. 278 00:16:42,760 --> 00:16:47,300 But Paul Vixie wrote a paper which basically said, OK, here's what we're going to do. 279 00:16:47,400 --> 00:16:49,140 We're going to take all of these emails. 280 00:16:49,640 --> 00:16:51,740 We're going to make a fuzzy hash sum of them. 281 00:16:52,560 --> 00:16:55,840 And then we're going to keep a global database of fuzzy hash sums. 282 00:16:55,980 --> 00:17:00,060 And then every mail you get, you can just, you know, you can generate the hash sum yourself, 283 00:17:00,180 --> 00:17:00,980 and you can pair it to the database. 284 00:17:01,120 --> 00:17:02,700 And if it's spam, you block it. 285 00:17:05,180 --> 00:17:06,980 And this worked pretty well. 286 00:17:07,040 --> 00:17:10,020 There are two implementations that I'm aware of that people are using a lot right now, 287 00:17:10,120 --> 00:17:12,620 and that's the distributed checksumming clearinghouse and Vipal's Razor. 288 00:17:14,000 --> 00:17:18,460 And Vipal's Razor, the latter, has been included into a lot of commercial products as well. 289 00:17:20,080 --> 00:17:23,840 So the idea there was, I think, a good idea. 290 00:17:24,500 --> 00:17:26,140 And a lot of people are still using it. 291 00:17:26,960 --> 00:17:31,680 It's gotten, it doesn't deal very well with random strings. 292 00:17:31,840 --> 00:17:34,260 Like, if you can break the fuzzy hash sum enough, 293 00:17:34,580 --> 00:17:36,360 so that it's, you know, a little too fuzzy, 294 00:17:37,200 --> 00:17:38,540 then you get mail passed. 295 00:17:38,740 --> 00:17:40,180 And the other weakness it has is, 296 00:17:41,940 --> 00:17:48,800 despite the fact that there is sort of a nascent reputation system around, you know, 297 00:17:48,820 --> 00:17:52,260 who gets to send mail into what's the, you know, spam database, 298 00:17:52,960 --> 00:17:55,400 there's definitely some database poisoning going on there. 299 00:17:56,420 --> 00:18:01,120 And it's, you know, it's sort of reducing the effectiveness of it over time, in my opinion. 300 00:18:01,280 --> 00:18:04,100 And this, by the way, I'm not the CEO of anything. 301 00:18:04,740 --> 00:18:06,240 I, like, mow my own lawn. 302 00:18:06,520 --> 00:18:09,820 I have a job, probably a lot like you guys. 303 00:18:09,980 --> 00:18:13,780 I'm, like, a systems administrator for a web hosting company. 304 00:18:14,700 --> 00:18:17,720 So most of this is based on my experience, 305 00:18:17,800 --> 00:18:19,440 the experience of people I talk to at universities, 306 00:18:21,500 --> 00:18:23,260 and, you know, just various research I've done. 307 00:18:23,320 --> 00:18:28,080 I published a paper at Usenix in 2004 at Lisa, 308 00:18:28,680 --> 00:18:32,020 which basically outlines some implementation work we did. 309 00:18:32,140 --> 00:18:34,400 So if you want to check up on me, there you go. 310 00:18:35,740 --> 00:18:43,280 So then, finally, in 2002, we have my friend and yours. 311 00:18:43,980 --> 00:18:45,020 What the hell is that guy's name again? 312 00:18:45,600 --> 00:18:47,200 Who wrote a plan for spam for a book? 313 00:18:47,480 --> 00:18:47,960 Paul Graham. 314 00:18:48,200 --> 00:18:48,840 Paul Graham. 315 00:18:52,660 --> 00:18:54,340 You can come get that whenever you want. 316 00:18:54,500 --> 00:18:55,440 I'll just put it here. 317 00:18:56,660 --> 00:18:57,220 All right. 318 00:18:57,620 --> 00:18:58,260 Paul Graham. 319 00:18:59,340 --> 00:19:00,480 Can't believe I didn't remember his name. 320 00:19:01,100 --> 00:19:02,340 Anyway, I'm running out of books. 321 00:19:02,380 --> 00:19:03,480 I better start remembering shit. 322 00:19:05,980 --> 00:19:06,700 Oh, sorry. 323 00:19:09,480 --> 00:19:09,920 Okay. 324 00:19:10,680 --> 00:19:12,240 So Paul Graham writes a plan for spam, 325 00:19:12,340 --> 00:19:15,740 and poof, we have Bayesian, naive Bayesian classifiers. 326 00:19:16,460 --> 00:19:20,240 And this turns out to be a pretty darn good idea. 327 00:19:20,440 --> 00:19:23,500 And this is, now it's 2007, I believe, 328 00:19:24,180 --> 00:19:26,860 and we're, you know, we basically have a category killer 329 00:19:26,860 --> 00:19:28,180 for content filters now. 330 00:19:28,360 --> 00:19:30,480 You don't see, and when I say that, 331 00:19:30,520 --> 00:19:34,180 what I mean is there are better ways to do artificial, 332 00:19:34,580 --> 00:19:36,480 artificial intelligence and machine learning, right? 333 00:19:36,560 --> 00:19:38,420 I mean, there are like, you know, vector-based algorithms. 334 00:19:38,700 --> 00:19:40,640 There's, you know, expert systems. 335 00:19:41,020 --> 00:19:48,400 There's, I mean, this is, you know, a pretty old, you know, science, right? 336 00:19:49,060 --> 00:19:53,280 People in 1968 were using, you know, Bayesian learning 337 00:19:53,280 --> 00:19:57,300 to prove that their algorithms were superior, right? 338 00:19:57,440 --> 00:19:58,560 I mean, it's kind of like if you're, 339 00:19:58,560 --> 00:20:01,160 if you're like the artificial intelligence scientist guy 340 00:20:01,160 --> 00:20:03,500 and you want to show everyone in the world 341 00:20:04,020 --> 00:20:04,560 that you can do it, you can do it. 342 00:20:04,560 --> 00:20:06,740 Your learning algorithm is good. 343 00:20:07,060 --> 00:20:08,760 The first thing you do is you make sure 344 00:20:08,760 --> 00:20:10,440 that it can beat a Bayesian learning algorithm. 345 00:20:10,620 --> 00:20:12,600 It's kind of, you know, sort of the thing that, 346 00:20:12,620 --> 00:20:14,100 it's the bar to cross, right? 347 00:20:15,120 --> 00:20:17,160 But what you don't see is you don't see 348 00:20:17,160 --> 00:20:20,380 a lot of fancy machine learning coming into spam filtration. 349 00:20:20,640 --> 00:20:22,620 And some of it is because it's not applicable 350 00:20:22,620 --> 00:20:25,580 and others of it are because 351 00:20:28,220 --> 00:20:30,240 Bayesian classifiers work really well. 352 00:20:30,480 --> 00:20:31,560 I mean, they really, really do. 353 00:20:31,680 --> 00:20:34,200 And since, you know, since that initial, 354 00:20:34,200 --> 00:20:37,440 since that initial essay, we've had a couple, right, 355 00:20:37,520 --> 00:20:39,840 refinements on the technique. 356 00:20:40,120 --> 00:20:42,360 We've had, you know, Chai Square 357 00:20:42,360 --> 00:20:44,580 and you have Markov, you know, discriminators 358 00:20:44,580 --> 00:20:45,980 and you have, you know, a couple different algorithms. 359 00:20:46,180 --> 00:20:51,460 You have some data cleaning, you know, type, 360 00:20:51,600 --> 00:20:54,080 the Zdarsky paper on noise reduction, 361 00:20:54,300 --> 00:20:55,080 Bayesian noise reduction. 362 00:20:55,280 --> 00:20:58,920 But you don't have a naive Bayesian classifier replacement, 363 00:20:59,220 --> 00:21:00,120 right, at this point. 364 00:21:00,760 --> 00:21:03,120 And the little secret, and despite 365 00:21:03,120 --> 00:21:04,180 a lot of the things that we've done, 366 00:21:04,200 --> 00:21:06,580 is we have really smart people who should know better 367 00:21:06,580 --> 00:21:08,860 standing up at conferences and saying that Bayesian is dead. 368 00:21:10,380 --> 00:21:13,080 The dirty little secret of naive Bayesian classifiers 369 00:21:13,080 --> 00:21:14,240 is they've been here for five years. 370 00:21:15,460 --> 00:21:16,760 They haven't been beaten yet. 371 00:21:16,840 --> 00:21:18,640 There's no answer to them yet on the spammer side, 372 00:21:18,860 --> 00:21:19,660 as far as I can tell. 373 00:21:20,160 --> 00:21:22,240 And most of the problems that people have with them 374 00:21:23,000 --> 00:21:24,360 are implementation problems. 375 00:21:25,780 --> 00:21:27,900 So we as a sysadmin community, I think, 376 00:21:27,980 --> 00:21:30,040 need to look at them a lot more closely. 377 00:21:31,440 --> 00:21:33,620 And when I say, when I say NVC, 378 00:21:33,620 --> 00:21:35,120 I'm not talking about SpamAssassin. 379 00:21:35,720 --> 00:21:37,140 If you are thinking to yourself, 380 00:21:37,280 --> 00:21:39,300 well, I use SpamAssassin, this guy is full of shit, 381 00:21:39,440 --> 00:21:40,640 it's Bayesian classifier isn't that great. 382 00:21:41,160 --> 00:21:43,380 That's true, SpamAssassin's Bayesian classifier 383 00:21:43,380 --> 00:21:44,080 is not that great. 384 00:21:44,760 --> 00:21:47,310 But there are really, really rigorous implementations 385 00:21:47,820 --> 00:21:49,540 out there that I urge you to try. 386 00:21:49,880 --> 00:21:51,980 BogaFilter, CRM 114, and D-SPAM. 387 00:21:52,660 --> 00:21:53,400 Any one of those. 388 00:21:54,160 --> 00:21:55,560 Anyway, let's get to the fun part. 389 00:21:57,260 --> 00:21:59,320 So, I guess I think, you know, I pretty much 390 00:21:59,320 --> 00:22:00,180 covered the conclusions. 391 00:22:01,120 --> 00:22:03,440 I don't think delivery countermeasures are working for us. 392 00:22:03,620 --> 00:22:06,480 And that's just a little, you know, 393 00:22:06,500 --> 00:22:08,420 something I picked up on the ten years 394 00:22:08,420 --> 00:22:09,920 that they haven't been working. 395 00:22:11,600 --> 00:22:14,040 So, I'm thinking maybe we should, you know, 396 00:22:14,100 --> 00:22:15,180 not use them anymore. 397 00:22:15,620 --> 00:22:18,440 And this is kind of why. 398 00:22:19,820 --> 00:22:23,620 We have some evidence that spammers are actually 399 00:22:23,620 --> 00:22:26,280 starting to use short-lived BGP prefix hijacking 400 00:22:26,280 --> 00:22:27,260 to get their mail delivered. 401 00:22:28,240 --> 00:22:30,780 And maybe some of you know what it is, 402 00:22:30,860 --> 00:22:33,560 and for those of you who do, I don't know why all of you 403 00:22:33,620 --> 00:22:34,040 showed up anyway. 404 00:22:34,140 --> 00:22:35,080 I mean, there are better talks to go to. 405 00:22:35,440 --> 00:22:36,600 So, I'm just going to tell you what it is. 406 00:22:39,180 --> 00:22:42,520 So, you have BGP, Border Gateway Protocol, 407 00:22:42,720 --> 00:22:46,020 is basically the internet protocol of choice 408 00:22:47,320 --> 00:22:49,300 for backbone providers to talk to each other 409 00:22:49,300 --> 00:22:51,780 and tell each other where a given IP prefix is. 410 00:22:52,020 --> 00:22:55,940 So, if I'm the owner of, you know, 64.000 forward slash 8, 411 00:22:56,500 --> 00:22:57,940 and I want you to know where it is, 412 00:22:58,080 --> 00:23:00,980 I'm probably speaking, excuse me, BGP to you. 413 00:23:02,420 --> 00:23:04,060 It's a transport layer protocol, 414 00:23:04,300 --> 00:23:05,620 so it's actually, you know, they speak TCP, 415 00:23:05,800 --> 00:23:10,220 and it's a vector path protocol, 416 00:23:10,440 --> 00:23:13,020 which means that when I say to you, 417 00:23:13,140 --> 00:23:16,000 hey, other router, I know this prefix, 418 00:23:16,120 --> 00:23:17,400 and here's how you get to it, 419 00:23:18,560 --> 00:23:22,520 that router will actually pass the entire path, okay? 420 00:23:23,720 --> 00:23:26,440 So, and this whole thing, and the path itself 421 00:23:26,440 --> 00:23:29,420 is made up of a combination of AS paths, 422 00:23:29,660 --> 00:23:30,560 and ASs are... 423 00:23:31,060 --> 00:23:32,340 shorthand for autonomous systems. 424 00:23:32,820 --> 00:23:35,020 So, you have, if you can imagine, 425 00:23:35,220 --> 00:23:37,180 22,000 people on the internet, 426 00:23:37,360 --> 00:23:39,400 somewhere thereabouts, a couple months ago anyway. 427 00:23:40,700 --> 00:23:44,000 Not people, organizations that run the internet. 428 00:23:44,300 --> 00:23:46,260 So, if you imagine the internet as sort of this 429 00:23:47,160 --> 00:23:50,040 cooperative entity between a lot of private networks, 430 00:23:50,560 --> 00:23:52,740 you have about 22,000 private networks, 431 00:23:52,920 --> 00:23:55,500 and you have a couple different types of people there. 432 00:23:55,560 --> 00:23:57,900 You have level tier one providers, excuse me, 433 00:23:57,940 --> 00:24:00,160 like the level threes and the sprints of the world. 434 00:24:00,160 --> 00:24:01,760 You have the tier two providers, 435 00:24:01,960 --> 00:24:04,140 who are what most people deal with as an ISP, 436 00:24:04,160 --> 00:24:05,600 like the AOLs and the MSNs. 437 00:24:06,160 --> 00:24:08,320 And then you have a whole bunch of, you know, 438 00:24:08,380 --> 00:24:10,600 university networks and things of that nature. 439 00:24:12,100 --> 00:24:15,500 And the thing about BGP is you would think... 440 00:24:15,500 --> 00:24:18,100 I don't know if... 441 00:24:18,820 --> 00:24:20,240 I don't think Dan Greer's talking here, 442 00:24:20,320 --> 00:24:22,660 but, you know, that whole biological diversity thing 443 00:24:22,660 --> 00:24:24,600 where, you know, like everybody connects to everybody else 444 00:24:24,600 --> 00:24:26,760 and it's all redundant and, you know... 445 00:24:27,900 --> 00:24:28,300 Yeah. 446 00:24:28,300 --> 00:24:30,860 You would think that there would be 447 00:24:30,860 --> 00:24:31,960 a lot of redundant paths everywhere. 448 00:24:32,220 --> 00:24:32,940 And, in fact, there are. 449 00:24:33,040 --> 00:24:36,040 But the problem is there's an economic layer there too, right? 450 00:24:36,160 --> 00:24:39,040 So we're not just talking about a routing protocol 451 00:24:39,040 --> 00:24:43,300 and, hey, if I can get to 64000 from your router, 452 00:24:43,880 --> 00:24:45,880 that doesn't necessarily mean I'm going to send you my packets. 453 00:24:47,000 --> 00:24:49,620 There's the concept of this layered, right, 454 00:24:49,680 --> 00:24:51,760 like ISP structure where you have these tier ones, 455 00:24:51,900 --> 00:24:53,300 and tier ones are really, really big. 456 00:24:53,400 --> 00:24:56,280 Like level three owns their own transatlantic cable big. 457 00:24:56,440 --> 00:24:58,220 I think they own two of their own transatlantic cables. 458 00:24:58,300 --> 00:24:58,960 That's how big they are. 459 00:25:00,420 --> 00:25:02,960 And so if you're as big as level three, 460 00:25:03,020 --> 00:25:04,020 level three will peer with you. 461 00:25:04,120 --> 00:25:05,780 And if you get level three to peer with you, 462 00:25:05,840 --> 00:25:07,400 that means that you don't have to pay them 463 00:25:07,800 --> 00:25:09,800 for transport on their network anymore, OK? 464 00:25:11,000 --> 00:25:13,060 And then, so AOL pays level three. 465 00:25:13,180 --> 00:25:18,560 So that means that this is a transport relationship. 466 00:25:18,920 --> 00:25:19,260 Thank you. 467 00:25:19,700 --> 00:25:20,500 You don't get a book, though. 468 00:25:24,100 --> 00:25:24,960 I'm saving that one. 469 00:25:25,020 --> 00:25:26,220 I got some math coming up, I think. 470 00:25:26,220 --> 00:25:27,240 I'm going to probably, yeah. 471 00:25:28,020 --> 00:25:28,460 OK. 472 00:25:28,880 --> 00:25:31,800 So when you think about it, 473 00:25:31,880 --> 00:25:34,520 if I am independently connected to two tier ones, 474 00:25:34,620 --> 00:25:36,440 let's say I'm independently connected to like, you know, 475 00:25:37,020 --> 00:25:38,960 MCI and I'm connected to level three. 476 00:25:40,920 --> 00:25:44,480 And MCI has a packet that is destined for a level three network. 477 00:25:44,700 --> 00:25:45,840 They could route through me, 478 00:25:45,920 --> 00:25:48,840 except I'm paying them for transport, 479 00:25:49,080 --> 00:25:52,100 so I'm not going to be advertising that net block, right? 480 00:25:52,540 --> 00:25:54,140 It's just the economics of the situation. 481 00:25:54,400 --> 00:25:56,200 And this is called zero-valley routing. 482 00:25:56,220 --> 00:25:57,900 Routing policy, right? 483 00:25:58,500 --> 00:26:00,540 So what you have is a lot of interconnected hosts, 484 00:26:00,820 --> 00:26:02,020 but most of them, 485 00:26:03,920 --> 00:26:06,520 first they prefer a customer network, 486 00:26:06,680 --> 00:26:07,600 then they prefer a peer, 487 00:26:07,780 --> 00:26:10,720 then they prefer, you know, sort of any path they can find. 488 00:26:11,620 --> 00:26:12,960 But that's really important, 489 00:26:13,080 --> 00:26:14,300 and it'll become more important later. 490 00:26:15,180 --> 00:26:17,220 So BGP prefix hijacks happen 491 00:26:17,220 --> 00:26:20,760 when I am not the owner of 64000 492 00:26:20,760 --> 00:26:22,840 and I advertise it to you, OK? 493 00:26:23,160 --> 00:26:26,000 And so what this does is, 494 00:26:26,000 --> 00:26:27,700 BGP, not an authenticated protocol. 495 00:26:28,120 --> 00:26:29,020 And there are some, you know, 496 00:26:29,060 --> 00:26:31,940 there's an IETF working group out there working on it. 497 00:26:32,540 --> 00:26:34,160 There are various standards, 498 00:26:34,380 --> 00:26:35,440 all of them requiring PKI. 499 00:26:35,740 --> 00:26:38,420 So what are the odds of any of them actually coming into play 500 00:26:38,420 --> 00:26:39,900 any time in this century? 501 00:26:41,900 --> 00:26:45,480 So what you have is this unauthenticated networking protocol, right? 502 00:26:45,540 --> 00:26:46,880 So anybody can just pop up and say, 503 00:26:47,020 --> 00:26:48,580 hey, I'm 0000. 504 00:26:48,940 --> 00:26:49,720 Send me your traffic. 505 00:26:50,600 --> 00:26:53,060 And I actually had a really scary conversation with someone 506 00:26:53,060 --> 00:26:54,680 at USENIX SECO 6, 507 00:26:54,680 --> 00:26:58,040 who told me that a great number of governments, 508 00:26:58,160 --> 00:26:58,880 including our own, 509 00:26:58,920 --> 00:27:00,900 find this, what was the word, useful. 510 00:27:05,560 --> 00:27:06,820 So this isn't a new attack. 511 00:27:06,940 --> 00:27:07,680 It's been going on for a long time. 512 00:27:07,760 --> 00:27:10,740 There are, you know, papers going back decades on it. 513 00:27:11,860 --> 00:27:13,700 In the past, like, you know, the slide says, 514 00:27:14,260 --> 00:27:16,000 people used it just basically to, you know, 515 00:27:16,000 --> 00:27:17,580 sell IPs to other people, 516 00:27:17,680 --> 00:27:19,340 which is, you know, technically something you can't do. 517 00:27:21,020 --> 00:27:22,420 What could you do with it, right? 518 00:27:22,480 --> 00:27:24,380 So these ones, and there are three different types. 519 00:27:24,680 --> 00:27:26,060 Well, there's a bunch of different types. 520 00:27:26,180 --> 00:27:26,800 I'm going to cover three of them. 521 00:27:28,140 --> 00:27:30,560 There's the, you know, just normal prefix hijack 522 00:27:30,560 --> 00:27:33,540 where you have a prefix and I advertise exactly it. 523 00:27:34,020 --> 00:27:37,020 There's a subdomain prefix hijack, 524 00:27:37,020 --> 00:27:38,360 subprefix hijack, something like that. 525 00:27:38,480 --> 00:27:40,160 The word sub is somehow involved, is my point. 526 00:27:41,660 --> 00:27:44,200 And they, you basically, 527 00:27:44,440 --> 00:27:49,120 because the way BGP works is less or more specific 528 00:27:50,080 --> 00:27:53,940 advertisements work or overwrite less specific ones. 529 00:27:54,700 --> 00:27:57,520 Unless you have, like, filters in place. 530 00:27:57,700 --> 00:27:59,500 Usually people filter at the 24 level. 531 00:27:59,760 --> 00:28:01,820 So if you have smaller than a 24 net block, 532 00:28:01,960 --> 00:28:03,020 no one's going to pay attention to you. 533 00:28:03,660 --> 00:28:06,580 But if you're a 24 network and you're advertising a net block 534 00:28:06,580 --> 00:28:09,720 that's the same, that's in, you know, someone else's 16 block, 535 00:28:09,940 --> 00:28:11,060 you're going to win, okay? 536 00:28:11,840 --> 00:28:14,720 So if you think about it, I, as a spammer, 537 00:28:14,760 --> 00:28:17,580 since I don't really care, right, about your net block at all, 538 00:28:17,680 --> 00:28:20,380 I could just, if you have, you know, like a 24, 539 00:28:20,640 --> 00:28:22,520 I could advertise the 8 on your 24. 540 00:28:23,420 --> 00:28:24,660 And you would win. 541 00:28:24,680 --> 00:28:26,080 You would win for everything that matters to you. 542 00:28:26,220 --> 00:28:27,600 You would never notice, right? 543 00:28:28,560 --> 00:28:31,240 So, like, the spammer is just, you know, sort of up there grabbing addresses 544 00:28:32,300 --> 00:28:34,840 and some of the traffic is working and some of it isn't. 545 00:28:34,840 --> 00:28:37,400 And the stuff that isn't is the stuff that you've allocated, right? 546 00:28:38,400 --> 00:28:40,140 Which is, you know, sneaky and underhanded. 547 00:28:40,620 --> 00:28:41,320 That's why I like it. 548 00:28:43,120 --> 00:28:44,360 So what could you do with this? 549 00:28:44,460 --> 00:28:45,280 You could do all of those other, 550 00:28:45,420 --> 00:28:47,420 you could do all those acronyms at the bottom of that slide. 551 00:28:48,080 --> 00:28:48,760 It's fun stuff. 552 00:28:50,600 --> 00:28:53,700 The internet, in general, is still a small network, right? 553 00:28:53,700 --> 00:28:55,380 You have, like, 22,000 hosts out there. 554 00:28:55,620 --> 00:28:59,900 So the time it takes to converge a BGP advertisement 555 00:29:00,480 --> 00:29:03,260 is really highly dependent on where you are in the network 556 00:29:03,260 --> 00:29:04,060 and who you appeared to. 557 00:29:05,020 --> 00:29:06,660 If you're multi-homed, it takes longer. 558 00:29:06,800 --> 00:29:11,200 If you're just a single, you know, customer of a tier one, 559 00:29:11,680 --> 00:29:15,220 you could get, you know, a propagation out there in two, three minutes. 560 00:29:16,200 --> 00:29:17,860 It's, you know, it's fast stuff. 561 00:29:18,020 --> 00:29:23,200 So, I mean, you could, for example, BGP, you know, advertise a net block. 562 00:29:23,200 --> 00:29:28,160 You know, DOS the RIAA or whatever it is you wanted to do 563 00:29:28,160 --> 00:29:30,500 and give back the IP addresses and, you know, be gone. 564 00:29:30,680 --> 00:29:33,500 And no one would have any way, really, to know where you were 565 00:29:34,660 --> 00:29:36,380 or where you were when you did it. 566 00:29:38,020 --> 00:29:39,960 So this is all boring router stuff. 567 00:29:41,760 --> 00:29:43,860 Sort of helping you visualize what's going on here. 568 00:29:43,960 --> 00:29:46,880 So C and D are my, you know, tier one providers. 569 00:29:47,100 --> 00:29:51,260 And I have AS42, who's my happy OS, or happy AS, excuse me. 570 00:29:51,260 --> 00:29:54,200 And he's, you know, advertising this net block 24. 571 00:29:54,820 --> 00:29:59,820 And then you have the evil router that comes along up here, AS666. 572 00:29:59,940 --> 00:30:02,680 And he advertises, right, the same net block. 573 00:30:02,700 --> 00:30:04,200 And these are the routers he fools, right? 574 00:30:04,280 --> 00:30:07,660 So there are actually a bunch of different ways to, 575 00:30:07,820 --> 00:30:10,380 I mean, this is really kind of dumbing it down. 576 00:30:10,800 --> 00:30:13,040 There are a lot of ways to influence BGP decisions. 577 00:30:13,720 --> 00:30:16,140 And a lot of people who are actually trying to do mathematical models 578 00:30:16,140 --> 00:30:19,540 to figure out who would be, you know, 579 00:30:20,740 --> 00:30:24,540 fooled in the event of a large-scale BGP hijack 580 00:30:25,660 --> 00:30:27,580 are having to say things like, 581 00:30:27,760 --> 00:30:30,120 well, we're just going to assume, you know, randomly, 582 00:30:31,000 --> 00:30:34,200 in the absence of, you know, shortest path 583 00:30:34,200 --> 00:30:35,560 and, you know, the rest of the indicators, 584 00:30:35,660 --> 00:30:37,540 we're just going to, you know, generate a random number 585 00:30:37,540 --> 00:30:39,120 and, you know, hope for the best. 586 00:30:40,000 --> 00:30:41,800 So it's kind of up in the air. 587 00:30:41,900 --> 00:30:43,900 The other thing about BGP is different. 588 00:30:44,480 --> 00:30:46,500 The other thing about any routing protocol at all 589 00:30:46,500 --> 00:30:49,520 is that different providers have implemented it differently. 590 00:30:49,540 --> 00:30:50,320 in their systems. 591 00:30:50,580 --> 00:30:53,040 So you have Cisco with, you know, these BGP characteristics 592 00:30:53,040 --> 00:30:55,300 and you have Nortel with those. 593 00:30:55,520 --> 00:30:57,820 And it's kind of hard to predict what's actually going to happen, 594 00:30:57,960 --> 00:30:58,940 is my point. 595 00:30:59,700 --> 00:31:01,900 You can stop me if I go off on a big tangent like that again. 596 00:31:03,360 --> 00:31:03,720 Okay. 597 00:31:04,580 --> 00:31:07,460 So that last one, we're basically assuming that, you know, 598 00:31:08,780 --> 00:31:11,920 AS666 is evil and it wants our, you know, net address. 599 00:31:12,180 --> 00:31:14,520 But that isn't necessarily true for the case of the spammer, right? 600 00:31:14,580 --> 00:31:16,280 The spammer doesn't care what IP address he uses. 601 00:31:16,340 --> 00:31:18,000 He doesn't want yours. He doesn't give a shit. 602 00:31:18,000 --> 00:31:20,960 He basically just wants some IPs, right? 603 00:31:21,060 --> 00:31:22,660 That aren't listed on RBLs. 604 00:31:22,660 --> 00:31:24,980 And your IPs probably aren't listed on RBLs. 605 00:31:25,000 --> 00:31:26,580 Well, hopefully, yeah, yeah. 606 00:31:27,420 --> 00:31:28,080 Never mind. 607 00:31:29,100 --> 00:31:31,640 So, yeah, definitely doesn't want your IPs. 608 00:31:32,740 --> 00:31:36,220 So now we have AS666 and we moved it down to the side here. 609 00:31:36,380 --> 00:31:38,400 And basically what we're showing here is that 610 00:31:38,400 --> 00:31:41,300 if 6666 moves itself around in the network, 611 00:31:41,940 --> 00:31:44,600 he can influence who he traps. 612 00:31:44,880 --> 00:31:47,560 And this is, you know, this is a very specific example. 613 00:31:47,560 --> 00:31:47,980 And this is a very specific example. 614 00:31:48,000 --> 00:31:49,120 And this is, you know, based on PATH. 615 00:31:49,980 --> 00:31:52,320 But there is a mathematical model here. 616 00:31:52,580 --> 00:31:56,660 And actually Mohit Lad at UCLA has a paper called 617 00:31:56,660 --> 00:31:59,620 Understanding, I don't know, has Understanding in the title 618 00:31:59,620 --> 00:32:01,820 and then like BGP and something else. 619 00:32:01,840 --> 00:32:02,680 It's a good paper. You should read it. 620 00:32:03,060 --> 00:32:04,380 Google Mohit Lad. It's out there. 621 00:32:04,640 --> 00:32:06,660 But basically they've, you know, they actually have 622 00:32:06,660 --> 00:32:10,260 a mathematical model that describes how resilient 623 00:32:10,260 --> 00:32:14,100 a given system would be in the case of a BGP attack. 624 00:32:14,240 --> 00:32:16,920 And what they found was that if you are a, 625 00:32:16,920 --> 00:32:22,940 a direct customer to more than one top tier ISP, 626 00:32:23,080 --> 00:32:25,460 then you can do a lot of damage 627 00:32:25,460 --> 00:32:28,300 and you're highly resilient against other people's damage. 628 00:32:28,520 --> 00:32:30,660 So that's, if you want to be, you know, taking over 629 00:32:30,660 --> 00:32:32,480 other people's networks, that's where you want to be. 630 00:32:32,540 --> 00:32:35,420 You want to be multi-homed to one or more tier one providers. 631 00:32:37,060 --> 00:32:39,700 So that's, you know, if AS666 wants, you know, 632 00:32:39,740 --> 00:32:40,760 more people to believe him. 633 00:32:42,680 --> 00:32:45,900 The problem is that AS666, 634 00:32:45,900 --> 00:32:51,600 you know, really doesn't have to use anybody's IPs, right? 635 00:32:51,900 --> 00:32:53,900 Like, you know, he doesn't want yours. 636 00:32:53,980 --> 00:32:54,620 He doesn't want mine. 637 00:32:54,720 --> 00:32:56,280 Why would he want anyone's at all? 638 00:32:56,580 --> 00:32:58,200 He could just use unallocated space, 639 00:32:58,380 --> 00:33:01,320 space that the internet registries haven't allocated yet, right? 640 00:33:01,920 --> 00:33:06,340 And everybody knows not a lot of that space left, right? 641 00:33:07,380 --> 00:33:08,980 So you guys read XQCD? 642 00:33:09,200 --> 00:33:10,600 I kind of love this webcomic. 643 00:33:11,880 --> 00:33:13,920 So what this is, is this is a map of the internet 644 00:33:13,920 --> 00:33:14,820 using a, 645 00:33:14,820 --> 00:33:17,140 a fractal called the Heimdall fractal. 646 00:33:17,200 --> 00:33:19,980 And what it does is it preserves block space, 647 00:33:20,280 --> 00:33:22,100 continuous blocks of address space, right? 648 00:33:22,780 --> 00:33:23,860 And it is a fractal. 649 00:33:23,900 --> 00:33:25,540 Like, you could zoom in on it and it would, you know, 650 00:33:25,540 --> 00:33:27,480 become all fractally, you know, what fractals do. 651 00:33:27,580 --> 00:33:28,940 It's infinitely recursive or whatever. 652 00:33:29,740 --> 00:33:32,780 But obviously you can't do that here because it's just a JPEG. 653 00:33:33,380 --> 00:33:37,140 But what we're seeing here is we're seeing all the class A networks. 654 00:33:37,220 --> 00:33:40,520 We're seeing all, you know, the eight networks in the entire internet. 655 00:33:41,200 --> 00:33:44,380 And we're seeing, you know, who is assigned to each one. 656 00:33:44,380 --> 00:33:49,980 So, you know, here's two class A networks that are assigned to that organization, 657 00:33:50,780 --> 00:33:51,620 DI5A, what the hell? 658 00:33:52,500 --> 00:33:53,300 DISA, thank you. 659 00:33:55,240 --> 00:33:56,640 Anyway, so here's the math problem. 660 00:33:56,840 --> 00:33:58,460 And I meant to do this on the board, 661 00:33:58,620 --> 00:34:01,580 or I meant to do this, I'm sorry, on the plane, on the way over. 662 00:34:03,040 --> 00:34:04,020 But that's a long story. 663 00:34:05,120 --> 00:34:07,680 So, and I do this, oops, I do this every once in a while. 664 00:34:08,560 --> 00:34:10,580 We can take one, well, okay. 665 00:34:10,900 --> 00:34:13,220 Imagine for a second we have a thousand spammers. 666 00:34:14,380 --> 00:34:18,180 And each spammer wants to use a single IP address a day for a year. 667 00:34:18,300 --> 00:34:19,860 And they never want to use the same address twice. 668 00:34:20,140 --> 00:34:22,340 So you have 364 days in a year, you have a thousand spammers, 669 00:34:22,440 --> 00:34:24,320 you have 364,000 addresses. 670 00:34:26,020 --> 00:34:32,040 Each one of these blocks in green is an address base of two to the 24 IP addresses. 671 00:34:33,660 --> 00:34:39,120 So I'll book to the first person who can divide two to the 24 by 365,000 672 00:34:39,120 --> 00:34:43,000 and tell me how many years 1,000 spammers get out of a single net block. 673 00:34:43,800 --> 00:34:44,840 It's not a happy number. 674 00:34:45,040 --> 00:34:45,760 It's like a lot. 675 00:34:47,320 --> 00:34:48,920 I have no idea what the answer is, so. 676 00:34:51,200 --> 00:34:53,000 Somebody else, like, verify them or something. 677 00:34:53,080 --> 00:34:54,360 That was a bad question to ask at DEF CON. 678 00:34:58,260 --> 00:34:58,620 Sorry? 679 00:35:01,260 --> 00:35:02,420 42, that's a good answer. 680 00:35:05,080 --> 00:35:06,560 I'll take that over the real answer anyway. 681 00:35:07,520 --> 00:35:09,900 You said two to the 24th divided by 365? 682 00:35:10,780 --> 00:35:11,620 365,000, yeah. 683 00:35:11,620 --> 00:35:13,980 That's a lot, about 45,964. 684 00:35:14,520 --> 00:35:15,580 Excellent, so close to 42. 685 00:35:15,960 --> 00:35:16,920 Sorry, I already gave away both. 686 00:35:18,360 --> 00:35:19,620 I'd kind of be an asshole if I took it back. 687 00:35:21,680 --> 00:35:22,460 So there you go. 688 00:35:22,820 --> 00:35:25,460 You have a good 40 years, basically, that a spammer, 689 00:35:25,520 --> 00:35:28,360 that a thousand spammers could use basically one of these squares. 690 00:35:28,580 --> 00:35:30,280 And there are quite a few of these squares, right? 691 00:35:31,440 --> 00:35:33,880 And, you know, there's some hyperbole there, but there's not a lot. 692 00:35:34,020 --> 00:35:36,060 I mean, there are net blocks in there that are, you know, 693 00:35:36,120 --> 00:35:39,340 RFC 1911 net blocks that you can't use and no one will route for you. 694 00:35:40,140 --> 00:35:43,360 But the basic premise is, you know, 695 00:35:43,380 --> 00:35:47,600 any given spammer really could just start doing whatever the hell they wanted 696 00:35:47,600 --> 00:35:49,320 with the IP address space. 697 00:35:49,600 --> 00:35:51,100 And there's not a lot we can do about it. 698 00:35:51,120 --> 00:35:57,380 I've talked with a lot of the top tiers at like nano conferences and stuff, 699 00:35:57,460 --> 00:35:59,740 and they're not even considering this to be an attack yet. 700 00:36:00,540 --> 00:36:02,520 They're considering this to be misconfiguration. 701 00:36:03,280 --> 00:36:05,400 And if it's lasting for 15 minutes, they don't care. 702 00:36:06,440 --> 00:36:08,640 You know, it was a temporary misconfiguration. 703 00:36:10,160 --> 00:36:12,300 Well, that's, you know, that's best case. 704 00:36:12,440 --> 00:36:15,500 They're considering a misconfiguration in the best case. 705 00:36:15,580 --> 00:36:20,080 Worst case is, hey, that's one more path to route, you know, stuff to. 706 00:36:21,520 --> 00:36:24,580 That was actually a response I got from someone was, well, you know, 707 00:36:24,600 --> 00:36:27,860 hey, if I have multiple paths, better for me. 708 00:36:27,940 --> 00:36:28,400 I'm an ISP. 709 00:36:29,980 --> 00:36:30,580 So, yeah. 710 00:36:35,040 --> 00:36:36,480 So, spammers are doing this now. 711 00:36:36,840 --> 00:36:38,620 And this is basically how I know they're doing it. 712 00:36:38,640 --> 00:36:39,040 They're doing it now. 713 00:36:39,540 --> 00:36:43,620 This is out of a paper, shamelessly stolen from a paper by Nick Feemstra out of Georgia Tech. 714 00:36:44,080 --> 00:36:48,160 And what you're seeing here is Georgia Tech has a spam sinkhole, right? 715 00:36:48,240 --> 00:36:51,120 It's a three-letter domain, and they just let it sit there and collect spam. 716 00:36:51,320 --> 00:36:52,600 No valid mail comes to this system. 717 00:36:53,260 --> 00:36:56,200 So what they're doing is they're getting the spam, 718 00:36:56,420 --> 00:37:01,720 and they're doing, you know, lots of text parsing on it just to see what kind of stuff is happening. 719 00:37:02,020 --> 00:37:06,560 Eventually one of them got the bright idea, hey, let's take our logs of, you know, 720 00:37:06,560 --> 00:37:08,140 what IP addresses we got spam from. 721 00:37:08,640 --> 00:37:12,680 Let's correlate them with the BGP prefix origin changes. 722 00:37:12,940 --> 00:37:17,660 And we'll see if there's any correlation between, you know, an origin change, 723 00:37:17,920 --> 00:37:20,060 us getting a spam, and the origin changing back. 724 00:37:20,440 --> 00:37:24,960 And so this is sort of the zoomed-in version, and this is sort of the zoomed-out version. 725 00:37:25,140 --> 00:37:29,580 And what you see is origin change, spam, spam, spam, spam, origin change back. 726 00:37:30,480 --> 00:37:33,400 So, I mean, that's like taking a freaking snapshot. 727 00:37:33,620 --> 00:37:35,280 I mean, you can't really get a lot closer than that. 728 00:37:35,340 --> 00:37:36,760 It's happening, right? 729 00:37:37,220 --> 00:37:38,620 And they actually quantified this. 730 00:37:38,640 --> 00:37:39,780 And it's not happening an awful lot. 731 00:37:40,580 --> 00:37:48,380 But as we saw in the time, you know, don't make me show you the, right, the time thing again. 732 00:37:49,300 --> 00:37:51,880 Stuff in Spammerville happens very quickly, right? 733 00:37:51,940 --> 00:37:55,300 So when one spammer catches on that another spammer is getting his mail delivered this way, 734 00:37:55,440 --> 00:37:58,020 lots of other spammers are going to eventually start doing it. 735 00:37:59,100 --> 00:37:59,760 It's not a threat. 736 00:37:59,860 --> 00:38:00,240 It's a promise. 737 00:38:00,400 --> 00:38:02,260 So how do you pull this off, spammers? 738 00:38:03,660 --> 00:38:04,700 How easy is it? 739 00:38:04,800 --> 00:38:06,500 How, you know, what do I have to be? 740 00:38:06,540 --> 00:38:07,200 Where do I have to be? 741 00:38:07,200 --> 00:38:07,520 Et cetera. 742 00:38:08,140 --> 00:38:09,880 It's actually surprisingly easy to pull off. 743 00:38:10,840 --> 00:38:13,720 You have to have some cash to be, to do some real damage, right? 744 00:38:13,780 --> 00:38:15,780 Because you have to get right underneath a tier one. 745 00:38:15,860 --> 00:38:16,900 And it's better if you're multi-homed. 746 00:38:18,560 --> 00:38:23,800 But you can, you know, like the slide says, use a shady ISP, be a shady ISP, or work at a shady ISP. 747 00:38:23,920 --> 00:38:27,300 And there's also a lot of social engineering that you can do at that level. 748 00:38:27,420 --> 00:38:29,240 You know, like, hey, I think you're filtering my announcements. 749 00:38:29,460 --> 00:38:31,160 Like, you know, especially if you're multi-homed. 750 00:38:31,180 --> 00:38:35,500 And if you're a relatively large network and you're multi-homed, they're just going to believe what you say. 751 00:38:35,660 --> 00:38:35,980 Right? 752 00:38:35,980 --> 00:38:39,660 Like, hey, I have a path to, you know, 65, 80, whatever. 753 00:38:39,820 --> 00:38:40,040 Right? 754 00:38:41,040 --> 00:38:44,460 And they're not even really, I mean, if you're like Kovad, they're not going to question you. 755 00:38:45,700 --> 00:38:48,980 So you can be like Kovar and then like, you know, I don't know, whatever. 756 00:38:49,260 --> 00:38:49,960 Use your imagination. 757 00:38:52,720 --> 00:38:55,140 So, and they're really not focused on this attack at all. 758 00:38:55,220 --> 00:39:00,520 I mean, they're very much of the opinion that nobody's doing it and we don't care. 759 00:39:01,240 --> 00:39:03,180 So it's pretty easy to get in there. 760 00:39:03,220 --> 00:39:05,000 I've heard rumors, and that's in America. 761 00:39:05,600 --> 00:39:05,960 Right? 762 00:39:05,980 --> 00:39:09,160 But going into other countries, it becomes, you know, an awful lot easier. 763 00:39:09,820 --> 00:39:13,160 And it sort of depends then on, you know, how much damage you can do. 764 00:39:13,280 --> 00:39:29,660 But really, I've heard rumors that there are, you know, like Zen UML type systems in, you know, places like China that you can get for the purpose of just making bogus BGP advertisements. 765 00:39:31,240 --> 00:39:35,960 I highly recommend going to Nanog and talking to, you know, just sort of some of the products. 766 00:39:35,960 --> 00:39:47,360 Because, I mean, they're, they tell great stories about getting advertisements like 0000 from places like Vietnam and some of it actually working. 767 00:39:47,580 --> 00:39:55,680 And, yeah, there's, I think there's a lot more of this going on than even we suspect. 768 00:39:55,920 --> 00:39:56,240 Right? 769 00:39:57,880 --> 00:39:59,120 And not all for spamming. 770 00:39:59,300 --> 00:40:02,060 But anyway, that sort of wraps up my talk. 771 00:40:02,240 --> 00:40:03,140 What was that, like a half an hour? 772 00:40:03,820 --> 00:40:04,960 Was I really fast? 773 00:40:04,960 --> 00:40:05,620 Fast? 774 00:40:06,160 --> 00:40:07,100 42 minutes. 775 00:40:07,400 --> 00:40:07,880 Excellent. 776 00:40:08,800 --> 00:40:09,720 And I'm out of books. 777 00:40:10,100 --> 00:40:11,840 So questions, comments, points of clarification? 778 00:40:13,420 --> 00:40:16,720 Why aren't IRRs moving around the sun this far? 779 00:40:19,680 --> 00:40:20,160 Okay. 780 00:40:22,260 --> 00:40:22,440 Okay. 781 00:40:25,600 --> 00:40:30,160 For example, do you guys know if there are here someone else who looks like BTS? 782 00:40:30,760 --> 00:40:32,800 Or do you know who's building that here? 783 00:40:32,820 --> 00:40:33,720 Do you know about this building? 784 00:40:44,400 --> 00:40:48,060 Does it have to be a sonar, or is it just a 785 00:40:48,060 --> 00:40:48,120 Right. 786 00:40:54,060 --> 00:41:03,660 So to paraphrase that, for those who couldn't hear, the question is basically why isn't a regional internet registry able to just basically tell people, hey, that origin isn't 787 00:41:11,720 --> 00:41:13,520 Okay. And there are a couple of those out there. 788 00:41:13,580 --> 00:41:16,180 There's actually, like, I don't know if you've heard of... 789 00:41:16,700 --> 00:41:18,620 Why can't we get a third party? How about that? 790 00:41:18,840 --> 00:41:23,840 To tell us, look, here's all of the prefixes that exist, 791 00:41:24,040 --> 00:41:26,120 and here's where their origins should be, right? 792 00:41:26,980 --> 00:41:31,120 So why can't we mitigate this with, you know, just sort of a list of, right, stuff? 793 00:41:31,120 --> 00:41:33,440 And this has actually been tried. 794 00:41:33,700 --> 00:41:35,000 Well, there's a couple different... 795 00:41:35,000 --> 00:41:37,320 Like I said, there's the IETF working group that's working on stuff like that. 796 00:41:37,380 --> 00:41:40,020 There's also a solution called PGBGP. 797 00:41:40,060 --> 00:41:41,640 Wow, I'm amazed I said that right the first time. 798 00:41:41,940 --> 00:41:44,200 Which is pretty good BGP, right? 799 00:41:44,400 --> 00:41:47,800 Which is sort of based on that sort of thing, right? 800 00:41:47,880 --> 00:41:49,900 Like every time somebody gives me an advertisement, 801 00:41:50,040 --> 00:41:51,460 I'm going to go to this database and check. 802 00:41:53,380 --> 00:41:56,600 The problem is that even people who are using these, 803 00:41:56,660 --> 00:42:00,280 and this actually happened March 2005. 804 00:42:00,280 --> 00:42:02,560 Google had an outage, maybe you remember it. 805 00:42:02,920 --> 00:42:05,580 And there's a paper out there by a couple guys in Canada 806 00:42:07,580 --> 00:42:11,600 who looked at origin changes for, you know, 807 00:42:11,640 --> 00:42:14,300 the Google routers while they were having this outage. 808 00:42:14,360 --> 00:42:16,940 Google later said that it was a DNS outage, as I recall. 809 00:42:17,560 --> 00:42:21,440 But they did find actually that there were some origin changes 810 00:42:21,440 --> 00:42:22,640 that happened during that period. 811 00:42:22,900 --> 00:42:27,760 And on top of that, they found routers that were, you know, 812 00:42:27,760 --> 00:42:28,940 using things like... 813 00:42:30,280 --> 00:42:31,040 filters, right? 814 00:42:31,140 --> 00:42:33,180 I mean, you would think you could just solve this with, 815 00:42:33,300 --> 00:42:35,660 this person is advertising something they're not allowed to. 816 00:42:35,900 --> 00:42:37,980 I'll just have that in a filter and it'll be done, right? 817 00:42:39,940 --> 00:42:42,940 The problem is what I was explaining to you before 818 00:42:42,940 --> 00:42:45,240 about the economics of BGP. 819 00:42:45,420 --> 00:42:48,100 You can't assume that even if you're using a filter, 820 00:42:48,240 --> 00:42:50,860 that the route is going to come from someone you have filtered. 821 00:42:51,380 --> 00:42:54,000 The other thing is that you can do things with BGP 822 00:42:54,000 --> 00:42:55,160 like ASPath prepend, 823 00:42:55,620 --> 00:43:00,020 which means that you don't necessarily have to be the origin. 824 00:43:00,280 --> 00:43:03,820 You can just sort of inject yourself into the ASPath 825 00:43:03,820 --> 00:43:04,780 and that'll work for you, 826 00:43:05,320 --> 00:43:06,880 for a great number of people. 827 00:43:10,620 --> 00:43:12,120 I should back up and say, 828 00:43:12,200 --> 00:43:14,820 just sort of, you know, 829 00:43:17,420 --> 00:43:18,180 conceptually, right? 830 00:43:18,680 --> 00:43:20,880 We're having the same problem here with spammers 831 00:43:20,880 --> 00:43:23,020 that we've always had in the past. 832 00:43:23,200 --> 00:43:26,080 And that problem is that we're assuming we can give them 833 00:43:26,080 --> 00:43:28,500 some token or credential 834 00:43:28,500 --> 00:43:30,040 and we can expect them, 835 00:43:30,280 --> 00:43:32,220 to not use someone else's, right? 836 00:43:33,380 --> 00:43:36,000 And we're also assuming that the protocols involved 837 00:43:36,000 --> 00:43:39,300 are robust enough to prevent them from using someone else's. 838 00:43:39,580 --> 00:43:41,760 And the problem really at a conceptual level 839 00:43:41,760 --> 00:43:42,960 is that none of that is true. 840 00:43:43,100 --> 00:43:44,000 And it never has been. 841 00:43:45,120 --> 00:43:47,780 And we really need to rethink, you know, 842 00:43:47,800 --> 00:43:48,760 a lot of the underlying protocols. 843 00:43:48,880 --> 00:43:50,900 And, you know, a lot of people are doing that. 844 00:43:51,100 --> 00:43:53,640 But like I said, a lot of them depend on things like 845 00:43:56,480 --> 00:43:58,380 PKI and, you know, pipe dreams. 846 00:43:59,840 --> 00:44:00,260 Anyway. 847 00:44:00,940 --> 00:44:02,480 Questions, comments, points of clarification? 848 00:44:03,640 --> 00:44:04,780 It's a good question, by the way. 849 00:44:05,060 --> 00:44:06,060 Yes, in the middle. 850 00:44:13,660 --> 00:44:15,340 I didn't quite catch it. 851 00:44:21,200 --> 00:44:24,080 Right, yeah. 852 00:44:24,160 --> 00:44:25,620 Okay, so like RFC 1911 space. 853 00:44:27,900 --> 00:44:29,940 Just unallocated space in general, right? 854 00:44:30,660 --> 00:44:32,300 To my knowledge, they aren't. 855 00:44:32,740 --> 00:44:34,460 Obviously, because this is working, they aren't. 856 00:44:35,040 --> 00:44:37,400 I think that, and that's, by the way, 857 00:44:37,480 --> 00:44:40,160 totally where I don't want to go, guys, right? 858 00:44:40,260 --> 00:44:42,440 Like, that's the whole point that I'm here giving this talk. 859 00:44:42,680 --> 00:44:46,660 I don't want to blacklist unallocated IP space, right? 860 00:44:46,840 --> 00:44:50,520 I mean, I understand that's the next logical step in the, right? 861 00:44:50,700 --> 00:44:54,020 And there is actually a Maps RBL that does this. 862 00:44:54,080 --> 00:44:56,320 There's a Maps RBL that your Cisco router can consume 863 00:44:56,320 --> 00:44:58,440 that will actually, you know, 864 00:44:58,480 --> 00:45:00,260 if it's, you know, not, you know, 865 00:45:00,260 --> 00:45:03,080 valid IP address space that, you know, 866 00:45:03,180 --> 00:45:05,280 as defined by the Maps RBL, 867 00:45:05,540 --> 00:45:07,340 then we won't route it, right? 868 00:45:07,480 --> 00:45:09,740 And that's just, that scares the crap out of me. 869 00:45:09,820 --> 00:45:11,320 Like, I don't want to live in that world. 870 00:45:11,460 --> 00:45:13,120 And that's so totally why I'm here. 871 00:45:14,440 --> 00:45:17,460 But also, yeah, I don't think it's logistically feasible 872 00:45:17,460 --> 00:45:20,020 at this point because, you know, 873 00:45:20,040 --> 00:45:23,460 there's sort of a decentralized nature to, right? 874 00:45:23,580 --> 00:45:25,040 Like, one second. 875 00:45:25,260 --> 00:45:30,240 So let's say I'm the RIR and I give a whole block 876 00:45:30,260 --> 00:45:33,040 or a bunch of unallocated space to, you know, level three. 877 00:45:33,200 --> 00:45:35,280 And let's say level three doesn't use it for four years, right? 878 00:45:35,400 --> 00:45:36,620 Like, then what do you do? 879 00:45:38,040 --> 00:45:40,940 And then you have the problem with that same solution also. 880 00:45:41,440 --> 00:45:45,340 What happens when IPv6 gets big and you have spammers that are either, 881 00:45:45,560 --> 00:45:48,180 well, what happens until IPv6 gets big 882 00:45:48,180 --> 00:45:51,940 and you have spammers hiding behind IPv4, you know, NAT boxes? 883 00:45:52,520 --> 00:45:56,380 Or after IPv6 gets big and you have spammers hiding behind IPv4, 884 00:45:56,440 --> 00:45:58,400 you know, legacy boxes, right? 885 00:45:58,480 --> 00:45:59,400 So then what are you going to do? 886 00:45:59,460 --> 00:46:00,120 Are you going to say, 887 00:46:01,020 --> 00:46:04,780 well, if it's coming from the entire IPv6 network, 888 00:46:04,980 --> 00:46:06,220 I don't accept their mail. 889 00:46:07,480 --> 00:46:09,920 I think there are some really scary places we can go 890 00:46:09,920 --> 00:46:12,220 and I'd really appreciate not going there. 891 00:46:12,440 --> 00:46:14,000 So I'm getting the five-minute warning and I want 892 00:46:14,000 --> 00:46:15,740 to give the next speaker some time. 893 00:46:15,840 --> 00:46:19,840 But I understand I'm being taken to a question and answer room. 894 00:46:22,900 --> 00:46:24,060 Sounded ominous to me. 895 00:46:25,040 --> 00:46:27,720 So I'll meet you guys there if you guys want to come. 896 00:46:29,460 --> 00:46:30,080 Oh, wait. 897 00:46:30,260 --> 00:46:31,520 Which room am I going to? 898 00:46:33,920 --> 00:46:34,340 109. 899 00:46:34,720 --> 00:46:35,140 109.