1 00:00:00,000 --> 00:00:03,760 Welcome, I'm Sébastien Lacoste. This is Nicolas Fichebard. 2 00:00:03,980 --> 00:00:11,220 We are working for Coltelecom, a large ISP in Europe. 3 00:00:11,560 --> 00:00:12,740 So we are working in Switzerland. 4 00:00:14,200 --> 00:00:17,480 So the topic today will be Layer 2 routing protocols 5 00:00:18,000 --> 00:00:21,980 and a few hints and topics on router security and forensics. 6 00:00:24,660 --> 00:00:30,420 So on the Layer 2 side, we will talk about most of the Layer 2 protocols 7 00:00:30,420 --> 00:00:33,300 you are used to see out there in the world. 8 00:00:36,320 --> 00:00:37,340 It doesn't work. 9 00:00:39,360 --> 00:00:40,900 This screen doesn't work. 10 00:00:44,040 --> 00:00:46,020 No, it doesn't work. Sorry. 11 00:00:47,840 --> 00:00:51,960 So I will present ARP, STP, CDP and ARP. 12 00:00:51,980 --> 00:00:56,840 DPT and also VLAN and HSRP, VIP. 13 00:00:57,180 --> 00:01:01,140 So the goal will be to show you what can be done with those different protocols 14 00:01:01,140 --> 00:01:05,240 and how you could protect against the different attacks we will present. 15 00:01:05,860 --> 00:01:11,060 And then Nico will take over and we'll talk general configuration information 16 00:01:11,060 --> 00:01:12,580 based on Cisco equipment. 17 00:01:13,740 --> 00:01:19,160 And we'll have a presentation about how you can do a router forensic 18 00:01:19,780 --> 00:01:21,840 and integrity checking. 19 00:01:21,980 --> 00:01:23,540 For your Cisco equipment. 20 00:01:28,140 --> 00:01:32,600 Okay, so the Layer 2 protocol attacks are already used. 21 00:01:32,780 --> 00:01:33,840 Some are well-known. 22 00:01:34,180 --> 00:01:39,400 So most of the attacks already used are ARP-based attacks 23 00:01:39,400 --> 00:01:41,120 like cache poisoning. 24 00:01:42,820 --> 00:01:46,560 You have a set of tools available for those attacks 25 00:01:46,560 --> 00:01:51,960 like DSNIF and DIRANIS, IPOC and so on. 26 00:01:52,620 --> 00:01:54,980 So people are used to those attacks. 27 00:01:55,320 --> 00:01:58,700 But you can do much more on your Ethernet-based network. 28 00:02:00,860 --> 00:02:05,860 Mainly on new protocols or protocols used for high availability 29 00:02:05,860 --> 00:02:07,440 like HSRP and VRP. 30 00:02:08,520 --> 00:02:13,740 There are also a lot of bunch of attacks you can manage against VLANs 31 00:02:13,740 --> 00:02:15,160 and spanning-tree protocols. 32 00:02:18,760 --> 00:02:20,580 What we'll see in the future, 33 00:02:20,580 --> 00:02:24,380 there are more and more people investigating those areas 34 00:02:24,380 --> 00:02:26,120 doing some research. 35 00:02:26,880 --> 00:02:29,260 And there are more and more tools available. 36 00:02:30,100 --> 00:02:34,700 And most of the time the network crew is not used to have a look 37 00:02:34,700 --> 00:02:35,880 at this layer of the network. 38 00:02:36,420 --> 00:02:42,060 So the main issue is that if someone manages to do or to attack you 39 00:02:42,060 --> 00:02:44,200 at those layers, nobody will notice it. 40 00:02:46,720 --> 00:02:48,100 And it's more linked. 41 00:02:48,320 --> 00:02:50,560 Nico will talk more in detail later on. 42 00:02:51,820 --> 00:02:55,220 We are seeing more and more research on rootkit 43 00:02:55,220 --> 00:02:59,480 and for embedded devices or network equipment. 44 00:03:00,040 --> 00:03:03,020 So I don't know if you attended the FX talk earlier. 45 00:03:03,380 --> 00:03:06,980 He presented some nice stuff against the IP printer and Cisco devices. 46 00:03:07,540 --> 00:03:09,140 And there are much more coming. 47 00:03:09,400 --> 00:03:11,040 So be prepared. 48 00:03:13,860 --> 00:03:18,580 Okay, I already presented quickly the different protocol I will go through. 49 00:03:20,580 --> 00:03:21,580 So let's start with spanning-tree. 50 00:03:21,680 --> 00:03:24,640 Spanning-tree, probably everybody is using it, 51 00:03:24,740 --> 00:03:26,380 even if you don't know about it. 52 00:03:27,200 --> 00:03:30,320 It's used to prevent loop in your Ethernet network. 53 00:03:31,080 --> 00:03:35,720 So mainly this protocol will detect loop in the network 54 00:03:35,720 --> 00:03:39,160 and block the ports to prevent the loop to happen. 55 00:03:40,440 --> 00:03:43,640 So most of the switching equipment spanning-tree protocol 56 00:03:43,640 --> 00:03:45,840 is enabled by default on all ports. 57 00:03:47,680 --> 00:03:50,140 And what you have to do with spanning-tree protocol, 58 00:03:50,140 --> 00:03:54,280 this protocol was not designed for security. 59 00:03:54,580 --> 00:03:55,780 So you have no way to... 60 00:03:56,380 --> 00:04:00,240 Not a lot of different way to protect against spanning-tree attacks. 61 00:04:01,960 --> 00:04:07,800 So there is a small state machine presenting the spanning-tree processing 62 00:04:07,800 --> 00:04:08,780 for a Cisco router. 63 00:04:10,040 --> 00:04:14,820 So what has to be known, as long as spanning-tree is processed, 64 00:04:15,040 --> 00:04:17,260 the port will be blocked. 65 00:04:17,260 --> 00:04:20,400 So no traffic will be received or sent over this port, 66 00:04:20,540 --> 00:04:23,020 which can be used later on for denial-of-service attack. 67 00:04:25,960 --> 00:04:28,420 So how does spanning-tree usually work? 68 00:04:28,600 --> 00:04:30,920 So this is a sample network with like four switches 69 00:04:30,920 --> 00:04:34,400 and a redundant link on the two upper switches. 70 00:04:34,920 --> 00:04:37,780 So spanning-tree will elect a root switch 71 00:04:37,780 --> 00:04:41,120 that will be the master for the spanning-tree processing. 72 00:04:42,200 --> 00:04:44,340 And the spanning-tree protocol will run 73 00:04:44,340 --> 00:04:46,540 and will block the redundant links 74 00:04:46,540 --> 00:04:47,900 to avoid loops on the network. 75 00:04:48,280 --> 00:04:51,720 So basically all the traffic will go through the root switch. 76 00:04:53,340 --> 00:04:54,800 So this is nice to know. 77 00:04:54,860 --> 00:04:56,700 If you are now on a network with several switches 78 00:04:56,700 --> 00:05:00,600 and you want to do some traffic interception or sniffing, 79 00:05:01,900 --> 00:05:04,800 you could use spanning-tree to force the traffic to go through you. 80 00:05:06,460 --> 00:05:09,880 So here is our attacker connecting to the two switches. 81 00:05:10,020 --> 00:05:11,820 So for this kind of attack you need to have access 82 00:05:11,820 --> 00:05:13,720 to two different equipment, two switches. 83 00:05:15,160 --> 00:05:18,580 So what you will have to do is pretend to be the root switch. 84 00:05:18,800 --> 00:05:21,680 So it's an election process. 85 00:05:22,240 --> 00:05:24,660 So the only thing you have to do is to announce yourself 86 00:05:24,660 --> 00:05:27,460 with higher priorities than the existing switches. 87 00:05:28,540 --> 00:05:33,260 And then run spanning-tree and force the blocking of all the other ports. 88 00:05:34,400 --> 00:05:39,160 So doing this, all the traffic between the right and the left side 89 00:05:39,160 --> 00:05:40,220 will go through the attacker. 90 00:05:40,820 --> 00:05:43,220 So then you can freely sniff the traffic 91 00:05:43,220 --> 00:05:46,580 and mainly nobody on the network will notice it 92 00:05:46,580 --> 00:05:47,700 because it's totally transparent 93 00:05:48,220 --> 00:05:51,480 and most of the time nobody is monitoring this layer of the network. 94 00:05:52,020 --> 00:05:53,700 So yeah, this is quite nice. 95 00:05:56,820 --> 00:05:59,540 Another kind of spanning-tree attack you can do 96 00:05:59,540 --> 00:06:01,540 is one which is more well-known. 97 00:06:01,660 --> 00:06:07,360 It's a MAC address entry poisoning. 98 00:06:08,240 --> 00:06:12,660 So you can have a deny of service against the switch doing that. 99 00:06:13,640 --> 00:06:18,120 What you could also do is force infinite spanning-tree processing. 100 00:06:18,620 --> 00:06:21,860 Meaning during the processing all the ports are blocked. 101 00:06:22,080 --> 00:06:26,140 You will have a completely deny of service on your Ethernet network. 102 00:06:27,720 --> 00:06:31,740 So those attacks are pretty simple to make. 103 00:06:32,080 --> 00:06:33,680 Spanning-tree protocol is not really easy. 104 00:06:33,820 --> 00:06:36,780 You have a server implementation like in the Linux kernel for example. 105 00:06:37,120 --> 00:06:38,120 You have patch for it. 106 00:06:38,300 --> 00:06:41,740 And you have a set of tools for manipulating spanning-tree. 107 00:06:42,600 --> 00:06:44,520 So it's really easy to make 108 00:06:44,520 --> 00:06:46,380 and really hard to track down 109 00:06:46,380 --> 00:06:48,660 because once spanning-tree is running 110 00:06:48,660 --> 00:06:50,820 you don't have any more access to any equipment. 111 00:06:51,020 --> 00:06:54,160 So what you will need is a serial access to all your switches, 112 00:06:54,400 --> 00:06:56,640 analyze spanning-tree topology 113 00:06:56,640 --> 00:06:59,200 and see and try to understand what's going on. 114 00:07:01,040 --> 00:07:04,000 So there are a few security measures you can use 115 00:07:04,000 --> 00:07:06,620 as a prevention against those kind of attacks. 116 00:07:07,800 --> 00:07:09,660 The main one will be to monitor 117 00:07:09,660 --> 00:07:11,720 which equipment is a root problem. 118 00:07:11,740 --> 00:07:13,520 If you have a stable network 119 00:07:13,520 --> 00:07:16,500 if you don't add or modify the configuration of your equipment 120 00:07:16,500 --> 00:07:18,780 the root bridge shouldn't change. 121 00:07:18,980 --> 00:07:21,800 So it should be always the same equipment. 122 00:07:22,220 --> 00:07:23,260 And if you have a large network 123 00:07:23,260 --> 00:07:26,320 usually you define yourself which one is a root bridge 124 00:07:26,320 --> 00:07:28,840 by setting up your priority for this one. 125 00:07:30,460 --> 00:07:33,520 Another thing you can do is filter MAC address 126 00:07:33,520 --> 00:07:39,040 that can be available on each port. 127 00:07:39,440 --> 00:07:41,540 So depending on your equipment 128 00:07:41,740 --> 00:07:42,800 you have a different command set. 129 00:07:43,000 --> 00:07:46,020 Here we are presenting the command for Cisco switches. 130 00:07:46,980 --> 00:07:49,980 So you can just define which MAC address 131 00:07:49,980 --> 00:07:52,380 are available on a port 132 00:07:52,380 --> 00:07:54,380 to avoid someone plugging in on your network. 133 00:07:55,360 --> 00:07:57,900 Now to filter a spanning-tree attack 134 00:07:57,900 --> 00:08:00,360 what you should do on each port 135 00:08:00,360 --> 00:08:03,440 which is not connected to another switch 136 00:08:03,440 --> 00:08:04,580 running spanning-tree 137 00:08:04,580 --> 00:08:09,940 you should disable spanning-tree PDU protocol. 138 00:08:11,740 --> 00:08:13,160 Here you have as an example 139 00:08:13,160 --> 00:08:15,500 the command line for a multi-layer switch. 140 00:08:16,280 --> 00:08:17,460 So it's pretty simple 141 00:08:18,340 --> 00:08:20,440 and you can deactivate it 142 00:08:20,440 --> 00:08:22,820 for the wall switch or per interface. 143 00:08:24,860 --> 00:08:26,040 Just a small note 144 00:08:26,040 --> 00:08:27,860 there is a nice feature on Cisco switches 145 00:08:27,860 --> 00:08:30,940 you can filter the amount of broadcast traffic 146 00:08:30,940 --> 00:08:31,960 allowed on your network. 147 00:08:32,220 --> 00:08:34,540 So it's just a percentage of your global traffic 148 00:08:34,540 --> 00:08:37,560 and it's also very convenient 149 00:08:37,560 --> 00:08:40,060 to block broadcast storm and so on. 150 00:08:42,120 --> 00:08:44,040 So now we move to another protocol 151 00:08:44,040 --> 00:08:45,340 which is used by Cisco. 152 00:08:45,560 --> 00:08:47,580 So it's a proprietary protocol. 153 00:08:48,540 --> 00:08:50,600 So it's based on HDLC 154 00:08:50,600 --> 00:08:52,160 meaning it doesn't use IP. 155 00:08:52,740 --> 00:08:54,220 It's a multicast traffic. 156 00:08:54,920 --> 00:08:57,560 So basically CDP is used to 157 00:08:57,560 --> 00:09:00,340 automatically discover your network. 158 00:09:00,580 --> 00:09:05,880 Every equipment will broadcast CDP information 159 00:09:06,740 --> 00:09:10,100 which contains device name, network, configuration 160 00:09:10,100 --> 00:09:13,220 and capabilities of the equipment and so on. 161 00:09:17,660 --> 00:09:21,720 Okay, so this is an example of a capture CDP packet. 162 00:09:22,500 --> 00:09:24,780 So this was in a previous conference 163 00:09:24,780 --> 00:09:26,140 in CanSecWest in Vancouver. 164 00:09:26,860 --> 00:09:29,020 It was on the hotel network. 165 00:09:29,200 --> 00:09:31,080 This was the main router of the network. 166 00:09:31,500 --> 00:09:34,160 So mainly what you will be able to see with CDP 167 00:09:34,160 --> 00:09:38,000 was the IP address of the management network 168 00:09:38,000 --> 00:09:40,000 which is the first red circuit 169 00:09:40,100 --> 00:09:42,120 which is quite convenient 170 00:09:42,120 --> 00:09:43,980 if you want to attack it. 171 00:09:45,020 --> 00:09:47,460 And you can also identify easily 172 00:09:47,460 --> 00:09:48,540 the model of equipment. 173 00:09:48,880 --> 00:09:50,260 So if you have an attack 174 00:09:50,260 --> 00:09:51,980 for a specific model of equipment, 175 00:09:52,560 --> 00:09:55,700 this is a way to identify the equipment very easily. 176 00:09:59,200 --> 00:10:01,480 You are also to know that Spanning Tree 177 00:10:01,480 --> 00:10:04,840 is subject to denial of service attacks. 178 00:10:04,920 --> 00:10:08,080 It was discovered by FX last year. 179 00:10:08,520 --> 00:10:10,080 So you are able to judge 180 00:10:10,100 --> 00:10:10,360 whether or not there is a problem with the equipment. 181 00:10:10,360 --> 00:10:14,800 So you can just send a lot of CDP packets 182 00:10:14,800 --> 00:10:17,320 to the router or to the equipment 183 00:10:17,320 --> 00:10:18,480 and it will just crash 184 00:10:18,480 --> 00:10:23,560 when the CDP entry memory was full. 185 00:10:24,800 --> 00:10:26,340 So the security measure. 186 00:10:27,600 --> 00:10:29,440 Usually you don't need CDP. 187 00:10:29,900 --> 00:10:31,960 You have probably other monitoring tools 188 00:10:31,960 --> 00:10:32,880 that don't use CDP. 189 00:10:33,040 --> 00:10:35,700 So if you don't use it, just deactivate it. 190 00:10:35,840 --> 00:10:38,120 It's just simple sanity measure. 191 00:10:38,680 --> 00:10:40,080 So you can deactivate it. 192 00:10:40,080 --> 00:10:41,960 You can activate CDP for the whole equipment 193 00:10:41,960 --> 00:10:46,300 or on each interface of your equipment. 194 00:10:47,340 --> 00:10:49,120 So you have the example of configuration. 195 00:10:52,820 --> 00:10:55,880 Now we move a little bit to the VLAN. 196 00:10:56,080 --> 00:10:57,400 So layer to partitioning. 197 00:10:58,820 --> 00:11:00,320 So as you probably all know, 198 00:11:00,420 --> 00:11:02,960 VLANs were not designed for doing any security. 199 00:11:03,200 --> 00:11:06,660 It was just for network isolation, 200 00:11:07,020 --> 00:11:09,300 just for easier management or administration. 201 00:11:11,900 --> 00:11:13,360 Unfortunately, a lot of people 202 00:11:13,360 --> 00:11:15,460 tend to use VLAN to partition networks. 203 00:11:16,760 --> 00:11:19,300 So as this protocol was not designed for security, 204 00:11:19,520 --> 00:11:21,000 you have a few flaws 205 00:11:21,000 --> 00:11:23,620 or at least a few points you should pay attention to. 206 00:11:27,980 --> 00:11:30,640 One main protocol which is used by Cisco, 207 00:11:30,700 --> 00:11:32,020 which is VMPS, 208 00:11:32,280 --> 00:11:34,040 which is a VLAN management policy server. 209 00:11:34,360 --> 00:11:36,500 It's a very nice protocol. 210 00:11:37,620 --> 00:11:39,740 On the VMPS server, 211 00:11:39,740 --> 00:11:43,100 you just define a MAC address of your workstation 212 00:11:43,100 --> 00:11:44,380 and you define on the server 213 00:11:44,380 --> 00:11:49,400 in which VLAN this MAC address will belong to. 214 00:11:49,880 --> 00:11:52,480 So when you want to use your workstation, 215 00:11:52,600 --> 00:11:53,900 you just plug on any switch 216 00:11:53,900 --> 00:11:57,080 and it will automatically belong to the right VLAN. 217 00:11:57,460 --> 00:12:00,100 So the problem is it's easy to spoof the MAC address, 218 00:12:00,360 --> 00:12:01,840 so if anybody knows your MAC address, 219 00:12:01,980 --> 00:12:03,040 they will have access to your VLAN. 220 00:12:03,320 --> 00:12:05,360 So yeah, just use this protocol. 221 00:12:05,640 --> 00:12:06,180 That's it. 222 00:12:09,740 --> 00:12:11,680 Another problem with VLAN 223 00:12:11,680 --> 00:12:13,840 will be to be able to jump across VLAN. 224 00:12:14,480 --> 00:12:15,640 So in the past, 225 00:12:15,700 --> 00:12:17,560 there were several issues with the switches 226 00:12:17,560 --> 00:12:21,520 when you were able to break the switch 227 00:12:21,520 --> 00:12:23,480 by jumping from one VLAN to another. 228 00:12:24,060 --> 00:12:27,360 In the latest release on most of the equipment, 229 00:12:27,600 --> 00:12:30,340 it's impossible or much harder to do. 230 00:12:30,940 --> 00:12:34,480 However, there are some protocols used for VLAN management. 231 00:12:35,480 --> 00:12:36,880 So like DTP, 232 00:12:37,160 --> 00:12:38,720 which is dynamic tracking protocol. 233 00:12:40,300 --> 00:12:45,380 So DTP is used to send several VLAN bits across switches. 234 00:12:45,780 --> 00:12:48,020 So typically, on one port, 235 00:12:48,240 --> 00:12:50,860 you will have all the VLAN going through this port. 236 00:12:53,260 --> 00:12:56,280 One main problem is that on a lot of equipment, 237 00:12:56,640 --> 00:12:59,320 all the ports are able to do DTP by default. 238 00:12:59,700 --> 00:13:01,580 So you just have to plug to the equipment, 239 00:13:01,740 --> 00:13:04,000 say, OK, hello, I want to do some tracking. 240 00:13:04,320 --> 00:13:06,760 So the switch will say, OK, fine, let's do tracking. 241 00:13:07,020 --> 00:13:09,520 And then you will have access to all the VLANs, 242 00:13:09,740 --> 00:13:10,640 on the switch. 243 00:13:10,900 --> 00:13:12,720 So you will just have the choice. 244 00:13:13,000 --> 00:13:14,960 You will be able to choose on which VLAN 245 00:13:14,960 --> 00:13:16,000 you want to send your packets. 246 00:13:16,520 --> 00:13:17,640 And well, it's done. 247 00:13:22,160 --> 00:13:23,380 Yeah, mainly. 248 00:13:24,080 --> 00:13:24,620 So... 249 00:13:28,880 --> 00:13:33,080 Main protection against DTP is just deactivated 250 00:13:33,080 --> 00:13:36,780 on each port which doesn't need to run tracking. 251 00:13:37,300 --> 00:13:38,520 So by default, 252 00:13:38,520 --> 00:13:41,320 only the port between switches, 253 00:13:41,480 --> 00:13:42,400 which are in tracking mode, 254 00:13:42,500 --> 00:13:44,400 should be allowed to use DTP. 255 00:13:47,040 --> 00:13:49,360 Another nice protocol is DTP, 256 00:13:49,600 --> 00:13:51,320 which is a VLAN tracking protocol. 257 00:13:52,260 --> 00:13:56,060 It's a protocol used for centrally manage all the VLAN. 258 00:13:56,300 --> 00:14:00,580 So with this protocol, 259 00:14:00,760 --> 00:14:02,860 you will be able to, 260 00:14:02,960 --> 00:14:04,440 instead of going to each equipment 261 00:14:04,440 --> 00:14:06,920 and define which VLAN are available on your network, 262 00:14:06,920 --> 00:14:10,300 you will only need to go to one equipment, 263 00:14:10,560 --> 00:14:11,240 define the VLAN, 264 00:14:11,400 --> 00:14:13,700 and it will be spread across your own network. 265 00:14:14,660 --> 00:14:16,740 So it uses CDP-like frames, 266 00:14:17,440 --> 00:14:19,720 and it communicates only over trunk ports. 267 00:14:20,660 --> 00:14:22,080 So using this protocol, 268 00:14:22,300 --> 00:14:23,960 you can easily remove VLANs 269 00:14:24,500 --> 00:14:26,640 or create spanning tree loops in your network. 270 00:14:28,040 --> 00:14:29,020 So definitely, 271 00:14:29,820 --> 00:14:31,520 you should deactivate it, 272 00:14:31,660 --> 00:14:35,540 or at least set a password on it 273 00:14:35,540 --> 00:14:36,840 so you have an example. 274 00:14:36,840 --> 00:14:38,320 for Cisco switches. 275 00:14:46,460 --> 00:14:48,680 Okay, coming back to DTP. 276 00:14:49,400 --> 00:14:51,040 So as I said, 277 00:14:51,060 --> 00:14:51,580 with DTP, 278 00:14:51,680 --> 00:14:55,140 you can inject frames in any VLAN you want, 279 00:14:55,360 --> 00:14:57,140 or jump between VLANs. 280 00:14:57,220 --> 00:15:00,140 So deactivate it if you don't need it. 281 00:15:02,600 --> 00:15:04,740 Okay, another protocol which is often running 282 00:15:04,740 --> 00:15:06,100 if you have high availability, 283 00:15:06,100 --> 00:15:08,600 or equipment, 284 00:15:09,100 --> 00:15:10,720 it's HSRP and VRP. 285 00:15:11,180 --> 00:15:13,580 So HSRP is used mainly by Cisco, 286 00:15:13,780 --> 00:15:16,120 and VRP is a more standard protocol 287 00:15:16,120 --> 00:15:19,640 used by like Nokia, 288 00:15:19,920 --> 00:15:20,880 or Checkpoint Firewall One, 289 00:15:21,000 --> 00:15:21,460 and so on. 290 00:15:23,000 --> 00:15:24,400 The goal of those protocols 291 00:15:24,400 --> 00:15:26,660 is to provide the next-up redundancy. 292 00:15:26,860 --> 00:15:29,000 This means an IP address will be shared 293 00:15:29,000 --> 00:15:29,920 between two equipment. 294 00:15:30,280 --> 00:15:31,160 One will be master, 295 00:15:31,300 --> 00:15:32,980 one is standby, 296 00:15:33,260 --> 00:15:34,520 and if the master fails, 297 00:15:34,720 --> 00:15:36,020 the standby equipment will take over. 298 00:15:36,100 --> 00:15:36,580 the IP address. 299 00:15:38,940 --> 00:15:42,980 So this protocol is usually using multicast 300 00:15:42,980 --> 00:15:44,880 for advertising between both equipment 301 00:15:44,880 --> 00:15:46,540 with a virtual MAC address. 302 00:15:50,520 --> 00:15:51,880 What you have to know is 303 00:15:51,880 --> 00:15:53,180 with Cisco routers, 304 00:15:53,260 --> 00:15:54,720 if you have more than two routers 305 00:15:54,720 --> 00:15:56,040 in a standby group, 306 00:15:56,340 --> 00:15:58,640 you don't need to kill any router 307 00:15:58,640 --> 00:16:00,080 to take over the IP address. 308 00:16:00,260 --> 00:16:01,640 You just need to advertise yourself 309 00:16:01,640 --> 00:16:03,440 with a higher priority. 310 00:16:04,960 --> 00:16:07,100 And then you will have the IP address, 311 00:16:07,300 --> 00:16:08,460 and you will get all the traffic. 312 00:16:09,400 --> 00:16:11,780 So this protocol supports MD5 authentication, 313 00:16:12,240 --> 00:16:14,220 so, yeah, activate it. 314 00:16:17,520 --> 00:16:19,520 So here you have the command 315 00:16:19,520 --> 00:16:22,720 for the authentication part, 316 00:16:22,980 --> 00:16:24,760 and you can also define yourself 317 00:16:24,760 --> 00:16:26,180 the MAC address you want to use 318 00:16:26,180 --> 00:16:27,800 for this protocol. 319 00:16:28,760 --> 00:16:30,200 If you really want to add 320 00:16:30,200 --> 00:16:31,180 another layer of security, 321 00:16:31,380 --> 00:16:32,520 you could use IPSec 322 00:16:32,520 --> 00:16:33,760 for the communication 323 00:16:33,760 --> 00:16:34,980 between the two equipment. 324 00:16:35,760 --> 00:16:37,360 The main problem is that 325 00:16:38,060 --> 00:16:39,920 HSRP is using multicast frames, 326 00:16:40,060 --> 00:16:41,480 so it's quite tricky to set up 327 00:16:41,480 --> 00:16:42,280 on your equipment. 328 00:16:42,860 --> 00:16:44,060 But it's possible, 329 00:16:44,140 --> 00:16:45,660 depending on your iOS release. 330 00:16:46,360 --> 00:16:47,240 And definitely, 331 00:16:47,460 --> 00:16:49,180 it's only limited to two routers, 332 00:16:49,260 --> 00:16:51,540 because you cannot have multipoint 333 00:16:51,540 --> 00:16:52,260 IPSec tunnels. 334 00:16:55,640 --> 00:16:58,220 So VRRP has mainly the same issue 335 00:16:58,220 --> 00:16:58,860 as IPSec. 336 00:16:59,420 --> 00:17:01,200 Now I will go to another issue, 337 00:17:01,200 --> 00:17:04,780 is once something is going wrong 338 00:17:04,780 --> 00:17:06,160 on your network, 339 00:17:06,440 --> 00:17:08,100 what can you do to troubleshoot it? 340 00:17:09,900 --> 00:17:11,960 Yeah, one way of doing it 341 00:17:11,960 --> 00:17:13,480 is to do it locally on the equipment. 342 00:17:14,180 --> 00:17:16,320 So depending on the kind of equipment 343 00:17:16,320 --> 00:17:18,200 and the model 344 00:17:18,200 --> 00:17:20,180 and the volume of traffic you have on it, 345 00:17:20,300 --> 00:17:21,840 it may be more or less easy. 346 00:17:22,960 --> 00:17:24,020 Most of the time, 347 00:17:24,040 --> 00:17:26,660 if you have heavy-loaded equipment 348 00:17:26,660 --> 00:17:27,380 or switch, 349 00:17:27,640 --> 00:17:30,460 as soon as you enable some debugging 350 00:17:30,460 --> 00:17:33,020 or traffic dump on the equipment, 351 00:17:33,180 --> 00:17:34,140 you will just crash it. 352 00:17:35,320 --> 00:17:36,500 However, it's possible. 353 00:17:36,760 --> 00:17:39,020 So on Cisco switch, 354 00:17:39,100 --> 00:17:40,640 you just have to define an ACL 355 00:17:40,640 --> 00:17:43,260 for the traffic you want to dump. 356 00:17:44,260 --> 00:17:45,380 And definitely, 357 00:17:45,700 --> 00:17:47,960 please activate the loading buffer 358 00:17:47,960 --> 00:17:50,480 so the output is not directly printed 359 00:17:50,480 --> 00:17:51,040 on the console, 360 00:17:51,200 --> 00:17:51,880 but in the buffer 361 00:17:52,260 --> 00:17:53,860 that you can access easily. 362 00:17:56,420 --> 00:17:59,380 So this kind of monitoring 363 00:17:59,380 --> 00:18:00,660 or traffic dumping 364 00:18:00,660 --> 00:18:02,680 will have a high CPU impact 365 00:18:02,680 --> 00:18:03,380 on your router. 366 00:18:03,640 --> 00:18:04,660 And as I said, 367 00:18:04,740 --> 00:18:05,440 most of the time, 368 00:18:05,480 --> 00:18:06,400 it will crash your equipment. 369 00:18:08,800 --> 00:18:10,360 Another way of doing it is, 370 00:18:10,440 --> 00:18:12,000 if you are working on router, 371 00:18:12,320 --> 00:18:14,080 is to send the traffic you want 372 00:18:14,080 --> 00:18:16,560 over a GRI tunnel 373 00:18:16,560 --> 00:18:18,220 to another device. 374 00:18:18,920 --> 00:18:20,700 So one easy way to do that 375 00:18:20,700 --> 00:18:22,020 is using a GRI tunnel, 376 00:18:22,140 --> 00:18:23,680 which is IP over IP encapsulation. 377 00:18:24,620 --> 00:18:26,080 And you can use a tool 378 00:18:26,080 --> 00:18:27,360 like TunnelX on the other side 379 00:18:27,360 --> 00:18:28,300 to receive the traffic 380 00:18:28,300 --> 00:18:29,220 and analyze it. 381 00:18:32,800 --> 00:18:34,000 When you're on switches, 382 00:18:34,880 --> 00:18:36,440 it's a little bit more convenient 383 00:18:36,440 --> 00:18:37,180 than on a router 384 00:18:37,180 --> 00:18:38,500 because you have 385 00:18:38,500 --> 00:18:40,420 what is called spanning tree port. 386 00:18:42,120 --> 00:18:44,100 So those ports allow to, 387 00:18:44,240 --> 00:18:45,240 with those ports, 388 00:18:45,320 --> 00:18:46,240 you can mirror the traffic 389 00:18:46,240 --> 00:18:47,840 of your switch to these ports. 390 00:18:47,920 --> 00:18:48,340 You just, 391 00:18:48,360 --> 00:18:49,420 you can plug your PC 392 00:18:49,420 --> 00:18:50,420 or any other equipment 393 00:18:50,420 --> 00:18:52,820 to analyze the traffic. 394 00:18:55,040 --> 00:18:57,500 So depending on what model of switch 395 00:18:57,500 --> 00:18:58,500 you are working on, 396 00:18:58,500 --> 00:18:58,980 you can monitor 397 00:18:59,380 --> 00:18:59,940 the whole switch traffic 398 00:18:59,940 --> 00:19:01,460 or define the VLANs 399 00:19:01,460 --> 00:19:02,100 you want to monitor, 400 00:19:02,940 --> 00:19:03,720 et cetera. 401 00:19:05,720 --> 00:19:07,420 A nice feature you have also 402 00:19:07,420 --> 00:19:10,560 on the 6000 series from Cisco 403 00:19:11,160 --> 00:19:13,780 is that you can send a span port 404 00:19:13,780 --> 00:19:14,980 across several switches. 405 00:19:15,880 --> 00:19:16,740 Let's say you have four, 406 00:19:16,800 --> 00:19:18,100 five, six, five, or nine 407 00:19:18,100 --> 00:19:18,720 on your network, 408 00:19:18,860 --> 00:19:19,580 you just link them 409 00:19:20,140 --> 00:19:22,720 and the spanning tree, 410 00:19:22,880 --> 00:19:24,260 the spanning port of, 411 00:19:25,120 --> 00:19:26,940 of mirroring port of one switch 412 00:19:26,940 --> 00:19:27,880 will be sent across 413 00:19:27,880 --> 00:19:28,920 all the switches 414 00:19:28,920 --> 00:19:29,860 to the last one. 415 00:19:30,140 --> 00:19:32,120 And you just need to plug 416 00:19:32,120 --> 00:19:33,100 in one place 417 00:19:33,100 --> 00:19:34,040 to monitor your traffic. 418 00:19:35,180 --> 00:19:36,380 So this feature 419 00:19:36,380 --> 00:19:37,260 is called AirSpan. 420 00:19:39,560 --> 00:19:40,720 And the nice, 421 00:19:40,740 --> 00:19:42,200 the nice thing is that 422 00:19:42,200 --> 00:19:42,660 on switches, 423 00:19:42,760 --> 00:19:43,880 you have a performance impact 424 00:19:43,880 --> 00:19:44,900 which is close to zero 425 00:19:44,900 --> 00:19:47,180 with port mirroring. 426 00:19:49,680 --> 00:19:50,200 Okay, 427 00:19:50,280 --> 00:19:50,640 this was 428 00:19:50,640 --> 00:19:53,160 for the Layer 2 part. 429 00:19:53,360 --> 00:19:54,400 So Nico will continue on 430 00:19:54,400 --> 00:19:55,500 with router configuration 431 00:19:55,500 --> 00:19:57,300 and router forensic. 432 00:19:57,580 --> 00:19:57,860 Thank you. 433 00:20:00,660 --> 00:20:01,300 Thank you. 434 00:20:01,420 --> 00:20:02,500 So we're going to go ahead 435 00:20:02,500 --> 00:20:03,660 with some configuration basics, 436 00:20:03,980 --> 00:20:04,460 forensics, 437 00:20:04,480 --> 00:20:04,820 and so on. 438 00:20:05,020 --> 00:20:05,620 Don't write, 439 00:20:05,720 --> 00:20:06,540 don't try to write 440 00:20:06,540 --> 00:20:07,140 everything down. 441 00:20:07,300 --> 00:20:07,680 We're going to put 442 00:20:07,680 --> 00:20:08,540 the presentation online 443 00:20:08,540 --> 00:20:09,600 and give you the address 444 00:20:09,600 --> 00:20:10,680 at the end on the last, 445 00:20:10,680 --> 00:20:11,200 last slide 446 00:20:11,200 --> 00:20:12,680 so you can get a copy of it. 447 00:20:13,260 --> 00:20:14,060 So basically, 448 00:20:14,200 --> 00:20:16,020 like any operating system, 449 00:20:17,040 --> 00:20:17,440 routers, 450 00:20:17,500 --> 00:20:17,740 switches, 451 00:20:17,800 --> 00:20:18,460 and so on, 452 00:20:18,560 --> 00:20:20,120 also have a lot of services 453 00:20:20,120 --> 00:20:21,120 turned on by default 454 00:20:21,120 --> 00:20:22,020 that nobody needs. 455 00:20:22,400 --> 00:20:23,500 So the first, 456 00:20:23,500 --> 00:20:25,420 the first four tables 457 00:20:25,420 --> 00:20:25,820 you see 458 00:20:25,820 --> 00:20:26,920 are all the basic services 459 00:20:26,920 --> 00:20:27,780 you should turn off 460 00:20:27,780 --> 00:20:27,840 on your network. 461 00:20:27,860 --> 00:20:28,800 Because they're really 462 00:20:28,800 --> 00:20:29,860 not useful 463 00:20:30,780 --> 00:20:32,220 in most of the environments 464 00:20:32,220 --> 00:20:33,540 you guys run routers 465 00:20:33,540 --> 00:20:34,100 or switches in. 466 00:20:34,960 --> 00:20:36,740 What is also important 467 00:20:36,740 --> 00:20:38,020 is to use syslog 468 00:20:38,020 --> 00:20:39,000 to log all the traffic 469 00:20:39,000 --> 00:20:40,220 to a remote workstation 470 00:20:40,220 --> 00:20:41,180 running syslog D, 471 00:20:41,300 --> 00:20:41,940 syslog NG, 472 00:20:42,140 --> 00:20:43,100 or some other kind 473 00:20:43,100 --> 00:20:44,000 of syslog servers. 474 00:20:44,540 --> 00:20:45,280 Don't forget 475 00:20:45,280 --> 00:20:45,820 that everything 476 00:20:45,820 --> 00:20:46,340 that is running 477 00:20:46,340 --> 00:20:46,900 on a router 478 00:20:46,900 --> 00:20:48,120 and logged locally 479 00:20:48,120 --> 00:20:48,560 on the router 480 00:20:48,560 --> 00:20:49,020 is lost 481 00:20:49,020 --> 00:20:49,800 when you boot it. 482 00:20:50,080 --> 00:20:51,180 It's only stored 483 00:20:51,180 --> 00:20:52,100 in RAM, 484 00:20:52,380 --> 00:20:53,080 not in Flash 485 00:20:53,080 --> 00:20:54,180 or NVRAM. 486 00:20:55,280 --> 00:20:56,380 And as usual, 487 00:20:56,580 --> 00:20:57,840 run some NTP 488 00:20:57,860 --> 00:20:59,360 clients on every device 489 00:20:59,360 --> 00:21:00,460 to get some time 490 00:21:00,460 --> 00:21:01,160 synchronization 491 00:21:01,160 --> 00:21:02,640 and this will also 492 00:21:02,640 --> 00:21:03,100 help a lot 493 00:21:03,100 --> 00:21:04,060 to debug 494 00:21:04,060 --> 00:21:05,100 and have a look 495 00:21:05,100 --> 00:21:06,280 at the forensic side. 496 00:21:07,840 --> 00:21:08,320 So, 497 00:21:08,480 --> 00:21:10,200 the one slide before 498 00:21:10,200 --> 00:21:10,900 was basically 499 00:21:10,900 --> 00:21:11,540 all the global 500 00:21:11,540 --> 00:21:12,480 configuration commands 501 00:21:12,480 --> 00:21:13,260 you have to use. 502 00:21:13,640 --> 00:21:14,460 That ones 503 00:21:14,460 --> 00:21:14,880 are the ones 504 00:21:14,880 --> 00:21:15,440 they have to use 505 00:21:15,440 --> 00:21:16,680 on the interface level. 506 00:21:16,920 --> 00:21:17,720 So basically 507 00:21:17,720 --> 00:21:18,680 you have to deactivate 508 00:21:18,680 --> 00:21:19,180 all the things 509 00:21:19,180 --> 00:21:20,060 like source routing, 510 00:21:21,240 --> 00:21:22,200 directed broadcasts 511 00:21:22,200 --> 00:21:22,600 and so on 512 00:21:22,600 --> 00:21:23,080 and so on. 513 00:21:23,980 --> 00:21:24,820 If you guys 514 00:21:24,820 --> 00:21:26,020 are running multicast 515 00:21:26,020 --> 00:21:26,560 in your network, 516 00:21:26,720 --> 00:21:27,300 just make sure 517 00:21:27,300 --> 00:21:27,840 that the source 518 00:21:27,860 --> 00:21:28,400 routers cannot 519 00:21:28,400 --> 00:21:29,160 just jump in 520 00:21:29,160 --> 00:21:30,200 and become 521 00:21:30,200 --> 00:21:31,400 a rendezvous point 522 00:21:31,400 --> 00:21:32,240 to 523 00:21:32,240 --> 00:21:32,760 ah 524 00:21:33,340 --> 00:21:34,340 too sensible 525 00:21:34,760 --> 00:21:35,760 become a rendezvous point 526 00:21:35,760 --> 00:21:37,000 at the multicast level 527 00:21:37,000 --> 00:21:37,600 so that people 528 00:21:37,600 --> 00:21:38,280 can try to inject 529 00:21:38,280 --> 00:21:38,920 new frames. 530 00:21:39,460 --> 00:21:40,560 And one thing 531 00:21:40,560 --> 00:21:41,280 that is really nice 532 00:21:41,280 --> 00:21:42,600 on most of the devices 533 00:21:42,600 --> 00:21:43,620 is to use loopbacks. 534 00:21:44,340 --> 00:21:44,860 Usually 535 00:21:44,860 --> 00:21:45,780 your routers 536 00:21:45,780 --> 00:21:46,700 have a lot of interfaces. 537 00:21:46,920 --> 00:21:47,380 Each interface 538 00:21:47,380 --> 00:21:48,160 has an IP address 539 00:21:48,160 --> 00:21:48,700 and depending 540 00:21:48,700 --> 00:21:49,520 on the interface 541 00:21:49,520 --> 00:21:50,060 that is used 542 00:21:50,060 --> 00:21:51,800 to send information out 543 00:21:51,800 --> 00:21:53,180 like log message 544 00:21:53,180 --> 00:21:53,860 for example 545 00:21:53,860 --> 00:21:54,700 or SNMP trap, 546 00:21:54,940 --> 00:21:55,740 the IP address 547 00:21:55,740 --> 00:21:56,240 you're gonna have 548 00:21:57,860 --> 00:21:58,180 so if you use 549 00:21:58,180 --> 00:21:58,580 a loopback 550 00:21:58,580 --> 00:21:59,560 and tell the box 551 00:21:59,560 --> 00:22:00,200 to use a loopback 552 00:22:00,200 --> 00:22:00,760 to do that 553 00:22:00,760 --> 00:22:01,560 you will always 554 00:22:01,560 --> 00:22:02,220 find the same 555 00:22:02,220 --> 00:22:03,220 IP address 556 00:22:03,220 --> 00:22:03,840 or name 557 00:22:03,840 --> 00:22:04,500 in your logs. 558 00:22:04,620 --> 00:22:05,780 That also helps a lot 559 00:22:05,780 --> 00:22:06,640 when you have to debug. 560 00:22:08,700 --> 00:22:09,580 So SNMP 561 00:22:09,580 --> 00:22:10,040 well 562 00:22:10,040 --> 00:22:10,680 everybody 563 00:22:11,960 --> 00:22:12,740 dislikes SNMP 564 00:22:12,740 --> 00:22:13,700 but has to use it 565 00:22:13,700 --> 00:22:14,360 because it's 566 00:22:14,360 --> 00:22:15,180 the protocol 567 00:22:15,180 --> 00:22:15,880 that is running 568 00:22:15,880 --> 00:22:16,680 and that most 569 00:22:16,680 --> 00:22:17,260 of the people use. 570 00:22:17,640 --> 00:22:19,880 So V1 571 00:22:19,880 --> 00:22:20,760 is the old one 572 00:22:20,760 --> 00:22:21,220 that uses 573 00:22:21,220 --> 00:22:22,060 that everybody knows 574 00:22:22,060 --> 00:22:23,080 uses SNMP 575 00:22:23,080 --> 00:22:23,700 communities 576 00:22:23,700 --> 00:22:24,420 so to say 577 00:22:24,420 --> 00:22:24,980 as a password 578 00:22:27,860 --> 00:22:28,640 you had security 579 00:22:28,640 --> 00:22:29,920 or something 580 00:22:29,920 --> 00:22:30,360 that's called 581 00:22:30,360 --> 00:22:31,100 used to be called 582 00:22:31,100 --> 00:22:32,180 party by Cisco 583 00:22:32,600 --> 00:22:34,080 and get bulk 584 00:22:34,080 --> 00:22:35,260 to get more information 585 00:22:35,260 --> 00:22:35,800 than just going 586 00:22:35,800 --> 00:22:36,620 over a set 587 00:22:36,620 --> 00:22:38,000 and then get next 588 00:22:38,000 --> 00:22:38,360 get next 589 00:22:38,360 --> 00:22:38,920 and so on. 590 00:22:39,580 --> 00:22:40,860 Most of the new 591 00:22:40,860 --> 00:22:42,160 iOS releases 592 00:22:42,160 --> 00:22:43,180 support SNMP 593 00:22:43,180 --> 00:22:43,600 v3 594 00:22:43,600 --> 00:22:44,840 so that one 595 00:22:44,840 --> 00:22:45,480 has integrated 596 00:22:45,480 --> 00:22:46,120 key checking 597 00:22:46,120 --> 00:22:46,560 encryption 598 00:22:46,560 --> 00:22:47,240 and can even 599 00:22:47,240 --> 00:22:47,980 have a user 600 00:22:47,980 --> 00:22:48,720 defined locally 601 00:22:48,720 --> 00:22:49,840 on each router 602 00:22:49,840 --> 00:22:51,380 so you don't have 603 00:22:51,380 --> 00:22:51,740 to use 604 00:22:51,740 --> 00:22:52,460 the one same 605 00:22:52,460 --> 00:22:52,920 community 606 00:22:52,920 --> 00:22:53,420 everywhere 607 00:22:53,420 --> 00:22:54,040 on your network. 608 00:22:58,480 --> 00:22:59,620 So I'm just 609 00:22:59,620 --> 00:22:59,960 going to go 610 00:22:59,960 --> 00:23:00,600 over it quickly. 611 00:23:00,880 --> 00:23:02,000 The real communities 612 00:23:02,000 --> 00:23:03,000 we still see 613 00:23:03,000 --> 00:23:03,500 a lot of guys 614 00:23:03,500 --> 00:23:04,100 using public 615 00:23:04,100 --> 00:23:04,460 private 616 00:23:04,460 --> 00:23:05,560 the name 617 00:23:05,560 --> 00:23:06,080 of the device 618 00:23:06,080 --> 00:23:06,740 the name 619 00:23:06,740 --> 00:23:07,180 of the guy 620 00:23:07,180 --> 00:23:07,980 and this kind 621 00:23:07,980 --> 00:23:08,280 of thing 622 00:23:08,280 --> 00:23:09,480 so just 623 00:23:09,480 --> 00:23:10,320 yeah. 624 00:23:19,680 --> 00:23:20,640 Also don't 625 00:23:20,640 --> 00:23:21,080 forget that 626 00:23:21,080 --> 00:23:21,800 when you guys 627 00:23:21,800 --> 00:23:22,300 set up 628 00:23:22,300 --> 00:23:23,660 an SNMP 629 00:23:23,660 --> 00:23:24,340 management tool 630 00:23:24,340 --> 00:23:24,580 network 631 00:23:24,580 --> 00:23:24,860 management 632 00:23:28,300 --> 00:23:29,240 the IP space 633 00:23:29,240 --> 00:23:29,800 you want this 634 00:23:29,800 --> 00:23:30,540 SNMP community 635 00:23:30,540 --> 00:23:31,280 to send out 636 00:23:31,280 --> 00:23:31,960 otherwise you're 637 00:23:31,960 --> 00:23:32,840 going to send 638 00:23:32,840 --> 00:23:33,260 the information 639 00:23:33,260 --> 00:23:34,700 out to the 640 00:23:34,700 --> 00:23:35,080 whole internet. 641 00:23:35,260 --> 00:23:35,620 We have seen 642 00:23:35,620 --> 00:23:35,980 that happen 643 00:23:35,980 --> 00:23:36,760 sometimes so 644 00:23:36,760 --> 00:23:37,580 don't give 645 00:23:37,580 --> 00:23:38,000 your community 646 00:23:38,000 --> 00:23:38,360 it out. 647 00:23:39,560 --> 00:23:40,440 So what you can 648 00:23:40,440 --> 00:23:40,800 do you have 649 00:23:40,800 --> 00:23:41,280 two options 650 00:23:41,280 --> 00:23:41,700 as usual 651 00:23:41,700 --> 00:23:42,800 when you have 652 00:23:42,800 --> 00:23:43,280 some things 653 00:23:43,280 --> 00:23:43,800 running on the 654 00:23:43,800 --> 00:23:44,480 Cisco devices 655 00:23:44,480 --> 00:23:45,560 is use IP 656 00:23:45,560 --> 00:23:46,140 level filtering 657 00:23:46,140 --> 00:23:46,640 that means 658 00:23:46,640 --> 00:23:46,920 you're going 659 00:23:46,920 --> 00:23:47,360 to filter out 660 00:23:47,360 --> 00:23:47,760 the packets 661 00:23:47,760 --> 00:23:48,600 at the arrive 662 00:23:48,600 --> 00:23:49,180 at the interface 663 00:23:49,600 --> 00:23:50,320 or you can do 664 00:23:50,320 --> 00:23:51,180 application level 665 00:23:51,180 --> 00:23:51,960 filtering that is 666 00:23:51,960 --> 00:23:52,600 defined in 667 00:23:52,600 --> 00:23:53,100 access control 668 00:23:53,100 --> 00:23:54,320 list and use 669 00:23:54,320 --> 00:23:54,820 it kind of 670 00:23:54,820 --> 00:23:55,560 for access control 671 00:23:55,560 --> 00:23:56,320 at the application 672 00:23:56,320 --> 00:23:56,800 level. 673 00:23:57,960 --> 00:23:58,860 What you can also 674 00:23:58,860 --> 00:23:59,340 do which is 675 00:23:59,340 --> 00:23:59,740 a kind of 676 00:23:59,740 --> 00:24:00,260 nice option 677 00:24:00,260 --> 00:24:01,100 on that one 678 00:24:01,100 --> 00:24:01,720 is to restrict 679 00:24:01,720 --> 00:24:02,260 the view 680 00:24:02,260 --> 00:24:02,580 you're going 681 00:24:02,580 --> 00:24:02,900 to give 682 00:24:02,900 --> 00:24:03,320 the SNMP 683 00:24:03,320 --> 00:24:03,640 community. 684 00:24:04,180 --> 00:24:04,880 That means 685 00:24:04,880 --> 00:24:05,300 if you have 686 00:24:05,300 --> 00:24:05,760 some tools 687 00:24:05,760 --> 00:24:06,120 that just 688 00:24:06,120 --> 00:24:06,500 go ahead 689 00:24:06,500 --> 00:24:07,240 and dump 690 00:24:07,240 --> 00:24:07,980 the SNMP 691 00:24:07,980 --> 00:24:08,820 from your 692 00:24:08,820 --> 00:24:09,700 router you 693 00:24:09,700 --> 00:24:10,080 can just 694 00:24:10,080 --> 00:24:11,440 exclude some 695 00:24:11,440 --> 00:24:12,060 of them so 696 00:24:12,060 --> 00:24:12,780 that you 697 00:24:12,780 --> 00:24:13,220 don't send 698 00:24:13,220 --> 00:24:13,760 every time 699 00:24:13,760 --> 00:24:14,260 like during 700 00:24:14,260 --> 00:24:14,780 10 minutes 701 00:24:14,780 --> 00:24:15,140 SNMP 702 00:24:15,140 --> 00:24:15,380 information 703 00:24:15,380 --> 00:24:15,940 back. 704 00:24:17,740 --> 00:24:19,340 So V3 is 705 00:24:19,340 --> 00:24:20,300 starting to be 706 00:24:20,300 --> 00:24:21,100 supported by 707 00:24:21,100 --> 00:24:21,460 most of the 708 00:24:21,460 --> 00:24:21,780 devices. 709 00:24:22,200 --> 00:24:22,800 We have an 710 00:24:22,800 --> 00:24:23,460 example of 711 00:24:23,460 --> 00:24:24,340 how to define 712 00:24:24,340 --> 00:24:24,920 a user 713 00:24:24,920 --> 00:24:25,480 a group 714 00:24:25,480 --> 00:24:27,220 and just 715 00:24:27,220 --> 00:24:28,240 permit access. 716 00:24:28,640 --> 00:24:29,580 That one for 717 00:24:29,580 --> 00:24:30,220 example is 718 00:24:30,220 --> 00:24:30,980 using MD5 719 00:24:32,320 --> 00:24:33,360 to do 720 00:24:37,240 --> 00:24:37,660 just a basic 721 00:24:37,660 --> 00:24:38,020 example. 722 00:24:38,820 --> 00:24:39,780 You guys have 723 00:24:39,780 --> 00:24:40,280 probably heard 724 00:24:40,280 --> 00:24:40,860 that SNMP 725 00:24:40,860 --> 00:24:41,360 had a lot 726 00:24:41,360 --> 00:24:41,700 of weaknesses 727 00:24:41,700 --> 00:24:42,160 recently. 728 00:24:42,800 --> 00:24:43,580 Cisco was 729 00:24:43,580 --> 00:24:44,180 affected by 730 00:24:44,180 --> 00:24:44,600 a lot of 731 00:24:44,600 --> 00:24:45,180 bugs the last 732 00:24:45,180 --> 00:24:45,620 two years. 733 00:24:45,920 --> 00:24:46,780 One of them 734 00:24:46,780 --> 00:24:47,300 was the hidden 735 00:24:47,300 --> 00:24:47,920 ELMI 736 00:24:47,920 --> 00:24:48,380 community. 737 00:24:48,700 --> 00:24:49,220 That one is 738 00:24:49,220 --> 00:24:50,340 used usually 739 00:24:50,340 --> 00:24:50,840 in ATM 740 00:24:50,840 --> 00:24:52,460 networks but 741 00:24:52,460 --> 00:24:53,120 was activated 742 00:24:53,120 --> 00:24:53,720 by default 743 00:24:53,720 --> 00:24:54,240 even if you 744 00:24:54,240 --> 00:24:54,540 don't have 745 00:24:54,540 --> 00:24:55,060 any ATM 746 00:24:55,060 --> 00:24:55,740 interfaces 747 00:24:55,740 --> 00:24:56,400 on your 748 00:24:56,400 --> 00:24:56,720 equipment. 749 00:24:58,160 --> 00:24:59,200 So all 750 00:25:07,240 --> 00:25:07,680 and ASN1 751 00:25:09,260 --> 00:25:10,340 is always a 752 00:25:10,340 --> 00:25:10,580 problem. 753 00:25:10,720 --> 00:25:11,040 You have to 754 00:25:11,040 --> 00:25:11,540 run SNMP 755 00:25:11,540 --> 00:25:12,020 but you have 756 00:25:12,020 --> 00:25:12,560 to find the 757 00:25:12,560 --> 00:25:13,140 right middle 758 00:25:13,140 --> 00:25:13,700 is running 759 00:25:13,700 --> 00:25:14,320 it open 760 00:25:14,320 --> 00:25:14,820 not open 761 00:25:14,820 --> 00:25:15,920 and so tune 762 00:25:15,920 --> 00:25:16,440 it and just 763 00:25:16,440 --> 00:25:16,840 don't activate 764 00:25:16,840 --> 00:25:17,520 it by default. 765 00:25:19,140 --> 00:25:19,900 You also 766 00:25:19,900 --> 00:25:20,820 have since 767 00:25:21,400 --> 00:25:22,320 recent releases 768 00:25:22,320 --> 00:25:22,840 of iOS 769 00:25:22,840 --> 00:25:23,520 SSH 770 00:25:23,520 --> 00:25:23,780 reports. 771 00:25:24,100 --> 00:25:24,900 Basically it's 772 00:25:24,900 --> 00:25:25,200 the same 773 00:25:25,200 --> 00:25:25,740 SSH 774 00:25:25,740 --> 00:25:26,220 as the one 775 00:25:26,220 --> 00:25:27,320 from SSH.com 776 00:25:27,320 --> 00:25:28,260 from the 777 00:25:28,260 --> 00:25:29,980 1.2.26 778 00:25:29,980 --> 00:25:30,920 27 series. 779 00:25:37,240 --> 00:25:37,280 So you 780 00:25:37,280 --> 00:25:37,680 one release 781 00:25:37,680 --> 00:25:38,380 so it's 782 00:25:38,380 --> 00:25:38,900 the key 783 00:25:38,900 --> 00:25:40,020 recovery 784 00:25:40,020 --> 00:25:41,420 traffic analysis 785 00:25:41,420 --> 00:25:42,400 and so on. 786 00:25:42,940 --> 00:25:44,000 That thing 787 00:25:44,000 --> 00:25:44,900 you can use 788 00:25:44,900 --> 00:25:45,660 a false 789 00:25:45,660 --> 00:25:45,960 triple 790 00:25:45,960 --> 00:25:46,680 test and 791 00:25:46,680 --> 00:25:47,320 you cannot 792 00:25:47,320 --> 00:25:48,280 use keys 793 00:25:48,280 --> 00:25:48,980 to indicate 794 00:25:48,980 --> 00:25:49,980 on the 795 00:25:49,980 --> 00:25:50,900 router on 796 00:25:50,900 --> 00:25:51,240 the switch. 797 00:25:52,400 --> 00:25:53,200 And the 798 00:25:53,200 --> 00:25:53,660 other downside 799 00:25:53,660 --> 00:25:54,380 is that you 800 00:25:54,380 --> 00:25:54,920 have to run 801 00:25:54,920 --> 00:25:55,680 an image 802 00:25:55,680 --> 00:25:56,740 that supports 803 00:25:58,300 --> 00:25:59,420 SSH and 804 00:25:59,420 --> 00:25:59,860 usually 805 00:25:59,860 --> 00:26:00,260 they're more 806 00:26:00,260 --> 00:26:00,600 expensive. 807 00:26:07,240 --> 00:26:07,840 configuration is 808 00:26:07,840 --> 00:26:08,540 quite basic. 809 00:26:08,720 --> 00:26:09,180 You just have 810 00:26:09,180 --> 00:26:09,560 to define 811 00:26:09,560 --> 00:26:10,560 host name 812 00:26:11,120 --> 00:26:11,640 generator 813 00:26:12,280 --> 00:26:13,100 RSA key 814 00:26:13,100 --> 00:26:13,780 for the box 815 00:26:13,780 --> 00:26:14,520 and activate 816 00:26:14,520 --> 00:26:14,880 it. 817 00:26:15,160 --> 00:26:16,100 Also since 818 00:26:16,100 --> 00:26:16,740 most of the 819 00:26:16,740 --> 00:26:17,600 12.2 releases 820 00:26:17,600 --> 00:26:18,220 you can use 821 00:26:18,220 --> 00:26:19,280 SCP to 822 00:26:19,280 --> 00:26:19,900 SCP in 823 00:26:19,900 --> 00:26:20,240 and out 824 00:26:20,240 --> 00:26:20,560 the router 825 00:26:20,560 --> 00:26:21,180 instead of 826 00:26:21,180 --> 00:26:22,140 TFTP or 827 00:26:22,140 --> 00:26:22,740 Telnet which 828 00:26:22,740 --> 00:26:23,060 is clear 829 00:26:23,060 --> 00:26:23,280 text. 830 00:26:25,220 --> 00:26:26,100 IPsec configuration 831 00:26:26,100 --> 00:26:26,900 not much 832 00:26:26,900 --> 00:26:27,260 to say 833 00:26:27,260 --> 00:26:27,760 about it. 834 00:26:27,940 --> 00:26:28,580 If you 835 00:26:28,580 --> 00:26:29,280 guys want 836 00:26:29,280 --> 00:26:29,600 to use 837 00:26:29,600 --> 00:26:30,640 IPsec instead 838 00:26:30,640 --> 00:26:32,440 of SSH 839 00:26:32,440 --> 00:26:33,300 to manage 840 00:26:33,300 --> 00:26:33,720 the router 841 00:26:33,720 --> 00:26:34,800 you can just 842 00:26:34,800 --> 00:26:35,220 define 843 00:26:35,220 --> 00:26:36,580 the IPsec 844 00:26:36,580 --> 00:26:37,160 configuration. 845 00:26:37,260 --> 00:26:39,400 You can try 846 00:26:39,400 --> 00:26:39,840 to deny 847 00:26:39,840 --> 00:26:40,520 all traffic 848 00:26:40,520 --> 00:26:41,300 except IPsec 849 00:26:41,300 --> 00:26:41,780 but it's not 850 00:26:41,780 --> 00:26:42,320 working that 851 00:26:42,320 --> 00:26:42,900 well and 852 00:26:42,900 --> 00:26:43,540 quite complex. 853 00:26:43,760 --> 00:26:44,200 So basically 854 00:26:44,200 --> 00:26:45,120 the five steps 855 00:26:45,120 --> 00:26:46,280 is to define 856 00:26:46,280 --> 00:26:46,740 what you're 857 00:26:46,740 --> 00:26:46,900 going to 858 00:26:46,900 --> 00:26:47,160 accept, 859 00:26:47,500 --> 00:26:48,500 define the 860 00:26:48,500 --> 00:26:48,860 security 861 00:26:48,860 --> 00:26:49,680 association, 862 00:26:50,620 --> 00:26:51,260 define 863 00:26:51,260 --> 00:26:52,160 policy, 864 00:26:52,820 --> 00:26:53,760 go ahead, 865 00:26:58,580 --> 00:26:58,980 define the 866 00:26:58,980 --> 00:26:59,380 If you 867 00:26:59,380 --> 00:26:59,820 guys are 868 00:26:59,820 --> 00:27:00,240 running some 869 00:27:00,240 --> 00:27:01,040 W2K boxes 870 00:27:01,040 --> 00:27:01,600 and want 871 00:27:01,600 --> 00:27:01,840 to use 872 00:27:01,840 --> 00:27:02,520 the IPsec 873 00:27:04,140 --> 00:27:04,680 version 874 00:27:04,680 --> 00:27:05,120 that's 875 00:27:05,120 --> 00:27:05,720 coming 876 00:27:05,720 --> 00:27:05,980 with 877 00:27:05,980 --> 00:27:06,780 W2K to 878 00:27:06,780 --> 00:27:07,080 manage 879 00:27:07,080 --> 00:27:07,260 your 880 00:27:07,260 --> 00:27:07,500 router 881 00:27:07,500 --> 00:27:08,200 you better 882 00:27:08,200 --> 00:27:08,680 go with 883 00:27:08,680 --> 00:27:09,120 transport 884 00:27:09,120 --> 00:27:09,580 mode. 885 00:27:10,160 --> 00:27:10,980 So you 886 00:27:10,980 --> 00:27:11,300 put that 887 00:27:11,300 --> 00:27:11,640 all together 888 00:27:11,640 --> 00:27:12,000 in a 889 00:27:12,000 --> 00:27:13,100 nice cryptomap 890 00:27:13,100 --> 00:27:13,920 and you 891 00:27:13,920 --> 00:27:14,640 affect it 892 00:27:14,640 --> 00:27:15,060 on the interface 893 00:27:15,060 --> 00:27:15,540 you want to 894 00:27:15,540 --> 00:27:15,840 use as a 895 00:27:15,840 --> 00:27:16,100 management 896 00:27:16,100 --> 00:27:17,040 interface and 897 00:27:17,040 --> 00:27:17,340 here you 898 00:27:17,340 --> 00:27:17,500 go. 899 00:27:17,780 --> 00:27:18,980 So SSH is 900 00:27:18,980 --> 00:27:19,600 much more easy 901 00:27:19,600 --> 00:27:20,060 to set up 902 00:27:20,060 --> 00:27:21,160 than IPsec 903 00:27:21,160 --> 00:27:21,760 but it's 904 00:27:21,760 --> 00:27:22,220 working too 905 00:27:22,220 --> 00:27:22,540 if you 906 00:27:22,540 --> 00:27:22,840 prefer 907 00:27:22,840 --> 00:27:23,300 IPsec. 908 00:27:25,340 --> 00:27:26,220 So going 909 00:27:26,220 --> 00:27:26,680 back to the 910 00:27:26,680 --> 00:27:27,120 router itself 911 00:27:27,120 --> 00:27:28,400 you can define 912 00:27:28,400 --> 00:27:29,040 two types 913 00:27:29,040 --> 00:27:29,320 of things. 914 00:27:29,380 --> 00:27:29,700 You can have 915 00:27:29,700 --> 00:27:30,260 local users 916 00:27:30,260 --> 00:27:30,760 on the 917 00:27:30,760 --> 00:27:31,800 router or you 918 00:27:31,800 --> 00:27:32,260 can have 919 00:27:32,260 --> 00:27:33,040 remote users 920 00:27:33,040 --> 00:27:33,680 like with the 921 00:27:33,680 --> 00:27:34,340 central authentication 922 00:27:34,340 --> 00:27:35,120 mechanism that 923 00:27:35,120 --> 00:27:35,280 you're going 924 00:27:35,280 --> 00:27:35,520 to talk 925 00:27:35,520 --> 00:27:35,780 about. 926 00:27:36,420 --> 00:27:37,340 Basically if you 927 00:27:37,340 --> 00:27:37,880 define some 928 00:27:37,880 --> 00:27:38,460 local users 929 00:27:38,460 --> 00:27:38,780 on the 930 00:27:38,780 --> 00:27:39,740 router it's 931 00:27:39,740 --> 00:27:40,340 using Cisco 932 00:27:40,340 --> 00:27:40,620 encryption 933 00:27:40,620 --> 00:27:41,380 type 7 934 00:27:41,380 --> 00:27:41,800 which is 935 00:27:41,800 --> 00:27:42,000 reversible. 936 00:27:42,400 --> 00:27:42,760 It's just 937 00:27:42,760 --> 00:27:43,420 not encrypted 938 00:27:43,420 --> 00:27:43,960 it's just 939 00:27:43,960 --> 00:27:44,540 encoded. 940 00:27:45,240 --> 00:27:46,020 The enabled 941 00:27:46,020 --> 00:27:46,440 password 942 00:27:46,440 --> 00:27:46,860 you're 943 00:27:46,860 --> 00:27:46,980 going to 944 00:27:46,980 --> 00:27:47,340 use to 945 00:27:47,340 --> 00:27:47,740 go from 946 00:27:47,740 --> 00:27:48,000 the 947 00:27:48,000 --> 00:27:48,340 normal 948 00:28:01,800 --> 00:28:02,100 password to 949 00:28:02,100 --> 00:28:02,620 the box and 950 00:28:02,620 --> 00:28:03,120 also define 951 00:28:03,120 --> 00:28:04,280 what kind of 952 00:28:04,280 --> 00:28:04,760 access you're 953 00:28:04,760 --> 00:28:04,900 going to 954 00:28:04,900 --> 00:28:05,500 give if you 955 00:28:05,500 --> 00:28:05,720 want to 956 00:28:05,720 --> 00:28:06,380 use IPsec 957 00:28:06,380 --> 00:28:07,000 or going to 958 00:28:07,000 --> 00:28:07,360 stay with 959 00:28:07,360 --> 00:28:07,920 Telnet or 960 00:28:07,920 --> 00:28:08,420 SSH. 961 00:28:09,460 --> 00:28:10,940 So this is 962 00:28:10,940 --> 00:28:11,460 an example 963 00:28:11,460 --> 00:28:11,860 on the 964 00:28:11,860 --> 00:28:12,420 table below 965 00:28:12,420 --> 00:28:13,180 where you 966 00:28:13,180 --> 00:28:14,100 define the 967 00:28:14,100 --> 00:28:14,880 virtual terminals 968 00:28:14,880 --> 00:28:16,360 and you 969 00:28:16,360 --> 00:28:16,920 say we're 970 00:28:16,920 --> 00:28:17,100 going to 971 00:28:17,100 --> 00:28:18,420 accept SSH 972 00:28:18,420 --> 00:28:18,800 as incoming 973 00:28:18,800 --> 00:28:20,120 and nobody 974 00:28:20,120 --> 00:28:20,760 can use 975 00:28:20,760 --> 00:28:21,400 the device 976 00:28:21,400 --> 00:28:22,180 itself to 977 00:28:22,180 --> 00:28:22,780 connect to 978 00:28:32,640 --> 00:28:33,200 the router. 979 00:28:33,200 --> 00:28:33,700 So if you 980 00:28:33,700 --> 00:28:34,280 don't want to 981 00:28:34,280 --> 00:28:34,800 go for local 982 00:28:34,800 --> 00:28:35,320 users on 983 00:28:35,320 --> 00:28:36,400 the device you 984 00:28:36,400 --> 00:28:36,880 can go for 985 00:28:36,880 --> 00:28:37,360 some AAA 986 00:28:37,360 --> 00:28:38,060 mechanism. 987 00:28:38,960 --> 00:28:39,860 The two that 988 00:28:39,860 --> 00:28:40,360 are supported 989 00:28:40,360 --> 00:28:41,060 by Cisco are 990 00:28:41,060 --> 00:28:41,580 Radius and 991 00:28:41,580 --> 00:28:41,960 TACAX. 992 00:28:42,280 --> 00:28:43,280 Basically what is 993 00:28:43,280 --> 00:28:44,060 recommended is 994 00:28:44,060 --> 00:28:44,740 TACAX because 995 00:28:44,740 --> 00:28:46,280 Radius is not 996 00:28:46,280 --> 00:28:47,020 that well 997 00:28:47,020 --> 00:28:47,700 supported and 998 00:28:47,700 --> 00:28:48,040 there's some 999 00:28:48,040 --> 00:28:48,640 limitation that 1000 00:28:48,640 --> 00:28:49,100 you're going to 1001 00:28:49,100 --> 00:28:49,760 quickly discuss. 1002 00:28:50,460 --> 00:28:51,700 So you have 1003 00:28:51,700 --> 00:28:52,120 an example 1004 00:28:52,120 --> 00:28:52,460 how to 1005 00:28:52,460 --> 00:28:53,420 define the 1006 00:28:53,420 --> 00:28:53,980 router to 1007 00:28:53,980 --> 00:28:54,440 use the 1008 00:28:54,440 --> 00:28:55,540 TACAX servers 1009 00:28:55,540 --> 00:28:57,400 with the 1010 00:28:57,400 --> 00:28:57,920 TACAX key 1011 00:28:57,920 --> 00:28:58,400 and all those 1012 00:28:58,400 --> 00:28:58,980 users as you 1013 00:28:58,980 --> 00:28:59,200 can see 1014 00:28:59,200 --> 00:28:59,480 they look 1015 00:28:59,480 --> 00:28:59,880 like zero 1016 00:28:59,880 --> 00:29:01,420 to send 1017 00:29:01,420 --> 00:29:02,160 information out. 1018 00:29:02,820 --> 00:29:03,760 What you can do 1019 00:29:03,760 --> 00:29:04,280 which is nice 1020 00:29:04,280 --> 00:29:04,940 when you use 1021 00:29:04,940 --> 00:29:05,720 TACAX is 1022 00:29:05,720 --> 00:29:06,400 go for common 1023 00:29:06,400 --> 00:29:06,760 accounting. 1024 00:29:07,140 --> 00:29:07,440 That means 1025 00:29:07,440 --> 00:29:08,360 when some of 1026 00:29:08,360 --> 00:29:08,900 your users, 1027 00:29:08,960 --> 00:29:09,260 network 1028 00:29:09,260 --> 00:29:09,720 administrators 1029 00:29:09,720 --> 00:29:10,400 and so on 1030 00:29:10,400 --> 00:29:10,820 connect to 1031 00:29:10,820 --> 00:29:11,200 the device 1032 00:29:11,200 --> 00:29:12,240 it's going to 1033 00:29:12,240 --> 00:29:13,200 log locally 1034 00:29:13,200 --> 00:29:13,620 all the 1035 00:29:13,620 --> 00:29:13,860 accounting 1036 00:29:13,860 --> 00:29:14,320 information. 1037 00:29:24,160 --> 00:29:24,800 All this 1038 00:29:24,800 --> 00:29:25,100 kind of 1039 00:29:25,100 --> 00:29:25,260 things. 1040 00:29:27,520 --> 00:29:28,140 All these 1041 00:29:28,140 --> 00:29:28,880 users can be 1042 00:29:28,880 --> 00:29:29,420 given authorization 1043 00:29:29,820 --> 00:29:30,300 and privilege 1044 00:29:30,300 --> 00:29:30,680 levels. 1045 00:29:31,160 --> 00:29:31,740 By default 1046 00:29:31,740 --> 00:29:32,200 you have 1047 00:29:32,200 --> 00:29:33,300 in fact you 1048 00:29:33,300 --> 00:29:33,840 have 16 levels. 1049 00:29:34,040 --> 00:29:34,580 The default level 1050 00:29:34,580 --> 00:29:35,160 when you connect 1051 00:29:35,160 --> 00:29:35,800 as a user is 1052 00:29:35,800 --> 00:29:36,280 level one. 1053 00:29:36,420 --> 00:29:37,060 This is kind of 1054 00:29:37,060 --> 00:29:37,980 view only 1055 00:29:38,720 --> 00:29:39,680 privilege and 1056 00:29:39,680 --> 00:29:40,440 when you change 1057 00:29:40,440 --> 00:29:40,980 when you type 1058 00:29:40,980 --> 00:29:41,620 enable and 1059 00:29:41,620 --> 00:29:42,160 go to enable 1060 00:29:42,160 --> 00:29:43,240 mode which 1061 00:29:43,240 --> 00:29:43,560 is called 1062 00:29:43,560 --> 00:29:44,100 the privilege 1063 00:29:44,100 --> 00:29:45,860 exact enable 1064 00:29:45,860 --> 00:29:46,920 you get to 1065 00:29:46,920 --> 00:29:47,460 level 15 1066 00:29:47,460 --> 00:29:48,040 where you can 1067 00:29:48,040 --> 00:29:48,880 just do anything. 1068 00:29:49,060 --> 00:29:49,540 It's like being 1069 00:29:49,540 --> 00:29:50,680 moved so to say 1070 00:29:50,680 --> 00:29:51,160 on the device. 1071 00:29:52,200 --> 00:29:53,040 The bad thing 1072 00:29:53,040 --> 00:29:53,700 is that you 1073 00:29:53,700 --> 00:29:54,940 can not do 1074 00:29:54,940 --> 00:29:55,460 that on switches. 1075 00:29:55,580 --> 00:29:56,100 On switches you 1076 00:29:56,100 --> 00:29:56,760 just have the two 1077 00:29:56,760 --> 00:29:57,500 levels which are 1078 00:29:57,500 --> 00:29:58,400 one and 15. 1079 00:29:58,700 --> 00:29:59,460 On routers you 1080 00:29:59,460 --> 00:29:59,980 can go ahead 1081 00:29:59,980 --> 00:30:00,880 and say okay 1082 00:30:00,880 --> 00:30:01,880 I want to use 1083 00:30:01,880 --> 00:30:03,000 another level in 1084 00:30:03,000 --> 00:30:04,060 between one and 15 1085 00:30:04,060 --> 00:30:04,880 for example 1086 00:30:05,460 --> 00:30:06,180 level three 1087 00:30:06,180 --> 00:30:06,980 and just give 1088 00:30:06,980 --> 00:30:08,100 some commands 1089 00:30:08,100 --> 00:30:08,640 to that user 1090 00:30:08,640 --> 00:30:10,120 that he can use. 1091 00:30:10,220 --> 00:30:11,060 It's like being 1092 00:30:11,060 --> 00:30:11,980 like a kind of 1093 00:30:11,980 --> 00:30:12,900 as you do 1094 00:30:12,900 --> 00:30:13,620 kind of thing 1095 00:30:13,620 --> 00:30:14,500 on the other 1096 00:30:14,500 --> 00:30:15,000 Cisco device. 1097 00:30:16,200 --> 00:30:17,380 So from that 1098 00:30:17,380 --> 00:30:18,060 example we 1099 00:30:18,060 --> 00:30:18,740 in the table 1100 00:30:18,740 --> 00:30:19,340 you can also see 1101 00:30:19,340 --> 00:30:20,100 that some basic 1102 00:30:20,100 --> 00:30:20,980 commands that are 1103 00:30:20,980 --> 00:30:21,860 usually available 1104 00:30:21,860 --> 00:30:22,660 in level one 1105 00:30:22,660 --> 00:30:23,540 like connect, 1106 00:30:23,640 --> 00:30:23,960 telnet, 1107 00:30:24,020 --> 00:30:25,440 SSH that make 1108 00:30:25,440 --> 00:30:26,340 it possible for 1109 00:30:26,340 --> 00:30:27,040 the guy if you 1110 00:30:27,040 --> 00:30:27,380 don't remove 1111 00:30:27,380 --> 00:30:28,180 transport output 1112 00:30:28,180 --> 00:30:29,060 to use the 1113 00:30:29,060 --> 00:30:29,480 router as a 1114 00:30:29,480 --> 00:30:30,100 stepping stone 1115 00:30:30,100 --> 00:30:32,220 will remove 1116 00:30:32,220 --> 00:30:32,720 these commands 1117 00:30:32,720 --> 00:30:33,820 when it connects 1118 00:30:33,820 --> 00:30:34,700 basically to the 1119 00:30:34,700 --> 00:30:34,980 device. 1120 00:30:35,620 --> 00:30:36,780 So as I said 1121 00:30:36,780 --> 00:30:37,400 before command 1122 00:30:37,400 --> 00:30:37,660 authorization 1123 00:30:37,660 --> 00:30:38,600 that means 1124 00:30:38,600 --> 00:30:39,840 asking the central 1125 00:30:43,620 --> 00:30:44,020 stack axe. 1126 00:30:44,200 --> 00:30:44,940 That means you 1127 00:30:44,940 --> 00:30:45,780 can use a basic 1128 00:30:45,780 --> 00:30:46,640 radius server 1129 00:30:46,640 --> 00:30:47,480 and do okay 1130 00:30:47,480 --> 00:30:48,400 if that user 1131 00:30:48,400 --> 00:30:49,120 has this right 1132 00:30:49,120 --> 00:30:49,740 he can use that 1133 00:30:49,740 --> 00:30:50,000 command. 1134 00:30:50,100 --> 00:30:50,580 This is not 1135 00:30:50,580 --> 00:30:50,860 working. 1136 00:30:52,660 --> 00:30:53,740 So what you can 1137 00:30:53,740 --> 00:30:54,180 also use 1138 00:30:54,180 --> 00:30:54,960 and some guys 1139 00:30:54,960 --> 00:30:56,480 like we used 1140 00:30:56,480 --> 00:30:57,120 to do it too 1141 00:30:57,120 --> 00:30:58,060 in the past 1142 00:30:58,060 --> 00:30:58,620 was to go 1143 00:30:58,620 --> 00:30:59,280 for 1144 00:31:01,100 --> 00:31:01,580 Kerberos. 1145 00:31:02,000 --> 00:31:03,280 Since Kerberos 1146 00:31:03,280 --> 00:31:03,760 has been around 1147 00:31:03,760 --> 00:31:04,840 like 20 years 1148 00:31:04,840 --> 00:31:05,180 already 1149 00:31:05,180 --> 00:31:06,640 and since 1150 00:31:06,640 --> 00:31:07,760 Microsoft is 1151 00:31:07,760 --> 00:31:08,320 using it in 1152 00:31:08,320 --> 00:31:08,640 Win2K 1153 00:31:08,640 --> 00:31:09,620 in the core 1154 00:31:09,620 --> 00:31:10,480 system for a lot 1155 00:31:13,620 --> 00:31:13,760 of different 1156 00:31:13,760 --> 00:31:13,780 just go 1157 00:31:13,780 --> 00:31:14,660 and try it 1158 00:31:14,660 --> 00:31:15,260 and see what 1159 00:31:15,260 --> 00:31:16,060 they can do. 1160 00:31:16,320 --> 00:31:16,940 Most of the 1161 00:31:16,940 --> 00:31:17,640 Cisco routers 1162 00:31:17,640 --> 00:31:18,520 support Kerberos 1163 00:31:18,520 --> 00:31:20,100 and the password 1164 00:31:20,100 --> 00:31:20,380 authentication 1165 00:31:20,380 --> 00:31:21,360 using Kerberos 1166 00:31:21,360 --> 00:31:21,600 exchanges. 1167 00:31:22,340 --> 00:31:23,160 What is cool 1168 00:31:23,160 --> 00:31:23,660 is that 1169 00:31:24,540 --> 00:31:25,500 in Kerberos 1170 00:31:25,500 --> 00:31:25,800 you have this 1171 00:31:25,800 --> 00:31:26,880 kind of name 1172 00:31:26,880 --> 00:31:27,900 for an instance 1173 00:31:27,900 --> 00:31:29,140 you can basically 1174 00:31:29,140 --> 00:31:30,040 map an instance 1175 00:31:30,040 --> 00:31:31,120 to a group 1176 00:31:31,120 --> 00:31:32,080 like a group 1177 00:31:32,080 --> 00:31:32,500 of users 1178 00:31:32,500 --> 00:31:33,620 and this group 1179 00:31:33,620 --> 00:31:34,040 of users 1180 00:31:34,040 --> 00:31:34,600 can be given 1181 00:31:34,600 --> 00:31:35,040 a kind of 1182 00:31:35,040 --> 00:31:35,680 privilege level 1183 00:31:35,680 --> 00:31:36,280 so you can say 1184 00:31:36,280 --> 00:31:36,700 you have the 1185 00:31:36,700 --> 00:31:38,140 network admins 1186 00:31:38,140 --> 00:31:38,780 the network operators 1187 00:31:38,780 --> 00:31:39,900 the super admins 1188 00:31:39,900 --> 00:31:40,520 kind of things 1189 00:31:40,520 --> 00:31:41,020 they can use 1190 00:31:41,020 --> 00:31:42,140 the Kerberos instance 1191 00:31:42,140 --> 00:31:42,940 to do that. 1192 00:31:44,200 --> 00:31:45,160 The bad side 1193 00:31:45,160 --> 00:31:45,680 of the thing 1194 00:31:45,680 --> 00:31:46,440 is that Kerberos 1195 00:31:46,440 --> 00:31:47,000 is not supported 1196 00:31:47,000 --> 00:31:47,880 on the low end 1197 00:31:47,880 --> 00:31:48,360 and high end 1198 00:31:48,360 --> 00:31:48,880 devices 1199 00:31:48,880 --> 00:31:49,620 on the middle 1200 00:31:49,620 --> 00:31:50,000 range. 1201 00:31:50,840 --> 00:31:51,760 On the Cisco switches 1202 00:31:51,760 --> 00:31:52,600 it only works 1203 00:31:52,600 --> 00:31:54,120 with Telnet 1204 00:31:54,120 --> 00:31:54,940 not with SSH 1205 00:31:54,940 --> 00:31:55,620 up to now. 1206 00:31:57,380 --> 00:31:58,680 So two basic 1207 00:31:58,680 --> 00:31:59,180 examples 1208 00:31:59,180 --> 00:31:59,800 of how 1209 00:31:59,800 --> 00:32:00,460 to configure 1210 00:32:04,620 --> 00:32:05,020 Kerberos 1211 00:32:05,020 --> 00:32:05,140 well. 1212 00:32:07,540 --> 00:32:08,060 So, 1213 00:32:08,620 --> 00:32:09,140 ACLs. 1214 00:32:10,720 --> 00:32:11,320 ACLs are 1215 00:32:11,320 --> 00:32:11,560 basically 1216 00:32:11,560 --> 00:32:12,140 access control 1217 00:32:12,140 --> 00:32:12,480 lists 1218 00:32:12,480 --> 00:32:13,340 that can be used 1219 00:32:13,340 --> 00:32:14,460 to filter traffic 1220 00:32:14,460 --> 00:32:14,900 that's 1221 00:32:15,700 --> 00:32:16,740 going into 1222 00:32:16,740 --> 00:32:17,060 the router 1223 00:32:17,060 --> 00:32:17,580 coming out 1224 00:32:17,580 --> 00:32:18,040 of the router 1225 00:32:18,040 --> 00:32:19,500 going over 1226 00:32:19,500 --> 00:32:19,860 the router 1227 00:32:19,860 --> 00:32:20,140 that means 1228 00:32:20,140 --> 00:32:20,680 traffic that is 1229 00:32:20,680 --> 00:32:21,460 being forwarded. 1230 00:32:21,560 --> 00:32:22,560 The bad side 1231 00:32:22,560 --> 00:32:23,520 of ACLs 1232 00:32:23,520 --> 00:32:23,680 is that 1233 00:32:23,680 --> 00:32:24,960 on the Cisco devices 1234 00:32:24,960 --> 00:32:25,760 if you don't use 1235 00:32:25,760 --> 00:32:26,460 the firewall feature 1236 00:32:26,460 --> 00:32:26,840 set 1237 00:32:26,840 --> 00:32:28,420 it's not stateful 1238 00:32:28,420 --> 00:32:29,460 and it doesn't 1239 00:32:29,460 --> 00:32:30,580 do any reassembly. 1240 00:32:30,720 --> 00:32:31,060 So, 1241 00:32:35,020 --> 00:32:35,100 you can filter 1242 00:32:35,100 --> 00:32:35,400 by using 1243 00:32:35,400 --> 00:32:35,860 you know 1244 00:32:35,860 --> 00:32:36,300 the right 1245 00:32:36,300 --> 00:32:37,420 FTP data port 1246 00:32:37,420 --> 00:32:38,020 and just 1247 00:32:38,020 --> 00:32:38,260 scan 1248 00:32:38,260 --> 00:32:39,120 the whole internet 1249 00:32:39,120 --> 00:32:39,620 network 1250 00:32:39,620 --> 00:32:40,240 when the guys 1251 00:32:40,240 --> 00:32:41,040 are allowing 1252 00:32:41,040 --> 00:32:42,020 incoming FTP 1253 00:32:42,020 --> 00:32:42,820 or outgoing FTP. 1254 00:32:44,560 --> 00:32:45,260 Log input 1255 00:32:45,260 --> 00:32:46,060 is a keyword 1256 00:32:46,060 --> 00:32:46,660 that you can use 1257 00:32:46,660 --> 00:32:47,140 that will also 1258 00:32:47,140 --> 00:32:48,040 load the source interface 1259 00:32:48,040 --> 00:32:48,600 in the source 1260 00:32:48,600 --> 00:32:49,020 MAC address 1261 00:32:49,020 --> 00:32:50,300 when a packet 1262 00:32:50,300 --> 00:32:50,720 is dropped. 1263 00:32:51,300 --> 00:32:52,380 And don't forget 1264 00:32:52,380 --> 00:32:53,420 that since it doesn't 1265 00:32:53,420 --> 00:32:54,240 do any reassembly 1266 00:32:54,240 --> 00:32:55,060 that most of the time 1267 00:32:55,060 --> 00:32:55,940 only the first fragment 1268 00:32:55,940 --> 00:32:56,540 is filtered. 1269 00:32:57,340 --> 00:32:57,780 So, 1270 00:32:57,780 --> 00:32:58,960 next to that 1271 00:32:58,960 --> 00:32:59,420 I have the 1272 00:32:59,420 --> 00:33:00,500 different type 1273 00:33:00,500 --> 00:33:01,240 of ACL types. 1274 00:33:02,000 --> 00:33:03,080 The standard one 1275 00:33:03,080 --> 00:33:03,880 that nobody uses 1276 00:33:03,880 --> 00:33:04,380 is basically 1277 00:33:04,380 --> 00:33:05,560 source IP address 1278 00:33:05,560 --> 00:33:06,700 only kind of ACL. 1279 00:33:06,980 --> 00:33:08,240 The extended supports 1280 00:33:08,240 --> 00:33:09,000 IP address 1281 00:33:09,000 --> 00:33:09,600 source destination 1282 00:33:09,600 --> 00:33:10,580 protocol type 1283 00:33:10,580 --> 00:33:11,100 ports 1284 00:33:11,540 --> 00:33:12,260 and also 1285 00:33:12,260 --> 00:33:13,660 the established keyword. 1286 00:33:14,060 --> 00:33:15,020 But since it doesn't 1287 00:33:15,020 --> 00:33:16,040 do anything stateful 1288 00:33:16,040 --> 00:33:16,920 if you use 1289 00:33:16,920 --> 00:33:17,300 the keyword 1290 00:33:17,300 --> 00:33:17,580 established 1291 00:33:17,580 --> 00:33:18,760 it's only gonna check 1292 00:33:18,760 --> 00:33:19,480 if the 1293 00:33:19,480 --> 00:33:20,340 ACK 1294 00:33:20,340 --> 00:33:20,960 or RST 1295 00:33:20,960 --> 00:33:21,780 bit is set. 1296 00:33:22,260 --> 00:33:23,400 This is the only thing 1297 00:33:23,400 --> 00:33:23,800 that is checked. 1298 00:33:23,880 --> 00:33:24,720 It doesn't have 1299 00:33:24,720 --> 00:33:25,380 any table 1300 00:33:27,780 --> 00:33:28,140 that the thing 1301 00:33:28,140 --> 00:33:28,340 is allowed. 1302 00:33:29,860 --> 00:33:30,340 So, 1303 00:33:30,380 --> 00:33:31,080 the other kind of 1304 00:33:31,080 --> 00:33:31,740 ACLs 1305 00:33:32,260 --> 00:33:32,740 are 1306 00:33:32,740 --> 00:33:34,560 the Turbo ACLs 1307 00:33:34,560 --> 00:33:35,340 that use a hash table. 1308 00:33:35,440 --> 00:33:35,980 This is not bad 1309 00:33:35,980 --> 00:33:36,900 because usually 1310 00:33:36,900 --> 00:33:37,880 what happens is that 1311 00:33:37,880 --> 00:33:38,840 for every entry 1312 00:33:38,840 --> 00:33:39,660 in the ACL list 1313 00:33:39,660 --> 00:33:41,380 the route of each packet 1314 00:33:41,380 --> 00:33:42,340 is gonna process it 1315 00:33:42,340 --> 00:33:43,460 and if you have 1316 00:33:43,460 --> 00:33:43,960 a lot of traffic 1317 00:33:43,960 --> 00:33:44,460 on your network 1318 00:33:44,460 --> 00:33:46,740 or huge ACLs 1319 00:33:46,740 --> 00:33:47,620 the route is gonna 1320 00:33:47,620 --> 00:33:48,520 die quite quickly. 1321 00:33:48,960 --> 00:33:50,640 In the 72 series 1322 00:33:50,640 --> 00:33:51,380 and up 1323 00:33:51,380 --> 00:33:52,460 you can use 1324 00:33:52,460 --> 00:33:53,380 Turbo ACLs. 1325 00:33:53,520 --> 00:33:54,000 Basically 1326 00:33:54,000 --> 00:33:55,020 it will take 1327 00:33:55,020 --> 00:33:56,080 all the ACs 1328 00:33:56,080 --> 00:33:56,760 put them together 1329 00:33:57,780 --> 00:33:58,480 and you will 1330 00:33:58,480 --> 00:33:59,040 have a constant 1331 00:33:59,040 --> 00:34:00,240 lookup rate 1332 00:34:00,240 --> 00:34:00,820 of five 1333 00:34:01,580 --> 00:34:02,320 so to say 1334 00:34:02,320 --> 00:34:02,780 cycles 1335 00:34:02,780 --> 00:34:03,360 per packet 1336 00:34:03,360 --> 00:34:04,480 even if you use 1337 00:34:04,480 --> 00:34:05,340 1000 entries. 1338 00:34:06,200 --> 00:34:07,080 The other one 1339 00:34:07,080 --> 00:34:07,880 I'm not that used 1340 00:34:08,640 --> 00:34:09,640 I'm not gonna go 1341 00:34:09,640 --> 00:34:10,240 over it 1342 00:34:10,240 --> 00:34:10,900 it's just more or less 1343 00:34:10,900 --> 00:34:11,600 for information. 1344 00:34:13,280 --> 00:34:13,760 So, 1345 00:34:13,900 --> 00:34:14,340 this is 1346 00:34:14,340 --> 00:34:15,440 basically an example 1347 00:34:15,440 --> 00:34:16,160 of how to use 1348 00:34:16,160 --> 00:34:16,940 ACL in a route 1349 00:34:16,940 --> 00:34:17,500 or you define 1350 00:34:17,500 --> 00:34:18,900 the access list 1351 00:34:18,900 --> 00:34:20,440 and by default 1352 00:34:20,440 --> 00:34:20,780 you say 1353 00:34:20,780 --> 00:34:22,020 I deny everything 1354 00:34:22,020 --> 00:34:22,880 and only accept 1355 00:34:22,880 --> 00:34:23,900 some kind of the things. 1356 00:34:24,240 --> 00:34:24,980 We have seen 1357 00:34:24,980 --> 00:34:26,040 that some iOS releases 1358 00:34:26,040 --> 00:34:26,900 if you don't put 1359 00:34:27,780 --> 00:34:27,980 ACLs 1360 00:34:27,980 --> 00:34:28,320 that means 1361 00:34:28,320 --> 00:34:31,140 the 167735 1362 00:34:31,860 --> 00:34:32,740 it's gonna lock 1363 00:34:32,740 --> 00:34:33,120 the packet 1364 00:34:33,120 --> 00:34:34,020 but not the source 1365 00:34:34,020 --> 00:34:35,140 source port 1366 00:34:35,140 --> 00:34:35,700 and not the destination 1367 00:34:35,700 --> 00:34:36,040 port. 1368 00:34:36,160 --> 00:34:36,800 It's quite strange 1369 00:34:36,800 --> 00:34:38,000 but we don't know 1370 00:34:38,000 --> 00:34:38,920 why at the moment. 1371 00:34:39,740 --> 00:34:40,200 So, 1372 00:34:40,340 --> 00:34:41,380 ACL on the switch 1373 00:34:41,380 --> 00:34:42,180 can be used too 1374 00:34:43,020 --> 00:34:43,480 but 1375 00:34:44,460 --> 00:34:45,300 not recommended 1376 00:34:45,300 --> 00:34:46,500 and you're gonna 1377 00:34:46,500 --> 00:34:47,340 hit a lot of problems 1378 00:34:47,340 --> 00:34:48,360 if you start to play 1379 00:34:48,360 --> 00:34:49,140 with the ACLs 1380 00:34:49,140 --> 00:34:50,340 on a multi-layer switch 1381 00:34:50,340 --> 00:34:50,840 or 1382 00:34:52,480 --> 00:34:53,520 if your MSFC 1383 00:34:53,520 --> 00:34:54,340 is gonna be hit 1384 00:34:54,340 --> 00:34:55,060 by all the packets 1385 00:34:55,060 --> 00:34:55,780 or drop in this kind 1386 00:34:55,780 --> 00:34:56,020 of things 1387 00:34:56,020 --> 00:34:57,040 but it can be done. 1388 00:34:58,700 --> 00:34:59,180 So, 1389 00:34:59,340 --> 00:35:00,560 route integrity checking 1390 00:35:00,560 --> 00:35:01,220 we are heading 1391 00:35:01,220 --> 00:35:02,000 towards the end. 1392 00:35:02,240 --> 00:35:02,360 So, 1393 00:35:02,480 --> 00:35:02,900 basically 1394 00:35:02,900 --> 00:35:04,440 some two years back 1395 00:35:04,880 --> 00:35:05,600 we were trying 1396 00:35:05,600 --> 00:35:06,720 to find a way 1397 00:35:06,720 --> 00:35:07,680 to do some 1398 00:35:07,680 --> 00:35:08,620 integrity checking 1399 00:35:08,620 --> 00:35:09,460 of our configuration 1400 00:35:10,020 --> 00:35:10,500 and 1401 00:35:11,060 --> 00:35:11,300 recently 1402 00:35:11,300 --> 00:35:12,340 like one year ago 1403 00:35:12,840 --> 00:35:13,080 Tripwire, 1404 00:35:13,140 --> 00:35:13,880 the guys that are doing 1405 00:35:13,880 --> 00:35:15,300 the Tripwire 1406 00:35:15,300 --> 00:35:16,840 file integrity checking 1407 00:35:16,840 --> 00:35:17,700 system 1408 00:35:17,700 --> 00:35:18,340 came up 1409 00:35:18,340 --> 00:35:19,280 with Tripwire 1410 00:35:19,280 --> 00:35:20,100 like for iOS 1411 00:35:20,660 --> 00:35:21,540 and basically 1412 00:35:21,540 --> 00:35:22,240 you can do that 1413 00:35:22,240 --> 00:35:22,700 for free 1414 00:35:22,700 --> 00:35:23,320 with some 1415 00:35:24,020 --> 00:35:24,420 two, 1416 00:35:24,500 --> 00:35:25,040 three tools. 1417 00:35:25,420 --> 00:35:26,340 what we are doing 1418 00:35:26,340 --> 00:35:27,040 is we are storing 1419 00:35:27,040 --> 00:35:27,580 the configuration 1420 00:35:27,580 --> 00:35:29,020 in a central CVS 1421 00:35:29,020 --> 00:35:30,420 or any kind of central 1422 00:35:32,020 --> 00:35:32,420 system 1423 00:35:32,420 --> 00:35:33,080 to store 1424 00:35:33,600 --> 00:35:33,800 files 1425 00:35:33,800 --> 00:35:34,360 and 1426 00:35:34,780 --> 00:35:35,400 keeping up 1427 00:35:35,400 --> 00:35:35,900 with the regions. 1428 00:35:36,480 --> 00:35:36,880 So, 1429 00:35:36,980 --> 00:35:37,560 what you have to do 1430 00:35:37,560 --> 00:35:38,360 is to use something 1431 00:35:38,360 --> 00:35:39,120 like CVS 1432 00:35:39,120 --> 00:35:40,560 and then find a way 1433 00:35:40,560 --> 00:35:41,400 to get the configuration 1434 00:35:41,400 --> 00:35:42,140 from the device. 1435 00:35:42,360 --> 00:35:42,760 You can be, 1436 00:35:42,780 --> 00:35:43,880 you can use a crypto telnet, 1437 00:35:43,960 --> 00:35:45,260 you can use SSH. 1438 00:35:45,780 --> 00:35:46,920 What you can do also 1439 00:35:46,920 --> 00:35:48,540 but we do not recommend it 1440 00:35:48,540 --> 00:35:49,500 is use SNMP. 1441 00:35:49,800 --> 00:35:50,740 The only thing is 1442 00:35:50,740 --> 00:35:51,120 when you, 1443 00:35:52,700 --> 00:35:52,980 in the box 1444 00:35:52,980 --> 00:35:53,880 to upload 1445 00:35:53,880 --> 00:35:54,500 the configuration 1446 00:35:54,500 --> 00:35:55,660 to the central system 1447 00:35:55,660 --> 00:35:56,440 you will have to use 1448 00:35:56,440 --> 00:35:57,140 a retry community 1449 00:35:57,660 --> 00:35:58,980 which is basically bad. 1450 00:36:00,220 --> 00:36:01,380 Once you have done that 1451 00:36:01,380 --> 00:36:01,960 you need to check 1452 00:36:01,960 --> 00:36:02,520 the configuration. 1453 00:36:02,780 --> 00:36:03,500 You can do that 1454 00:36:03,500 --> 00:36:03,980 automatically 1455 00:36:03,980 --> 00:36:04,860 like every night 1456 00:36:04,860 --> 00:36:05,560 using a Chrome 1457 00:36:05,560 --> 00:36:06,140 ad job 1458 00:36:06,140 --> 00:36:07,560 or by watching 1459 00:36:07,560 --> 00:36:08,060 the log files. 1460 00:36:08,300 --> 00:36:09,020 Every time somebody 1461 00:36:09,020 --> 00:36:09,900 changes the configuration 1462 00:36:09,900 --> 00:36:10,420 of the router 1463 00:36:10,420 --> 00:36:11,000 you will see 1464 00:36:11,000 --> 00:36:12,180 in your log files 1465 00:36:12,180 --> 00:36:12,860 configure, 1466 00:36:13,140 --> 00:36:13,860 this device 1467 00:36:13,860 --> 00:36:14,720 has been configured 1468 00:36:14,720 --> 00:36:16,100 by name of the guy 1469 00:36:16,100 --> 00:36:17,300 or when you see 1470 00:36:17,300 --> 00:36:17,920 a router boat 1471 00:36:17,920 --> 00:36:19,040 or this kind of things. 1472 00:36:19,040 --> 00:36:19,420 So, 1473 00:36:19,700 --> 00:36:20,880 there are a lot of events 1474 00:36:20,880 --> 00:36:21,500 that you can use 1475 00:36:21,500 --> 00:36:22,240 to do the checking. 1476 00:36:23,260 --> 00:36:23,860 And then, 1477 00:36:23,880 --> 00:36:24,580 when that is done 1478 00:36:24,580 --> 00:36:25,040 well, 1479 00:36:25,100 --> 00:36:26,060 just leave the configuration 1480 00:36:26,060 --> 00:36:26,900 you received 1481 00:36:26,900 --> 00:36:27,400 with the one 1482 00:36:27,400 --> 00:36:28,260 that is stored 1483 00:36:28,260 --> 00:36:28,980 in your CVS 1484 00:36:28,980 --> 00:36:29,540 for example. 1485 00:36:30,720 --> 00:36:31,900 There are a lot of limitations 1486 00:36:31,900 --> 00:36:32,900 as usual 1487 00:36:32,900 --> 00:36:33,760 with any tripwire 1488 00:36:33,760 --> 00:36:34,460 kind of system. 1489 00:36:34,740 --> 00:36:35,480 You have to trust 1490 00:36:35,480 --> 00:36:36,160 the running system 1491 00:36:36,160 --> 00:36:36,700 on the box 1492 00:36:36,700 --> 00:36:37,280 like iOS 1493 00:36:37,280 --> 00:36:37,920 or CatOS. 1494 00:36:38,840 --> 00:36:39,720 We are just saying 1495 00:36:39,720 --> 00:36:40,240 that there is no 1496 00:36:40,240 --> 00:36:41,340 Cisco rootkit yet 1497 00:36:41,340 --> 00:36:42,480 but that's going to happen. 1498 00:36:42,600 --> 00:36:42,960 We are going to talk 1499 00:36:42,960 --> 00:36:43,360 a little bit 1500 00:36:43,360 --> 00:36:44,540 about it later on. 1501 00:36:44,540 --> 00:36:45,240 And, 1502 00:36:45,420 --> 00:36:45,880 you have to trust 1503 00:36:45,880 --> 00:36:46,320 the network 1504 00:36:46,320 --> 00:36:47,540 and this kind of things. 1505 00:36:47,920 --> 00:36:48,300 And, 1506 00:36:48,460 --> 00:36:49,120 never forget 1507 00:36:49,120 --> 00:36:49,980 that you have two files 1508 00:36:49,980 --> 00:36:50,660 running on the system. 1509 00:36:50,840 --> 00:36:51,720 One is the startup 1510 00:36:51,720 --> 00:36:52,760 configuration file 1511 00:36:52,760 --> 00:36:53,600 and one is the running 1512 00:36:53,600 --> 00:36:54,300 configuration file. 1513 00:36:54,520 --> 00:36:54,940 Usually, 1514 00:36:55,020 --> 00:36:55,920 they should be the same. 1515 00:36:58,160 --> 00:36:58,640 So, 1516 00:36:58,800 --> 00:36:59,800 we are trying 1517 00:36:59,800 --> 00:37:00,280 to do checking 1518 00:37:00,280 --> 00:37:01,400 like two years ago 1519 00:37:01,400 --> 00:37:02,280 when we first started 1520 00:37:02,280 --> 00:37:02,700 to discuss 1521 00:37:02,700 --> 00:37:03,480 if it's possible 1522 00:37:03,480 --> 00:37:04,600 to do kind of 1523 00:37:04,600 --> 00:37:05,120 rootkit 1524 00:37:05,680 --> 00:37:06,640 for iOS. 1525 00:37:07,060 --> 00:37:07,880 We were just saying 1526 00:37:07,880 --> 00:37:08,680 is it possible? 1527 00:37:08,980 --> 00:37:09,460 And, 1528 00:37:09,540 --> 00:37:10,380 we started to list 1529 00:37:10,380 --> 00:37:11,780 the different points 1530 00:37:11,780 --> 00:37:12,560 that would say 1531 00:37:14,540 --> 00:37:14,880 yes or no. 1532 00:37:15,020 --> 00:37:16,120 if you guys have attended 1533 00:37:16,120 --> 00:37:17,000 Black Hat yesterday 1534 00:37:17,000 --> 00:37:18,300 where FX came up 1535 00:37:18,300 --> 00:37:19,180 with some nice 1536 00:37:19,180 --> 00:37:19,720 hand sign, 1537 00:37:19,840 --> 00:37:20,020 no, 1538 00:37:20,060 --> 00:37:20,820 we are going to tend 1539 00:37:20,820 --> 00:37:21,480 to say yes, 1540 00:37:21,500 --> 00:37:22,120 it's really possible 1541 00:37:22,120 --> 00:37:22,680 to do it. 1542 00:37:23,360 --> 00:37:23,840 Basically, 1543 00:37:24,080 --> 00:37:25,560 iOS is a closed source 1544 00:37:25,560 --> 00:37:26,520 OS running on MIPS 1545 00:37:26,520 --> 00:37:27,740 for the newest models 1546 00:37:27,740 --> 00:37:29,280 or Motorola 168K. 1547 00:37:29,600 --> 00:37:30,740 It's closed source 1548 00:37:30,740 --> 00:37:31,620 is just a fork 1549 00:37:31,620 --> 00:37:32,260 from a kind of 1550 00:37:32,260 --> 00:37:33,300 PSD Unix. 1551 00:37:33,480 --> 00:37:34,340 It has been affected 1552 00:37:34,340 --> 00:37:35,940 by most of the bugs 1553 00:37:35,940 --> 00:37:36,460 that affected 1554 00:37:36,460 --> 00:37:38,060 other Unix systems 1555 00:37:38,060 --> 00:37:39,340 like the Zlib bug, 1556 00:37:39,580 --> 00:37:40,360 SNMP bugs 1557 00:37:40,360 --> 00:37:40,860 and so on. 1558 00:37:42,180 --> 00:37:43,140 What you can do 1559 00:37:43,140 --> 00:37:43,380 is, 1560 00:37:44,540 --> 00:37:44,640 you can either 1561 00:37:44,640 --> 00:37:45,180 debug the device 1562 00:37:45,180 --> 00:37:46,440 using remote GDP access 1563 00:37:46,440 --> 00:37:47,720 or locally 1564 00:37:47,720 --> 00:37:49,260 by running GDP 1565 00:37:49,260 --> 00:37:50,180 on the device itself. 1566 00:37:51,800 --> 00:37:53,080 While working on that 1567 00:37:53,080 --> 00:37:53,760 I was just looking 1568 00:37:53,760 --> 00:37:54,220 at the book 1569 00:37:54,220 --> 00:37:54,680 by Cisco 1570 00:37:54,680 --> 00:37:55,240 which is called 1571 00:37:55,240 --> 00:37:55,900 Inside Cisco 1572 00:37:55,900 --> 00:37:57,040 iOS Software Architecture. 1573 00:37:57,640 --> 00:37:58,060 And, 1574 00:37:58,140 --> 00:37:58,660 what they are saying 1575 00:37:58,660 --> 00:37:59,140 they are saying 1576 00:37:59,140 --> 00:38:00,200 that at a kernel level 1577 00:38:00,200 --> 00:38:01,380 everything is running 1578 00:38:01,380 --> 00:38:02,900 at the same privilege. 1579 00:38:03,260 --> 00:38:03,580 That means 1580 00:38:03,580 --> 00:38:04,860 your BGP process, 1581 00:38:05,220 --> 00:38:05,740 your shell, 1582 00:38:06,020 --> 00:38:06,940 everything is running 1583 00:38:06,940 --> 00:38:07,460 at the same level. 1584 00:38:07,560 --> 00:38:07,620 So, 1585 00:38:07,680 --> 00:38:08,700 if you can find any hole 1586 00:38:08,700 --> 00:38:09,900 in any process 1587 00:38:09,900 --> 00:38:10,620 running on the device 1588 00:38:10,620 --> 00:38:11,500 you can own 1589 00:38:11,500 --> 00:38:12,500 the whole device. 1590 00:38:14,540 --> 00:38:15,060 There are a lot of things 1591 00:38:15,060 --> 00:38:16,040 to check 1592 00:38:16,040 --> 00:38:16,620 if everything 1593 00:38:16,620 --> 00:38:17,540 is doing fine. 1594 00:38:17,780 --> 00:38:18,140 Basically, 1595 00:38:18,200 --> 00:38:19,260 they just emphasis 1596 00:38:19,260 --> 00:38:19,980 on making sure 1597 00:38:19,980 --> 00:38:20,500 that the router 1598 00:38:20,500 --> 00:38:21,480 is going to forward packets 1599 00:38:21,480 --> 00:38:23,120 as fast as possible 1600 00:38:23,120 --> 00:38:24,260 not that the device 1601 00:38:24,260 --> 00:38:25,320 is going to survive 1602 00:38:25,320 --> 00:38:26,900 any failure 1603 00:38:26,900 --> 00:38:27,460 of a process. 1604 00:38:27,700 --> 00:38:28,180 And usually 1605 00:38:28,180 --> 00:38:28,660 what happens 1606 00:38:28,660 --> 00:38:29,440 when a process dies 1607 00:38:29,440 --> 00:38:29,960 in a box 1608 00:38:29,960 --> 00:38:30,720 the router 1609 00:38:30,720 --> 00:38:32,160 does a forced 1610 00:38:32,160 --> 00:38:32,820 server reboot 1611 00:38:32,820 --> 00:38:33,140 anyway. 1612 00:38:35,400 --> 00:38:35,920 So, 1613 00:38:36,180 --> 00:38:37,440 open questions 1614 00:38:38,480 --> 00:38:39,420 about that. 1615 00:38:39,560 --> 00:38:40,280 This may have been 1616 00:38:40,280 --> 00:38:40,460 changed 1617 00:38:40,460 --> 00:38:41,280 I haven't updated it 1618 00:38:41,280 --> 00:38:41,980 since yesterday 1619 00:38:41,980 --> 00:38:42,960 so tell me 1620 00:38:44,540 --> 00:38:44,940 what you think 1621 00:38:44,940 --> 00:38:45,480 what we have 1622 00:38:45,480 --> 00:38:45,940 you don't have 1623 00:38:45,940 --> 00:38:46,480 any local 1624 00:38:46,480 --> 00:38:47,800 so say tools 1625 00:38:47,800 --> 00:38:48,300 to play 1626 00:38:48,300 --> 00:38:50,640 with the device itself. 1627 00:38:50,860 --> 00:38:51,180 It's not like 1628 00:38:51,180 --> 00:38:51,600 Unix 1629 00:38:51,600 --> 00:38:52,560 or Microsoft 1630 00:38:52,560 --> 00:38:54,060 if you are missing 1631 00:38:54,060 --> 00:38:54,420 the tool 1632 00:38:54,420 --> 00:38:55,020 you just upload 1633 00:38:55,020 --> 00:38:55,380 the tool 1634 00:38:55,380 --> 00:38:55,900 to the device 1635 00:38:55,900 --> 00:38:56,340 and you start 1636 00:38:56,340 --> 00:38:56,840 to play with. 1637 00:38:57,480 --> 00:38:58,500 It's not so easy 1638 00:38:58,500 --> 00:38:59,180 since it's running 1639 00:38:59,180 --> 00:39:00,560 a multi-cable 1640 00:39:00,560 --> 00:39:01,160 that you cannot 1641 00:39:01,160 --> 00:39:01,880 change easily. 1642 00:39:02,820 --> 00:39:03,680 On the switches 1643 00:39:03,680 --> 00:39:04,120 you have 1644 00:39:04,120 --> 00:39:04,920 an enable 1645 00:39:04,920 --> 00:39:05,760 engineer mode 1646 00:39:05,760 --> 00:39:07,020 that you can go to 1647 00:39:07,020 --> 00:39:07,360 you have some 1648 00:39:07,360 --> 00:39:08,440 public documents 1649 00:39:08,440 --> 00:39:09,260 and that on the internet 1650 00:39:09,260 --> 00:39:10,160 where you can really 1651 00:39:10,160 --> 00:39:11,160 play with the switch itself 1652 00:39:11,160 --> 00:39:12,100 but since you are 1653 00:39:12,100 --> 00:39:12,660 lacking most 1654 00:39:12,660 --> 00:39:13,040 of the 1655 00:39:14,740 --> 00:39:15,740 configuration files 1656 00:39:15,740 --> 00:39:16,220 documents 1657 00:39:16,220 --> 00:39:17,220 describing how 1658 00:39:17,220 --> 00:39:17,660 it's working 1659 00:39:18,660 --> 00:39:19,400 it's not easy 1660 00:39:19,400 --> 00:39:19,800 to understand 1661 00:39:19,800 --> 00:39:20,520 what's going on. 1662 00:39:21,300 --> 00:39:22,180 What we have been 1663 00:39:22,180 --> 00:39:22,680 thinking of 1664 00:39:22,680 --> 00:39:23,760 is that 1665 00:39:23,760 --> 00:39:24,740 is there any way 1666 00:39:24,740 --> 00:39:25,520 to upload 1667 00:39:25,520 --> 00:39:26,260 a modified 1668 00:39:26,260 --> 00:39:27,140 IOS image 1669 00:39:27,140 --> 00:39:27,760 to the box. 1670 00:39:28,380 --> 00:39:29,140 First of all 1671 00:39:29,140 --> 00:39:29,760 to change it 1672 00:39:29,760 --> 00:39:31,220 and then secondly 1673 00:39:31,220 --> 00:39:32,380 is it really possible 1674 00:39:32,380 --> 00:39:32,940 to go there 1675 00:39:32,940 --> 00:39:33,400 and say 1676 00:39:33,400 --> 00:39:33,800 okay 1677 00:39:34,300 --> 00:39:35,180 can we do that 1678 00:39:35,180 --> 00:39:35,640 state-free 1679 00:39:35,640 --> 00:39:36,020 that means 1680 00:39:36,020 --> 00:39:37,140 upload a new IOS 1681 00:39:37,140 --> 00:39:37,940 run it 1682 00:39:37,940 --> 00:39:39,100 and kill the old 1683 00:39:39,100 --> 00:39:40,980 one without having 1684 00:39:40,980 --> 00:39:41,880 the router reboot. 1685 00:39:43,140 --> 00:39:44,220 It may be possible 1686 00:39:44,220 --> 00:39:45,560 if you use 1687 00:39:45,560 --> 00:39:46,740 dual root processors 1688 00:39:46,740 --> 00:39:47,720 like on the broadband 1689 00:39:47,720 --> 00:39:48,480 concentrators 1690 00:39:48,480 --> 00:39:49,600 or if you just 1691 00:39:49,600 --> 00:39:49,880 go there 1692 00:39:49,880 --> 00:39:50,420 and try to 1693 00:39:50,420 --> 00:39:52,000 upgrade line cards 1694 00:39:52,000 --> 00:39:52,680 on the large 1695 00:39:52,680 --> 00:39:53,520 for example. 1696 00:39:54,820 --> 00:39:55,660 There are a lot 1697 00:39:55,660 --> 00:39:55,980 of images 1698 00:39:55,980 --> 00:39:56,520 out there 1699 00:39:56,520 --> 00:39:57,060 you would have 1700 00:39:57,060 --> 00:39:57,500 to patch. 1701 00:39:57,680 --> 00:39:58,400 Basically Cisco 1702 00:39:58,400 --> 00:39:59,740 has 2500 1703 00:40:00,580 --> 00:40:01,060 images 1704 00:40:01,060 --> 00:40:01,700 out there 1705 00:40:01,700 --> 00:40:02,220 in the field 1706 00:40:03,400 --> 00:40:03,980 in seven feature sets 1707 00:40:03,980 --> 00:40:04,940 but if you 1708 00:40:04,940 --> 00:40:05,840 would focus 1709 00:40:06,200 --> 00:40:07,220 on an ISP 1710 00:40:07,220 --> 00:40:08,200 you could just 1711 00:40:08,200 --> 00:40:08,520 go there 1712 00:40:08,520 --> 00:40:09,340 and try to 1713 00:40:09,880 --> 00:40:10,960 modify one of the 1714 00:40:10,960 --> 00:40:12,220 service provider 1715 00:40:12,220 --> 00:40:13,000 release train. 1716 00:40:14,520 --> 00:40:15,640 One and a half 1717 00:40:15,640 --> 00:40:16,140 years back 1718 00:40:16,140 --> 00:40:16,860 Cisco was working 1719 00:40:16,860 --> 00:40:17,340 on IOS 1720 00:40:17,340 --> 00:40:18,000 next generation 1721 00:40:18,000 --> 00:40:19,240 that would have 1722 00:40:19,240 --> 00:40:20,020 had 1723 00:40:21,220 --> 00:40:21,740 support 1724 00:40:21,740 --> 00:40:22,200 for 1725 00:40:22,200 --> 00:40:23,780 loadable modules 1726 00:40:24,380 --> 00:40:25,060 that would make 1727 00:40:25,060 --> 00:40:26,200 this kind 1728 00:40:26,200 --> 00:40:26,700 not to say 1729 00:40:26,700 --> 00:40:27,220 our life 1730 00:40:27,220 --> 00:40:28,400 but would make 1731 00:40:28,400 --> 00:40:29,220 the life of the attacker 1732 00:40:29,220 --> 00:40:29,960 much more easy 1733 00:40:29,960 --> 00:40:30,800 but we haven't 1734 00:40:30,800 --> 00:40:31,220 seen anything 1735 00:40:33,400 --> 00:40:33,660 even though 1736 00:40:33,660 --> 00:40:34,580 Cisco is still 1737 00:40:34,580 --> 00:40:35,180 working on it. 1738 00:40:37,020 --> 00:40:37,900 Okay so 1739 00:40:37,900 --> 00:40:39,060 last slide 1740 00:40:39,060 --> 00:40:39,980 talking a little bit 1741 00:40:39,980 --> 00:40:40,720 about forensics 1742 00:40:41,220 --> 00:40:41,660 basically 1743 00:40:42,160 --> 00:40:43,100 like I said 1744 00:40:43,100 --> 00:40:43,800 a router 1745 00:40:43,800 --> 00:40:44,880 is a hardware 1746 00:40:44,880 --> 00:40:45,340 box running 1747 00:40:45,340 --> 00:40:46,160 an operating system 1748 00:40:46,160 --> 00:40:47,420 so when you have 1749 00:40:47,420 --> 00:40:48,220 to do some forensics 1750 00:40:48,220 --> 00:40:49,080 I'm not going to 1751 00:40:49,080 --> 00:40:49,640 talk about chain 1752 00:40:49,640 --> 00:40:50,160 of custody 1753 00:40:50,720 --> 00:40:51,600 evidence documents 1754 00:40:51,600 --> 00:40:52,460 this kind of things 1755 00:40:52,460 --> 00:40:53,480 just give you some 1756 00:40:53,480 --> 00:40:54,020 hints about 1757 00:40:54,020 --> 00:40:54,780 where you should 1758 00:40:54,780 --> 00:40:55,460 have a look at. 1759 00:40:55,780 --> 00:40:56,620 So basically 1760 00:40:56,620 --> 00:40:58,080 at the top left side 1761 00:40:58,080 --> 00:40:59,280 it's all the things 1762 00:40:59,280 --> 00:40:59,900 you're going to export. 1763 00:41:00,500 --> 00:41:01,400 You should always 1764 00:41:01,400 --> 00:41:01,940 make sure 1765 00:41:01,940 --> 00:41:02,500 that you export 1766 00:41:02,500 --> 00:41:03,300 the things 1767 00:41:03,300 --> 00:41:04,180 to your syslog 1768 00:41:04,180 --> 00:41:04,900 server so 1769 00:41:04,900 --> 00:41:05,660 you will have 1770 00:41:05,660 --> 00:41:06,300 all the packets 1771 00:41:06,300 --> 00:41:06,960 that are dropped 1772 00:41:06,960 --> 00:41:08,080 by ACLs 1773 00:41:08,080 --> 00:41:09,280 dropped by 1774 00:41:09,280 --> 00:41:09,860 unicast 1775 00:41:09,860 --> 00:41:10,700 RPF filtering 1776 00:41:10,700 --> 00:41:12,000 the system information 1777 00:41:12,000 --> 00:41:12,860 when the interface 1778 00:41:12,860 --> 00:41:13,380 is going to flap 1779 00:41:13,380 --> 00:41:14,620 if your BGP session 1780 00:41:14,620 --> 00:41:15,300 is going to flap 1781 00:41:15,300 --> 00:41:16,840 configuration change 1782 00:41:16,840 --> 00:41:17,560 and so on. 1783 00:41:17,740 --> 00:41:18,540 You will also 1784 00:41:18,540 --> 00:41:19,320 if you use SNMP 1785 00:41:19,320 --> 00:41:20,580 but that's going to 1786 00:41:20,580 --> 00:41:21,500 depend if you really 1787 00:41:21,500 --> 00:41:22,060 need to 1788 00:41:22,060 --> 00:41:22,760 upload 1789 00:41:22,760 --> 00:41:23,280 so to say 1790 00:41:23,280 --> 00:41:23,920 upload or activate 1791 00:41:23,920 --> 00:41:24,220 traps 1792 00:41:24,220 --> 00:41:25,140 you will get 1793 00:41:25,140 --> 00:41:25,960 SNMP traps. 1794 00:41:31,400 --> 00:41:31,580 You will have 1795 00:41:31,580 --> 00:41:32,520 all the AAA logs 1796 00:41:32,520 --> 00:41:33,680 showing when 1797 00:41:33,680 --> 00:41:34,660 guys logged in 1798 00:41:34,660 --> 00:41:35,180 what they did 1799 00:41:35,180 --> 00:41:35,740 and so on. 1800 00:41:36,080 --> 00:41:37,060 And also what's 1801 00:41:37,060 --> 00:41:37,480 going to happen 1802 00:41:37,480 --> 00:41:38,080 if you activate 1803 00:41:38,080 --> 00:41:38,740 it on the router 1804 00:41:38,740 --> 00:41:39,340 and when the router 1805 00:41:39,340 --> 00:41:39,740 crashes 1806 00:41:39,740 --> 00:41:40,460 you can have it 1807 00:41:40,460 --> 00:41:41,700 upload automatically 1808 00:41:41,700 --> 00:41:42,660 through FTP 1809 00:41:42,660 --> 00:41:43,260 sync 1810 00:41:44,400 --> 00:41:44,880 codems 1811 00:41:44,880 --> 00:41:46,260 of the image 1812 00:41:46,260 --> 00:41:47,300 and the memory 1813 00:41:47,300 --> 00:41:47,860 to see 1814 00:41:47,860 --> 00:41:48,980 what was going 1815 00:41:48,980 --> 00:41:49,260 wrong. 1816 00:41:49,620 --> 00:41:50,080 What you're also 1817 00:41:50,080 --> 00:41:50,520 going to have 1818 00:41:50,520 --> 00:41:50,980 is all the 1819 00:41:50,980 --> 00:41:51,640 NetFlow accounting 1820 00:41:51,640 --> 00:41:52,140 data. 1821 00:41:52,520 --> 00:41:53,560 NetFlow is basically 1822 00:41:53,560 --> 00:41:54,080 a protocol 1823 00:41:54,080 --> 00:41:55,800 that's going to count 1824 00:42:01,400 --> 00:42:01,720 traffic flow. 1825 00:42:01,860 --> 00:42:02,460 It's usually used 1826 00:42:02,460 --> 00:42:02,960 to do traffic 1827 00:42:02,960 --> 00:42:03,380 engineering. 1828 00:42:04,060 --> 00:42:05,120 And what we will 1829 00:42:05,120 --> 00:42:05,760 recommend too 1830 00:42:05,760 --> 00:42:06,640 is to make sure 1831 00:42:06,640 --> 00:42:07,380 that you get somewhere 1832 00:42:07,380 --> 00:42:08,340 on some other 1833 00:42:08,340 --> 00:42:09,080 router's copies 1834 00:42:09,080 --> 00:42:10,340 of the routing 1835 00:42:10,340 --> 00:42:10,960 protocol information. 1836 00:42:11,460 --> 00:42:11,980 Routing protocol 1837 00:42:11,980 --> 00:42:12,780 information changes 1838 00:42:12,780 --> 00:42:13,420 quite quickly 1839 00:42:13,420 --> 00:42:14,580 and what you can do 1840 00:42:14,580 --> 00:42:15,540 is run a dedicated 1841 00:42:15,540 --> 00:42:16,500 device that's just 1842 00:42:16,500 --> 00:42:17,540 going to be a BGPP 1843 00:42:17,540 --> 00:42:18,960 an OSPF neighbor 1844 00:42:18,960 --> 00:42:19,660 for example 1845 00:42:19,660 --> 00:42:21,160 and from there 1846 00:42:21,160 --> 00:42:21,980 running for example 1847 00:42:21,980 --> 00:42:23,540 Zebra on a Linux 1848 00:42:23,540 --> 00:42:24,480 box or KDE 1849 00:42:24,480 --> 00:42:25,560 store all the 1850 00:42:25,560 --> 00:42:26,360 information at least 1851 00:42:26,360 --> 00:42:27,020 for some minutes 1852 00:42:27,020 --> 00:42:27,700 to see what 1853 00:42:27,700 --> 00:42:28,740 happened just before 1854 00:42:28,740 --> 00:42:30,220 the network was 1855 00:42:30,220 --> 00:42:31,080 done or somebody 1856 00:42:31,080 --> 00:42:32,240 got into a router. 1857 00:42:34,220 --> 00:42:35,220 What you need 1858 00:42:35,220 --> 00:42:36,480 on the left hand 1859 00:42:36,480 --> 00:42:37,040 side is 1860 00:42:37,040 --> 00:42:38,140 well if 1861 00:42:38,140 --> 00:42:39,440 somebody is 1862 00:42:39,440 --> 00:42:39,820 going to put 1863 00:42:39,820 --> 00:42:40,800 the router 1864 00:42:40,800 --> 00:42:41,640 over DHCP 1865 00:42:41,640 --> 00:42:42,220 or BOOTP 1866 00:42:42,220 --> 00:42:42,920 you could 1867 00:42:42,920 --> 00:42:44,020 just go there 1868 00:42:44,020 --> 00:42:44,880 and make the 1869 00:42:44,880 --> 00:42:45,740 device reboot 1870 00:42:45,740 --> 00:42:46,320 and get 1871 00:42:46,320 --> 00:42:47,280 the configuration 1872 00:42:47,280 --> 00:42:49,020 and the IOS 1873 00:42:49,020 --> 00:42:49,740 image from a 1874 00:42:49,740 --> 00:42:50,300 remote location. 1875 00:42:50,780 --> 00:42:51,560 That means 1876 00:42:51,560 --> 00:42:52,040 that even 1877 00:42:52,040 --> 00:42:53,900 if you have 1878 00:42:53,900 --> 00:42:54,460 the IOS 1879 00:42:54,460 --> 00:42:55,260 locally on the 1880 00:42:55,260 --> 00:42:55,740 flash card 1881 00:42:55,740 --> 00:42:56,300 you could just 1882 00:42:56,300 --> 00:42:56,860 put the device 1883 00:42:57,700 --> 00:42:58,320 and download 1884 00:42:58,320 --> 00:42:58,860 the configuration 1885 00:42:58,860 --> 00:42:59,540 from a remote 1886 00:42:59,540 --> 00:43:00,760 site so just 1887 00:43:00,760 --> 00:43:02,000 make sure that 1888 00:43:02,000 --> 00:43:02,980 this is not 1889 00:43:02,980 --> 00:43:03,780 feasible and 1890 00:43:03,780 --> 00:43:04,840 watch it somewhere. 1891 00:43:05,280 --> 00:43:06,260 So clock 1892 00:43:06,260 --> 00:43:07,140 synchronization is 1893 00:43:07,140 --> 00:43:07,660 always quite 1894 00:43:07,660 --> 00:43:08,640 important as usual. 1895 00:43:10,280 --> 00:43:11,300 On the left hand 1896 00:43:11,300 --> 00:43:12,000 side you 1897 00:43:12,000 --> 00:43:12,840 should forget 1898 00:43:12,840 --> 00:43:13,300 that you have 1899 00:43:13,300 --> 00:43:13,980 basically two 1900 00:43:13,980 --> 00:43:14,800 things running on 1901 00:43:14,800 --> 00:43:15,380 most of the 1902 00:43:15,380 --> 00:43:16,040 device that is 1903 00:43:16,040 --> 00:43:17,100 RAM which is 1904 00:43:17,100 --> 00:43:18,460 volatile and flash 1905 00:43:18,460 --> 00:43:19,300 that is basically 1906 00:43:19,300 --> 00:43:20,040 non-volatile. 1907 00:43:20,300 --> 00:43:21,080 So what you 1908 00:43:21,080 --> 00:43:21,640 have on the flash 1909 00:43:21,640 --> 00:43:22,560 card usually is 1910 00:43:22,560 --> 00:43:23,540 the IOS release 1911 00:43:23,540 --> 00:43:24,600 that can be the 1912 00:43:24,600 --> 00:43:25,240 one that runs in 1913 00:43:27,700 --> 00:43:28,240 the two configuration 1914 00:43:28,240 --> 00:43:28,720 files. 1915 00:43:29,380 --> 00:43:30,560 What is stored in 1916 00:43:30,560 --> 00:43:31,800 RAM or DRAM 1917 00:43:31,800 --> 00:43:32,520 depending on the 1918 00:43:32,520 --> 00:43:33,480 hardware is the 1919 00:43:33,480 --> 00:43:34,060 running IOS, 1920 00:43:34,320 --> 00:43:35,100 all the processes, 1921 00:43:35,620 --> 00:43:36,360 the routing 1922 00:43:36,360 --> 00:43:36,740 information, 1923 00:43:37,200 --> 00:43:38,000 all the debugging 1924 00:43:38,000 --> 00:43:38,380 logs, 1925 00:43:38,620 --> 00:43:39,260 the history logs 1926 00:43:39,260 --> 00:43:40,140 and so on. 1927 00:43:40,320 --> 00:43:41,480 So don't forget 1928 00:43:41,480 --> 00:43:42,460 that basically 1929 00:43:42,460 --> 00:43:43,540 what you see is 1930 00:43:43,540 --> 00:43:44,040 that when somebody 1931 00:43:44,040 --> 00:43:44,640 does forensics 1932 00:43:44,640 --> 00:43:45,260 it just unpucks 1933 00:43:45,260 --> 00:43:45,620 the cable, 1934 00:43:45,680 --> 00:43:46,220 boots the device 1935 00:43:46,220 --> 00:43:46,860 and see what's 1936 00:43:46,860 --> 00:43:47,440 going on afterwards. 1937 00:43:47,660 --> 00:43:48,080 If you do that 1938 00:43:48,080 --> 00:43:48,560 with a router 1939 00:43:48,560 --> 00:43:49,360 you lose 1940 00:43:50,060 --> 00:43:50,820 more or less 1941 00:43:50,820 --> 00:43:51,140 everything. 1942 00:43:51,700 --> 00:43:52,660 So don't forget 1943 00:43:57,700 --> 00:43:58,120 if you cannot 1944 00:43:58,120 --> 00:43:59,080 get into anymore 1945 00:43:59,080 --> 00:43:59,900 because the guy 1946 00:43:59,900 --> 00:44:00,320 changed the 1947 00:44:00,320 --> 00:44:01,200 password is 1948 00:44:01,200 --> 00:44:01,820 check your remote 1949 00:44:01,820 --> 00:44:02,820 logs and accounting 1950 00:44:02,820 --> 00:44:04,260 data to see if 1951 00:44:04,260 --> 00:44:05,360 some strange 1952 00:44:05,360 --> 00:44:06,060 activities were 1953 00:44:06,060 --> 00:44:06,660 going on just 1954 00:44:06,660 --> 00:44:06,980 before. 1955 00:44:07,540 --> 00:44:08,540 There's also a 1956 00:44:08,540 --> 00:44:10,280 nice tool that 1957 00:44:10,280 --> 00:44:10,880 allows you to read 1958 00:44:10,880 --> 00:44:11,440 the flash cards 1959 00:44:11,440 --> 00:44:12,640 formatted in 1960 00:44:12,640 --> 00:44:13,340 Cisco format 1961 00:44:13,340 --> 00:44:13,940 which is available 1962 00:44:13,940 --> 00:44:14,900 at that address. 1963 00:44:15,420 --> 00:44:16,580 You can use it 1964 00:44:16,580 --> 00:44:17,640 in the PCMC 1965 00:44:17,640 --> 00:44:18,220 laptop. 1966 00:44:19,800 --> 00:44:21,160 So always make 1967 00:44:21,160 --> 00:44:21,640 sure that you 1968 00:44:21,640 --> 00:44:22,720 sync before you 1969 00:44:22,720 --> 00:44:23,420 reboot if you 1970 00:44:23,420 --> 00:44:23,960 have done 1971 00:44:23,960 --> 00:44:24,720 everything that 1972 00:44:24,720 --> 00:44:25,940 check all the local 1973 00:44:27,700 --> 00:44:28,100 information. 1974 00:44:28,260 --> 00:44:29,240 I have some comments 1975 00:44:29,240 --> 00:44:30,020 on the bottom 1976 00:44:30,020 --> 00:44:31,500 to what you should 1977 00:44:31,500 --> 00:44:32,040 have a look at. 1978 00:44:32,260 --> 00:44:33,160 And don't forget 1979 00:44:33,160 --> 00:44:33,900 that if you try to 1980 00:44:33,900 --> 00:44:34,780 connect our telnet 1981 00:44:34,780 --> 00:44:35,840 SSH to the box 1982 00:44:35,840 --> 00:44:36,500 you're going to make 1983 00:44:36,500 --> 00:44:37,100 sure that the guy 1984 00:44:37,100 --> 00:44:37,740 is going to see it. 1985 00:44:37,900 --> 00:44:38,780 So the best thing 1986 00:44:38,780 --> 00:44:39,420 if you can have a 1987 00:44:39,420 --> 00:44:40,300 local physical access 1988 00:44:40,300 --> 00:44:40,840 to the device 1989 00:44:40,840 --> 00:44:41,540 is go over the 1990 00:44:41,540 --> 00:44:42,080 console port. 1991 00:44:42,280 --> 00:44:42,860 That's the basic 1992 00:44:42,860 --> 00:44:43,080 thing. 1993 00:44:43,800 --> 00:44:44,780 Also what you can 1994 00:44:44,780 --> 00:44:45,600 do especially if 1995 00:44:45,600 --> 00:44:46,760 the guy managed to 1996 00:44:47,920 --> 00:44:48,860 block the router 1997 00:44:48,860 --> 00:44:49,800 so that you cannot 1998 00:44:49,800 --> 00:44:50,900 get into it anymore 1999 00:44:50,900 --> 00:44:51,900 by changing 2000 00:44:51,900 --> 00:44:52,300 username, 2001 00:44:52,520 --> 00:44:53,140 password and so 2002 00:44:53,140 --> 00:44:54,520 on is if you have 2003 00:44:54,520 --> 00:44:55,180 switches running 2004 00:44:55,760 --> 00:44:56,660 around the router 2005 00:44:56,660 --> 00:44:57,580 if you don't have 2006 00:44:57,580 --> 00:44:59,740 like one base 2007 00:44:59,740 --> 00:45:00,480 point to point 2008 00:45:00,480 --> 00:45:01,680 connection is go 2009 00:45:01,680 --> 00:45:02,940 there and put the 2010 00:45:02,940 --> 00:45:04,180 switch in mirror 2011 00:45:04,180 --> 00:45:05,240 mode and span 2012 00:45:06,400 --> 00:45:07,480 mode and mirror 2013 00:45:07,480 --> 00:45:08,120 all the traffic 2014 00:45:08,120 --> 00:45:09,680 that's going into 2015 00:45:09,680 --> 00:45:10,240 and leaving the 2016 00:45:10,240 --> 00:45:10,840 router to see 2017 00:45:10,840 --> 00:45:11,460 if you can find 2018 00:45:11,460 --> 00:45:12,240 some evidence on 2019 00:45:12,240 --> 00:45:12,820 who is connected 2020 00:45:12,820 --> 00:45:13,580 to it and who 2021 00:45:13,580 --> 00:45:14,120 is playing with 2022 00:45:14,120 --> 00:45:14,320 it. 2023 00:45:15,300 --> 00:45:16,280 So basically I 2024 00:45:16,280 --> 00:45:16,960 have some local 2025 00:45:16,960 --> 00:45:17,800 comments that you 2026 00:45:17,800 --> 00:45:18,440 can type if you 2027 00:45:18,440 --> 00:45:18,900 can get to the 2028 00:45:18,900 --> 00:45:19,080 box. 2029 00:45:19,180 --> 00:45:19,720 You have to have 2030 00:45:19,720 --> 00:45:20,160 a look at the 2031 00:45:20,160 --> 00:45:20,940 application cache, 2032 00:45:23,140 --> 00:45:23,440 the Cisco Express 2033 00:45:24,060 --> 00:45:24,880 providing information, 2034 00:45:25,220 --> 00:45:26,060 the net flow 2035 00:45:26,060 --> 00:45:26,840 accounting data, 2036 00:45:27,200 --> 00:45:27,800 the logs, 2037 00:45:27,920 --> 00:45:28,120 debug, 2038 00:45:28,380 --> 00:45:28,940 active TCP 2039 00:45:28,940 --> 00:45:29,320 sessions, 2040 00:45:29,740 --> 00:45:31,180 interface status and 2041 00:45:31,180 --> 00:45:32,060 you can also have 2042 00:45:32,060 --> 00:45:33,080 most of that by doing 2043 00:45:33,080 --> 00:45:33,940 a short text report 2044 00:45:33,940 --> 00:45:34,900 but don't forget that 2045 00:45:34,900 --> 00:45:35,940 if you do that you 2046 00:45:35,940 --> 00:45:36,820 won't have all the 2047 00:45:36,820 --> 00:45:37,620 communities and 2048 00:45:37,620 --> 00:45:38,640 passwords in the 2049 00:45:38,640 --> 00:45:39,600 configuration you're 2050 00:45:39,600 --> 00:45:40,040 going to save. 2051 00:45:41,460 --> 00:45:42,860 So that basically 2052 00:45:42,860 --> 00:45:43,440 was it. 2053 00:45:43,780 --> 00:45:44,780 We are going to 2054 00:45:44,780 --> 00:45:46,140 put the presentation 2055 00:45:48,240 --> 00:45:49,160 online in the next 2056 00:45:49,160 --> 00:45:49,760 few days at that 2057 00:45:49,760 --> 00:45:50,020 address. 2058 00:45:50,340 --> 00:45:51,480 You will be able 2059 00:45:51,480 --> 00:45:52,320 to grab the one 2060 00:45:52,320 --> 00:45:53,040 from Black Hat 2061 00:45:53,040 --> 00:45:53,120 which is the 2062 00:45:53,140 --> 00:45:53,860 website that has 2063 00:45:53,860 --> 00:45:54,520 all the information 2064 00:45:54,520 --> 00:45:55,560 about net flow, 2065 00:45:56,040 --> 00:45:56,940 DDoS detection, 2066 00:45:57,400 --> 00:45:57,860 OSPF, 2067 00:45:57,860 --> 00:45:59,280 BGP attacks at the 2068 00:45:59,280 --> 00:45:59,840 same address. 2069 00:46:00,080 --> 00:46:00,820 So just write that 2070 00:46:00,820 --> 00:46:02,160 one down and you 2071 00:46:02,160 --> 00:46:02,920 should get the things 2072 00:46:02,920 --> 00:46:03,220 from there. 2073 00:46:03,320 --> 00:46:04,740 If you see that it's 2074 00:46:04,740 --> 00:46:06,220 not online in the 2075 00:46:06,220 --> 00:46:06,940 next few days just 2076 00:46:06,940 --> 00:46:08,120 drop us an email and 2077 00:46:08,120 --> 00:46:09,020 we're going to make 2078 00:46:09,020 --> 00:46:09,800 sure that we put it 2079 00:46:09,800 --> 00:46:10,000 online. 2080 00:46:11,560 --> 00:46:12,020 Okay. 2081 00:46:14,360 --> 00:46:15,680 I have to say, 2082 00:46:15,900 --> 00:46:16,400 yeah, 2083 00:46:16,460 --> 00:46:16,940 okay, 2084 00:46:16,980 --> 00:46:17,500 give me a second. 2085 00:46:20,020 --> 00:46:21,780 So do you guys have 2086 00:46:21,780 --> 00:46:22,760 questions about that? 2087 00:46:22,940 --> 00:46:23,120 Okay. 2088 00:46:24,420 --> 00:46:24,900 Yeah. 2089 00:46:27,420 --> 00:46:28,020 Come on. 2090 00:46:30,980 --> 00:46:31,460 Yeah, 2091 00:46:31,500 --> 00:46:32,000 if you have questions 2092 00:46:32,000 --> 00:46:32,900 just come over to us 2093 00:46:32,900 --> 00:46:34,240 because too noisy 2094 00:46:34,240 --> 00:46:34,900 was the thing behind 2095 00:46:34,900 --> 00:46:35,200 us. 2096 00:46:37,460 --> 00:46:38,720 I recently was 2097 00:46:38,720 --> 00:46:39,560 trying to use 2098 00:46:39,560 --> 00:46:40,540 secure copy 2099 00:46:40,540 --> 00:46:41,080 functionality. 2100 00:46:42,100 --> 00:46:43,300 I worked in the 2101 00:46:43,300 --> 00:46:44,140 Cisco manuals and 2102 00:46:44,140 --> 00:46:44,840 it tells you how to 2103 00:46:44,840 --> 00:46:46,120 get images and 2104 00:46:46,120 --> 00:46:47,260 configs from the 2105 00:46:47,260 --> 00:46:48,140 router to the 2106 00:46:48,140 --> 00:46:48,440 server, 2107 00:46:48,640 --> 00:46:49,720 but how do you do 2108 00:46:49,720 --> 00:46:50,720 the opposite with 2109 00:46:50,720 --> 00:46:51,320 secure copy? 2110 00:46:51,500 --> 00:46:52,220 Say I want to 2111 00:46:52,220 --> 00:46:53,020 upgrade the router 2112 00:46:53,020 --> 00:46:53,120 and it tells you 2113 00:46:53,140 --> 00:46:53,640 I don't want to 2114 00:46:53,640 --> 00:46:54,320 use TFTP, 2115 00:46:54,920 --> 00:46:55,720 is there an 2116 00:46:55,720 --> 00:46:56,720 equivalent way to 2117 00:46:56,720 --> 00:46:57,900 make SCP upgrade 2118 00:46:57,900 --> 00:46:58,400 a router? 2119 00:46:59,220 --> 00:46:59,700 Okay. 2120 00:46:59,780 --> 00:47:00,260 SCP, 2121 00:47:00,760 --> 00:47:01,660 basically what we 2122 00:47:01,660 --> 00:47:02,240 know and what you 2123 00:47:02,240 --> 00:47:02,780 have seen is that 2124 00:47:02,780 --> 00:47:03,840 you have both 2125 00:47:03,840 --> 00:47:05,180 client and 2126 00:47:05,180 --> 00:47:06,180 server support on 2127 00:47:06,180 --> 00:47:06,860 the device itself. 2128 00:47:07,200 --> 00:47:08,380 So we have tried 2129 00:47:08,380 --> 00:47:09,160 it and for us it's 2130 00:47:09,160 --> 00:47:10,160 working so maybe you 2131 00:47:10,160 --> 00:47:11,020 just hit a bug in 2132 00:47:11,020 --> 00:47:11,760 some iOS release. 2133 00:47:12,140 --> 00:47:12,560 Yeah, 2134 00:47:12,600 --> 00:47:13,340 because unfortunately 2135 00:47:13,340 --> 00:47:14,400 it's a fairly new 2136 00:47:14,400 --> 00:47:14,740 device. 2137 00:47:15,580 --> 00:47:16,660 It's an access 2138 00:47:16,660 --> 00:47:17,960 router and they 2139 00:47:17,960 --> 00:47:18,700 basically don't 2140 00:47:18,700 --> 00:47:19,080 support, 2141 00:47:19,400 --> 00:47:20,640 they support the 2142 00:47:20,640 --> 00:47:21,500 client side but not 2143 00:47:23,140 --> 00:47:24,060 have any workarounds 2144 00:47:24,060 --> 00:47:24,640 or am I stuck? 2145 00:47:25,080 --> 00:47:25,500 No, 2146 00:47:25,640 --> 00:47:26,420 not that we know 2147 00:47:26,420 --> 00:47:26,620 of, 2148 00:47:26,660 --> 00:47:26,820 sorry. 2149 00:47:27,040 --> 00:47:27,240 Okay, 2150 00:47:27,300 --> 00:47:27,640 I'm stuck, 2151 00:47:27,780 --> 00:47:28,020 thanks. 2152 00:47:30,080 --> 00:47:31,080 How much of this 2153 00:47:31,080 --> 00:47:32,260 information applies to 2154 00:47:32,260 --> 00:47:34,460 Cisco PIX firewalls 2155 00:47:34,460 --> 00:47:35,160 at the same time? 2156 00:47:35,580 --> 00:47:36,020 Can you speak 2157 00:47:36,020 --> 00:47:36,380 just a little 2158 00:47:36,380 --> 00:47:36,620 louder? 2159 00:47:36,780 --> 00:47:38,000 How much of this 2160 00:47:38,540 --> 00:47:39,460 information you've 2161 00:47:39,460 --> 00:47:40,280 given us applies to 2162 00:47:40,280 --> 00:47:41,080 the Cisco PIX 2163 00:47:41,080 --> 00:47:41,800 firewalls? 2164 00:47:41,800 --> 00:47:42,060 For instance, 2165 00:47:42,280 --> 00:47:43,600 you said that the 2166 00:47:43,600 --> 00:47:44,740 established only 2167 00:47:44,740 --> 00:47:45,320 checks the 2168 00:47:45,320 --> 00:47:45,500 . 2169 00:47:46,260 --> 00:47:46,720 Okay, 2170 00:47:46,900 --> 00:47:48,220 the question is 2171 00:47:48,220 --> 00:47:49,140 all this 2172 00:47:49,140 --> 00:47:51,240 information about 2173 00:47:53,140 --> 00:47:53,160 the system, 2174 00:47:53,660 --> 00:47:55,080 a Cisco router by 2175 00:47:55,080 --> 00:47:55,340 itself, 2176 00:47:55,420 --> 00:47:56,160 if you use a normal 2177 00:47:56,160 --> 00:47:57,040 feature set that is 2178 00:47:57,040 --> 00:47:58,440 not the firewall 2179 00:47:58,440 --> 00:47:59,060 feature set, 2180 00:47:59,240 --> 00:48:00,480 won't do any 2181 00:48:00,480 --> 00:48:01,240 stateful filtering. 2182 00:48:01,460 --> 00:48:02,400 But the PIX 2183 00:48:02,400 --> 00:48:03,040 firewalls, 2184 00:48:03,040 --> 00:48:03,720 which are really 2185 00:48:03,720 --> 00:48:04,340 firewalls, 2186 00:48:04,340 --> 00:48:05,260 are doing real 2187 00:48:05,260 --> 00:48:06,080 stateful filtering. 2188 00:48:06,200 --> 00:48:06,320 So, 2189 00:48:06,380 --> 00:48:07,120 if you use the 2190 00:48:07,120 --> 00:48:07,380 established 2191 00:48:07,380 --> 00:48:08,040 keyword there, 2192 00:48:08,100 --> 00:48:08,660 it's going to work. 2193 00:48:09,000 --> 00:48:09,600 Thank you. 2194 00:48:10,060 --> 00:48:10,820 In fact, 2195 00:48:10,820 --> 00:48:11,680 what you have to know is 2196 00:48:11,680 --> 00:48:12,600 that Cisco is using 2197 00:48:12,600 --> 00:48:13,380 different source 2198 00:48:13,380 --> 00:48:14,100 tree for all the 2199 00:48:14,100 --> 00:48:15,480 equipment, like the 2200 00:48:15,940 --> 00:48:16,980 operating system for 2201 00:48:16,980 --> 00:48:17,740 the switches, the 2202 00:48:17,740 --> 00:48:18,460 routers, and the 2203 00:48:18,460 --> 00:48:20,060 firewall are totally 2204 00:48:20,060 --> 00:48:20,500 different. 2205 00:48:20,900 --> 00:48:21,880 So, they may have 2206 00:48:21,880 --> 00:48:22,960 the same feature, but 2207 00:48:22,960 --> 00:48:24,160 the way they are doing 2208 00:48:24,160 --> 00:48:25,420 it may be different. 2209 00:48:25,780 --> 00:48:26,600 Yeah, and don't 2210 00:48:26,600 --> 00:48:27,000 forget that. 2211 00:48:27,040 --> 00:48:27,560 If you see the 2212 00:48:27,560 --> 00:48:28,820 same command written 2213 00:48:29,360 --> 00:48:30,280 the same way, it 2214 00:48:30,280 --> 00:48:31,160 doesn't mean that 2215 00:48:31,160 --> 00:48:31,920 it's going to behave 2216 00:48:31,920 --> 00:48:33,280 in the same way if 2217 00:48:33,280 --> 00:48:33,960 it's a router, a 2218 00:48:33,960 --> 00:48:34,860 switch, a PIX 2219 00:48:34,860 --> 00:48:35,880 firewall, a content 2220 00:48:35,880 --> 00:48:36,520 switch, a local 2221 00:48:36,520 --> 00:48:37,520 director, this kind of 2222 00:48:37,520 --> 00:48:37,720 thing. 2223 00:48:37,880 --> 00:48:39,140 So, you better 2224 00:48:39,140 --> 00:48:40,000 always check the release 2225 00:48:40,000 --> 00:48:40,740 notes and the comments 2226 00:48:40,740 --> 00:48:42,020 because this is something 2227 00:48:42,020 --> 00:48:43,180 you just might hit 2228 00:48:43,180 --> 00:48:44,200 something that's wrong. 2229 00:48:46,320 --> 00:48:47,300 Some other questions? 2230 00:48:50,640 --> 00:48:51,120 Okay. 2231 00:48:51,220 --> 00:48:52,060 Thank you, guys. 2232 00:48:52,880 --> 00:48:53,540 Thank you. 2233 00:48:55,260 --> 00:48:55,740 Thank you. 2234 00:48:56,220 --> 00:48:56,920 Thank you. 2235 00:48:57,200 --> 00:48:57,680 Thank you.