All right, good evening folks. Sorry about the delay, a little bit of a technical issue here, but no worries. So first of all, I'd like to welcome you to this particular brief. And what you're going to hear for the next 50 minutes is the first proof of concept tool for IPv6 and ICMPv6 covert channels, and its name is VoodooNet. But before I do that, I have to say happy anniversary to my wife. Today is our anniversary, and God Almighty, she put up with the anniversary day coming to the con, right? So thank you, honey. And for those of you that are married, you know as well as I do, I'll be paying for this for a long time. All right, no worries. So let's kick this off. Here's the agenda, just kind of overview of what we're going to talk about today. We're going to do, I'm going to give you a quick snapshot of what VoodooNet is, and that way if you decide you don't like it, you want to leave and do something else. We're going to talk very briefly about IPv4 and IPv6. How many of you went to the IPv6 brief this morning? Show of hands. Hey, that was a good brief. And I'll tell you, it's good because it kind of bridges the gap between IPv4 and IPv6. It bridges the gap from what I'm going to talk about and what they talk about, and it's kind of, you know, where do you make the match point? How did you get from A to B? They gave how you got 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 the RFCs, talk to you about some of the assumptions that I made while I was developing this software, talk to you about the test network that I used, and then all the slew of capabilities for VoodooNet, and you'll be able to see those through a live demo. Even though I had all this technical issue up here, I'm still going to do a live demo, or try to anyway. And then time pending. We'll have some questions. So here's a quick snapshot. It's a proof-of-concept covert channel tool that allows data to be passed in IP and ICMP v6 packets, specifically using the echo request and reply payload in the ICMP portion, and then in the IP portion, it actually uses flow label. It can be used as a relay. You can use it for a whole slew of good stuff. But the nice part about this tool, one of the cool features about it, is that you never identify the root who's sending the information, or who the information is actually going to. You're only sending it to a prefix and a subnet, you're sending it to a network, and you're going to let the router and everything do the rest of the work for you. And I'll explain and show you how well that's going to happen. So here's a quick snapshot of how I got from point A to point B. I had to identify the problem, and the problem, as some of you heard this morning, and some of you may know, is IPv4, right? We're running out of address space. Identify a need for IPv6. Who needs it? DoD wants it, and they're mandating it. Read some RFCs, you know, read some IPv6, and they're mandating it. Read some RFCs, you know, talk about this, kind of saw where maybe some holes may be. And then build the IPv6 test network, so that I can figure out whether my stuff's actually going to work or not. And then design VoodooNet, and design it to be RFC compliant. I don't want it to get nailed by anything along the way. So IPv4. As most of you know, and especially those who saw the brief this morning, there's a limited address space, and it's running out. Conservative guesstimations are somewhere between 2009 and 2016. Things like fiber to the home, all this cool stuff, always on IP, you know, it's depleting these addresses at a quick rate. Now, network address translation was kind of the answer to that, and it said, well, this will kind of slow the rate, you know, and as was briefed this morning, if you're in India, you know, you're 9 NAT levels deep. But it lacks specific security standards. There's no embedded security. All the security issues were added on top of that. There's a push to move to IPv6, and it's been mandated by the DoD to move to IPv6 by 2008. Pretty close. Cool thing about IPv4, there was covert channel capabilities. IPv6, or IP Next Generation. Proposed standard happened way back in November 17th, 1994, and there's this huge address space, right? Your address is now 128 bits long. It's a huge address space. There's security not only in the numbers, like, you know, to scan for an address is going to take you, what, like 500 million years, right? Who's got that much time? There's inherent security standards right down at the packet level. We're talking about packet level authentication. So, you know, there's security standards, you know, things like IPsec, if you choose to implement them. There's stateless auto-configuration, which is cool. It gets rid of all the DHCP stuff, and, you know, you just have this router kicking out these advertisements and say, hey, here's your prefix and subnet. Configure yourself. Hey, that's good for me because that means covert channel capability. And as the last bullet states, it still has covert channel capabilities, mainly this tool, VoodooNet. Okay, so, as you know, you got to go through the RFCs if you want to develop tools to kind of circumvent some things. And one of the first things that I looked at was this 2119 back in March 1997, and it says, hey, here's the terminology that we're going to use when we put together these RFCs. What did I key in on? The word must. Okay, so, keep that in mind. Must, you know, has a few other definitions, require, shall. Basically, it says it must be there, right? The RFC right here, 2119, tells you what must means. What does that mean for me? RFC 2460. RFC 2460, December 1998, talks about IPv6 specification. Now, one of the fields I thought I might be able to use is the traffic class, okay? However, the RFC tells me it must not be assumed that what came out of one end is what's going to show up at the other. That means that piece of the covert channel goes away. What it does tell me, though, is in RFC 3697, the flow label. It must be passed by all routers, whether you, you know, want to do anything with flow label or not. To me, that's a good thing. That means covert channel. So, then we look at RFC 4443, relatively recent, March 2006, and it talks all about ICMPv6, echo request, replies, error messages, all sorts of good stuff, and what does it say? Every node must implement an echo responder function. What does that mean to me? Potential covert channel, and I'm going to show you how that's going to work here in a little bit. Okay, so, here's some assumptions that I made before I started developing this tool. Very first assumption was that IPv6 is not going to work. So, I'm going to show you how that's going to work. IPv6 traffic was going to be allowed because RFC 4443 told me it was going to be. It must be there. I must have cooperating endpoints. So, my sender and my receiver, they got to have some things in common, all right? And, and so, they both need to be cooperating. They got to pass keys. They got to do all sorts of good stuff. It takes advantage of the dual stack, and, and I want to take advantage of the dual stack so that I could perform IPv6 over 4 tunneling. And what this allowed me to do was to get away from, here's a router, here's a router. Not only do I control them, but I control the traffic that passes back and forth, right? How realistic is that? But, if I can extend my tunnel all the way over, say, to the UK, and let it pass on some six-bone routers over there, if it doesn't pass that kind of test, well, then there's some things that are going to be changed along the way. Maybe it's mutable. Maybe my fields and my assumptions weren't correct to begin with. But, first and foremost, one of the other things that I looked at was this still maturing IPv6 protection technology. It's just not there yet. It's not fully developed. So, here we're talking about intrusion. It's not fully developed. So, here we're talking about intrusion detection systems, intrusion prevention systems, firewalls for filtering, things like that. Right now, you can kind of get away from this tunneling because you need to have this protocol 41 enabled so that you can get these packets to come through that are IPv6 over IPv4 encapsulated. So, here's the test networks. There were two of them that were developed. The very first one was a reflash SOHO Linksys router, WRT54G. Some of you may be familiar with that. I have one sitting up here on the table today. And that allowed me to do IPv6 over 4 tunneling. That way, I didn't need to take a computer and make it a router or use any kind of tunneling on the computer itself. I now have a mobile network. I can pick it up and go and plug in. I also used a slick IPv6 network. Now, this obviously is a controlled environment. So, you know, you can talk about whether that was really test worthy or not. No worries. All right. So, this is kind of what it looked like. Here's a graphical depiction of what the IPv6 over 4 tunneling looks like. So, you see the two laptops. Those are the two endpoints cooperating, no doubt. And the other one is the IPv6 over 4 tunneling. So, you see the two laptops. Those are the routers that are sitting right ahead of them. Those are the Linksys WRT54Gs. Got two of them. And they've been reflashed with OpenWRT. All the IPv6 packages put in there. And now, they can handle my dual-stack traffic for me. And it'll encapsulate and send it out. So, that means on the inside from that router in, I'm talking IPv6 only. I don't need IPv4 anymore. And what that's going to do is it's going to create a tunnel over to BT Exact over in the UK. You know, it does some magic over there. Passes through the six phone. Comes out on the other side, the Hurricane Electric over there. So, you know, it's going to do some magic over there. Passes through the six phone. Comes out on the other side, the Hurricane Electric over there. So, the other side, the Hurricane Electric over there. So, you know, it's going to do some magic over in California. And then goes off to my buddy's house who's the other end node. So, here's an eye chart for you, if you can decipher it, good on you. This depicts the controlled IPv6 network. And so, I got three autonomous sites up here. I've got Border Gateway Protocol running. I got IGRP running for the internal stuff. I got Ripv6. All sorts of good stuff here going on. And this is a Windows and a Linux using Linux as a router. Using Windows 2003 Server as a router. We've got Cisco routers in there. We've got some all sorts of good stuff. So now we get into the actual development. So VoodooNet was written in C using C libraries. Didn't want to use anything else because I want it to be portable from system to system that can handle it. Or if I statically compile it, then I can take it off to another system. The development and the test system, those are updated weekly, kernel included, because again, I don't want to be tied to a specific Fedora version or a specific kernel version. No, I want this to be able to live long and prosper. And live, backtrack live CD in a wax CD. So the bottom line is it's been tested on a couple different implementations and it works successfully. And so now we have some more technical problems here. All right, there we go. So this is an ethereal screenshot capture. I'm sure most of you know what this is. And every field that you see that has an arrow next to it is what VoodooNet can manipulate. And specifically, where you see the purple, pink, depending on your eye color, that particular arrow deals with the specific story. So this is the channel that's being used. So you'll see that the flow label up in the IP header is being used for one. And down at the very bottom is the data portion of this particular ICMP packet that's being used for the other. Now you'll also see highlighted down below the little square. And this is what it's supposed to look like, Microsoft Windows ping packet. So if you were to ping in Windows, it sends out this nice, cool, you know, A through W and then it starts over. And so one of the things, one of the cool features about VoodooNet is that it replicates this for every packet. So if you're only sending one byte at a time, it's going to put it in the front and it's going to shift everything over one. And so when this starts going through things that say, well, I'm going to look at payload and I want to see what it looks like. Statistical analysis will say, oh, this is an incrementing ASCII. No worries. Don't worry about this packet. Okay. So that's how that particular piece works. VoodooNet capabilities. Flags, flags, and more flags. Got more flags than you can read about because every new idea became a new flag. So you put a minus D on there. That's going to be the data. And then you're going to see that the data is going to be sent to the destination address. And again, you only need to send it to a prefix, a subnet, and a junk host. Doesn't matter what it is. And it's going to get there. It can receive and it can relay. So not only do you, can you have two cooperating endpoints, but you can have a third, a fourth, a fifth, whatever the case is. And your packet will just continue to bounce through all of these relays until it finally gets to its destination. You can send an echo reply as your, as your, whatever you want to send your data out in. Or you can send an echo request. Doesn't matter which one you send. It'll still go out in flow label. It'll still go out in data portion. Doesn't matter. So you can toggle between which one you really want to do. You can send a keyboard. So you just type stuff on a keyboard, almost like a poor man's chat. Type it on a keyboard. Hit enter. Off it goes to your neighbor's house. And that way you're passing data. You can also send a file. Now the file is going to be a text file. And it's going to break this thing apart. It's going to ship it out in the packets. You know, however many bytes you decide at a time. The minus I option gives you the interface. As with most Linux tools, you decide if you've got multiple interfaces on the system, I only want to send it on a certain one. There you go. Minus I option. And if you don't put the minus I in there, VoodooNet will kick back and it'll say, hey, you need to enter an interface. And it'll tell you what the available IPv6 interfaces are. The minus G for the gateway MAC address. Now this is optional. You don't need it. If you just let VoodooNet run on its own and you've got router advertisers coming out, it'll withdraw the gateway address out of that. But if you happen to know what it is, it'll expedite your process a little bit. And then you can just go ahead and feed it in there. But it is an optional flag. The minus B flag is also optional. And it says, how many bytes do I want to send in this packet? Now if you're sending a flow label, you're only going to send one byte at a time. But if you're actually going to use the echo request or reply, you can say, I want to send one byte at a time. I want to send all 32. It's locked at 32 bytes right now. Although we've sent up to 1440 in one packet with no problem. So the minus B flag, again, being optional. The minus T flag is also optional. And it says, how much delay between my packets do I want to implement here? So I want to send 10 bytes. How many bytes do I want to send 10 bytes out? And then I want to wait two minutes before I send my next packet. So now you can throttle by bytes and by time. Again, it slips you underneath the radar. Now you've just got this random packet going out of the wire. Kind of hard to track down. And you have a minus X flag. Now this is a four-digit key that both the receiver and the sender must have. And what this allows you to do is the guy who's receiving all the data on it, or gal, I don't want to, okay, so either way, whoever's receiving the data on their computer can have multiple windows open. VoodooNet requires, you know, multiple windows. And if you're receiving, you can say, well, I want to receive in this window with a key of one, two, three, four. And I want to receive in this window with a key of 99, 99. And I want to receive, you know, with key 69, 69 in this window. And what that allows you to do is multiple sources can now pour into one receiver. Or you can have multiple streams coming off of one sender. They're all going to get to one receiver. And what will happen is they'll just parse between the windows. It'll decide which one it needs to go to. And that way all your data coming into the computer doesn't just flow into one window only. So you can specify that. It doesn't have anything to do with the way it's encrypted or anything like that. Now, the minus O is a SpongeBob mode. It answers everything. Now, SpongeBob, I'll tell you, is a product of too many Mountain Dews and staying up too late programming at night. And essentially what it does is it will answer every ping request that comes into the network. So you want to, of course, this is for the ethical folks in the crowd. You can part this out in your DMZ and actually stop this tool in its tracks. Because any request that it gets, it will kick back a reply. So essentially any IPv6 address that gets pinged on your network exists, whether it does or not. And I'll show you how that works in a minute. You have the minus V flag. Now, that's a verbose flag. And you can use that with the minus O. And it'll tell you who the requests are coming from and who, what address they were going to on the inside. So if you wanted to run, you don't have to run that. It's an optional flag. And you can also use this on relay mode. So if you're in relay mode, right, your computer's just going to keep passing packets along, whether it's a request or a reply. And you never see what's actually being passed. But if you want to see what's being passed, you put a minus V on the end of it. And now you can read all the text that's coming across your computer that's being forwarded to some other party. And then finally, last is the minus H, which is the help menu, which basically just describes everything I just said. Okay. So moving right along. Voodoo net capabilities again. Now, this is kind of what it looks like if you were to send, receive or relay data. This is basically what your command line options would look like. You have that minus D flag that's going to say, here's the destination subnet prefix and then junk host that I'm going to send to. Minus D flag that's going to say, here's the destination subnet prefix and then junk host that I'm Minus I again, you know, the eth0 or eth1, whatever happens to be your interface on the Linux system at the moment. 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. 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. That's going to get packed up in a packet and shipped forward. To receive data, it'll receive either request or reply. It doesn't matter which one. And it's just very blanket, you know, minus eth0, and then you say what flag or what key it is that's supposed to be coming into that particular window. So, again, you can open up multiple windows and say, you know, here's five receivers I have going, and they're all going to receive data in a different window. And then to relay data, you know, it's almost like sending data, except you're going to relay either an echo request or an echo reply. Right now, they're split apart. It doesn't do them both in one single deal. So you can decide whether you're going to be a request relay or a reply relay, either one of those two. And, again, you're sending to a pre-send. You're going to be fixing the subnet. So throughput versus covertness, right? So this is always one of these questions. How much data can you actually push out there? Well, you know, the more data you push out, the less covert you are. And that's kind of the point behind a covert channel is, you know, slipping some data in there so it's under the wire, it's not being seen or heard. So right now, as I stated before, this is locked at sending 32 bytes. So you can send anywhere between 1 and 32. And so if you're only sending one, you know, one byte at a time, well, you're pretty covert, right? The chances of that getting caught somewhere are pretty slim. Possibly none. But if you're sending 32 at a time and you're sending them real fast, you know, your chances of getting caught have increased significantly. Now, again, every packet that leaves your computer leaves with a different address, okay? So it definitely belongs to this network, right? But good luck filtering that address out and saying, no, this address is not going to communicate on my network. Good luck with that because every single packet that leaves that single host all comes out with a different last 64, and you'll be able to see that when I run this in ethereal. So sending data and receiving data. So what you see on this slide is kind of what the sender and receiver have to have matched up in order for this to work successfully. So to send data, you're actually going to push data out of the network, either through text on the keyboard or file. And it's got this very, very sophisticated encryption scheme called ROT13, for those of you who are familiar with it, right? Okay. So this is really nothing more than just to obscure plain packet analysis, right? If I just happen to grab this thing out of ethereal and I start reading, this is secret data, right? That's probably an issue. However, ROT13, you know, just kind of skips by and, you know, may not draw too much attention to you. You can send it again out and request payload or reply payload, it doesn't matter. And you can throttle by bytes or by time. Now, the receiver on the other end, that's that minus R0 option, and they're going to listen for neighbor solicitations. Now, it won't answer every neighbor solicitation that comes in. And for those of you that might not be familiar, I'll back up for a second. Address resolution protocol in IPv6 has gone away. And what's taken its place is neighbor solicitation and advertisement. You can no longer actively do, you know, art poisoning, if you will, where you're constantly sending out, hey, this is me over here, this is me over here. If you send out a neighbor advertisement and nobody asks for it, it just gets discarded, nobody cares. So this neighbor solicitation has to come out and it says, hey, who owns this address? If it's a packet that VoodooNet sent, then VoodooNet will answer and say, oh, yeah, that's me over here. So if you're on a switch, it doesn't matter because that goes out to, you know, every port says, hey, who's got this address? VoodooNet will answer. VoodooNet pulls it off the wire. The other guy never receives an ICMP host, destination, or reachable, or anything along those lines because the packet's now gone. It's been sucked up and it's being deciphered onto a host somewhere. So, again, this gets away from having to send to a specific host on one end or the other. The network does all the work for you. Now, if it doesn't belong to VoodooNet, if it's not something that VoodooNet actually put together and parsed out, then it's not going to answer it and it's just going to flow on by. Nobody answers it. Maybe somebody else answers it. It doesn't really matter. Again, it receives the inbound request or replies. And it parses data to separate windows depending on what your key is. Now, here's kind of an interesting twist on this is that you can actually pull data into or out of a network with what looks like a legitimate ping session. And so what'll happen is you send this request into the network. And if that means something to VoodooNet on the inside, it'll say, oh, that's my packet. I will take this and I will send you in return one byte of data in flow label. Now, the echo request and reply, you read the RFC and it says, if I send you a request, your reply needs to be identical or I'm not going to accept it, right? And so you start getting all sorts of weird errors. And this is where the IP layer for IPv6 comes into play for this particular covert channel. It tucks it up into flow label and the rest of the packet is identical. The ID number, the sequence number, the payload, everything is identical. And again, so this is how this particular thing, and it does some weird stuff on the other side to decipher it, you know, it mucks with the last part of the 64 with the actual address. And it says, you know, hey, if I take this part of the address and this part and I add my key to it and it actually equals this piece over here, then that's my packet and I need to respond to it or I need to decipher it. So you're not just going to get every packet that flies on by. Again, you can also use this as a relay. So you can get multiple parties involved, three, four parties, whatever the case is. And again, it listens for this neighbor solicitation comes in. It will spoof the neighbor advertisement and it will, you know, it will relay whether it is a request or reply depending on what mode it's in. So to test this thing, to validate the packets or survive on a Slick-6 network, that's where the Slick-6 piece came in. We need to see if anything was going to get mutated along the way and if it was, go back to the drawing board and start over. Validate the packets or survive in the wild, basically in an uncontrolled environment. Some of the initial first testing I did on this, it passed through 17 hops, 15 of those, which were from the UK back into the United States. The packet survived fine. That tells me, hey, this thing is going to work. That's a pretty uncontrolled environment. I have no idea what's happening between the UK and California out on the sixth mode, whatever the case is. It still has not been tested for survivability, though, in an IPv6 production environment. By this IPv6 production environment, I'm looking for something that's got firewall rules, some sort of IDS setup, IPS, things like that. Don't know how it's going to survive in that kind of a network yet and then once I figure that out, go through and modify the tool accordingly. So this is just kind of the results that I talked to you about earlier, use a couple of different tunnel brokers for testing in order to further push the packet out out of a controlled environment. Larger files are broken up just like the protocol says they should be. If it's too large, it will start breaking it up and push it out in different packets and, you know, send as small as one byte per packet every five minutes. Everything survived fine. Okay, so now it's demo time and what I'm going to show you on this particular piece right here, this is what the demo network looks like. It's a single WRF. It's an OpenWRT 54G router and it's been flashed with OpenWRT and it's running router advertisements both out of the WAN port and out of the LAN port and then of course you're tied together in the middle to your routing table just to kind of replicate a very, very small network right here and you can read through that right there to show you, you know, what IP address is what and so barring any questions before I jump into the demo, we'll go ahead and jump in there. Yes, sir, way in the back. The slick IPv6 network. That was something. Cisco routers, some 2610s, 2650s, you know, flashed with the firmware that would allow it to be able to pass IPv6. Their IP is enabled basically and pass the IPv6 traffic. 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. I'm not using any IPv4. It's still pushing out DHCP. It's just not being used in this instance. Does that answer your question? Oh, oh, right, right. So slick as opposed to what? So slick as opposed to IPv4. IPv6 over 4 tunneling. Okay, perfect. Anything else? No hands, no hands. Okay, good. 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. 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. Okay, so the first thing that you're going to see here is a very loud microphone. And so I'm running Fedora Core 5 inside of VM. And we'll come up here and show you this right here. So this is basically just pinging to the other side of the network and that's this box over here on this side. 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. Right yet. And so that's all that this is doing right now, just basically showing you survivability back and forth between the networks. And this is what it's going to look like. It does have an IPv4 address, but again, it's not being used. So what you see is the 2003, 1972, so on and so on. That's the actual IPv6 address. 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. So I'm just sending it again to a, you know, the prefix and the subheading. And then I'm sending it back to the subnet and then a junk host. All right, so we'll get rid of this window. 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. Okay, so that's going to happen between both hosts just so, you know, for a little bit of continuity. So you'll see that on both sides. And so what we're going to do right now is I'll show you this SpongeBob function, if you will. 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. And it'll tell you a interface E0 and here's the IP address for it. So just, you know, a little handy guide to help you out there. And so this, all it says right now is, hey, I'm going to try to find a MAC address for the gateway. And then once that is successful, it'll say, hey, I'm going to enter this. I'm going to enter everything. 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. All right, here's some chuckles out there. All right, good. Okay, so we're going to come over here onto this side. And so now all I'm going to do is just ping over here. We'll have to do a ping 6 for Linux. And we're just going to ping over here to this other network. And we're just going to give it a junk host, right? So it doesn't matter. This thing's going to get a reply. It doesn't matter what host you ping to. We can change this to, you know, 100. You're going to get a reply. Change this to 8878. It doesn't matter. You're going to get a reply. And so this is what that SpongeBob function does for you. So you can park this thing, again, for the Elko function. You can park this thing for folks in the crowd. You can park something like this out in your DMZ, and it's going to answer everything for you. And it doesn't matter what host is being pinged. It's going to get a reply. Now, if I come back over here to this side, and I say, I want to see who it is that's pinging me. And all I'm going to do is just implement the same ping over here on this side. And so this is going to tell you who the request from replies is going to say, hey, the request was from, and that's this host over here. And it'll tell you who it was to, who it happened to be on the network. So you can get an idea, maybe, if you've got a host that's being pinged or something along those lines. Maybe something was planted inside your network. So you don't have to implement that function. Again, if you decide you don't want that, you can just throw it into this mode, and it'll just answer silently. And then on this side, you're going to get a reply. No worries. Okay. So the first thing we're going to do, we're going to go ahead and send a file, or we'll send some text first just so you can get an idea what this is going to look like as soon as I pull up an address from this side over here. So we're going to send this to the other side. This is going to the Dell laptop over here. And you see how long it takes to start typing these addresses in, and maybe you can appreciate why I decided to truncate this a little bit. So I'm just going to send this to 99. I already know that I'm going to go out to EasyJuro. I'm going to use a key of 9999, and I'm not going to use any sort of a gateway, and so I'm just going to drop in a keyboard mode at this point. So it's going to attempt to find the gateway. It's got it. And it'll just tell you, you're in console mode. Go ahead and type your message and press enter to send it. So on this side over here, I'm going to open up a receiver window, which is going to be this green one on the bottom. And the minus R0 flag, again, is just going to say pull in everything, whether it's request or reply. As long as it belongs to me, go ahead and pull it in. It doesn't matter. And specifically, I'm going to look for things coming in for key 9999. It's going to attempt to find a gateway MAC address eventually. There it is. And then it'll tell you, hey, you're now in receive mode, and it'll let you know whether your card was in promiscuous mode or if it's still there. If it had to have been put into promiscuous mode, it doesn't matter. It'll tell you whether it's there already. So if I come back to this window and I just say DEFCON 14, press enter on that, and, of course, as the law would have it, there we go. So the message will come across. And, again, this is just keyboard mode, you know, kind of like the poor man's chat. And you can run these back and forth to each window. It doesn't really matter. Now, if I come in here and open up a couple of these, this is where this parsing of the keys comes into play. Okay. So we'll just give this one a key of 1234. We'll come back over to this side, and we'll open up another sender. We'll drop this guy down here. And, again, it doesn't need to go anywhere specific. It doesn't really matter what this ends with. It's going to get there. Attempt to find the gateway MAC address. And when I come back over to this side, so I can send window 1234, come up into this guy, send to window 9999. So now you can parse different streams coming in from either multiple sources or whatever the case is. You can have these things opened up. And it's only going to get deciphered in the window that it happens to belong to. So that's how this particular piece works. All right. So I'm going to open up ethereal here for a second. So you can get an idea of what some of these packets look like that are coming across here. Now the filter that I have on here says I'm going to pull in everything that's ICMPv6, but I don't want to look at the router advertisements coming out because they're pouring out, and my whole screen will start filling up with router advertisements in a minute. So we'll come back over here, and we'll just send this packet. And this is what it's going to look like. One single echo request going out. And you'll see here's your 32 bytes of data. And so when you start pulling this apart, you say, oh, okay, I see. This isn't quite what it's supposed to be maybe if you're a ping packet analyzer and you know what all ping packets look like. And I'll put you back on the screen so you can actually see what's going on. So you'll see the payload section right there. It doesn't quite look maybe like what a Windows ping packet would look like. And, again, this gets into the covert versus throughput, right? So the more you send at a time, the less it's going to look like an actual real ping packet. Again, if you're a ping packet analyzer and you know what all ping packets look like. Some of the things that you'll see on here is the fact that it does have a so it's got its checksum, that's good, its ID, its sequence number. All of this stuff is all RFC compliant. It says if I'm going to send a 128, my code needs to be zero, no problem there. Everything is good up here in the ICMP layer. But what you'll notice is that the source address, right, this is obviously not my source address. And I can show you that again. So here's my source address here, you know, ends in 62 Charlie Alpha, whatever. We can bring this window down. And if you can read, I don't know if you guys can read that thing in the back, but you'll see that this is definitely not my source address and the destination I'm going to is definitely not the destination address of this machine. And this is where the network does that work for you. It sends out that neighbor solicitation. And if it's something that VoodooNet can decipher and it says that packet is definitely mine, it'll send out that neighbor advertisement and it'll answer it and pull that packet off the wire. Okay, so the next thing I'll show you here is going to be the ability to pull data out of the network using what looks like a legitimate ping request. And for that option, this guy is going to drop into what's called an R3 mode. And that simply means he's an autoresponder at this point. And all he's going to do is load data into a buffer. And he's going to ship it off as he gets these ping packets coming in. That's when the data will actually be shipped off. Okay, so we got all the pieces and parts in there. It's going to attempt to find the gateway. And what it's doing right now is it's going to pull in that router advertisement, figure out what its MAC address is. And once it does that, it's going to load everything into a buffer and it's just going to sit there and wait. And you'll see that ascending and it will just sit there all day. If your other end gets interrupted for some reason and you can't continue to pull the data off, this thing will sit there and when you resume your session, it'll just continue sending data from where it left off the first time. Okay, so we'll come back over here to this window. We'll do this in ascender mode. It doesn't really matter what order your flags are in just as long as it knows where it's going. Okay, I think we got everything in here. And what's going to happen is periodically it will send out an echo request. And what happens is if you don't put a minus T flag on here, it will vary its time between 5 and 20 seconds between packets. And so what's going to happen is one packet at a time, and you'll see the whole evolution of events, it'll just pull things over one byte at a time, one packet at a time. And so what happens is this host is sent out. Let me go ahead and stop this capture so it doesn't keep rolling. And I'll explain the sequence of events to you. So starting with this echo request right here, that's what this particular host sent out. And then the router did this neighbor solicitation. Now, you know, say, who owns this thing? The neighbor advertisement is being answered. And the reply comes over the wire and the request comes back. And it says, okay, here's your stuff. This is the next request that went out. The reply comes back and it says, hey, here's your one byte of data in the flow label. Right? So the request and the reply ping packets, if we look at them, they look identical. Right? So your ID, your sequence, the only thing that you're going to see, different there is your checksum because of your addressing scheme. So everything by RFC that's supposed to look the same looks the same. Now, on this side, what you're going to see is this thing is just sending data. It's just sending, sending, sending. That's coming out of the top window here. It knows it's got to send 25 bytes. And when it's done sending everything, it'll take the card off of promiscuous mode for you. It'll take it out of promiscuous mode and then it'll just end the program and that's it. So that's what will happen on this side. And where this comes into play is, you know, 1600, you can set this thing up to run. You go home. You start pinging into your network. You pull information out of it. When everything is done, you know, from wherever you're trying to pull information from, the program ends. It's gone. It's done. It's history. You're not sending packets in or out of the network anymore. So that's how this particular piece works and that's what it was meant for. 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. And that's the information that you see coming down at the bottom starting out with DEF CON 14. And it'll just keep doing this one packet at a time. And in order to, you know, say, don't trigger any alarms with an IDS or something like that again, it varies that packet between 5 and 20 seconds for each packet that it sends out. So it doesn't look like it's coming from a machine. It just variably sends out this packet to a random IPv6 address inside of your network. And then this thing will reply to, you know, the random IPv6 address going out. So that's how that function works. All right. So we'll end this. And we'll go ahead and send this guy the whole file now. All right. 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. We're going to send this to 2003, 1972. Good set of numbers there. And, again, it doesn't matter where you send it. It's going to go. And on this side, we'll need to open up a receiver. And we'll open this up in a black window just for continuity. And it's going to sit here and wait for this file. And so from this side over here, once I send this, now I can also, once I'm done sending the file over here, just drop into keyboard mode so I can continue typing after that. So I'm going to send this file. It says the file has been sent. And if I come back over to this machine, I see my file has indeed been received. And because I'm in keyboard mode over here, I can continue to type. So I'll send this guy on its way. And over here is where it's going to show up. All right. So that's how that piece of the pie works right there. So you can send a file and drop right into keyboard mode and continue sending text. And, again, this goes, you know, either direction. So I think that pretty much wraps up everything that's going to have to do with this. And I'd be more than happy to either demonstrate or answer questions at this point for anybody who might be curious. Yes, sir. Right. That particular function has not been implemented yet. And the question was, can you write directly into a file basically as it's coming in, right? Is that your question, right? So if I'm in receive mode, can I just direct that input into something else? And right now that has not been implemented yet. It's waiting for the packet to come in. And it's just going to dump it right to standard out. So, again, being a proof of concept. That functionality hasn't been implemented. It's been thought of. I just didn't do it yet. So any other questions? The source code is not available yet. Yet. Right. So this one's still on? No. Okay. We'll sit down here. So, yeah, the source code is not available as of yet. 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. You know, that's a good thing. I know there's some ethical issues and all that stuff behind that. I'm sure most of you know. But, yeah, eventually it'll find its way out there. It's just a matter of time and getting this thing cleaned up. Any other questions, comments, issues, or concerns? Yeah, I had a question. Yeah, where are you? Yeah. . . Right. So the question is can we use the program to or change the program so that it can port a tunnel session? 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. So, again, it's in development and it will remain in development for quite some time. And so it's definitely an idea and an option that may be implemented down the road. But right now it's just pushing data out through text or file. . One more time. . Right. So the point is BSD and it's packet sanitization. And it hasn't been tested against that as of yet. Now, what I can tell you is that it's RFCD. It's RFCD compliant. 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. 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. If it only looks to see if maybe it is this thing, definitely RFCD compliant. Are the fields zero that are supposed to be zero like, say, code, for instance? If that's not zero, I'm going to change it to zero and then send it in, send it out. If that's all it's doing at the point, then it will survive that particular scrubber. So it hasn't been run against anything like that yet. Just, you know, still testing it out and creating the proof of concept a little more firm. Perfect. Any other questions, comments? Perfect. Enjoy your time at DEF CON 14. Thank you very much.