1 00:00:00,000 --> 00:00:04,800 All right, good evening folks. Sorry about the delay, a little bit of a technical issue here, 2 00:00:04,920 --> 00:00:10,840 but no worries. So first of all, I'd like to welcome you to this particular brief. And what 3 00:00:10,840 --> 00:00:16,940 you're going to hear for the next 50 minutes is the first proof of concept tool for IPv6 and ICMPv6 4 00:00:16,940 --> 00:00:23,000 covert channels, and its name is VoodooNet. But before I do that, I have to say happy anniversary 5 00:00:23,000 --> 00:00:28,400 to my wife. Today is our anniversary, and God Almighty, she put up with the anniversary day 6 00:00:28,400 --> 00:00:33,900 coming to the con, right? So thank you, honey. And for those of you that are married, you know as 7 00:00:33,900 --> 00:00:38,520 well as I do, I'll be paying for this for a long time. All right, no worries. So let's kick this 8 00:00:38,520 --> 00:00:42,460 off. Here's the agenda, just kind of overview of what we're going to talk about today. We're going 9 00:00:42,460 --> 00:00:46,060 to do, I'm going to give you a quick snapshot of what VoodooNet is, and that way if you decide you 10 00:00:46,060 --> 00:00:50,560 don't like it, you want to leave and do something else. We're going to talk very briefly about IPv4 11 00:00:50,560 --> 00:00:55,520 and IPv6. How many of you went to the IPv6 brief this morning? Show of hands. Hey, that was a good 12 00:00:55,520 --> 00:00:58,380 brief. And I'll tell you, it's good because it kind of bridges the gap between IPv4 and IPv6. 13 00:00:58,400 --> 00:01:02,040 It bridges the gap from what I'm going to talk about and what they talk about, and it's kind of, 14 00:01:02,080 --> 00:01:05,960 you know, where do you make the match point? How did you get from A to B? They gave how you got 15 00:01:05,960 --> 00:01:10,200 from A. I'm going to give you how you're going to get to B. I'm going to talk a little bit about 16 00:01:10,200 --> 00:01:14,740 the RFCs, talk to you about some of the assumptions that I made while I was developing this 17 00:01:14,740 --> 00:01:19,720 software, talk to you about the test network that I used, and then all the slew of capabilities 18 00:01:19,720 --> 00:01:23,680 for VoodooNet, and you'll be able to see those through a live demo. Even though I had all this 19 00:01:23,680 --> 00:01:28,080 technical issue up here, I'm still going to do a live demo, or try to anyway. And then time 20 00:01:28,080 --> 00:01:28,340 pending. 21 00:01:28,400 --> 00:01:33,160 We'll have some questions. So here's a quick snapshot. It's a proof-of-concept covert channel 22 00:01:33,160 --> 00:01:40,200 tool that allows data to be passed in IP and ICMP v6 packets, specifically using the echo request 23 00:01:40,200 --> 00:01:46,080 and reply payload in the ICMP portion, and then in the IP portion, it actually uses flow label. 24 00:01:46,580 --> 00:01:53,480 It can be used as a relay. You can use it for a whole slew of good stuff. But the nice part about 25 00:01:53,480 --> 00:01:58,240 this tool, one of the cool features about it, is that you never identify the root who's sending the 26 00:01:58,240 --> 00:02:02,940 information, or who the information is actually going to. You're only sending it to a prefix and a 27 00:02:02,940 --> 00:02:06,480 subnet, you're sending it to a network, and you're going to let the router and everything do the 28 00:02:06,480 --> 00:02:10,500 rest of the work for you. And I'll explain and show you how well that's going to happen. So 29 00:02:10,500 --> 00:02:15,640 here's a quick snapshot of how I got from point A to point B. I had to identify the problem, and 30 00:02:15,640 --> 00:02:20,160 the problem, as some of you heard this morning, and some of you may know, is IPv4, right? We're 31 00:02:20,160 --> 00:02:25,180 running out of address space. Identify a need for IPv6. Who needs it? DoD wants it, and they're 32 00:02:25,180 --> 00:02:28,220 mandating it. Read some RFCs, you know, read some IPv6, and they're mandating it. Read some RFCs, you 33 00:02:28,220 --> 00:02:35,100 know, talk about this, kind of saw where maybe some holes may be. And then build the IPv6 test 34 00:02:35,100 --> 00:02:39,740 network, so that I can figure out whether my stuff's actually going to work or not. And then 35 00:02:39,740 --> 00:02:45,080 design VoodooNet, and design it to be RFC compliant. I don't want it to get nailed by anything 36 00:02:45,080 --> 00:02:50,120 along the way. So IPv4. As most of you know, and especially those who saw the brief this 37 00:02:50,120 --> 00:02:55,800 morning, there's a limited address space, and it's running out. Conservative guesstimations are 38 00:02:55,800 --> 00:02:57,720 somewhere between 2009 and 2016. 39 00:02:57,720 --> 00:03:02,340 Things like fiber to the home, all this cool stuff, always on IP, you know, it's depleting 40 00:03:02,340 --> 00:03:06,400 these addresses at a quick rate. Now, network address translation was kind of the answer to 41 00:03:06,400 --> 00:03:10,800 that, and it said, well, this will kind of slow the rate, you know, and as was briefed this 42 00:03:10,800 --> 00:03:15,800 morning, if you're in India, you know, you're 9 NAT levels deep. But it lacks specific security 43 00:03:15,800 --> 00:03:19,300 standards. There's no embedded security. All the security issues were added on top of that. 44 00:03:19,960 --> 00:03:25,620 There's a push to move to IPv6, and it's been mandated by the DoD to move to IPv6 by 2008. 45 00:03:26,380 --> 00:03:27,020 Pretty close. 46 00:03:27,760 --> 00:03:34,340 Cool thing about IPv4, there was covert channel capabilities. IPv6, or IP Next Generation. 47 00:03:35,240 --> 00:03:40,020 Proposed standard happened way back in November 17th, 1994, and there's this huge address space, 48 00:03:40,160 --> 00:03:45,720 right? Your address is now 128 bits long. It's a huge address space. There's security not only in 49 00:03:45,720 --> 00:03:50,380 the numbers, like, you know, to scan for an address is going to take you, what, like 500 million 50 00:03:50,380 --> 00:03:55,400 years, right? Who's got that much time? There's inherent security standards right down at the 51 00:03:55,400 --> 00:03:57,700 packet level. We're talking about packet level authentication. So, you know, there's security 52 00:03:57,720 --> 00:04:02,420 standards, you know, things like IPsec, if you choose to implement them. There's stateless 53 00:04:02,420 --> 00:04:06,540 auto-configuration, which is cool. It gets rid of all the DHCP stuff, and, you know, you just have 54 00:04:06,540 --> 00:04:10,460 this router kicking out these advertisements and say, hey, here's your prefix and subnet. 55 00:04:10,520 --> 00:04:14,180 Configure yourself. Hey, that's good for me because that means covert channel capability. 56 00:04:15,400 --> 00:04:19,700 And as the last bullet states, it still has covert channel capabilities, mainly this tool, 57 00:04:21,620 --> 00:04:25,540 VoodooNet. Okay, so, as you know, you got to go through the RFCs if you want to develop tools 58 00:04:25,540 --> 00:04:29,780 to kind of circumvent some things. And one of the first things that I looked at was this 59 00:04:29,780 --> 00:04:36,000 2119 back in March 1997, and it says, hey, here's the terminology that we're going to use when we 60 00:04:36,000 --> 00:04:42,180 put together these RFCs. What did I key in on? The word must. Okay, so, keep that in mind. 61 00:04:42,220 --> 00:04:47,120 Must, you know, has a few other definitions, require, shall. Basically, it says it must be 62 00:04:47,120 --> 00:04:52,920 there, right? The RFC right here, 2119, tells you what must means. What does that mean for me? 63 00:04:54,760 --> 00:04:55,480 RFC 2460. 64 00:04:55,540 --> 00:05:00,340 RFC 2460, December 1998, talks about IPv6 specification. Now, one of the fields I thought I 65 00:05:00,340 --> 00:05:07,020 might be able to use is the traffic class, okay? However, the RFC tells me it must not be 66 00:05:07,020 --> 00:05:11,160 assumed that what came out of one end is what's going to show up at the other. That means that 67 00:05:11,160 --> 00:05:18,500 piece of the covert channel goes away. What it does tell me, though, is in RFC 3697, the flow 68 00:05:18,500 --> 00:05:23,860 label. It must be passed by all routers, whether you, you know, want to do anything with flow 69 00:05:23,860 --> 00:05:24,400 label or not. 70 00:05:24,520 --> 00:05:25,520 To me, that's a good thing. 71 00:05:25,540 --> 00:05:33,120 That means covert channel. So, then we look at RFC 4443, relatively recent, March 2006, and it 72 00:05:33,120 --> 00:05:38,880 talks all about ICMPv6, echo request, replies, error messages, all sorts of good stuff, and what 73 00:05:38,880 --> 00:05:45,380 does it say? Every node must implement an echo responder function. What does that mean to me? 74 00:05:45,760 --> 00:05:48,420 Potential covert channel, and I'm going to show you how that's going to work here in a little 75 00:05:48,420 --> 00:05:53,640 bit. Okay, so, here's some assumptions that I made before I started developing this tool. Very 76 00:05:53,640 --> 00:05:55,520 first assumption was that IPv6 is not going to work. So, I'm going to show you how that's going to 77 00:05:55,540 --> 00:06:00,620 work. IPv6 traffic was going to be allowed because RFC 4443 told me it was going to be. It must be 78 00:06:00,620 --> 00:06:06,740 there. I must have cooperating endpoints. So, my sender and my receiver, they got to have some 79 00:06:06,740 --> 00:06:10,380 things in common, all right? And, and so, they both need to be cooperating. They got to pass 80 00:06:10,380 --> 00:06:15,380 keys. They got to do all sorts of good stuff. It takes advantage of the dual stack, and, and I 81 00:06:15,380 --> 00:06:19,480 want to take advantage of the dual stack so that I could perform IPv6 over 4 tunneling. And what 82 00:06:19,480 --> 00:06:25,060 this allowed me to do was to get away from, here's a router, here's a router. Not only do I control 83 00:06:25,060 --> 00:06:29,220 them, but I control the traffic that passes back and forth, right? How realistic is that? But, if I 84 00:06:29,220 --> 00:06:35,560 can extend my tunnel all the way over, say, to the UK, and let it pass on some six-bone routers over 85 00:06:35,560 --> 00:06:40,200 there, if it doesn't pass that kind of test, well, then there's some things that are going to be 86 00:06:40,200 --> 00:06:43,960 changed along the way. Maybe it's mutable. Maybe my fields and my assumptions weren't correct to 87 00:06:43,960 --> 00:06:48,760 begin with. But, first and foremost, one of the other things that I looked at was this still 88 00:06:48,760 --> 00:06:54,180 maturing IPv6 protection technology. It's just not there yet. It's not fully developed. So, here 89 00:06:54,180 --> 00:06:55,040 we're talking about intrusion. It's not fully developed. So, here we're talking about 90 00:06:55,040 --> 00:06:59,200 intrusion detection systems, intrusion prevention systems, firewalls for filtering, things like 91 00:06:59,200 --> 00:07:02,620 that. Right now, you can kind of get away from this tunneling because you need to have this 92 00:07:02,620 --> 00:07:08,480 protocol 41 enabled so that you can get these packets to come through that are IPv6 over IPv4 93 00:07:08,480 --> 00:07:14,020 encapsulated. So, here's the test networks. There were two of them that were developed. The 94 00:07:14,020 --> 00:07:19,460 very first one was a reflash SOHO Linksys router, WRT54G. Some of you may be familiar with 95 00:07:19,460 --> 00:07:24,020 that. I have one sitting up here on the table today. And that allowed me to do IPv6 over 4 96 00:07:24,020 --> 00:07:28,140 tunneling. That way, I didn't need to take a computer and make it a router or use any kind of 97 00:07:28,140 --> 00:07:31,980 tunneling on the computer itself. I now have a mobile network. I can pick it up and go and plug 98 00:07:31,980 --> 00:07:39,580 in. I also used a slick IPv6 network. Now, this obviously is a controlled environment. So, you 99 00:07:39,580 --> 00:07:43,940 know, you can talk about whether that was really test worthy or not. No worries. All right. So, 100 00:07:43,980 --> 00:07:48,940 this is kind of what it looked like. Here's a graphical depiction of what the IPv6 over 4 101 00:07:48,940 --> 00:07:52,580 tunneling looks like. So, you see the two laptops. Those are the two endpoints cooperating, no 102 00:07:52,580 --> 00:07:54,000 doubt. And the other one is the IPv6 over 4 tunneling. So, you see the two laptops. Those are the 103 00:07:54,000 --> 00:07:57,980 routers that are sitting right ahead of them. Those are the Linksys WRT54Gs. Got two of them. 104 00:07:58,160 --> 00:08:03,900 And they've been reflashed with OpenWRT. All the IPv6 packages put in there. And now, they can 105 00:08:03,900 --> 00:08:08,440 handle my dual-stack traffic for me. And it'll encapsulate and send it out. So, that means on 106 00:08:08,440 --> 00:08:14,520 the inside from that router in, I'm talking IPv6 only. I don't need IPv4 anymore. And what 107 00:08:14,520 --> 00:08:19,080 that's going to do is it's going to create a tunnel over to BT Exact over in the UK. You know, 108 00:08:19,100 --> 00:08:22,680 it does some magic over there. Passes through the six phone. Comes out on the other side, the 109 00:08:22,680 --> 00:08:23,800 Hurricane Electric over there. So, you know, it's going to do some magic over there. Passes 110 00:08:23,800 --> 00:08:23,980 through the six phone. Comes out on the other side, the Hurricane Electric over there. So, 111 00:08:24,000 --> 00:08:24,140 the other side, the Hurricane Electric over there. So, you know, it's going to do some magic over 112 00:08:24,140 --> 00:08:29,540 in California. And then goes off to my buddy's house who's the other end node. So, 113 00:08:29,580 --> 00:08:33,860 here's an eye chart for you, if you can decipher it, good on you. This depicts the 114 00:08:35,280 --> 00:08:39,720 controlled IPv6 network. And so, I got three autonomous sites up here. I've got Border 115 00:08:39,720 --> 00:08:44,800 Gateway Protocol running. I got IGRP running for the internal stuff. I got Ripv6. All sorts 116 00:08:44,800 --> 00:08:49,940 of good stuff here going on. And this is a Windows and a Linux using Linux as a router. 117 00:08:50,060 --> 00:08:53,980 Using Windows 2003 Server as a router. We've got Cisco routers in there. We've got some 118 00:08:53,980 --> 00:09:00,000 all sorts of good stuff. So now we get into the actual development. So VoodooNet was written 119 00:09:00,000 --> 00:09:03,720 in C using C libraries. Didn't want to use anything else because I want it to be portable 120 00:09:03,720 --> 00:09:07,400 from system to system that can handle it. Or if I statically compile it, then I can 121 00:09:07,400 --> 00:09:12,060 take it off to another system. The development and the test system, those are updated weekly, 122 00:09:12,360 --> 00:09:17,020 kernel included, because again, I don't want to be tied to a specific Fedora version or 123 00:09:17,020 --> 00:09:23,960 a specific kernel version. No, I want this to be able to live long and prosper. And 124 00:09:23,960 --> 00:09:28,780 live, backtrack live CD in a wax CD. So the bottom line is it's been tested on a couple 125 00:09:28,780 --> 00:09:35,740 different implementations and it works successfully. And so now we have some more technical problems 126 00:09:35,740 --> 00:09:40,860 here. All right, there we go. So this is an ethereal screenshot capture. I'm sure most 127 00:09:40,860 --> 00:09:44,580 of you know what this is. And every field that you see that has an arrow next to it 128 00:09:44,580 --> 00:09:49,840 is what VoodooNet can manipulate. And specifically, where you see the purple, pink, depending 129 00:09:49,840 --> 00:09:53,900 on your eye color, that particular arrow deals with the specific story. 130 00:09:53,900 --> 00:09:57,120 So this is the channel that's being used. So you'll see that the flow label up in the 131 00:09:57,120 --> 00:10:01,800 IP header is being used for one. And down at the very bottom is the data portion of 132 00:10:01,800 --> 00:10:06,380 this particular ICMP packet that's being used for the other. Now you'll also see highlighted 133 00:10:06,380 --> 00:10:11,860 down below the little square. And this is what it's supposed to look like, Microsoft 134 00:10:11,860 --> 00:10:15,380 Windows ping packet. So if you were to ping in Windows, it sends out this nice, cool, 135 00:10:15,500 --> 00:10:20,120 you know, A through W and then it starts over. And so one of the things, one of the cool 136 00:10:20,120 --> 00:10:23,520 features about VoodooNet is that it replicates this for every packet. So if you're only sending 137 00:10:23,520 --> 00:10:26,900 one byte at a time, it's going to put it in the front and it's going to shift everything 138 00:10:26,900 --> 00:10:30,840 over one. And so when this starts going through things that say, well, I'm going to look at 139 00:10:30,840 --> 00:10:35,340 payload and I want to see what it looks like. Statistical analysis will say, oh, this is 140 00:10:35,340 --> 00:10:41,120 an incrementing ASCII. No worries. Don't worry about this packet. Okay. So that's how that 141 00:10:41,120 --> 00:10:47,920 particular piece works. VoodooNet capabilities. Flags, flags, and more flags. Got more flags 142 00:10:47,920 --> 00:10:52,580 than you can read about because every new idea became a new flag. So you put a minus D on 143 00:10:52,580 --> 00:10:53,500 there. That's going to be the data. And then you're going to see that the data is going to 144 00:10:53,500 --> 00:10:56,800 be sent to the destination address. And again, you only need to send it to a prefix, a subnet, 145 00:10:56,840 --> 00:11:01,420 and a junk host. Doesn't matter what it is. And it's going to get there. It can receive and 146 00:11:01,420 --> 00:11:05,460 it can relay. So not only do you, can you have two cooperating endpoints, but you can have 147 00:11:05,460 --> 00:11:09,020 a third, a fourth, a fifth, whatever the case is. And your packet will just continue to 148 00:11:09,020 --> 00:11:13,480 bounce through all of these relays until it finally gets to its destination. You can send an 149 00:11:13,480 --> 00:11:18,680 echo reply as your, as your, whatever you want to send your data out in. Or you can send an 150 00:11:18,680 --> 00:11:22,680 echo request. Doesn't matter which one you send. It'll still go out in flow label. It'll still go 151 00:11:22,680 --> 00:11:25,700 out in data portion. Doesn't matter. So you can toggle between which one you really want to do. 152 00:11:26,600 --> 00:11:31,140 You can send a keyboard. So you just type stuff on a keyboard, almost like a poor man's chat. 153 00:11:31,300 --> 00:11:34,900 Type it on a keyboard. Hit enter. Off it goes to your neighbor's house. And that way you're 154 00:11:34,900 --> 00:11:39,680 passing data. You can also send a file. Now the file is going to be a text file. And it's going 155 00:11:39,680 --> 00:11:42,700 to break this thing apart. It's going to ship it out in the packets. You know, however many 156 00:11:42,700 --> 00:11:48,140 bytes you decide at a time. The minus I option gives you the interface. As with most Linux tools, 157 00:11:48,280 --> 00:11:51,680 you decide if you've got multiple interfaces on the system, I only want to send it on a certain 158 00:11:51,680 --> 00:11:52,480 one. There you go. 159 00:11:52,680 --> 00:11:56,860 Minus I option. And if you don't put the minus I in there, VoodooNet will kick back and it'll 160 00:11:56,860 --> 00:12:01,140 say, hey, you need to enter an interface. And it'll tell you what the available IPv6 interfaces 161 00:12:01,140 --> 00:12:08,320 are. The minus G for the gateway MAC address. Now this is optional. You don't need it. If you 162 00:12:08,320 --> 00:12:12,380 just let VoodooNet run on its own and you've got router advertisers coming out, it'll withdraw 163 00:12:12,380 --> 00:12:16,120 the gateway address out of that. But if you happen to know what it is, it'll expedite your process 164 00:12:16,120 --> 00:12:18,960 a little bit. And then you can just go ahead and feed it in there. But it is an optional flag. 165 00:12:19,620 --> 00:12:22,300 The minus B flag is also optional. And it says, 166 00:12:22,680 --> 00:12:26,840 how many bytes do I want to send in this packet? Now if you're sending a flow label, you're only 167 00:12:26,840 --> 00:12:30,460 going to send one byte at a time. But if you're actually going to use the echo request or reply, 168 00:12:30,900 --> 00:12:35,440 you can say, I want to send one byte at a time. I want to send all 32. It's locked at 32 bytes 169 00:12:35,440 --> 00:12:42,640 right now. Although we've sent up to 1440 in one packet with no problem. So the minus B flag, 170 00:12:42,700 --> 00:12:48,940 again, being optional. The minus T flag is also optional. And it says, how much delay between my 171 00:12:48,940 --> 00:12:52,660 packets do I want to implement here? So I want to send 10 bytes. How many bytes do I want to send 172 00:12:52,680 --> 00:12:56,300 10 bytes out? And then I want to wait two minutes before I send my next packet. So now you can 173 00:12:56,300 --> 00:13:01,020 throttle by bytes and by time. Again, it slips you underneath the radar. Now you've just got this 174 00:13:01,020 --> 00:13:05,800 random packet going out of the wire. Kind of hard to track down. And you have a minus X flag. 175 00:13:06,020 --> 00:13:09,840 Now this is a four-digit key that both the receiver and the sender must have. And what this 176 00:13:09,840 --> 00:13:15,240 allows you to do is the guy who's receiving all the data on it, or gal, I don't want to, okay, so 177 00:13:15,240 --> 00:13:19,720 either way, whoever's receiving the data on their computer can have multiple windows open. 178 00:13:20,400 --> 00:13:22,200 VoodooNet requires, you know, multiple windows. 179 00:13:22,680 --> 00:13:26,000 And if you're receiving, you can say, well, I want to receive in this window with a key of one, two, 180 00:13:26,040 --> 00:13:30,420 three, four. And I want to receive in this window with a key of 99, 99. And I want to receive, you 181 00:13:30,420 --> 00:13:35,340 know, with key 69, 69 in this window. And what that allows you to do is multiple sources can now 182 00:13:35,340 --> 00:13:40,420 pour into one receiver. Or you can have multiple streams coming off of one sender. They're all 183 00:13:40,420 --> 00:13:43,220 going to get to one receiver. And what will happen is they'll just parse between the windows. 184 00:13:43,320 --> 00:13:46,780 It'll decide which one it needs to go to. And that way all your data coming into the computer 185 00:13:46,780 --> 00:13:51,080 doesn't just flow into one window only. So you can specify that. It doesn't have anything to do 186 00:13:51,080 --> 00:13:52,640 with the way it's encrypted or anything like that. 187 00:13:53,400 --> 00:13:58,260 Now, the minus O is a SpongeBob mode. It answers everything. Now, SpongeBob, I'll tell you, 188 00:13:58,300 --> 00:14:02,580 is a product of too many Mountain Dews and staying up too late programming at night. And 189 00:14:02,580 --> 00:14:06,880 essentially what it does is it will answer every ping request that comes into the network. 190 00:14:07,060 --> 00:14:12,020 So you want to, of course, this is for the ethical folks in the crowd. You can part this out 191 00:14:12,020 --> 00:14:18,180 in your DMZ and actually stop this tool in its tracks. Because any request that it gets, it 192 00:14:18,180 --> 00:14:22,580 will kick back a reply. So essentially any IPv6 address that gets pinged on your network 193 00:14:22,680 --> 00:14:26,020 exists, whether it does or not. And I'll show you how that works in a minute. 194 00:14:26,560 --> 00:14:31,580 You have the minus V flag. Now, that's a verbose flag. And you can use that with the minus O. 195 00:14:31,740 --> 00:14:36,880 And it'll tell you who the requests are coming from and who, what address they were going to on 196 00:14:36,880 --> 00:14:40,360 the inside. So if you wanted to run, you don't have to run that. It's an optional flag. And you 197 00:14:40,360 --> 00:14:45,300 can also use this on relay mode. So if you're in relay mode, right, your computer's just going to 198 00:14:45,300 --> 00:14:49,680 keep passing packets along, whether it's a request or a reply. And you never see what's 199 00:14:49,680 --> 00:14:52,640 actually being passed. But if you want to see what's being passed, you put a minus V on the 200 00:14:52,680 --> 00:14:55,720 end of it. And now you can read all the text that's coming across your computer that's being 201 00:14:55,720 --> 00:15:00,760 forwarded to some other party. And then finally, last is the minus H, which is the help menu, 202 00:15:01,140 --> 00:15:06,920 which basically just describes everything I just said. Okay. So moving right along. Voodoo 203 00:15:06,920 --> 00:15:11,000 net capabilities again. Now, this is kind of what it looks like if you were to send, receive or 204 00:15:11,000 --> 00:15:15,620 relay data. This is basically what your command line options would look like. You have that minus 205 00:15:15,620 --> 00:15:21,200 D flag that's going to say, here's the destination subnet prefix and then junk host that I'm 206 00:15:21,200 --> 00:15:21,720 going to send to. 207 00:15:22,300 --> 00:15:22,660 Minus D flag that's going to say, here's the destination subnet prefix and then junk host that I'm 208 00:15:22,660 --> 00:15:27,580 Minus I again, you know, the eth0 or eth1, whatever happens to be your interface on the Linux system at the moment. 209 00:15:28,040 --> 00:15:32,640 The minus X is the key that's going to be used, and that needs to be, again, on the sender and the receiver side. 210 00:15:32,920 --> 00:15:37,500 And the minus K for the first option simply says, I'm going to type some text on the keyboard and want to hit enter. 211 00:15:37,700 --> 00:15:39,800 That's going to get packed up in a packet and shipped forward. 212 00:15:40,260 --> 00:15:45,240 To receive data, it'll receive either request or reply. 213 00:15:45,400 --> 00:15:46,160 It doesn't matter which one. 214 00:15:46,380 --> 00:15:51,400 And it's just very blanket, you know, minus eth0, and then you say what flag or what key it is 215 00:15:51,400 --> 00:15:53,520 that's supposed to be coming into that particular window. 216 00:15:53,640 --> 00:15:59,440 So, again, you can open up multiple windows and say, you know, here's five receivers I have going, 217 00:15:59,540 --> 00:16:01,440 and they're all going to receive data in a different window. 218 00:16:02,100 --> 00:16:05,460 And then to relay data, you know, it's almost like sending data, 219 00:16:05,600 --> 00:16:08,500 except you're going to relay either an echo request or an echo reply. 220 00:16:08,640 --> 00:16:10,140 Right now, they're split apart. 221 00:16:10,300 --> 00:16:12,640 It doesn't do them both in one single deal. 222 00:16:13,400 --> 00:16:18,380 So you can decide whether you're going to be a request relay or a reply relay, either one of those two. 223 00:16:19,040 --> 00:16:21,380 And, again, you're sending to a pre-send. 224 00:16:21,400 --> 00:16:22,020 You're going to be fixing the subnet. 225 00:16:23,920 --> 00:16:26,040 So throughput versus covertness, right? 226 00:16:26,100 --> 00:16:27,160 So this is always one of these questions. 227 00:16:27,300 --> 00:16:29,120 How much data can you actually push out there? 228 00:16:29,240 --> 00:16:33,240 Well, you know, the more data you push out, the less covert you are. 229 00:16:33,360 --> 00:16:36,540 And that's kind of the point behind a covert channel is, you know, slipping some data in there 230 00:16:36,540 --> 00:16:38,860 so it's under the wire, it's not being seen or heard. 231 00:16:39,120 --> 00:16:42,380 So right now, as I stated before, this is locked at sending 32 bytes. 232 00:16:42,480 --> 00:16:44,020 So you can send anywhere between 1 and 32. 233 00:16:44,720 --> 00:16:48,540 And so if you're only sending one, you know, one byte at a time, well, you're pretty covert, right? 234 00:16:48,600 --> 00:16:50,580 The chances of that getting caught somewhere are pretty slim. 235 00:16:51,040 --> 00:16:51,580 Possibly none. 236 00:16:52,020 --> 00:16:55,640 But if you're sending 32 at a time and you're sending them real fast, you know, 237 00:16:55,660 --> 00:16:57,680 your chances of getting caught have increased significantly. 238 00:16:57,860 --> 00:17:03,560 Now, again, every packet that leaves your computer leaves with a different address, okay? 239 00:17:03,660 --> 00:17:05,960 So it definitely belongs to this network, right? 240 00:17:06,020 --> 00:17:08,180 But good luck filtering that address out and saying, no, 241 00:17:08,580 --> 00:17:10,700 this address is not going to communicate on my network. 242 00:17:10,880 --> 00:17:15,020 Good luck with that because every single packet that leaves that single host all comes 243 00:17:15,020 --> 00:17:18,900 out with a different last 64, and you'll be able to see that when I run this in ethereal. 244 00:17:21,420 --> 00:17:23,720 So sending data and receiving data. 245 00:17:23,860 --> 00:17:27,420 So what you see on this slide is kind of what the sender and receiver have to have matched 246 00:17:27,420 --> 00:17:29,680 up in order for this to work successfully. 247 00:17:30,060 --> 00:17:32,640 So to send data, you're actually going to push data out of the network, 248 00:17:32,720 --> 00:17:34,720 either through text on the keyboard or file. 249 00:17:35,240 --> 00:17:39,100 And it's got this very, very sophisticated encryption scheme called ROT13, 250 00:17:39,580 --> 00:17:41,020 for those of you who are familiar with it, right? 251 00:17:41,300 --> 00:17:45,280 Okay. So this is really nothing more than just to obscure plain packet analysis, right? 252 00:17:45,320 --> 00:17:49,760 If I just happen to grab this thing out of ethereal and I start reading, this is secret data, right? 253 00:17:49,800 --> 00:17:50,520 That's probably an issue. 254 00:17:50,580 --> 00:17:53,700 However, ROT13, you know, just kind of skips by and, you know, 255 00:17:53,720 --> 00:17:55,440 may not draw too much attention to you. 256 00:17:56,380 --> 00:18:00,200 You can send it again out and request payload or reply payload, it doesn't matter. 257 00:18:00,360 --> 00:18:02,020 And you can throttle by bytes or by time. 258 00:18:02,060 --> 00:18:05,520 Now, the receiver on the other end, that's that minus R0 option, and they're going 259 00:18:05,520 --> 00:18:06,960 to listen for neighbor solicitations. 260 00:18:07,420 --> 00:18:10,080 Now, it won't answer every neighbor solicitation that comes in. 261 00:18:10,200 --> 00:18:12,440 And for those of you that might not be familiar, I'll back up for a second. 262 00:18:13,180 --> 00:18:15,640 Address resolution protocol in IPv6 has gone away. 263 00:18:15,820 --> 00:18:18,880 And what's taken its place is neighbor solicitation and advertisement. 264 00:18:19,800 --> 00:18:25,180 You can no longer actively do, you know, art poisoning, if you will, 265 00:18:25,280 --> 00:18:28,440 where you're constantly sending out, hey, this is me over here, this is me over here. 266 00:18:28,600 --> 00:18:31,640 If you send out a neighbor advertisement and nobody asks for it, 267 00:18:31,700 --> 00:18:32,940 it just gets discarded, nobody cares. 268 00:18:33,480 --> 00:18:36,820 So this neighbor solicitation has to come out and it says, hey, who owns this address? 269 00:18:38,020 --> 00:18:42,500 If it's a packet that VoodooNet sent, then VoodooNet will answer and say, oh, yeah, 270 00:18:42,540 --> 00:18:43,240 that's me over here. 271 00:18:43,600 --> 00:18:46,680 So if you're on a switch, it doesn't matter because that goes out to, you know, 272 00:18:46,720 --> 00:18:48,220 every port says, hey, who's got this address? 273 00:18:48,540 --> 00:18:48,860 VoodooNet will answer. 274 00:18:48,860 --> 00:18:49,760 VoodooNet pulls it off the wire. 275 00:18:49,920 --> 00:18:53,000 The other guy never receives an ICMP host, destination, or reachable, 276 00:18:53,060 --> 00:18:54,800 or anything along those lines because the packet's now gone. 277 00:18:54,860 --> 00:18:57,700 It's been sucked up and it's being deciphered onto a host somewhere. 278 00:18:58,020 --> 00:19:03,140 So, again, this gets away from having to send to a specific host on one end or the other. 279 00:19:03,500 --> 00:19:05,240 The network does all the work for you. 280 00:19:05,800 --> 00:19:09,540 Now, if it doesn't belong to VoodooNet, if it's not something that VoodooNet actually put together 281 00:19:09,540 --> 00:19:12,360 and parsed out, then it's not going to answer it and it's just going to flow on by. 282 00:19:12,580 --> 00:19:13,480 Nobody answers it. 283 00:19:13,520 --> 00:19:14,500 Maybe somebody else answers it. 284 00:19:14,520 --> 00:19:15,000 It doesn't really matter. 285 00:19:16,060 --> 00:19:18,440 Again, it receives the inbound request or replies. 286 00:19:18,860 --> 00:19:22,000 And it parses data to separate windows depending on what your key is. 287 00:19:23,380 --> 00:19:28,520 Now, here's kind of an interesting twist on this is that you can actually pull data into 288 00:19:28,900 --> 00:19:32,080 or out of a network with what looks like a legitimate ping session. 289 00:19:32,500 --> 00:19:35,540 And so what'll happen is you send this request into the network. 290 00:19:35,700 --> 00:19:39,620 And if that means something to VoodooNet on the inside, it'll say, oh, that's my packet. 291 00:19:39,780 --> 00:19:44,780 I will take this and I will send you in return one byte of data in flow label. 292 00:19:45,120 --> 00:19:48,560 Now, the echo request and reply, you read the RFC and it says, 293 00:19:48,560 --> 00:19:54,340 if I send you a request, your reply needs to be identical or I'm not going to accept it, right? 294 00:19:54,460 --> 00:19:55,980 And so you start getting all sorts of weird errors. 295 00:19:56,200 --> 00:20:00,780 And this is where the IP layer for IPv6 comes into play for this particular covert channel. 296 00:20:01,000 --> 00:20:04,420 It tucks it up into flow label and the rest of the packet is identical. 297 00:20:04,740 --> 00:20:08,580 The ID number, the sequence number, the payload, everything is identical. 298 00:20:09,400 --> 00:20:13,100 And again, so this is how this particular thing, and it does some weird stuff 299 00:20:13,100 --> 00:20:17,500 on the other side to decipher it, you know, it mucks with the last part of the 64 300 00:20:17,500 --> 00:20:18,540 with the actual address. 301 00:20:18,900 --> 00:20:23,320 And it says, you know, hey, if I take this part of the address and this part and I add my key 302 00:20:23,320 --> 00:20:27,240 to it and it actually equals this piece over here, then that's my packet and I need to respond to it 303 00:20:27,240 --> 00:20:28,240 or I need to decipher it. 304 00:20:28,380 --> 00:20:30,500 So you're not just going to get every packet that flies on by. 305 00:20:32,180 --> 00:20:33,860 Again, you can also use this as a relay. 306 00:20:34,000 --> 00:20:37,020 So you can get multiple parties involved, three, four parties, whatever the case is. 307 00:20:37,500 --> 00:20:40,560 And again, it listens for this neighbor solicitation comes in. 308 00:20:40,660 --> 00:20:45,640 It will spoof the neighbor advertisement and it will, you know, it will relay whether it is a request 309 00:20:45,640 --> 00:20:47,260 or reply depending on what mode it's in. 310 00:20:49,060 --> 00:20:52,780 So to test this thing, to validate the packets or survive on a Slick-6 network, 311 00:20:53,000 --> 00:20:54,680 that's where the Slick-6 piece came in. 312 00:20:54,720 --> 00:20:58,000 We need to see if anything was going to get mutated along the way and if it was, 313 00:20:58,140 --> 00:20:59,780 go back to the drawing board and start over. 314 00:21:00,780 --> 00:21:03,880 Validate the packets or survive in the wild, basically in an uncontrolled environment. 315 00:21:05,080 --> 00:21:11,840 Some of the initial first testing I did on this, it passed through 17 hops, 15 of those, 316 00:21:11,880 --> 00:21:14,440 which were from the UK back into the United States. 317 00:21:14,980 --> 00:21:16,360 The packet survived fine. 318 00:21:16,440 --> 00:21:18,300 That tells me, hey, this thing is going to work. 319 00:21:18,560 --> 00:21:20,040 That's a pretty uncontrolled environment. 320 00:21:20,220 --> 00:21:24,080 I have no idea what's happening between the UK and California out on the sixth mode, 321 00:21:24,160 --> 00:21:24,880 whatever the case is. 322 00:21:25,380 --> 00:21:29,840 It still has not been tested for survivability, though, in an IPv6 production environment. 323 00:21:30,060 --> 00:21:33,620 By this IPv6 production environment, I'm looking for something that's got firewall rules, 324 00:21:33,900 --> 00:21:36,620 some sort of IDS setup, IPS, things like that. 325 00:21:37,080 --> 00:21:40,660 Don't know how it's going to survive in that kind of a network yet and then once I figure that out, 326 00:21:40,740 --> 00:21:43,420 go through and modify the tool accordingly. 327 00:21:44,440 --> 00:21:47,040 So this is just kind of the results that I talked to you about earlier, 328 00:21:47,040 --> 00:21:52,500 use a couple of different tunnel brokers for testing in order to further push the packet out 329 00:21:52,500 --> 00:21:53,580 out of a controlled environment. 330 00:21:54,740 --> 00:21:57,700 Larger files are broken up just like the protocol says they should be. 331 00:21:57,780 --> 00:22:02,020 If it's too large, it will start breaking it up and push it out in different packets and, you know, 332 00:22:02,040 --> 00:22:04,380 send as small as one byte per packet every five minutes. 333 00:22:04,520 --> 00:22:05,820 Everything survived fine. 334 00:22:09,220 --> 00:22:13,540 Okay, so now it's demo time and what I'm going to show you on this particular piece right here, 335 00:22:13,600 --> 00:22:15,240 this is what the demo network looks like. 336 00:22:15,320 --> 00:22:16,200 It's a single WRF. 337 00:22:17,020 --> 00:22:22,220 It's an OpenWRT 54G router and it's been flashed with OpenWRT and it's running router advertisements 338 00:22:22,220 --> 00:22:26,220 both out of the WAN port and out of the LAN port and then of course you're tied together in the middle 339 00:22:26,220 --> 00:22:31,960 to your routing table just to kind of replicate a very, very small network right here and you can read 340 00:22:31,960 --> 00:22:37,520 through that right there to show you, you know, what IP address is what and so barring any questions 341 00:22:37,520 --> 00:22:40,500 before I jump into the demo, we'll go ahead and jump in there. 342 00:22:40,600 --> 00:22:41,680 Yes, sir, way in the back. 343 00:22:44,100 --> 00:22:45,780 The slick IPv6 network. 344 00:22:46,000 --> 00:22:46,960 That was something. 345 00:22:47,020 --> 00:22:55,040 Cisco routers, some 2610s, 2650s, you know, flashed with the firmware that would allow it to be able to pass IPv6. 346 00:22:55,200 --> 00:22:58,680 Their IP is enabled basically and pass the IPv6 traffic. 347 00:22:59,020 --> 00:23:04,580 And so essentially what I'm running right here is it's not quite a slick IPv6 network but we're not using the IPV. 348 00:23:04,640 --> 00:23:05,800 I'm not using any IPv4. 349 00:23:06,000 --> 00:23:07,500 It's still pushing out DHCP. 350 00:23:07,660 --> 00:23:08,900 It's just not being used in this instance. 351 00:23:09,340 --> 00:23:10,280 Does that answer your question? 352 00:23:12,300 --> 00:23:13,320 Oh, oh, right, right. 353 00:23:13,400 --> 00:23:14,540 So slick as opposed to what? 354 00:23:14,620 --> 00:23:17,000 So slick as opposed to IPv4. 355 00:23:17,000 --> 00:23:18,000 IPv6 over 4 tunneling. 356 00:23:18,500 --> 00:23:19,200 Okay, perfect. 357 00:23:20,120 --> 00:23:20,840 Anything else? 358 00:23:23,120 --> 00:23:24,320 No hands, no hands. 359 00:23:24,400 --> 00:23:24,720 Okay, good. 360 00:23:24,800 --> 00:23:30,020 So I'm going to jump into the demo and as you know, my last name is Murphy and Murphy's Law is alive and well, trust me. 361 00:23:30,240 --> 00:23:35,840 And so you get to suffer through all the typos and things that I'll make along the way, but we'll get through it all. 362 00:23:50,800 --> 00:23:54,740 Okay, so the first thing that you're going to see here is a very loud microphone. 363 00:23:55,120 --> 00:23:57,800 And so I'm running Fedora Core 5 inside of VM. 364 00:23:59,600 --> 00:24:04,600 And we'll come up here and show you this right here. 365 00:24:04,680 --> 00:24:09,500 So this is basically just pinging to the other side of the network and that's this box over here on this side. 366 00:24:09,840 --> 00:24:16,500 And this is the Linux that's running Fedora Core 4 and you're not going to see very much happening in there right now. 367 00:24:16,500 --> 00:24:17,080 Right yet. 368 00:24:17,800 --> 00:24:21,980 And so that's all that this is doing right now, just basically showing you survivability back and forth between the networks. 369 00:24:23,100 --> 00:24:24,720 And this is what it's going to look like. 370 00:24:24,820 --> 00:24:27,380 It does have an IPv4 address, but again, it's not being used. 371 00:24:28,060 --> 00:24:30,940 So what you see is the 2003, 1972, so on and so on. 372 00:24:30,980 --> 00:24:32,220 That's the actual IPv6 address. 373 00:24:32,400 --> 00:24:42,580 Now, when I first started programming this, it became very painful to type these addresses in, which is why I went ahead and went into the whole let's truncate this thing and get it where it's a little more livable. 374 00:24:42,960 --> 00:24:46,480 So I'm just sending it again to a, you know, the prefix and the subheading. 375 00:24:46,500 --> 00:24:47,380 And then I'm sending it back to the subnet and then a junk host. 376 00:24:48,340 --> 00:24:49,700 All right, so we'll get rid of this window. 377 00:24:55,180 --> 00:25:05,100 Okay, so the first thing that we're going to do now, what you'll see on this is that my sender windows are white and my receiver windows are going to be a green, a black and green window. 378 00:25:05,200 --> 00:25:08,900 Okay, so that's going to happen between both hosts just so, you know, for a little bit of continuity. 379 00:25:09,140 --> 00:25:10,160 So you'll see that on both sides. 380 00:25:11,160 --> 00:25:15,440 And so what we're going to do right now is I'll show you this SpongeBob function, if you will. 381 00:25:23,040 --> 00:25:28,880 So first, you know, I'll show you, if you don't enter this minus I in here, it'll come through and it'll say, hey, you need to select something from the interface below. 382 00:25:29,460 --> 00:25:32,840 And it'll tell you a interface E0 and here's the IP address for it. 383 00:25:33,020 --> 00:25:35,580 So just, you know, a little handy guide to help you out there. 384 00:25:38,440 --> 00:25:43,060 And so this, all it says right now is, hey, I'm going to try to find a MAC address for the gateway. 385 00:25:43,500 --> 00:25:46,480 And then once that is successful, it'll say, hey, I'm going to enter this. 386 00:25:46,500 --> 00:25:46,800 I'm going to enter everything. 387 00:25:47,220 --> 00:25:52,340 So it takes your card, whatever it is, it puts it in a promiscuous mode and it listens for everything that's going to come inbound. 388 00:25:55,240 --> 00:25:56,660 All right, here's some chuckles out there. 389 00:25:56,760 --> 00:25:57,180 All right, good. 390 00:25:57,800 --> 00:26:02,260 Okay, so we're going to come over here onto this side. 391 00:26:07,700 --> 00:26:09,940 And so now all I'm going to do is just ping over here. 392 00:26:10,160 --> 00:26:11,780 We'll have to do a ping 6 for Linux. 393 00:26:13,940 --> 00:26:16,060 And we're just going to ping over here to this other network. 394 00:26:23,260 --> 00:26:25,860 And we're just going to give it a junk host, right? 395 00:26:25,920 --> 00:26:26,480 So it doesn't matter. 396 00:26:26,600 --> 00:26:27,380 This thing's going to get a reply. 397 00:26:28,200 --> 00:26:29,700 It doesn't matter what host you ping to. 398 00:26:29,860 --> 00:26:32,160 We can change this to, you know, 100. 399 00:26:33,400 --> 00:26:34,120 You're going to get a reply. 400 00:26:35,260 --> 00:26:38,640 Change this to 8878. 401 00:26:38,940 --> 00:26:39,460 It doesn't matter. 402 00:26:39,560 --> 00:26:40,040 You're going to get a reply. 403 00:26:40,480 --> 00:26:43,960 And so this is what that SpongeBob function does for you. 404 00:26:44,000 --> 00:26:46,040 So you can park this thing, again, for the Elko function. 405 00:26:46,040 --> 00:26:46,500 You can park this thing for folks in the crowd. 406 00:26:47,240 --> 00:26:49,420 You can park something like this out in your DMZ, 407 00:26:49,520 --> 00:26:51,220 and it's going to answer everything for you. 408 00:26:51,480 --> 00:26:53,660 And it doesn't matter what host is being pinged. 409 00:26:53,660 --> 00:26:54,380 It's going to get a reply. 410 00:26:54,860 --> 00:26:59,940 Now, if I come back over here to this side, and I say, 411 00:27:00,060 --> 00:27:03,140 I want to see who it is that's pinging me. 412 00:27:03,960 --> 00:27:07,120 And all I'm going to do is just implement the same ping over here on this side. 413 00:27:08,440 --> 00:27:12,580 And so this is going to tell you who the request from replies is going to say, 414 00:27:12,660 --> 00:27:15,040 hey, the request was from, and that's this host over here. 415 00:27:15,040 --> 00:27:17,520 And it'll tell you who it was to, who it happened to be on the network. 416 00:27:17,680 --> 00:27:20,180 So you can get an idea, maybe, if you've got a host that's being pinged 417 00:27:20,180 --> 00:27:21,440 or something along those lines. 418 00:27:21,560 --> 00:27:23,320 Maybe something was planted inside your network. 419 00:27:23,720 --> 00:27:25,320 So you don't have to implement that function. 420 00:27:25,460 --> 00:27:29,140 Again, if you decide you don't want that, you can just throw it into this mode, 421 00:27:29,300 --> 00:27:31,600 and it'll just answer silently. 422 00:27:31,820 --> 00:27:33,240 And then on this side, you're going to get a reply. 423 00:27:33,360 --> 00:27:33,680 No worries. 424 00:27:41,300 --> 00:27:41,580 Okay. 425 00:27:41,700 --> 00:27:42,840 So the first thing we're going to do, 426 00:27:45,340 --> 00:27:47,180 we're going to go ahead and send a file, 427 00:27:47,880 --> 00:27:51,220 or we'll send some text first just so you can get an idea what this is going to look like 428 00:27:53,500 --> 00:27:56,260 as soon as I pull up an address from this side over here. 429 00:27:56,540 --> 00:27:58,660 So we're going to send this to the other side. 430 00:27:58,800 --> 00:28:01,340 This is going to the Dell laptop over here. 431 00:28:06,560 --> 00:28:09,000 And you see how long it takes to start typing these addresses in, 432 00:28:09,040 --> 00:28:11,780 and maybe you can appreciate why I decided to truncate this a little bit. 433 00:28:11,920 --> 00:28:13,280 So I'm just going to send this to 99. 434 00:28:13,280 --> 00:28:15,380 I already know that I'm going to go out to EasyJuro. 435 00:28:15,540 --> 00:28:19,240 I'm going to use a key of 9999, 436 00:28:20,660 --> 00:28:22,900 and I'm not going to use any sort of a gateway, 437 00:28:23,060 --> 00:28:25,060 and so I'm just going to drop in a keyboard mode at this point. 438 00:28:25,200 --> 00:28:26,380 So it's going to attempt to find the gateway. 439 00:28:26,540 --> 00:28:27,020 It's got it. 440 00:28:27,140 --> 00:28:28,500 And it'll just tell you, you're in console mode. 441 00:28:28,540 --> 00:28:30,940 Go ahead and type your message and press enter to send it. 442 00:28:32,280 --> 00:28:36,140 So on this side over here, I'm going to open up a receiver window, 443 00:28:36,320 --> 00:28:37,860 which is going to be this green one on the bottom. 444 00:28:42,160 --> 00:28:45,520 And the minus R0 flag, again, is just going to say pull in everything, 445 00:28:45,660 --> 00:28:46,700 whether it's request or reply. 446 00:28:46,840 --> 00:28:48,420 As long as it belongs to me, go ahead and pull it in. 447 00:28:48,460 --> 00:28:48,820 It doesn't matter. 448 00:28:52,040 --> 00:28:55,480 And specifically, I'm going to look for things coming in for key 9999. 449 00:28:56,300 --> 00:29:00,340 It's going to attempt to find a gateway MAC address eventually. 450 00:29:02,880 --> 00:29:03,500 There it is. 451 00:29:03,580 --> 00:29:05,360 And then it'll tell you, hey, you're now in receive mode, 452 00:29:05,460 --> 00:29:07,840 and it'll let you know whether your card was in promiscuous mode 453 00:29:07,860 --> 00:29:08,900 or if it's still there. 454 00:29:08,980 --> 00:29:11,000 If it had to have been put into promiscuous mode, it doesn't matter. 455 00:29:11,940 --> 00:29:13,300 It'll tell you whether it's there already. 456 00:29:13,700 --> 00:29:20,640 So if I come back to this window and I just say DEFCON 14, 457 00:29:21,320 --> 00:29:30,180 press enter on that, and, of course, as the law would have it, there we go. 458 00:29:30,280 --> 00:29:31,300 So the message will come across. 459 00:29:31,460 --> 00:29:35,820 And, again, this is just keyboard mode, you know, kind of like the poor man's chat. 460 00:29:35,820 --> 00:29:39,800 And you can run these back and forth to each window. 461 00:29:39,880 --> 00:29:40,380 It doesn't really matter. 462 00:29:41,180 --> 00:29:43,600 Now, if I come in here and open up a couple of these, 463 00:29:46,640 --> 00:29:49,700 this is where this parsing of the keys comes into play. 464 00:30:02,060 --> 00:30:02,420 Okay. 465 00:30:02,540 --> 00:30:04,600 So we'll just give this one a key of 1234. 466 00:30:05,920 --> 00:30:08,560 We'll come back over to this side, and we'll open up another sender. 467 00:30:10,240 --> 00:30:11,620 We'll drop this guy down here. 468 00:30:24,300 --> 00:30:26,040 And, again, it doesn't need to go anywhere specific. 469 00:30:26,680 --> 00:30:28,320 It doesn't really matter what this ends with. 470 00:30:28,360 --> 00:30:29,000 It's going to get there. 471 00:30:36,160 --> 00:30:37,720 Attempt to find the gateway MAC address. 472 00:30:42,080 --> 00:30:48,140 And when I come back over to this side, so I can send window 1234, 473 00:30:49,020 --> 00:30:53,620 come up into this guy, send to window 9999. 474 00:30:53,760 --> 00:30:56,960 So now you can parse different streams coming in from either multiple sources 475 00:30:56,960 --> 00:30:58,360 or whatever the case is. 476 00:30:58,420 --> 00:30:59,480 You can have these things opened up. 477 00:30:59,580 --> 00:31:02,340 And it's only going to get deciphered in the window that it happens to belong to. 478 00:31:02,440 --> 00:31:03,860 So that's how this particular piece works. 479 00:31:08,000 --> 00:31:08,540 All right. 480 00:31:08,580 --> 00:31:10,380 So I'm going to open up ethereal here for a second. 481 00:31:11,260 --> 00:31:14,820 So you can get an idea of what some of these packets look like that are coming across here. 482 00:31:15,000 --> 00:31:18,480 Now the filter that I have on here says I'm going to pull in everything that's ICMPv6, 483 00:31:18,620 --> 00:31:21,680 but I don't want to look at the router advertisements coming out because they're pouring out, 484 00:31:21,760 --> 00:31:24,440 and my whole screen will start filling up with router advertisements in a minute. 485 00:31:24,900 --> 00:31:31,060 So we'll come back over here, and we'll just send this packet. 486 00:31:31,620 --> 00:31:32,920 And this is what it's going to look like. 487 00:31:32,940 --> 00:31:34,500 One single echo request going out. 488 00:31:35,560 --> 00:31:38,380 And you'll see here's your 32 bytes of data. 489 00:31:40,380 --> 00:31:43,180 And so when you start pulling this apart, you say, oh, okay, I see. 490 00:31:43,280 --> 00:31:47,300 This isn't quite what it's supposed to be maybe if you're a ping packet analyzer 491 00:31:47,300 --> 00:31:48,760 and you know what all ping packets look like. 492 00:31:49,740 --> 00:31:52,140 And I'll put you back on the screen so you can actually see what's going on. 493 00:31:52,820 --> 00:31:54,740 So you'll see the payload section right there. 494 00:31:54,860 --> 00:31:57,800 It doesn't quite look maybe like what a Windows ping packet would look like. 495 00:31:57,860 --> 00:32:00,540 And, again, this gets into the covert versus throughput, right? 496 00:32:00,620 --> 00:32:04,480 So the more you send at a time, the less it's going to look like an actual real ping packet. 497 00:32:04,500 --> 00:32:07,700 Again, if you're a ping packet analyzer and you know what all ping packets look like. 498 00:32:08,340 --> 00:32:13,000 Some of the things that you'll see on here is the fact that it does have a 499 00:32:13,000 --> 00:32:16,560 so it's got its checksum, that's good, its ID, its sequence number. 500 00:32:16,700 --> 00:32:18,380 All of this stuff is all RFC compliant. 501 00:32:18,600 --> 00:32:22,000 It says if I'm going to send a 128, my code needs to be zero, no problem there. 502 00:32:22,840 --> 00:32:24,700 Everything is good up here in the ICMP layer. 503 00:32:25,480 --> 00:32:32,460 But what you'll notice is that the source address, right, this is obviously not my source address. 504 00:32:32,780 --> 00:32:34,440 And I can show you that again. 505 00:32:41,300 --> 00:32:44,760 So here's my source address here, you know, ends in 62 Charlie Alpha, whatever. 506 00:32:44,900 --> 00:32:45,880 We can bring this window down. 507 00:32:47,140 --> 00:32:50,060 And if you can read, I don't know if you guys can read that thing in the back, 508 00:32:50,140 --> 00:32:52,440 but you'll see that this is definitely not my source address 509 00:32:52,440 --> 00:32:56,380 and the destination I'm going to is definitely not the destination address of this machine. 510 00:32:56,640 --> 00:32:58,980 And this is where the network does that work for you. 511 00:32:59,120 --> 00:33:00,620 It sends out that neighbor solicitation. 512 00:33:01,000 --> 00:33:04,420 And if it's something that VoodooNet can decipher and it says that packet is definitely mine, 513 00:33:04,420 --> 00:33:08,440 it'll send out that neighbor advertisement and it'll answer it and pull that packet off the wire. 514 00:33:16,500 --> 00:33:24,320 Okay, so the next thing I'll show you here is going to be the ability to pull data out of the network 515 00:33:24,320 --> 00:33:27,140 using what looks like a legitimate ping request. 516 00:33:27,480 --> 00:33:33,320 And for that option, this guy is going to drop into what's called an R3 mode. 517 00:33:33,320 --> 00:33:36,280 And that simply means he's an autoresponder at this point. 518 00:33:36,320 --> 00:33:38,720 And all he's going to do is load data into a buffer. 519 00:33:40,180 --> 00:33:43,940 And he's going to ship it off as he gets these ping packets coming in. 520 00:33:44,000 --> 00:33:45,640 That's when the data will actually be shipped off. 521 00:33:54,820 --> 00:33:56,820 Okay, so we got all the pieces and parts in there. 522 00:33:56,880 --> 00:33:57,960 It's going to attempt to find the gateway. 523 00:33:58,180 --> 00:34:00,580 And what it's doing right now is it's going to pull in that router advertisement, 524 00:34:00,580 --> 00:34:02,100 figure out what its MAC address is. 525 00:34:02,100 --> 00:34:05,060 And once it does that, it's going to load everything into a buffer 526 00:34:05,060 --> 00:34:06,420 and it's just going to sit there and wait. 527 00:34:06,940 --> 00:34:09,160 And you'll see that ascending and it will just sit there all day. 528 00:34:09,380 --> 00:34:14,760 If your other end gets interrupted for some reason and you can't continue to pull the data off, 529 00:34:14,880 --> 00:34:16,720 this thing will sit there and when you resume your session, 530 00:34:16,880 --> 00:34:19,740 it'll just continue sending data from where it left off the first time. 531 00:34:22,500 --> 00:34:24,300 Okay, so we'll come back over here to this window. 532 00:34:24,360 --> 00:34:25,540 We'll do this in ascender mode. 533 00:34:49,660 --> 00:34:52,920 It doesn't really matter what order your flags are in just as long as it knows where it's going. 534 00:34:54,700 --> 00:34:56,140 Okay, I think we got everything in here. 535 00:34:56,860 --> 00:35:02,020 And what's going to happen is periodically it will send out an echo request. 536 00:35:03,020 --> 00:35:06,100 And what happens is if you don't put a minus T flag on here, 537 00:35:06,560 --> 00:35:11,140 it will vary its time between 5 and 20 seconds between packets. 538 00:35:11,800 --> 00:35:14,340 And so what's going to happen is one packet at a time, 539 00:35:14,420 --> 00:35:16,380 and you'll see the whole evolution of events, 540 00:35:16,580 --> 00:35:19,820 it'll just pull things over one byte at a time, one packet at a time. 541 00:35:20,180 --> 00:35:23,600 And so what happens is this host is sent out. 542 00:35:23,680 --> 00:35:25,800 Let me go ahead and stop this capture so it doesn't keep rolling. 543 00:35:25,980 --> 00:35:27,880 And I'll explain the sequence of events to you. 544 00:35:27,980 --> 00:35:30,040 So starting with this echo request right here, 545 00:35:30,160 --> 00:35:32,000 that's what this particular host sent out. 546 00:35:32,020 --> 00:35:35,180 And then the router did this neighbor solicitation. 547 00:35:35,280 --> 00:35:37,820 Now, you know, say, who owns this thing? 548 00:35:38,140 --> 00:35:40,240 The neighbor advertisement is being answered. 549 00:35:41,180 --> 00:35:44,660 And the reply comes over the wire and the request comes back. 550 00:35:44,760 --> 00:35:45,960 And it says, okay, here's your stuff. 551 00:35:46,100 --> 00:35:47,080 This is the next request that went out. 552 00:35:47,160 --> 00:35:51,140 The reply comes back and it says, hey, here's your one byte of data in the flow label. 553 00:35:51,580 --> 00:35:51,960 Right? 554 00:35:52,020 --> 00:35:57,860 So the request and the reply ping packets, if we look at them, they look identical. 555 00:35:58,720 --> 00:35:59,100 Right? 556 00:35:59,160 --> 00:36:01,940 So your ID, your sequence, the only thing that you're going to see, 557 00:36:02,020 --> 00:36:04,860 different there is your checksum because of your addressing scheme. 558 00:36:05,800 --> 00:36:09,540 So everything by RFC that's supposed to look the same looks the same. 559 00:36:10,080 --> 00:36:12,980 Now, on this side, what you're going to see is this thing is just sending data. 560 00:36:13,080 --> 00:36:14,120 It's just sending, sending, sending. 561 00:36:14,300 --> 00:36:15,580 That's coming out of the top window here. 562 00:36:15,760 --> 00:36:17,460 It knows it's got to send 25 bytes. 563 00:36:17,540 --> 00:36:21,800 And when it's done sending everything, it'll take the card off of promiscuous mode for you. 564 00:36:21,800 --> 00:36:25,220 It'll take it out of promiscuous mode and then it'll just end the program and that's it. 565 00:36:25,920 --> 00:36:27,340 So that's what will happen on this side. 566 00:36:27,480 --> 00:36:31,520 And where this comes into play is, you know, 1600, you can set this thing up to run. 567 00:36:32,020 --> 00:36:32,440 You go home. 568 00:36:32,560 --> 00:36:33,680 You start pinging into your network. 569 00:36:33,800 --> 00:36:34,940 You pull information out of it. 570 00:36:35,400 --> 00:36:39,040 When everything is done, you know, from wherever you're trying to pull information from, 571 00:36:39,100 --> 00:36:39,800 the program ends. 572 00:36:39,880 --> 00:36:40,140 It's gone. 573 00:36:40,240 --> 00:36:40,500 It's done. 574 00:36:40,560 --> 00:36:40,900 It's history. 575 00:36:41,000 --> 00:36:42,860 You're not sending packets in or out of the network anymore. 576 00:36:43,140 --> 00:36:45,700 So that's how this particular piece works and that's what it was meant for. 577 00:36:46,500 --> 00:36:52,480 So when we come back here and we look at the terminal, we'll see it's just coming across one packet at a time. 578 00:36:52,680 --> 00:36:56,840 And that's the information that you see coming down at the bottom starting out with DEF CON 14. 579 00:36:57,400 --> 00:36:59,620 And it'll just keep doing this one packet at a time. 580 00:36:59,700 --> 00:37:01,400 And in order to, you know, say, 581 00:37:02,020 --> 00:37:03,800 don't trigger any alarms with an IDS or something like that again, 582 00:37:03,880 --> 00:37:08,140 it varies that packet between 5 and 20 seconds for each packet that it sends out. 583 00:37:08,320 --> 00:37:10,140 So it doesn't look like it's coming from a machine. 584 00:37:10,280 --> 00:37:15,120 It just variably sends out this packet to a random IPv6 address inside of your network. 585 00:37:15,260 --> 00:37:19,080 And then this thing will reply to, you know, the random IPv6 address going out. 586 00:37:19,420 --> 00:37:20,820 So that's how that function works. 587 00:37:25,140 --> 00:37:25,740 All right. 588 00:37:25,800 --> 00:37:26,560 So we'll end this. 589 00:37:27,200 --> 00:37:30,800 And we'll go ahead and send this guy the whole file now. 590 00:37:31,600 --> 00:37:32,000 All right. 591 00:37:33,660 --> 00:37:38,740 And if you're going to send a file, again, you just use the minus D option because you need to go to a destination. 592 00:37:39,720 --> 00:37:42,140 We're going to send this to 2003, 1972. 593 00:37:44,900 --> 00:37:46,040 Good set of numbers there. 594 00:37:49,900 --> 00:37:51,400 And, again, it doesn't matter where you send it. 595 00:37:51,440 --> 00:37:51,860 It's going to go. 596 00:37:52,320 --> 00:37:55,800 And on this side, we'll need to open up a receiver. 597 00:37:59,760 --> 00:38:02,060 And we'll open this up in a black window just for continuity. 598 00:38:10,880 --> 00:38:13,060 And it's going to sit here and wait for this file. 599 00:38:14,200 --> 00:38:19,180 And so from this side over here, once I send this, now I can also, once I'm done sending the file over here, 600 00:38:19,240 --> 00:38:21,860 just drop into keyboard mode so I can continue typing after that. 601 00:38:22,160 --> 00:38:23,380 So I'm going to send this file. 602 00:38:23,500 --> 00:38:24,860 It says the file has been sent. 603 00:38:24,860 --> 00:38:27,920 And if I come back over to this machine, I see my file has indeed been received. 604 00:38:30,740 --> 00:38:33,660 And because I'm in keyboard mode over here, I can continue to type. 605 00:38:33,820 --> 00:38:35,040 So I'll send this guy on its way. 606 00:38:35,440 --> 00:38:37,020 And over here is where it's going to show up. 607 00:38:40,700 --> 00:38:41,160 All right. 608 00:38:41,180 --> 00:38:43,200 So that's how that piece of the pie works right there. 609 00:38:43,260 --> 00:38:46,180 So you can send a file and drop right into keyboard mode and continue sending text. 610 00:38:47,120 --> 00:38:49,200 And, again, this goes, you know, either direction. 611 00:38:50,260 --> 00:38:54,840 So I think that pretty much wraps up everything that's going to have to do with this. 612 00:38:54,840 --> 00:39:00,380 And I'd be more than happy to either demonstrate or answer questions at this point for anybody who might be curious. 613 00:39:00,500 --> 00:39:00,820 Yes, sir. 614 00:39:05,100 --> 00:39:05,460 Right. 615 00:39:05,600 --> 00:39:07,680 That particular function has not been implemented yet. 616 00:39:07,740 --> 00:39:12,000 And the question was, can you write directly into a file basically as it's coming in, right? 617 00:39:12,060 --> 00:39:12,780 Is that your question, right? 618 00:39:12,840 --> 00:39:16,200 So if I'm in receive mode, can I just direct that input into something else? 619 00:39:16,400 --> 00:39:18,500 And right now that has not been implemented yet. 620 00:39:18,600 --> 00:39:19,840 It's waiting for the packet to come in. 621 00:39:20,080 --> 00:39:22,220 And it's just going to dump it right to standard out. 622 00:39:22,460 --> 00:39:24,820 So, again, being a proof of concept. 623 00:39:24,840 --> 00:39:26,760 That functionality hasn't been implemented. 624 00:39:26,960 --> 00:39:27,740 It's been thought of. 625 00:39:27,820 --> 00:39:28,620 I just didn't do it yet. 626 00:39:29,780 --> 00:39:31,680 So any other questions? 627 00:39:33,440 --> 00:39:35,220 The source code is not available yet. 628 00:39:36,840 --> 00:39:37,200 Yet. 629 00:39:39,580 --> 00:39:39,940 Right. 630 00:39:40,040 --> 00:39:41,960 So this one's still on? 631 00:39:42,080 --> 00:39:42,180 No. 632 00:39:43,500 --> 00:39:43,860 Okay. 633 00:39:44,040 --> 00:39:44,820 We'll sit down here. 634 00:39:44,940 --> 00:39:47,140 So, yeah, the source code is not available as of yet. 635 00:39:47,660 --> 00:39:53,640 Eventually, once I get everything squared away and it becomes a little more than a proof of concept, it may go ahead and find its way out to SourceForge. 636 00:39:54,380 --> 00:39:54,820 You know, that's a good thing. 637 00:39:54,820 --> 00:39:57,780 I know there's some ethical issues and all that stuff behind that. 638 00:39:57,820 --> 00:39:58,540 I'm sure most of you know. 639 00:39:59,400 --> 00:40:02,020 But, yeah, eventually it'll find its way out there. 640 00:40:02,080 --> 00:40:04,140 It's just a matter of time and getting this thing cleaned up. 641 00:40:05,820 --> 00:40:09,820 Any other questions, comments, issues, or concerns? 642 00:40:10,500 --> 00:40:11,260 Yeah, I had a question. 643 00:40:12,000 --> 00:40:12,540 Yeah, where are you? 644 00:40:13,540 --> 00:40:13,900 Yeah. 645 00:40:14,560 --> 00:40:14,920 . 646 00:40:20,800 --> 00:40:21,160 . 647 00:40:26,560 --> 00:40:27,040 Right. 648 00:40:27,860 --> 00:40:33,240 So the question is can we use the program to or change the program so that it can port a tunnel session? 649 00:40:33,540 --> 00:40:44,220 And right now that hasn't been implemented or thought of because it's been used mostly just as a covert channel passing and not along the lines of tunneling other protocols inside of that yet. 650 00:40:44,580 --> 00:40:50,380 So, again, it's in development and it will remain in development for quite some time. 651 00:40:50,380 --> 00:40:53,560 And so it's definitely an idea and an option that may be implemented down the road. 652 00:40:53,660 --> 00:40:57,420 But right now it's just pushing data out through text or file. 653 00:40:58,400 --> 00:40:58,800 . 654 00:41:03,580 --> 00:41:04,480 One more time. 655 00:41:05,860 --> 00:41:06,260 . 656 00:41:09,200 --> 00:41:09,600 Right. 657 00:41:09,680 --> 00:41:14,360 So the point is BSD and it's packet sanitization. 658 00:41:14,760 --> 00:41:17,820 And it hasn't been tested against that as of yet. 659 00:41:17,920 --> 00:41:20,360 Now, what I can tell you is that it's RFCD. 660 00:41:20,360 --> 00:41:20,540 It's RFCD compliant. 661 00:41:21,180 --> 00:41:27,860 And so it really depends on what free BSD or whatever BSD does to that particular packet when it comes in in order to scrub it. 662 00:41:28,000 --> 00:41:35,140 If it takes it and makes it its own, changes the ID, the sequence, the payload, and all those kind of things, then it may not survive that particular hill. 663 00:41:35,840 --> 00:41:39,180 If it only looks to see if maybe it is this thing, definitely RFCD compliant. 664 00:41:39,920 --> 00:41:44,000 Are the fields zero that are supposed to be zero like, say, code, for instance? 665 00:41:44,240 --> 00:41:47,640 If that's not zero, I'm going to change it to zero and then send it in, send it out. 666 00:41:48,180 --> 00:41:52,540 If that's all it's doing at the point, then it will survive that particular scrubber. 667 00:41:52,600 --> 00:41:54,860 So it hasn't been run against anything like that yet. 668 00:41:55,640 --> 00:42:00,440 Just, you know, still testing it out and creating the proof of concept a little more firm. 669 00:42:02,380 --> 00:42:02,820 Perfect. 670 00:42:03,000 --> 00:42:04,380 Any other questions, comments? 671 00:42:06,180 --> 00:42:06,620 Perfect. 672 00:42:06,700 --> 00:42:08,360 Enjoy your time at DEF CON 14. 673 00:42:08,520 --> 00:42:09,120 Thank you very much.