1 00:00:15,880 --> 00:00:17,280 You 2 00:00:31,600 --> 00:00:34,140 We'll be right back. 3 00:01:10,940 --> 00:01:11,580 We'll be right back. 4 00:01:50,300 --> 00:01:55,480 We'll be right back. 5 00:02:00,720 --> 00:02:03,220 Okay, three people, four people leaving already. 6 00:02:03,300 --> 00:02:03,800 That's good. 7 00:02:05,400 --> 00:02:06,360 Five, six. 8 00:02:10,560 --> 00:02:12,640 This was meant as a general session. 9 00:02:13,260 --> 00:02:16,940 So if you're expecting a hardcore session again, well, you know the drill. 10 00:02:19,480 --> 00:02:25,380 The two people that remain here, I'm going to show you the differences between IP version 4 and IP version 6. 11 00:02:25,440 --> 00:02:29,060 And, of course, what we can do with that from a security point of view. 12 00:02:30,560 --> 00:02:36,400 I'll go to show you the incredible, fantastic security features that are in IP version 6. 13 00:02:37,280 --> 00:02:40,860 And, of course, I'll show to you how unhackable this protocol is. 14 00:02:41,320 --> 00:02:46,380 A couple of new security issues, if there might be any, and the status on the old ones. 15 00:02:47,220 --> 00:02:48,440 That should do the trick. 16 00:02:49,360 --> 00:02:50,460 I'm Brenno de Winter. 17 00:02:50,640 --> 00:02:52,000 I'm 29 years old. 18 00:02:52,080 --> 00:02:53,060 I started programming. 19 00:02:53,140 --> 00:02:54,360 I can't type, I see. 20 00:02:54,480 --> 00:02:58,600 I started programming at something when I was eight years old, I guess. 21 00:03:00,000 --> 00:03:02,640 I was busy with security since I was 15. 22 00:03:02,960 --> 00:03:04,100 Guess what that may be. 23 00:03:04,240 --> 00:03:05,520 And I work for myself. 24 00:03:07,400 --> 00:03:08,520 I hate to gamble. 25 00:03:09,940 --> 00:03:11,960 I do a lot of Linux and Unix. 26 00:03:12,000 --> 00:03:14,380 And, unfortunately, sometimes you have to do Windows. 27 00:03:14,580 --> 00:03:15,740 I'm running Ximion. 28 00:03:15,840 --> 00:03:19,980 So if somebody wants to make comments on that, I did that because it was so incredibly insecure. 29 00:03:20,220 --> 00:03:21,440 I found it really funny. 30 00:03:21,840 --> 00:03:24,120 Is anybody using Ximion here, by the way? 31 00:03:25,360 --> 00:03:29,500 Isn't that cool that you have to install it by opening it with links? 32 00:03:30,000 --> 00:03:33,420 Send it to a root shell, and God knows what happens. 33 00:03:33,800 --> 00:03:34,320 Excellent. 34 00:03:35,940 --> 00:03:38,980 I do a lot on telephony over the internet. 35 00:03:39,200 --> 00:03:42,060 So telephony over IP and voice over IP. 36 00:03:42,540 --> 00:03:44,200 And I write some articles. 37 00:03:44,580 --> 00:03:46,660 Among that for Linux Journal. 38 00:03:48,000 --> 00:03:49,700 Okay, enough about me. 39 00:03:49,940 --> 00:03:52,040 Let's start on IP version 4. 40 00:03:52,780 --> 00:03:57,760 If you don't know IP version 4, he's showing the door already. 41 00:03:57,920 --> 00:03:58,440 Move. 42 00:04:00,000 --> 00:04:03,080 Get a course, but don't bother me with those questions like, 43 00:04:03,220 --> 00:04:06,440 I mean, I expect you to know that a little bit, at least. 44 00:04:07,920 --> 00:04:09,620 Just to refresh your memory, 45 00:04:11,480 --> 00:04:14,620 in 1983 it was introduced as TCP IP, 46 00:04:15,140 --> 00:04:16,620 meant as a war protocol. 47 00:04:17,520 --> 00:04:20,100 So if you want to send data in a war field, 48 00:04:20,580 --> 00:04:22,000 like in China or so, 49 00:04:22,620 --> 00:04:26,040 apparently on this stage it's very popular to say things about China. 50 00:04:30,000 --> 00:04:32,300 You were there this morning, yeah, wasn't it great? 51 00:04:34,340 --> 00:04:36,140 And it was based on OC. 52 00:04:36,320 --> 00:04:38,860 No matter what happens, and that is the thing we should remember, 53 00:04:39,200 --> 00:04:41,320 data should always get from A to B. 54 00:04:41,460 --> 00:04:45,360 Even if a connection fails, there's a different route and you will get there in the end. 55 00:04:45,600 --> 00:04:49,860 That is the story, basically, of IP version 4 on the positive side. 56 00:04:50,240 --> 00:04:52,560 The protocol is extremely simple. 57 00:04:55,100 --> 00:04:59,680 There are some minor issues with IP version 4, and I should have added 58 00:04:59,680 --> 00:05:01,580 ICMP this afternoon, actually. 59 00:05:02,380 --> 00:05:03,940 Sniffing, IP spoofing, 60 00:05:05,140 --> 00:05:08,520 lack of possibilities for authentication, 61 00:05:09,060 --> 00:05:10,680 and denial of service attacks. 62 00:05:11,900 --> 00:05:13,040 We all know them. 63 00:05:13,300 --> 00:05:15,700 And of course, if you go to a new protocol, 64 00:05:15,800 --> 00:05:17,820 the main question is, is this going to change? 65 00:05:19,800 --> 00:05:21,860 Yes, there are things you can do about it, 66 00:05:21,900 --> 00:05:24,100 but it's not like a total solution. 67 00:05:24,280 --> 00:05:25,600 Basically, there is no solution. 68 00:05:25,840 --> 00:05:29,360 If I do telephony, and you see a bunch of colleagues, 69 00:05:29,360 --> 00:05:33,700 of mine standing in line that is basically to show the queuing before a 70 00:05:33,700 --> 00:05:40,060 router to me yeah to make fun of them basically and you can have a phone you 71 00:05:40,060 --> 00:05:45,820 start to dial people and you come up to a router and your call doesn't have any 72 00:05:45,820 --> 00:05:51,260 quality because it's a war protocol it's not meant for telephony over the network 73 00:05:51,260 --> 00:05:56,660 it's meant to send data to send a picture over or something like that so they call 74 00:05:56,660 --> 00:06:02,080 that quality of service and then you can have a seminar about it and earn shed loads of money 75 00:06:04,340 --> 00:06:10,920 basically it's just a poor performance of your network but they demand more fixed 76 00:06:10,920 --> 00:06:18,840 connections and that is typically what IP version 4 is not so they found IP version 77 00:06:18,840 --> 00:06:25,820 6 to address these issues and one of the most important things was the upgrade should be easy 78 00:06:25,820 --> 00:06:26,120 and 79 00:06:26,960 --> 00:06:31,940 people don't understand the internet now and they sure are not going to understand it when 80 00:06:31,940 --> 00:06:39,640 more people are joining more addresses and people always think this is the main reason 81 00:06:39,640 --> 00:06:45,320 why we are going for IP version 6 I mean read an article and everybody's shouting over getting 82 00:06:45,320 --> 00:06:51,520 more addresses but we have all types of lame hacks to make the IP version for work and if 83 00:06:51,520 --> 00:06:55,860 we really want to we could keep that alive if you want to do it is another question 84 00:06:58,000 --> 00:07:02,820 you want to add a couple of special text for streaming data and now some people will think 85 00:07:02,820 --> 00:07:08,260 yeah but that's also available in IP version 4 yeah but it was not implemented in all routers 86 00:07:08,260 --> 00:07:15,380 and it doesn't then work now Cisco promised to do a better job with IP version 6 right 87 00:07:17,780 --> 00:07:24,660 but enter last the last one is the method for mobile devices they want to have mobile devices 88 00:07:24,660 --> 00:07:26,320 have an IP address and if you 89 00:07:26,660 --> 00:07:31,220 take it from that perspective, yes, then you need a couple of extra ones. So they want 90 00:07:31,220 --> 00:07:36,920 to have your cell phone to have an IP address. If they're now secure, then they're definitely 91 00:07:36,920 --> 00:07:47,040 not anymore. So they go to 120-bit addresses, and it looks a little bit funny. I made up 92 00:07:47,040 --> 00:07:54,080 a funny address there as I get it at my own computer, and it doesn't resemble anything. 93 00:07:54,080 --> 00:07:59,060 If you could remember IP addresses, you must be a total geek if you can remember this by 94 00:07:59,060 --> 00:08:10,720 heart. Basically, you represent each time 16-bit, and this makes it very hard to understand. 95 00:08:10,940 --> 00:08:17,740 And guess what? One address won't do the trick. We are getting multiple addresses. So if you 96 00:08:17,740 --> 00:08:23,460 could remember it, this will ensure you can't anymore. You get a unicast, an anycast, a 97 00:08:23,460 --> 00:08:24,020 multicast. 98 00:08:24,080 --> 00:08:29,560 Type address. That means, for instance, if you want to deliver to a single address, I'm 99 00:08:29,560 --> 00:08:34,500 addressing that single address. If I want to address a group, I have a special IP address 100 00:08:34,500 --> 00:08:41,420 to do that, which, of course, makes the life of a programmer easy. You just join a group 101 00:08:41,420 --> 00:08:49,900 in a multicast address, and basically, you get all the IP addresses. Now, there is no 102 00:08:49,900 --> 00:08:52,540 security mechanism that checks. 103 00:08:54,080 --> 00:09:02,780 If you join a multicast group, isn't that nice? For all the hackers out here, sorry, 104 00:09:02,920 --> 00:09:09,700 there won't be any. For all the persons that want to test network security, just join a 105 00:09:09,700 --> 00:09:15,780 group in a multicast session, and that's it. That's all you have to do. And IP version 106 00:09:15,780 --> 00:09:19,000 6 will ensure it gets to your desktop just the way you want it. 107 00:09:24,720 --> 00:09:31,500 A couple of other things is that you can also make a scope for an address. A local 108 00:09:31,500 --> 00:09:38,100 address that will not be rooted at all. A site address that will only be rooted within 109 00:09:38,100 --> 00:09:45,120 a certain site, so you need to make sure it won't reach the Internet. Or a global 110 00:09:45,120 --> 00:09:49,600 address, which can be rooted over the Internet. And this is basically their way of securing 111 00:09:52,020 --> 00:09:54,060 local traffic to remain lively. 112 00:09:54,080 --> 00:10:01,560 local. I call it security by obscurity a little bit, but that is basically the way they do 113 00:10:01,560 --> 00:10:05,680 it. Of course, you keep a lot out, but the moment you have got access to a router and 114 00:10:05,680 --> 00:10:10,560 given the latest exploits on Cisco, they are working very hard to provide you that access. 115 00:10:10,900 --> 00:10:17,700 It's still very easy to sniff a local network. But at least it's a little bit more protected 116 00:10:17,700 --> 00:10:30,900 than it was in IPv4. For compatibility with IPv4, there is basically a trick of having 117 00:10:30,900 --> 00:10:41,420 only the 32 bits of IPv4 address. And you drill that with zeros and 16 ones. So very 118 00:10:41,420 --> 00:10:47,680 easy to recognize and you're totally compatible. That means that you can interface from IPv4 119 00:10:47,680 --> 00:10:55,960 6 workstation with an IPv4 workstation. Basically because it's OSI. They also have got special 120 00:10:55,960 --> 00:11:04,000 addresses for compatibility with, for instance, IPX. If you want to include IPX into IPv6 121 00:11:04,000 --> 00:11:11,280 packets, no problem. Go ahead. And that brings us to the headers. And they look a little 122 00:11:11,280 --> 00:11:17,140 bit funny. The top one is very simple. I've got the 123 00:11:17,140 --> 00:11:17,660 IPv6 workstation. I've got the IPv6 workstation. I've got the IPv6 workstation. I've got 124 00:11:17,680 --> 00:11:24,180 the IPv6 header, some type of an extension header, UDP or TCP, and some data. Very simple, 125 00:11:24,920 --> 00:11:31,700 40 octets, and that is basically the trick. It's the double size of IPv4, but because 126 00:11:31,700 --> 00:11:36,420 of the logic structure, it's sometimes easier to route it and you can reach higher speeds, 127 00:11:36,580 --> 00:11:43,900 especially because you now can make a distinction between sites and global addresses. What is 128 00:11:43,900 --> 00:11:47,020 cool, though, is that you can add as many headers as you want. 129 00:11:48,780 --> 00:11:55,340 And this is the part people testing security should pay attention. If you look over here, 130 00:11:56,380 --> 00:12:08,000 you see an IPv6 header, which can encapsulate IPv6 or IPv4. Or IPv6 can encapsulate IPv6, 131 00:12:08,100 --> 00:12:14,060 can encapsulate IPv4. Plenty of opportunities to do some nice things about it with that. 132 00:12:14,740 --> 00:12:17,260 Also you can have a certain... 133 00:12:17,260 --> 00:12:25,240 Authentication header. IPv6 has the IPv6 security, so-called security mechanism. If 134 00:12:25,240 --> 00:12:30,140 you think that's secure, talk to Bruce Snyer. He's around here somewhere, and you'll find 135 00:12:30,140 --> 00:12:36,120 that it's not that easy. Sorry, not that safe. My English is sometimes... I'm sorry. 136 00:12:38,760 --> 00:12:45,020 A special header is added for routing, so you can learn what route a package takes. 137 00:12:45,280 --> 00:12:46,940 That is an excellent method. 138 00:12:48,240 --> 00:12:48,780 A couple of other things that you can do. 139 00:12:48,780 --> 00:12:48,800 One is to do... 140 00:12:48,800 --> 00:12:54,480 To do man-in-the-middle attacks. If you just check on a couple of those headers, 141 00:12:54,740 --> 00:12:59,720 Thank you very much. I've got all the information I need. And basically, off you go. 142 00:13:01,480 --> 00:13:06,500 Fragment headers are the type of headers that say, like, okay, this is fragment number 143 00:13:06,500 --> 00:13:08,680 one, but some other fragments will follow. 144 00:13:10,320 --> 00:13:17,240 Since you can change the payload somewhat, it is easy to say, okay, there will be an 145 00:13:17,260 --> 00:13:24,000 another package after this and basically add data you want to add and do some 146 00:13:24,000 --> 00:13:31,000 intelligent things and nobody never know what happened they also offer an 147 00:13:31,840 --> 00:13:37,100 encapsulation secure payload header which basically means that they securely 148 00:13:37,100 --> 00:13:45,980 can add a tunneling information again that is based on PKI so it's again easy 149 00:13:45,980 --> 00:13:51,760 to to work around it's also easy to work around because many implementations that 150 00:13:51,760 --> 00:13:56,720 are available currently can you can just remove the header and if there's no 151 00:13:56,720 --> 00:14:00,680 authentication header they think like okay we're not going to authenticate and 152 00:14:00,680 --> 00:14:08,400 that's it a header in general consists of a version of four bits a traffic 153 00:14:08,400 --> 00:14:14,040 class of eight bits a flow label I'll go through each and everyone in a second a 154 00:14:14,040 --> 00:14:14,720 payload length 155 00:14:15,460 --> 00:14:15,740 next 156 00:14:15,740 --> 00:14:20,040 header and the hop limit very interesting is the first one the version 157 00:14:20,040 --> 00:14:29,660 of four bits if I have a four bits header sorry a four bit version field I 158 00:14:29,660 --> 00:14:34,060 can indicate this is an IP version 4 or an IP version 6 packet when it arrives 159 00:14:34,060 --> 00:14:37,800 the the stack will make the distinction what it is and hand it to the right 160 00:14:37,800 --> 00:14:42,400 stack that is basically all it does so you are what they then call backwards 161 00:14:42,400 --> 00:14:49,100 compatible plenty of stuff to play around with traffic class I told you 162 00:14:49,100 --> 00:14:55,940 about this telephony and that you have this poor network quality by setting the 163 00:14:55,940 --> 00:15:00,380 traffic class correctly you can get a priority in a router in a router queue 164 00:15:02,060 --> 00:15:06,720 which is basically a very interesting thing but there's still the risk that 165 00:15:06,720 --> 00:15:12,020 they are not going to implement it also this traffic class is not is not checked 166 00:15:12,020 --> 00:15:12,380 you 167 00:15:12,400 --> 00:15:15,960 in any way that means that any application can set it which also means 168 00:15:15,960 --> 00:15:20,100 that happens with the quality of surface bits sorry the type of surface bits in 169 00:15:20,100 --> 00:15:25,700 IP version 4 already everybody all of a sudden is setting that bit I need 170 00:15:25,700 --> 00:15:34,860 priority for my email and basically you're back to square zero so they yes 171 00:15:34,860 --> 00:15:39,840 you do have a lot of more options and if if everybody is nice that's good but in 172 00:15:39,840 --> 00:15:41,880 general it doesn't bring you total 173 00:15:42,400 --> 00:15:46,400 the total quality of service and still you can denial of service in that way 174 00:15:48,480 --> 00:15:56,220 you still can denial of service in that way any voice call in the next header 175 00:15:56,220 --> 00:16:03,440 you can also add and that is very interesting a couple of settings like 176 00:16:03,440 --> 00:16:12,160 for instance discard this package basically I'm sending data in and you 177 00:16:12,160 --> 00:16:13,280 don't want to know about it 178 00:16:17,840 --> 00:16:25,000 discard the package and sent ICMP parameter problem message to source so 179 00:16:25,000 --> 00:16:32,720 basically I get emotional I'm going to talk about ICMP basically I'm sending a 180 00:16:32,720 --> 00:16:38,600 packet in and the moment it arrives I do nothing with the data so anything can be 181 00:16:38,600 --> 00:16:42,100 in there and can like use and exploit but 182 00:16:42,160 --> 00:16:45,620 necessarily the data is a load but I'm sending an ICMP package Backing the 183 00:16:45,620 --> 00:16:51,400 DS the only thing if Iur certificates that is something that I am sending an ICMP package Backing the 184 00:16:51,400 --> 00:16:55,240 The last one I found very interesting What Data May Change en route. 185 00:17:03,380 --> 00:17:04,760 We're listening to a so I we're listening to an 186 00:17:04,760 --> 00:17:06,560 of new things and so 187 00:17:06,560 --> 00:17:11,780 of some new implementations of ICMP MyT Blend and I know Echo Requestht Reply is 188 00:17:11,780 --> 00:17:12,140 retracing the process of ICT as like anything 189 00:17:12,140 --> 00:17:19,540 so don't start bugging me about that are some new type of errors and one very 190 00:17:19,540 --> 00:17:21,300 interesting one is packet too big 191 00:17:25,280 --> 00:17:29,340 because it's all defined and it shouldn't be possible but the packet too 192 00:17:29,340 --> 00:17:37,420 big is something that I think could be very nice exploit on when you send just 193 00:17:37,420 --> 00:17:41,700 data over and you start sending packet too bigs got God knows what happens it 194 00:17:41,700 --> 00:17:46,480 has not been fully good defined okay package will be smaller but also it's a 195 00:17:46,480 --> 00:17:50,960 very fair chance it will try to make a different route since every router will 196 00:17:50,960 --> 00:17:58,420 add a part to the router header a couple of other things are multicast listeners 197 00:17:58,420 --> 00:18:02,340 for the ones that want to have an multicast address and have them have a 198 00:18:02,340 --> 00:18:07,660 multicast address basically that that means okay I want to join this multicast 199 00:18:07,660 --> 00:18:11,540 network and you will be added there is no checking mechanism you 200 00:18:11,540 --> 00:18:11,940 have a question 201 00:18:16,700 --> 00:18:21,460 systems what operating systems contain a full IPV6 implementation right 202 00:18:21,460 --> 00:18:30,740 very good question and that's why it's one of my next slides new or not 203 00:18:30,740 --> 00:18:36,800 totally new but implemented in IPv6 is the router solicitation okay I'm 204 00:18:36,800 --> 00:18:41,520 new to the network what are my local nearest routers that by the way is so 205 00:18:41,540 --> 00:18:45,220 something that has led to a lot of bugs already in the Linux implementation. 206 00:18:46,580 --> 00:18:49,320 You have this daemon called RedVD daemon, 207 00:18:49,960 --> 00:18:54,140 and basically the first versions were so lame 208 00:18:54,140 --> 00:18:56,120 that sometimes you didn't see a router, 209 00:18:56,240 --> 00:18:58,940 and I had to ping from another machine to my machine 210 00:18:58,940 --> 00:19:00,500 in order to be able to reach that router, 211 00:19:01,040 --> 00:19:02,560 else they didn't see each other. 212 00:19:05,040 --> 00:19:06,940 Those versions are a lot better now, 213 00:19:07,000 --> 00:19:09,980 but you're still depending on correct responses. 214 00:19:09,980 --> 00:19:13,460 That is definitely something that you can easily deny off-surface. 215 00:19:14,300 --> 00:19:16,520 Neighbor solicitations, okay, who is in the room? 216 00:19:16,680 --> 00:19:17,900 I mean, don't start shouting, 217 00:19:17,960 --> 00:19:20,140 but can you imagine if I join this network 218 00:19:20,140 --> 00:19:23,040 and I start like, hi, I'm Breno, who's in the room? 219 00:19:23,260 --> 00:19:24,800 And everybody starts shouting back, 220 00:19:24,980 --> 00:19:26,500 what will happen to your network? 221 00:19:27,400 --> 00:19:29,500 Netbuyers did something similar, didn't it? 222 00:19:31,820 --> 00:19:34,760 And the last one is a redirect message. 223 00:19:36,060 --> 00:19:38,380 Don't use that door, only use that door. 224 00:19:42,240 --> 00:19:43,280 Will it come? 225 00:19:43,600 --> 00:19:44,440 And there we are. 226 00:19:45,620 --> 00:19:47,320 Yes, apparently it will. 227 00:19:47,540 --> 00:19:51,540 Cisco delivers routers with IPv6 since June of this year. 228 00:19:53,140 --> 00:19:55,800 And if Cisco does it, then apparently it will. 229 00:19:56,840 --> 00:19:59,380 Nortel has been doing that for a couple of years now. 230 00:19:59,440 --> 00:20:02,900 There is a backbone in Japan currently running IPv6. 231 00:20:06,600 --> 00:20:09,060 And don't forget the telcos, 232 00:20:09,060 --> 00:20:10,940 and I include Cisco in that. 233 00:20:11,120 --> 00:20:15,700 They will push this ahead since it's a big step for voice-over IP. 234 00:20:16,860 --> 00:20:18,260 Cisco is very aggressive. 235 00:20:18,420 --> 00:20:20,640 One of my customers is Philips in the Netherlands, 236 00:20:21,200 --> 00:20:22,460 and we do voice-over IP, 237 00:20:22,600 --> 00:20:25,380 and apparently Cisco is our major competitor there. 238 00:20:28,260 --> 00:20:30,520 So they have a clear interest, 239 00:20:30,620 --> 00:20:33,240 and we do have a clear interest in pursuing that. 240 00:20:33,620 --> 00:20:35,320 Only from a security point of view, 241 00:20:35,380 --> 00:20:37,100 that's of course a question if you want to do it. 242 00:20:37,500 --> 00:20:38,980 Free software is more, 243 00:20:39,060 --> 00:20:40,520 and more IPv6 enabled. 244 00:20:40,840 --> 00:20:45,900 Linux has had it in all the 2.4 kernels by default already. 245 00:20:46,180 --> 00:20:47,940 A lot of 2.2 kernels have it already. 246 00:20:48,840 --> 00:20:53,620 And there is a lot of software that is already ready for IPv6. 247 00:20:54,040 --> 00:20:55,720 So yes, it will come. 248 00:20:57,240 --> 00:20:59,580 Microsoft slowly starts to support it. 249 00:20:59,660 --> 00:21:03,900 They have had a research facility working on that for, I believe, 250 00:21:04,060 --> 00:21:05,260 more than two years. 251 00:21:05,740 --> 00:21:08,940 But they really didn't want, 252 00:21:09,060 --> 00:21:10,820 to work with that too much yet. 253 00:21:10,980 --> 00:21:13,840 They had some challenges with IPv4, I guess. 254 00:21:17,260 --> 00:21:19,200 But they worked them out, 255 00:21:19,380 --> 00:21:22,120 and now they are really ready for IPv6. 256 00:21:22,500 --> 00:21:24,400 They are now officially supporting it. 257 00:21:26,440 --> 00:21:29,320 Which basically shows that it's a secure protocol, 258 00:21:29,500 --> 00:21:31,820 because else a company like Microsoft wouldn't do this. 259 00:21:35,900 --> 00:21:38,540 But a really comforting thing for me, 260 00:21:39,060 --> 00:21:39,580 is the last one. 261 00:21:39,840 --> 00:21:42,300 Many patches are currently filed. 262 00:21:42,500 --> 00:21:44,520 And that means that people are using it, 263 00:21:44,540 --> 00:21:48,060 finding bugs apparently in the Linux implementations. 264 00:21:48,140 --> 00:21:50,000 And with the new version of the kernel, 265 00:21:50,220 --> 00:21:53,180 sometimes like eight, nine patches follow up, 266 00:21:53,300 --> 00:21:54,700 like three or four days later. 267 00:21:54,920 --> 00:21:58,180 So that indicates that at least some people are working with it, 268 00:21:58,240 --> 00:21:59,740 and are responding to mailing lists. 269 00:22:02,100 --> 00:22:07,580 Now, how did the designers of IPv6 see security in general? 270 00:22:10,260 --> 00:22:14,960 So, request for command 2401 defines general security architecture, 271 00:22:15,700 --> 00:22:21,080 and it speaks of an authentication header or encryption extensions. 272 00:22:21,240 --> 00:22:23,640 That might be any encryption you want to add. 273 00:22:25,600 --> 00:22:28,340 That, of course, is very interesting on its own. 274 00:22:31,660 --> 00:22:36,500 You can make a security association between two sites. 275 00:22:36,520 --> 00:22:38,820 That basically means that we are going to exchange, 276 00:22:38,960 --> 00:22:39,040 between two sites. 277 00:22:39,040 --> 00:22:39,540 That basically means that we are going to exchange information, 278 00:22:39,700 --> 00:22:41,720 and we are going to negotiate on the protocol. 279 00:22:43,180 --> 00:22:45,760 It's like building a trust in Windows NT. 280 00:22:46,020 --> 00:22:47,420 Well, that's a bad example. 281 00:22:48,920 --> 00:22:52,280 We are just going to exchange and to negotiate the protocol. 282 00:22:52,520 --> 00:22:53,320 That's basically it. 283 00:22:54,600 --> 00:22:56,960 It's logic that if we are going to do it, 284 00:22:57,000 --> 00:22:59,480 it's possible that I can have a bunch of people 285 00:22:59,480 --> 00:23:01,220 where I have a security association with. 286 00:23:03,080 --> 00:23:05,240 There are two modes I can work with, 287 00:23:05,360 --> 00:23:07,860 the tunnel mode or the transport mode. 288 00:23:08,140 --> 00:23:09,020 The tunnel mode is the transport mode. 289 00:23:09,020 --> 00:23:10,900 The tunnel mode basically is meant not end-to-end, 290 00:23:11,000 --> 00:23:15,140 but, for instance, I've got an IPv6 connection with you, 291 00:23:16,800 --> 00:23:19,940 and some part of it is IPv4. 292 00:23:20,220 --> 00:23:25,220 Then I can pack IPv4 into IPv6 into IPv4 293 00:23:25,220 --> 00:23:29,500 and still have my IPv6 connection with all my features. 294 00:23:30,590 --> 00:23:33,340 Of course, a weak link then is IPv4. 295 00:23:34,060 --> 00:23:34,680 All right. 296 00:23:37,670 --> 00:23:37,980 Authentication. 297 00:23:38,300 --> 00:23:38,420 Authentication. 298 00:23:38,420 --> 00:23:38,940 Authentication is basically, 299 00:23:38,940 --> 00:23:42,240 basically 32-bit words, so 96-bit authentication 300 00:23:42,240 --> 00:23:44,500 with integrity checking 301 00:23:44,500 --> 00:23:47,800 and authentication of the data origin. 302 00:23:51,800 --> 00:23:55,140 There is an optional anti-replay service. 303 00:23:56,540 --> 00:23:58,440 I wonder who requested that. 304 00:24:00,620 --> 00:24:04,860 And it is mostly based on IPsec, but not totally. 305 00:24:05,000 --> 00:24:08,020 I mean, if you want to run another protocol, it is possible. 306 00:24:08,940 --> 00:24:11,760 By the way, I'm still amazed about this anti-replay service, 307 00:24:11,980 --> 00:24:15,280 because if you make a little patch to the stack, 308 00:24:16,140 --> 00:24:17,300 you can disable that. 309 00:24:17,600 --> 00:24:22,260 So, I mean, if you run Linux and you can code a little bit, 310 00:24:22,880 --> 00:24:25,640 if you can type the pound sign, 311 00:24:25,820 --> 00:24:27,960 then you can change a lot already. 312 00:24:31,320 --> 00:24:36,180 Some new security issues in this also fantastic protocol. 313 00:24:38,160 --> 00:24:38,920 Privacy firewalls. 314 00:24:38,940 --> 00:24:43,860 If I can authenticate everybody that sends data to me, 315 00:24:44,760 --> 00:24:46,320 how are we looking on privacy? 316 00:24:47,660 --> 00:24:49,720 Sorry, privacy you say in America, don't you? 317 00:24:50,840 --> 00:24:52,960 How am I looking at privacy then? 318 00:24:53,560 --> 00:24:55,880 That is currently a big issue. 319 00:24:55,940 --> 00:24:58,740 And, of course, the industry is saying not to worry about that. 320 00:24:58,760 --> 00:24:59,360 We are trustworthy. 321 00:25:00,100 --> 00:25:01,700 Microsoft as number one. 322 00:25:02,960 --> 00:25:05,780 But without joking, that is a serious issue. 323 00:25:05,860 --> 00:25:08,320 If you can't buy something online anymore, 324 00:25:08,960 --> 00:25:14,200 because they do want to check your source address, 325 00:25:14,800 --> 00:25:17,220 because they've got a lame credit card system, 326 00:25:18,100 --> 00:25:21,100 that basically you have to do it. 327 00:25:21,140 --> 00:25:23,980 I mean, or you can't buy anymore. 328 00:25:24,200 --> 00:25:25,760 But it does affect you, 329 00:25:25,840 --> 00:25:28,020 and it makes it somewhat more proprietary. 330 00:25:31,640 --> 00:25:36,360 Apparently, there is a bug in the mobile version of IP version 6. 331 00:25:36,780 --> 00:25:38,580 And I wrote this. 332 00:25:38,580 --> 00:25:42,400 It is so vaguely, because I really tried to find more information on that, 333 00:25:42,500 --> 00:25:45,180 but nobody wants to tell me or talk about it, 334 00:25:45,260 --> 00:25:47,020 or it's not basically a problem. 335 00:25:47,380 --> 00:25:50,780 IEEE doesn't know really what it's all about, etc. 336 00:25:51,080 --> 00:25:52,740 But they are working on the new standard again. 337 00:25:55,080 --> 00:25:55,640 Okay. 338 00:25:59,800 --> 00:26:04,200 IPsec in general, despite the objections from Bruce Snyder, 339 00:26:04,320 --> 00:26:08,160 it doesn't really work, because there isn't an authority. 340 00:26:08,580 --> 00:26:16,700 You can't get handouts keys, yeah, of course, or HillStorm, sure. 341 00:26:19,660 --> 00:26:23,120 In general, there isn't an authority, and who should that be? 342 00:26:23,800 --> 00:26:25,300 Interdict? I don't think so. 343 00:26:26,800 --> 00:26:30,640 The processing demands on these devices are very heavy, 344 00:26:30,680 --> 00:26:32,820 which doesn't really matter for a PC, 345 00:26:32,960 --> 00:26:34,880 but if you want to have it on mobile devices, 346 00:26:35,000 --> 00:26:38,080 and that is one of their aims, it is a big issue. 347 00:26:41,900 --> 00:26:45,300 By the way, I'm also wondering how they're going to solve .NET, then, 348 00:26:45,960 --> 00:26:48,200 because they want to run that on mobile devices as well. 349 00:26:49,880 --> 00:26:54,440 With this new protocol, you run into double exploits. 350 00:26:55,240 --> 00:26:59,920 If I'm tunneling on IP version 4, what does that mean? 351 00:27:00,220 --> 00:27:03,080 Am I now all of a sudden more vulnerable, 352 00:27:04,000 --> 00:27:07,160 or can I make the other side an IP version 4 side, 353 00:27:07,300 --> 00:27:08,100 and don't I... 354 00:27:08,100 --> 00:27:08,560 don't I... 355 00:27:08,560 --> 00:27:10,520 don't I have to do any authentication anymore? 356 00:27:11,920 --> 00:27:13,960 Because it's not in IP version 4? 357 00:27:16,320 --> 00:27:18,940 And don't forget, ICMP has been extended. 358 00:27:21,920 --> 00:27:25,480 So all the people that now turned off ICMP are most likely, 359 00:27:25,600 --> 00:27:28,140 if you're going to use IP version 6, turn it on again. 360 00:27:28,720 --> 00:27:30,780 Ophir will thank people for that. 361 00:27:34,880 --> 00:27:37,620 Some cards on the table on the old issues. 362 00:27:38,560 --> 00:27:39,920 The man-in-the-middle attack. 363 00:27:41,820 --> 00:27:47,540 Well, I have to admit, IP version 6 is really optimized for a man-in-the-middle attack now. 364 00:27:49,640 --> 00:27:55,080 You can do so many nice things within the header to make it to flow your way, 365 00:27:56,300 --> 00:27:59,820 and if you think authentication is going to solve the problem, 366 00:28:00,020 --> 00:28:04,460 no, it's definitely not, because it's just a header sending a signature, 367 00:28:05,100 --> 00:28:06,520 but it's not over... 368 00:28:06,520 --> 00:28:07,040 it's... 369 00:28:07,040 --> 00:28:08,540 the signature is over all the data, 370 00:28:08,540 --> 00:28:10,440 they think, but that's definitely not true. 371 00:28:10,560 --> 00:28:13,960 It's just like, hello, it's me, I'm Brenno, and I'm sending you data. 372 00:28:14,340 --> 00:28:18,760 After that, I can do with the data whatever I want. 373 00:28:19,620 --> 00:28:22,180 And that's always the worst position to be in. 374 00:28:22,280 --> 00:28:24,160 You think you're secure, but you're not. 375 00:28:24,480 --> 00:28:25,540 Have a nice day. 376 00:28:28,560 --> 00:28:33,560 Sniffing, well, Etheroo is already IP version 6 enabled, 377 00:28:33,700 --> 00:28:35,200 so that's no problem. 378 00:28:36,740 --> 00:28:37,500 Spoofing addresses. 379 00:28:38,700 --> 00:28:44,120 I don't see a reason, sincerely, why I shouldn't be able to spoof addresses. 380 00:28:44,660 --> 00:28:47,540 Okay, if you do authentication, it's a little bit harder. 381 00:28:50,240 --> 00:28:55,720 But since there's no key authority, I think that wouldn't be too much of an issue, 382 00:28:55,760 --> 00:28:56,900 even if they use authentication. 383 00:28:57,280 --> 00:29:00,700 I really wonder if they are going to use authentication at all. 384 00:29:02,680 --> 00:29:06,420 And, of course, we have the professional end-to-end screw-ups. 385 00:29:08,540 --> 00:29:09,400 What about .NET? 386 00:29:09,560 --> 00:29:11,940 I do want to talk about it for a couple of seconds. 387 00:29:12,400 --> 00:29:13,760 Don't you just love that? 388 00:29:14,580 --> 00:29:16,000 Forget about the firewall. 389 00:29:16,280 --> 00:29:17,220 Why do we need it? 390 00:29:17,260 --> 00:29:20,560 We have an HTTP tunnel, and that will run our program. 391 00:29:21,100 --> 00:29:23,280 Our program will compile on your computer, 392 00:29:23,340 --> 00:29:28,180 and it will run twice as fast as all of our other Visual Basic applications. 393 00:29:30,520 --> 00:29:33,820 And no matter what security you took with IP version 6, 394 00:29:33,900 --> 00:29:36,020 it doesn't matter a single bit anymore. 395 00:29:38,620 --> 00:29:42,100 Because it will go to the other side, and it will run there. 396 00:29:42,280 --> 00:29:44,700 And you don't even have to worry about the firewall. 397 00:29:45,980 --> 00:29:50,280 Mails with scripts, those type of things, web scripts, they're all still there. 398 00:29:50,440 --> 00:29:55,040 So it's just a new transport mechanism, which does have a lot of advantages, 399 00:29:55,360 --> 00:29:59,460 but from a security point of view, it doesn't even solve it. 400 00:29:59,640 --> 00:30:02,200 As, by the way, Bruce Schneier said earlier this week, 401 00:30:02,740 --> 00:30:05,680 every version of Windows that's released thinks are worse. 402 00:30:05,900 --> 00:30:08,520 I think every version of IP that is released, 403 00:30:08,540 --> 00:30:09,960 you could say the same. 404 00:30:13,280 --> 00:30:17,420 DEF CON will definitely go on if IP version 6 comes there. 405 00:30:19,860 --> 00:30:22,180 So I would like to thank you for your attention. 406 00:30:22,580 --> 00:30:25,520 Thanks that you joined me so right in time. 407 00:30:26,840 --> 00:30:29,460 And I hope to see you next year again. 408 00:30:30,180 --> 00:30:31,760 Are there any questions, by the way? 409 00:30:43,420 --> 00:30:44,020 Yeah. 410 00:30:44,140 --> 00:30:45,040 MALE SPEAKER 2 411 00:30:48,160 --> 00:30:48,760 Yeah. 412 00:30:51,580 --> 00:30:54,680 The sequencing has been changed in IP version 6. 413 00:30:56,960 --> 00:31:01,000 So it is now, if I'm not mistaken, 414 00:31:01,140 --> 00:31:04,040 of course I haven't researched that myself too much, 415 00:31:04,120 --> 00:31:08,200 but if I'm not mistaken, IP version 6 now just sequentially adds numbers. 416 00:31:08,200 --> 00:31:10,040 So, it's like a straight numbering scheme. 417 00:31:18,880 --> 00:31:22,820 In general, TCP itself remains, that remains the same. 418 00:31:24,280 --> 00:31:24,720 Yeah. 419 00:31:27,880 --> 00:31:30,000 I don't think everybody can hear it, so. 420 00:31:30,800 --> 00:31:33,480 What I'm saying is right now, generally with, you know, 421 00:31:33,480 --> 00:31:38,740 I know that packet sequencing in TCP is considered pretty safe at this point, 422 00:31:38,840 --> 00:31:43,200 and I think it'll just continue to be safe, even with IPv6, 423 00:31:43,440 --> 00:31:46,560 as long as people make educated decisions when they're writing applications. 424 00:31:46,920 --> 00:31:52,040 So, I don't think that the network layer really has much to do with that sort of... 425 00:31:52,040 --> 00:31:52,420 Yeah. 426 00:31:52,600 --> 00:31:54,960 Being safe, by the way, is state of mind, so, yeah. 427 00:31:56,800 --> 00:31:57,260 Yeah? 428 00:31:57,840 --> 00:31:58,300 Yeah? 429 00:31:58,980 --> 00:31:59,440 Yeah. 430 00:32:05,860 --> 00:32:07,420 Yeah, that's absolutely true. 431 00:32:07,640 --> 00:32:09,860 Yeah, you tell them now. 432 00:32:11,440 --> 00:32:12,340 It's kind of amusing. 433 00:32:12,400 --> 00:32:14,600 I was at a DEF CON thing two years ago, 434 00:32:14,680 --> 00:32:19,800 and they saw IPv6 maximum packet size is one gigabyte, so have fun. 435 00:32:22,840 --> 00:32:26,060 I would love to see the CRC of that, by the way. 436 00:32:29,980 --> 00:32:30,420 Hey. 437 00:32:30,820 --> 00:32:32,540 When's it going to be widely deployed? 438 00:32:33,480 --> 00:32:34,920 I think it will be pretty soon. 439 00:32:38,820 --> 00:32:39,180 Yes. 440 00:32:40,600 --> 00:32:42,860 Yeah, Microsoft is now formally supporting it. 441 00:32:43,020 --> 00:32:45,060 Cisco is rolling it out in its routers. 442 00:32:45,940 --> 00:32:51,860 I think in a year or two, it will be, like, seriously deployed. 443 00:32:52,240 --> 00:32:55,800 Currently, of course, you have got networks, and go to an IT manager and say, 444 00:32:55,860 --> 00:32:57,300 hey, let's go to IPv6. 445 00:32:57,780 --> 00:32:59,320 You have to have a damn good reason. 446 00:32:59,400 --> 00:33:00,460 At this point, you don't. 447 00:33:00,460 --> 00:33:02,420 But I think that's just a matter of time. 448 00:33:03,480 --> 00:33:05,320 It's really fond of IPv6, 449 00:33:05,660 --> 00:33:07,800 and their government is spending a lot of money on it. 450 00:33:09,220 --> 00:33:10,320 Any other questions? 451 00:33:14,240 --> 00:33:16,020 Okay, thank you all for being here. 452 00:33:18,220 --> 00:33:19,180 Thank you.