1 00:00:00,000 --> 00:00:01,200 Hey everybody, good afternoon. 2 00:00:04,100 --> 00:00:07,260 So this is about building a security operations center. 3 00:00:07,520 --> 00:00:11,540 We're going to show a little video first of what they tend, 4 00:00:12,100 --> 00:00:13,540 or people think they look like. 5 00:00:14,260 --> 00:00:15,280 Pretty awesome video. 6 00:00:16,940 --> 00:00:18,900 Well, not really that awesome, but here we go. 7 00:00:19,960 --> 00:00:21,380 We've detected an anomaly. 8 00:00:22,700 --> 00:00:23,780 How bad is it? 9 00:00:26,480 --> 00:00:27,540 Traffic's off the chart. 10 00:00:30,620 --> 00:00:31,940 They're pinging more targets. 11 00:00:34,060 --> 00:00:35,380 Isolate. Prevent damage. 12 00:00:37,640 --> 00:00:38,260 Got them. 13 00:00:41,140 --> 00:00:43,740 Great exercise, guys. Let's run it again. 14 00:00:50,500 --> 00:00:50,960 Yeah. 15 00:00:52,100 --> 00:00:54,880 So if only we had those kind of screens. 16 00:00:55,560 --> 00:00:57,140 Okay, we don't work for them. 17 00:00:57,440 --> 00:00:58,140 No, we don't. 18 00:00:58,220 --> 00:00:59,800 So I want to apologize to any lucky, 19 00:00:59,800 --> 00:01:01,140 Martin employees right off the bat, too. 20 00:01:01,800 --> 00:01:03,980 Most security operations centers do not look like that, 21 00:01:04,620 --> 00:01:05,940 but everybody wants them to. 22 00:01:07,340 --> 00:01:08,140 So, yeah. 23 00:01:09,360 --> 00:01:13,220 All right, so what makes a security operations center? 24 00:01:15,000 --> 00:01:16,920 Well, it's a lot of things. 25 00:01:17,040 --> 00:01:18,760 A lot of people think it's just an IDS system 26 00:01:18,760 --> 00:01:20,220 or just a firewall, and we'll get to that, 27 00:01:20,340 --> 00:01:24,160 but the general flow is it starts with events, 28 00:01:24,280 --> 00:01:27,940 things that happen on the network or in the environment, 29 00:01:28,120 --> 00:01:29,640 and often that gets, 30 00:01:29,800 --> 00:01:31,000 the network environments, 31 00:01:31,220 --> 00:01:33,240 network things go through the IDS system. 32 00:01:34,280 --> 00:01:36,860 There's a management system that manages that traffic. 33 00:01:36,980 --> 00:01:37,980 There's analyst systems. 34 00:01:38,260 --> 00:01:40,700 There are analysts who analyze that stuff. 35 00:01:41,220 --> 00:01:44,740 Contextual info, like log data, time of event, 36 00:01:45,340 --> 00:01:47,920 all sorts of things, reporting that thing, 37 00:01:48,060 --> 00:01:49,480 and then incident response, 38 00:01:49,700 --> 00:01:51,840 just dealing with the hack attempts 39 00:01:51,840 --> 00:01:53,380 or the malware or whatever. 40 00:01:55,660 --> 00:01:57,560 So what's the point, though, of a SOC? 41 00:01:59,100 --> 00:02:00,040 Chris, do you want to say something? 42 00:02:00,260 --> 00:02:00,800 Oh, absolutely. 43 00:02:01,420 --> 00:02:03,360 A security operations center is designed 44 00:02:03,360 --> 00:02:06,040 to give you real-time detection and response. 45 00:02:06,600 --> 00:02:08,620 It is a central coordination point, 46 00:02:08,760 --> 00:02:11,180 so you can detect everything happening on your network, 47 00:02:11,240 --> 00:02:12,940 whether your network is three or four machines 48 00:02:12,940 --> 00:02:14,660 or your network is 3,000 machines 49 00:02:14,660 --> 00:02:15,960 spread over a wide area. 50 00:02:17,020 --> 00:02:19,820 A security operations center, as opposed to a CERT, 51 00:02:19,900 --> 00:02:21,860 which does a lot of incident tracking and reporting 52 00:02:21,860 --> 00:02:25,480 and putting out reports about recommendations 53 00:02:25,480 --> 00:02:27,000 for how to configure things and whatnot, 54 00:02:27,560 --> 00:02:29,140 a SOC is operational. 55 00:02:29,720 --> 00:02:33,620 The key there is that it's real-time, real response. 56 00:02:34,260 --> 00:02:37,240 Okay, so it's not just a offline log review. 57 00:02:37,660 --> 00:02:38,940 It's real-time. 58 00:02:41,220 --> 00:02:44,420 And also, you know, keep everything running, you know? 59 00:02:44,780 --> 00:02:46,820 Just keep it going smoothly. 60 00:02:48,120 --> 00:02:51,460 So isn't a firewall IDS or just antivirus enough? 61 00:02:53,220 --> 00:02:56,240 Well, a firewall, it's useful, obviously. 62 00:02:56,440 --> 00:02:56,720 It's... 63 00:02:56,720 --> 00:02:57,700 People know about it. 64 00:02:57,720 --> 00:02:58,580 Attackers know about it. 65 00:02:58,700 --> 00:03:00,180 It only protects your systems. 66 00:03:00,280 --> 00:03:01,240 It doesn't protect your users. 67 00:03:02,260 --> 00:03:05,080 The antivirus, it has this lag time to catch new threats, 68 00:03:05,300 --> 00:03:09,340 and it's not gonna catch anything brand new. 69 00:03:10,220 --> 00:03:12,820 And it matches files, you know, not traffic patterns, 70 00:03:13,000 --> 00:03:14,260 not the flow of the network data. 71 00:03:17,020 --> 00:03:18,940 The IDS itself alerts on events. 72 00:03:19,020 --> 00:03:21,280 It's a lot like antivirus software, 73 00:03:21,460 --> 00:03:24,120 where it depends on rules to be written for it, 74 00:03:24,140 --> 00:03:26,380 things that have been discovered or that you might be 75 00:03:26,380 --> 00:03:26,920 watching for. 76 00:03:27,520 --> 00:03:28,920 It doesn't provide context. 77 00:03:29,320 --> 00:03:32,380 It doesn't give you system logs, proxy logs, DNS logs, 78 00:03:32,560 --> 00:03:34,580 or information from users or other people. 79 00:03:35,420 --> 00:03:36,800 So these are the three components 80 00:03:36,800 --> 00:03:38,980 that every organization thinks they need to have. 81 00:03:39,600 --> 00:03:42,080 Back in, like, the 80s, everybody had to have a firewall. 82 00:03:42,260 --> 00:03:42,980 That was the new thing. 83 00:03:43,080 --> 00:03:43,760 Everyone needed one. 84 00:03:43,900 --> 00:03:46,160 So as the 90s approached, everybody got a firewall. 85 00:03:46,380 --> 00:03:47,120 Now we're safe. 86 00:03:47,500 --> 00:03:49,280 Then antivirus started popping up, 87 00:03:49,360 --> 00:03:50,580 and malware was important. 88 00:03:50,920 --> 00:03:52,140 So then everybody started investing 89 00:03:52,140 --> 00:03:53,320 in malicious code defense. 90 00:03:54,540 --> 00:03:56,200 Now everyone has to run an intrusion, 91 00:03:56,200 --> 00:03:56,920 a security operation center, an intrusion detection system. 92 00:03:57,020 --> 00:03:58,480 There are a lot of vendors out there that do that. 93 00:03:58,800 --> 00:04:01,040 Vendors cost money, a lot of money. 94 00:04:01,760 --> 00:04:05,040 So what we want to do is we want to go with these items, 95 00:04:05,620 --> 00:04:07,240 free, cheap, low, no cost. 96 00:04:07,480 --> 00:04:09,300 But we also need to fill in the other gaps. 97 00:04:09,840 --> 00:04:11,880 Firewall, AV, and an intrusion detection system 98 00:04:11,880 --> 00:04:13,580 is not a security operation center. 99 00:04:13,980 --> 00:04:14,700 It's a start. 100 00:04:14,920 --> 00:04:16,220 It's a good core set of components, 101 00:04:16,480 --> 00:04:17,740 but it's not everything you need. 102 00:04:20,520 --> 00:04:22,220 So what's the structure of a SOC? 103 00:04:23,800 --> 00:04:24,520 There's a lot. 104 00:04:24,700 --> 00:04:25,880 There's a lot you can put in the SOC. 105 00:04:26,200 --> 00:04:28,540 You've got private network, and you've got people. 106 00:04:28,660 --> 00:04:31,400 You also have your main network that you're watching, 107 00:04:31,500 --> 00:04:32,760 and the environment you're watching. 108 00:04:33,180 --> 00:04:34,240 I'll brief over these, 109 00:04:34,340 --> 00:04:35,500 because we go over these individually. 110 00:04:35,860 --> 00:04:37,860 The private network has the IDS, 111 00:04:38,380 --> 00:04:40,020 management systems, analyst systems, 112 00:04:40,280 --> 00:04:41,620 and hopefully a lab. 113 00:04:42,220 --> 00:04:44,400 You've got your people, which are the analysts, 114 00:04:44,700 --> 00:04:45,660 other experts. 115 00:04:46,060 --> 00:04:48,020 You've got users and management. 116 00:04:48,500 --> 00:04:51,700 And all this is happening in real time, 24-7. 117 00:04:52,460 --> 00:04:54,600 You've got to keep watching everything that's happening. 118 00:04:56,480 --> 00:04:57,880 I don't know if you want to say anything about that. 119 00:04:58,080 --> 00:04:58,980 Do I want to say anything about that? 120 00:04:59,740 --> 00:05:02,500 What you need is a balance between technology and meat space. 121 00:05:03,760 --> 00:05:05,700 The computers, no matter how good your technology is, 122 00:05:05,800 --> 00:05:07,420 and no matter how much automation people are putting in, 123 00:05:07,560 --> 00:05:09,100 you're still going to need people to look at your logs. 124 00:05:09,240 --> 00:05:11,560 You're still going to need people to analyze the anomalies, 125 00:05:11,620 --> 00:05:13,260 to figure out what's really going on. 126 00:05:14,280 --> 00:05:15,740 Most of the systems that we already talked about, 127 00:05:15,860 --> 00:05:17,800 the firewalls and IDS as an AV attack, 128 00:05:18,000 --> 00:05:19,460 or try to defend against known threats. 129 00:05:20,900 --> 00:05:21,820 There's going to be a group of stuff 130 00:05:21,820 --> 00:05:22,940 that you know is good on your network, 131 00:05:23,060 --> 00:05:24,260 whether you're using anomaly-based or not. 132 00:05:24,360 --> 00:05:25,480 A group of stuff that you know is good, 133 00:05:26,200 --> 00:05:27,340 stuff that you suspect is bad. 134 00:05:27,780 --> 00:05:28,820 But in the middle of that, 135 00:05:28,900 --> 00:05:30,660 there's going to be a whole big group of, I don't know. 136 00:05:31,020 --> 00:05:32,040 Someone has to look at that. 137 00:05:32,260 --> 00:05:33,800 So that's what the analysts are for. 138 00:05:33,880 --> 00:05:34,740 That's what the people are for. 139 00:05:36,700 --> 00:05:38,260 So talking about the private network, 140 00:05:39,660 --> 00:05:41,980 you want to have a secure communication network 141 00:05:41,980 --> 00:05:45,060 between your IDS management system, analyst systems. 142 00:05:46,640 --> 00:05:48,020 You don't want it to be accessible 143 00:05:48,020 --> 00:05:49,860 to anyone trying to attack it. 144 00:05:50,140 --> 00:05:51,040 You want it to be, 145 00:05:53,140 --> 00:05:55,080 you want to keep malware off the systems. 146 00:05:56,360 --> 00:05:58,540 And you want to be able to provide management 147 00:05:58,540 --> 00:06:00,300 and update of the IDS and the rules. 148 00:06:02,340 --> 00:06:07,220 So I have some diagrams of simple network diagrams 149 00:06:07,220 --> 00:06:08,500 of things you could do. 150 00:06:08,860 --> 00:06:11,080 So this one here, I don't have a laser pointer. 151 00:06:12,840 --> 00:06:15,360 But you can just, this is really simple. 152 00:06:15,540 --> 00:06:17,580 So you've got this network, you've got a switch. 153 00:06:18,220 --> 00:06:20,300 It's probably not managed in this case. 154 00:06:20,460 --> 00:06:24,120 You've got a hub, unfortunately, going before the router. 155 00:06:26,200 --> 00:06:29,940 You've got the IDS system watching all traffic 156 00:06:29,940 --> 00:06:30,880 that comes from that switch. 157 00:06:31,060 --> 00:06:34,100 And hopefully your server there is providing your DHCP 158 00:06:34,100 --> 00:06:35,180 and stuff, not your router. 159 00:06:35,540 --> 00:06:37,000 So you can see everything that's going on. 160 00:06:37,220 --> 00:06:39,360 This could be a basic diagram for somebody's home network. 161 00:06:39,640 --> 00:06:41,360 If they were an enthusiast and they wanted to start 162 00:06:41,360 --> 00:06:43,060 learning about this stuff on their own systems. 163 00:06:43,280 --> 00:06:46,280 Or if you have a family and you have kids or what have you. 164 00:06:46,300 --> 00:06:47,680 If you have a number of different computers there 165 00:06:47,680 --> 00:06:49,360 or in a small office environment. 166 00:06:50,300 --> 00:06:52,780 Not all security operation centers, 167 00:06:53,020 --> 00:06:55,760 just in the ideas that every organization should have, 168 00:06:55,760 --> 00:06:56,160 have one. 169 00:06:56,360 --> 00:06:57,900 But they don't always start that way. 170 00:06:58,160 --> 00:07:00,540 So sometimes it starts as a little project in a little office 171 00:07:00,540 --> 00:07:02,440 with some people that care and know how to do it. 172 00:07:02,960 --> 00:07:04,880 So this would replicate that type of environment 173 00:07:04,880 --> 00:07:06,340 where you just want to look at everything you've got 174 00:07:06,340 --> 00:07:07,420 just starting out. 175 00:07:08,460 --> 00:07:10,760 And so this one is a more complex one. 176 00:07:10,880 --> 00:07:12,340 This would be for maybe a small organization 177 00:07:12,340 --> 00:07:15,840 that has a managed switch where you can span, 178 00:07:16,700 --> 00:07:18,000 mirror the ports to one. 179 00:07:18,300 --> 00:07:20,200 So it's kind of the same idea as the last one, 180 00:07:20,740 --> 00:07:22,240 except you got rid of that hub. 181 00:07:22,400 --> 00:07:25,740 You've got the network going through that switch. 182 00:07:25,760 --> 00:07:26,960 It's basically the same thing. 183 00:07:27,080 --> 00:07:28,220 It's just like here. 184 00:07:29,280 --> 00:07:30,860 Well, you probably get it. 185 00:07:32,580 --> 00:07:33,240 It's pretty simple. 186 00:07:34,540 --> 00:07:36,480 This next one is a more complex one 187 00:07:36,480 --> 00:07:37,500 where you might have a DMZ. 188 00:07:38,060 --> 00:07:39,460 So you've got your DMZs. 189 00:07:39,900 --> 00:07:42,180 You've got to have your external IDS system. 190 00:07:42,400 --> 00:07:44,880 It's separate from another system that 191 00:07:44,880 --> 00:07:47,500 has internal LAN segments. 192 00:07:48,000 --> 00:07:54,520 And this could be scaled up to worldwide systems. 193 00:07:55,760 --> 00:07:57,020 The key is that all the information 194 00:07:57,020 --> 00:07:59,280 from all of the IDSs, which if you're not 195 00:07:59,280 --> 00:08:00,940 in a network or an environment where 196 00:08:00,940 --> 00:08:03,160 you can monitor all of your traffic from either a hub 197 00:08:03,580 --> 00:08:05,920 or a spanned port switch, if your switches don't support 198 00:08:05,920 --> 00:08:07,100 that because they don't all do that, 199 00:08:07,220 --> 00:08:09,620 or if you're in just such a huge environment 200 00:08:09,620 --> 00:08:10,920 that you need multiple taps. 201 00:08:11,580 --> 00:08:11,940 What? 202 00:08:14,380 --> 00:08:17,120 If you're in a network where you have multiple taps, 203 00:08:17,360 --> 00:08:20,580 the key is to get all the data as securely as you can back 204 00:08:20,580 --> 00:08:22,440 to your management systems, to your analyst stations, 205 00:08:22,440 --> 00:08:23,620 so that you can start looking at it. 206 00:08:23,820 --> 00:08:24,120 Yeah. 207 00:08:24,320 --> 00:08:25,200 And you can have. 208 00:08:25,200 --> 00:08:28,120 You can have any number of IDS systems. 209 00:08:28,240 --> 00:08:30,280 They can all send data to one management system 210 00:08:30,280 --> 00:08:32,360 or multiple management, which would be kind of a nightmare. 211 00:08:32,820 --> 00:08:35,980 And you can have multiple analyst systems all accessing 212 00:08:35,980 --> 00:08:36,820 that management system. 213 00:08:37,060 --> 00:08:38,800 You could additionally, we'll get to this too, 214 00:08:38,920 --> 00:08:41,040 but you could additionally have everything running on one box. 215 00:08:41,180 --> 00:08:43,860 You could have management, analyst, IDS. 216 00:08:45,740 --> 00:08:48,640 So talking about the actual IDS systems themselves, 217 00:08:49,700 --> 00:08:51,000 you don't want to have a secured OS. 218 00:08:51,780 --> 00:08:55,180 Linux is probably the best to do for this. 219 00:08:55,200 --> 00:08:58,480 They have things, the software like Snort, 220 00:08:58,580 --> 00:09:02,180 they have it on Windows, but I wouldn't do that. 221 00:09:06,060 --> 00:09:09,020 So you want to learn how to secure the OS. 222 00:09:09,180 --> 00:09:09,880 There are a lot of guidelines. 223 00:09:10,180 --> 00:09:13,880 NSA has some good guidelines on securing all the different operating systems 224 00:09:13,880 --> 00:09:14,720 that you can find online. 225 00:09:15,640 --> 00:09:17,360 The software, there's Snort, 226 00:09:17,380 --> 00:09:20,920 which is a really popular open source software created by Sourcefire. 227 00:09:21,180 --> 00:09:25,040 They have a version that you can pay for, which offers more. 228 00:09:25,200 --> 00:09:26,120 But Snort is fantastic. 229 00:09:26,660 --> 00:09:28,380 There's also a new one called Suricata. 230 00:09:28,580 --> 00:09:31,400 I might be pronouncing that wrong, but I believe, 231 00:09:31,960 --> 00:09:34,320 I might be wrong about this, but I think some people 232 00:09:34,320 --> 00:09:36,720 from Sourcefire went off and started that. 233 00:09:36,980 --> 00:09:40,000 It's a great, another great IDS software. 234 00:09:40,820 --> 00:09:46,580 And it uses rules that you can write or also maintain by community 235 00:09:46,580 --> 00:09:50,800 and by Sourcefire to watch for network anomalies. 236 00:09:51,540 --> 00:09:54,360 You've got, there's a software called Barnyard 2, 237 00:09:54,440 --> 00:09:55,180 which will take the data. 238 00:09:55,200 --> 00:09:59,820 It will take the data from Snort and send it off to your MySQL database or Oracle database 239 00:09:59,820 --> 00:10:00,360 or whatever. 240 00:10:00,840 --> 00:10:06,080 You've got, there's a thing called Pulled Pork, which replaces something that was called 241 00:10:06,080 --> 00:10:06,660 Oink Master. 242 00:10:06,940 --> 00:10:08,440 It will manage your rules. 243 00:10:08,580 --> 00:10:11,980 So if you have custom rules, it will actually keep them intact instead of overriding them 244 00:10:11,980 --> 00:10:12,760 every single time. 245 00:10:13,200 --> 00:10:20,100 And you've got S-Tunnel, which will securely transfer all that data from Barnyard 2 that 246 00:10:20,100 --> 00:10:24,780 comes from Snort, secure it over any network segment of any kind. 247 00:10:24,780 --> 00:10:29,040 To your database server, which is possibly your management station. 248 00:10:29,440 --> 00:10:31,680 And then you also have Packet Capture. 249 00:10:31,740 --> 00:10:37,180 You've got to have constant running Packet Capture so you can review packets or network 250 00:10:37,180 --> 00:10:39,260 transactions as you see things happening. 251 00:10:39,800 --> 00:10:47,180 And TCP dump can be set to run as a daemon and can save files of any size or certain 252 00:10:47,180 --> 00:10:47,820 time lengths. 253 00:10:48,140 --> 00:10:52,520 There's also a program called Daemon Logger that is, looks pretty great. 254 00:10:52,600 --> 00:10:54,620 It actually can run as a software. 255 00:10:54,620 --> 00:10:54,880 It runs as a software tap. 256 00:10:55,200 --> 00:11:02,220 So I'll get to taps later, but it will write out PCAP files, the dump files, and also run 257 00:11:02,220 --> 00:11:04,780 as a software tap on a really inexpensive system. 258 00:11:05,680 --> 00:11:08,680 So there's a tendency, whether you're in a corporate environment, whether you're working 259 00:11:08,680 --> 00:11:12,680 with government or whether you're doing this on your own, to over-engineer any facet of 260 00:11:12,680 --> 00:11:13,600 your security infrastructure. 261 00:11:14,160 --> 00:11:18,380 Okay, when we're talking about a secured OS, as Josh mentioned, Linux is the best choice 262 00:11:18,380 --> 00:11:18,580 for that. 263 00:11:18,620 --> 00:11:19,240 It's the most flexible. 264 00:11:19,380 --> 00:11:20,720 There are a lot of distros already set up. 265 00:11:20,840 --> 00:11:24,440 There are a lot of pre-built things that will run this very securely, very safely. 266 00:11:24,620 --> 00:11:27,440 You can bump up to OpenBSD if you really need something secure. 267 00:11:27,620 --> 00:11:28,520 You can write a custom OS. 268 00:11:28,880 --> 00:11:31,440 There's a lot of different things that you can do for this. 269 00:11:32,360 --> 00:11:36,000 The IDS software, we mentioned Snort and all the supporting tools for that. 270 00:11:36,180 --> 00:11:37,860 Snort has been around a very long time. 271 00:11:38,020 --> 00:11:38,820 Props to those guys. 272 00:11:38,960 --> 00:11:39,560 Those guys are awesome. 273 00:11:40,060 --> 00:11:43,540 There are a lot of commercial IDSs that are based very heavily on what Snort has done. 274 00:11:43,740 --> 00:11:46,680 If you want to spend money, you can spend money and buy something like that, or you 275 00:11:46,680 --> 00:11:50,860 can use Snort or something very similar, and you can roll your own. 276 00:11:50,940 --> 00:11:53,840 You can do a lot of very good things, custom to your environment. 277 00:11:53,840 --> 00:11:57,680 With Snort, that you can't do with other things or that vendors will not do for you. 278 00:11:58,660 --> 00:12:02,400 This isn't just where we look for open source stuff and that's all we're going to talk about. 279 00:12:02,560 --> 00:12:04,360 There are some distinct advantages to this. 280 00:12:04,940 --> 00:12:08,120 The one final point on this is when we're talking about the packet capture, if you're 281 00:12:08,120 --> 00:12:12,220 in a large environment, packet capture is a huge problem simply because of size. 282 00:12:12,600 --> 00:12:16,260 You cannot capture all of the packets going across your network and all of the data all 283 00:12:16,260 --> 00:12:18,520 the time and then be able to look at it. 284 00:12:18,800 --> 00:12:22,880 You may have to build custom rules as to what you want to capture and let them have triggers 285 00:12:22,880 --> 00:12:27,160 or targets as far as you really want to see everything to certain groups, certain servers, 286 00:12:27,360 --> 00:12:31,020 and then understand that if you're in a more complex environment, there are some systems 287 00:12:31,020 --> 00:12:33,560 that you just don't really want to see all that important information for. 288 00:12:33,920 --> 00:12:34,280 Yeah. 289 00:12:35,040 --> 00:12:39,800 There are a lot of, as he was saying, there are a lot of prebuilt distros, there's some 290 00:12:39,800 --> 00:12:40,720 live CDs out there. 291 00:12:40,800 --> 00:12:44,340 I don't know if I put them in the slides, but there's something called Easy IDS, which 292 00:12:44,340 --> 00:12:44,720 is fantastic. 293 00:12:45,060 --> 00:12:45,620 It uses Snort. 294 00:12:45,700 --> 00:12:46,960 It uses some management software. 295 00:12:47,180 --> 00:12:48,580 It can run off the CD. 296 00:12:48,860 --> 00:12:51,020 There's other ones, too, with some really great stuff out there. 297 00:12:51,820 --> 00:12:55,260 So this is what Snort looks like, I mean, kind of. 298 00:12:55,340 --> 00:12:56,840 It's part of it as it's running. 299 00:12:57,200 --> 00:13:00,220 You see the little piggy there, though, that's the cutest part over on the left bottom. 300 00:13:01,020 --> 00:13:02,820 And it's snorting up all those packets. 301 00:13:04,240 --> 00:13:08,420 So the management system itself, you also want a secured OS for this thing. 302 00:13:09,460 --> 00:13:12,240 And all this stuff is still on your private network. 303 00:13:13,920 --> 00:13:18,760 It depends on what kind of management software you're using, but what I'm going to show 304 00:13:18,760 --> 00:13:19,820 a little bit of. 305 00:13:19,820 --> 00:13:24,340 What I'm going to show a little bit of is using LAMP, using Linux, Apache, MySQL, PHP. 306 00:13:25,980 --> 00:13:27,040 You have management software. 307 00:13:27,360 --> 00:13:28,760 That's the stuff I was just mentioning. 308 00:13:28,920 --> 00:13:34,040 You've got Base, which is popular, kind of old, kind of dated, but it's still good. 309 00:13:35,060 --> 00:13:41,120 It looks like, I don't know, from the web from the 90s or something, but it's fine. 310 00:13:42,120 --> 00:13:44,660 You've got SGUI, which is Snort GUI. 311 00:13:44,800 --> 00:13:46,480 It's actually pretty awesome. 312 00:13:46,740 --> 00:13:49,400 It will display real-time events. 313 00:13:49,400 --> 00:13:50,100 It's popping up. 314 00:13:50,720 --> 00:13:54,400 It was a bit of a pain to configure, so I don't have that for you, but sorry. 315 00:13:54,740 --> 00:13:55,660 Snorby, same thing. 316 00:13:55,800 --> 00:13:57,800 It's actually a Web 2.0 version of Base. 317 00:13:58,060 --> 00:14:03,260 I mean, if the person who made Snorby heard me say that, they may not like it, but it's 318 00:14:03,260 --> 00:14:03,660 pretty nice. 319 00:14:03,920 --> 00:14:10,860 And there's other stuff to grab logs, like Splunk, OSIM, there's Nagios to keep watch 320 00:14:10,860 --> 00:14:14,660 over your servers or report any kind of, you know, anything you want. 321 00:14:16,260 --> 00:14:17,460 Again, all good options. 322 00:14:18,240 --> 00:14:19,380 The key components you're going to want to use are, of course, you're going to want 323 00:14:19,400 --> 00:14:19,500 to have a system like the one I'm showing you here. 324 00:14:19,500 --> 00:14:20,840 One of the things that we want to emphasize here, as far as the management system, is 325 00:14:20,840 --> 00:14:22,200 this is just your overhead system. 326 00:14:22,580 --> 00:14:27,460 This is what your keeping track of your IDS is keeping track of your security infrastructure. 327 00:14:27,780 --> 00:14:30,480 We want to emphasize again, these should be on secured OSes. 328 00:14:30,500 --> 00:14:32,480 This should be on a private network, if possible. 329 00:14:33,220 --> 00:14:36,280 Nothing is more embarrassing than having your security infrastructure hacked for an organization. 330 00:14:37,680 --> 00:14:39,600 We've seen it, and it's bad. 331 00:14:41,620 --> 00:14:43,160 So this is what Base looks like. 332 00:14:45,300 --> 00:14:49,220 You kind of have to, it refreshes, you can change the refresh rate, but it's not very 333 00:14:49,220 --> 00:14:55,060 exciting. I'll show you a little bit more based in a little while. The analyst systems 334 00:14:55,060 --> 00:15:01,380 also secured OS. Hopefully you do them on virtual machines because we've seen them get 335 00:15:02,880 --> 00:15:08,520 popped by malware or something. It happens. You look at malware so sometimes it just infects 336 00:15:08,520 --> 00:15:12,820 your system. So you want to be able to replace those really quickly and you want to be able 337 00:15:12,820 --> 00:15:21,020 to change them really easily. You want to have a, I'll skip that part. You have analysis 338 00:15:21,020 --> 00:15:27,180 tools, so this is Wireshark, TCP dump and net witness which is a really great program but 339 00:15:27,180 --> 00:15:34,060 only works on Windows. It doesn't work with wine. So fantastic except for that. That's 340 00:15:34,060 --> 00:15:37,660 terrible. It's really sad. And there's a lot of other tools. There's a tool called chaos 341 00:15:37,660 --> 00:15:42,720 reader which unfortunately I don't think has been updated since 2003 but it's really 342 00:15:42,720 --> 00:15:50,240 great program. I'll give a little demo of that briefly after a few more slides. So, you 343 00:15:50,240 --> 00:15:54,540 know, this is what you're doing on the analyst system. You're looking at traffic. The most 344 00:15:54,540 --> 00:15:59,020 common way is this Wireshark because it's easy. You can, the analysts don't have to look 345 00:15:59,020 --> 00:16:02,900 through a bunch of text but sometimes text is a lot better like in the command line on TCP 346 00:16:02,900 --> 00:16:08,840 dump or T shark which is the command line version of Wireshark. So depending on the size 347 00:16:08,840 --> 00:16:12,040 of your organization and what you're looking at, the analyst systems, like we saw on that 348 00:16:12,040 --> 00:16:12,700 last slide, the analyst systems, like we saw on that last slide, the analyst systems, like we saw 349 00:16:12,700 --> 00:16:17,160 in that cool video at the beginning, they're looking at a real-time display of what's going on. 350 00:16:17,300 --> 00:16:21,440 They're analysis system is a very basic system. It's got a heads-up display showing a 351 00:16:21,440 --> 00:16:25,440 graphical representation of what's happening on the network. And they have a very basic 352 00:16:25,440 --> 00:16:31,480 ability probably to look at packet captures. But when it comes to malware analysis or if you 353 00:16:31,480 --> 00:16:35,880 really want to look at some targeted system logs or things of that nature, typically you're 354 00:16:35,880 --> 00:16:39,860 going to end up going to another system. The system that interfaces directly with your 355 00:16:39,860 --> 00:16:42,680 management interface, you really don't want to expose to malware. You want to see what's there. 356 00:16:42,680 --> 00:16:46,400 malware because you don't want that malware exposed to your management interface. You don't 357 00:16:46,400 --> 00:16:51,340 want the malware to go from here I'm looking at it to now it's on my IDS to now it's all over my 358 00:16:51,340 --> 00:16:54,880 network. And then there will be very limited ways to get rid of that type of information. 359 00:16:55,960 --> 00:16:59,900 Also, typically, a lot of the security analysts or the people using the analyst workstations will 360 00:16:59,900 --> 00:17:04,900 be running with reduced privileges, again, to try to minimize the effect of malware being able to 361 00:17:04,900 --> 00:17:10,020 take advantage of the systems or really intelligent hackers jumping in and being aware to target those 362 00:17:10,020 --> 00:17:13,840 systems directly. Yeah, you want to make sure that they have, I mean, analyst systems 363 00:17:13,840 --> 00:17:18,360 shouldn't have Internet access. It should be limited. If you have to do research, you have 364 00:17:18,360 --> 00:17:23,000 another system on a separate network entirely. And you don't pass things back and forth between 365 00:17:23,000 --> 00:17:30,800 the two systems. So it would be great to have a lab. You can use it as a test system that you can 366 00:17:30,800 --> 00:17:36,380 test rules for the IDS so you don't run it in production. A lot of places we've seen actually do 367 00:17:36,380 --> 00:17:40,000 run things in production. They test things and it messes things up. And then you have the 368 00:17:40,020 --> 00:17:46,400 configuration changes. You can be used as a backup in case the actual system fails, which could be 369 00:17:46,400 --> 00:17:51,720 pretty handy. It's also a safe environment. You know, play with malware. Try hacks. You can try to 370 00:17:51,720 --> 00:17:56,240 trigger that rule you just wrote for the IDS and make it happen. See if you can actually get into 371 00:17:56,240 --> 00:18:04,900 your secured private network. Your lab system is critical to the success of an operation center. 372 00:18:05,320 --> 00:18:09,620 You don't want to be making configuration changes on the systems that are actively watching your 373 00:18:09,620 --> 00:18:10,000 network. You don't want to be making configuration changes on the systems that are actively watching 374 00:18:10,020 --> 00:18:15,320 your network. You also don't want to be testing malware or playing with packet capture dumps and 375 00:18:15,320 --> 00:18:19,880 downloading things off the Internet to see what these scripts are doing to your network. And doing 376 00:18:19,880 --> 00:18:24,100 that anywhere on your network that's connected. This is a great place to do training if you have a 377 00:18:24,100 --> 00:18:29,600 large staff, which that costs money, but you've got to train somehow. It's a great place to practice. 378 00:18:29,980 --> 00:18:34,440 But what, again, you don't want to do is ever connect your lab systems to your production environment. 379 00:18:35,920 --> 00:18:37,420 Ever. Please. Ever. 380 00:18:40,480 --> 00:18:41,700 I think you made this slide. 381 00:18:42,020 --> 00:18:42,660 Did I do that? 382 00:18:43,340 --> 00:18:50,560 Awesome. Yeah, you need analysts. You need people. There's a huge group of people involved in running a security 383 00:18:50,560 --> 00:18:55,660 operations center. It starts with the users. If you didn't have users, of course we all hate the users because they're the ones causing the problems, right? 384 00:18:55,760 --> 00:19:03,060 But if we didn't have them, we wouldn't need the network. So we need the users. We need assist admins. We need security zealots to go figure out what's going on. 385 00:19:03,140 --> 00:19:10,000 People to go surf the web. People to come here to DEF CON. People to pay attention. Okay? We have to have the analysts sitting there 24-7. So they can't always be there. 386 00:19:10,000 --> 00:19:13,340 They all be at DEF CON. Somebody has to stay home and watch the network. Right? 387 00:19:14,480 --> 00:19:19,580 Management has to do whatever it is management does. And you need the leadership guys. 388 00:19:20,380 --> 00:19:26,000 You need the guys with the checkbooks. Because there will be times that you'll want to spend some money. 389 00:19:26,300 --> 00:19:33,140 Now, again, we don't want to build the big blue system that we saw at the beginning on that commercial with all the nice screens. You don't need it. We'd all love to have it. 390 00:19:33,200 --> 00:19:34,180 That's management's job. 391 00:19:34,740 --> 00:19:37,580 Yeah. We'd all love to have it, but we don't need it. Okay? 392 00:19:37,640 --> 00:19:39,940 But what we do need to do is sometimes we have to buy special tabs. 393 00:19:40,000 --> 00:19:41,720 Sometimes we'll have to reroute some of the network hardware. 394 00:19:41,940 --> 00:19:44,920 Sometimes we'll have to buy a security zealot. 395 00:19:45,480 --> 00:19:52,240 If you don't have anybody on your staff, if you guys are really interested in wanting to do this, but you don't have that guy to help you guide that, you have to go find one. 396 00:19:52,500 --> 00:19:54,460 Sometimes those people cost money. Okay? 397 00:19:55,580 --> 00:19:57,800 So the key is you need to get everybody involved. 398 00:19:58,020 --> 00:20:02,060 Everybody has to understand what a security operations center does and what it means. 399 00:20:02,900 --> 00:20:05,060 Okay? So the users need to understand that they're being watched. 400 00:20:05,220 --> 00:20:08,320 Not so that they know they're being watched, but so they know what they're being watched for. 401 00:20:08,980 --> 00:20:09,340 Okay? 402 00:20:10,000 --> 00:20:10,980 So they can try to stay away from malware. 403 00:20:11,120 --> 00:20:14,780 So they can try to do things that don't compromise the network. 404 00:20:15,840 --> 00:20:17,680 And then, of course, all the other folks need to be aware. 405 00:20:17,880 --> 00:20:19,040 Everybody has to buy into this. 406 00:20:21,560 --> 00:20:24,400 All right. So going into the specifics of these people, you've got the analysts. 407 00:20:26,220 --> 00:20:28,060 You need to have people who they want to learn. 408 00:20:28,280 --> 00:20:30,180 They know what they're doing. 409 00:20:30,220 --> 00:20:30,760 They know networking. 410 00:20:30,960 --> 00:20:32,860 They can understand some of the things they're looking at. 411 00:20:34,080 --> 00:20:35,920 And hopefully they've done some attacks themselves. 412 00:20:36,120 --> 00:20:38,420 Maybe they have their own home networks that they've built. 413 00:20:38,420 --> 00:20:50,600 Or if you're the analyst, I mean, you probably have your own home network that you've built for downloading malware, attacking things, doing cross-site scripting or SQL injection or whatever you feel like is your thing. 414 00:20:51,800 --> 00:20:57,160 You want people who are comfortable with source code maybe, with JavaScript, unfortunately, with Hex. 415 00:20:58,400 --> 00:20:59,440 Open to new ideas. 416 00:20:59,560 --> 00:21:00,400 Not stubborn. 417 00:21:00,500 --> 00:21:01,440 Not stuck in their ways. 418 00:21:01,660 --> 00:21:03,140 Because things keep changing. 419 00:21:03,640 --> 00:21:04,900 You also don't want them to blink. 420 00:21:05,580 --> 00:21:06,840 They should never call in sick. 421 00:21:06,840 --> 00:21:08,200 And they shouldn't need sleep. 422 00:21:09,440 --> 00:21:09,840 Basically. 423 00:21:10,760 --> 00:21:11,940 But that's basically the way. 424 00:21:12,000 --> 00:21:12,760 That's the people we are. 425 00:21:15,320 --> 00:21:17,640 They're pretty good at deductive reasoning and critical thinking. 426 00:21:17,780 --> 00:21:18,500 That's pretty important. 427 00:21:18,620 --> 00:21:21,660 You need to be able to make up for the lack of context. 428 00:21:21,860 --> 00:21:25,540 Because there's often a huge lack of context with what you're looking at. 429 00:21:27,300 --> 00:21:28,100 You want to say something? 430 00:21:28,360 --> 00:21:28,840 Oh, yeah. 431 00:21:30,080 --> 00:21:30,480 Yes. 432 00:21:30,520 --> 00:21:32,300 You can never have enough good analysts, ever. 433 00:21:33,360 --> 00:21:36,660 Most security operation centers, they're 24-7, depending on the size of your network. 434 00:21:37,320 --> 00:21:38,640 Some of them have to start small. 435 00:21:38,820 --> 00:21:40,080 Some of them have to start very modest. 436 00:21:40,400 --> 00:21:46,800 It could be the one person who's watching an IDS because he saw it on a live CD and he put it up in his network just to see what's going on in his area. 437 00:21:47,820 --> 00:21:49,840 But you have to build to these things. 438 00:21:51,040 --> 00:21:54,460 You eventually may want to hire to these things or try to recruit to these things. 439 00:21:54,740 --> 00:21:57,540 But this is the core of what a security operation center is. 440 00:21:57,840 --> 00:22:00,100 In that first video where we saw all that cool technology. 441 00:22:00,340 --> 00:22:05,460 If none of those people sitting in that room had this skill set, it wouldn't matter what that technology was. 442 00:22:05,460 --> 00:22:07,360 Because none of them would know how to use it. 443 00:22:08,180 --> 00:22:12,300 And the people that we saw on the previous slide, from leadership all the way through the users. 444 00:22:12,480 --> 00:22:16,580 If they don't believe in what's going on there, it doesn't matter what all that technology is. 445 00:22:16,740 --> 00:22:18,000 You can spend all the money you want. 446 00:22:18,280 --> 00:22:19,580 Money will not buy you security. 447 00:22:20,980 --> 00:22:23,580 These are the folks that are the core of the operation right here. 448 00:22:24,760 --> 00:22:27,220 They're the ones that will help get the information out to the users. 449 00:22:27,400 --> 00:22:29,180 They're the ones that will help get the information up to leadership. 450 00:22:31,140 --> 00:22:31,620 Go ahead. 451 00:22:33,020 --> 00:22:34,320 You've got other experts as well. 452 00:22:34,320 --> 00:22:36,340 You've got the network administrators. 453 00:22:36,600 --> 00:22:38,180 They keep the whole thing going on. 454 00:22:38,780 --> 00:22:40,260 They can tune the IDS rules. 455 00:22:40,540 --> 00:22:41,680 They can update the rules. 456 00:22:42,520 --> 00:22:43,780 Keep the systems up to date. 457 00:22:44,080 --> 00:22:45,000 You've got forensics experts. 458 00:22:45,320 --> 00:22:50,700 Which would maybe take that malware that you see on your systems and go look at it. 459 00:22:50,740 --> 00:22:51,420 See what it's doing. 460 00:22:51,580 --> 00:22:53,920 See what kind of data might have been leaked, if any was. 461 00:22:54,940 --> 00:22:56,040 You have incident response. 462 00:22:56,640 --> 00:22:59,460 You've got to have people to deal with the incidents to go see that user. 463 00:22:59,860 --> 00:23:01,560 And remove that software. 464 00:23:01,840 --> 00:23:03,360 Or go... 465 00:23:04,420 --> 00:23:05,740 Restore that server from a backup. 466 00:23:06,740 --> 00:23:07,100 Etc. 467 00:23:07,480 --> 00:23:08,560 You've got external entities. 468 00:23:08,640 --> 00:23:11,660 In case of criminal action, you have to have law enforcement. 469 00:23:11,920 --> 00:23:13,260 You might have government involved. 470 00:23:14,420 --> 00:23:15,480 It could be... 471 00:23:16,080 --> 00:23:19,100 If personal data is leaked of your customers, you might need to involve them. 472 00:23:19,900 --> 00:23:22,180 Depending on the size of your network and the nature of your business, 473 00:23:22,420 --> 00:23:25,680 you may have some of these folks on your staff in your security operations center. 474 00:23:25,760 --> 00:23:26,880 You may have sysadmins there. 475 00:23:27,320 --> 00:23:29,600 So that when you are detecting attacks, 476 00:23:30,060 --> 00:23:32,820 you may be the one responding out to that user system to rebuild it. 477 00:23:32,820 --> 00:23:36,020 And to tell them to stop surfing YouTube that day or whatever. 478 00:23:36,700 --> 00:23:38,620 The forensics guys could be part of your staff. 479 00:23:38,800 --> 00:23:39,640 Or they may not be. 480 00:23:39,680 --> 00:23:42,600 You may have to reach out to consulting teams like Mandiant. 481 00:23:43,820 --> 00:23:45,060 Incident response, same thing. 482 00:23:45,260 --> 00:23:48,540 You may not have the capability of going out after the fact 483 00:23:48,540 --> 00:23:50,300 and responding to these and cleaning these up. 484 00:23:50,640 --> 00:23:52,160 But there are resources out there. 485 00:23:52,400 --> 00:23:54,140 So the information is available. 486 00:23:54,360 --> 00:23:55,760 There are a lot of books here that we've seen. 487 00:23:55,800 --> 00:23:58,860 There's a lot of information online about basic forensics and things of that nature. 488 00:23:58,980 --> 00:24:00,860 If you're starting out small and you're starting out as a project, 489 00:24:00,860 --> 00:24:03,760 if this is not an official organizational effort, 490 00:24:04,540 --> 00:24:06,040 you can play with it. 491 00:24:06,100 --> 00:24:06,900 You can try it. 492 00:24:06,980 --> 00:24:09,140 There's a lot of information out there that can guide you for free. 493 00:24:10,260 --> 00:24:13,020 But at some point you may want to bump all the way down this list 494 00:24:13,020 --> 00:24:16,040 and you may have to get people involved if you think criminal activity has taken place. 495 00:24:16,520 --> 00:24:18,940 You're not going to have the FBI on your staff. 496 00:24:19,180 --> 00:24:21,380 So you're going to need to know how to reach out to those folks. 497 00:24:21,740 --> 00:24:25,280 So look for other organizations out there that do this for a living like CERT 498 00:24:25,280 --> 00:24:27,740 and try to figure out ways to get information from them 499 00:24:27,740 --> 00:24:30,160 on how to take your information that you're finding and bring it to them. 500 00:24:31,280 --> 00:24:33,080 And you've got the users, of course. 501 00:24:33,760 --> 00:24:35,120 They report things. 502 00:24:35,440 --> 00:24:39,140 They report phishing emails, stolen property, loss of data. 503 00:24:40,380 --> 00:24:41,600 They might do things. 504 00:24:41,940 --> 00:24:42,800 I'm pretty sure. 505 00:24:43,080 --> 00:24:46,540 They'll probably download malware, spyware, all that good stuff. 506 00:24:46,720 --> 00:24:49,240 They'll engage in inappropriate activities for your organization. 507 00:24:50,380 --> 00:24:51,920 You need to be able to watch for that. 508 00:24:52,420 --> 00:24:55,700 And the best thing is that they're the most widely deployed IDS 509 00:24:55,700 --> 00:24:56,720 if you tune them properly. 510 00:24:56,960 --> 00:24:58,860 If you teach them and train them, 511 00:24:58,860 --> 00:25:01,120 they can watch out for your network. 512 00:25:01,300 --> 00:25:03,840 And it can be a great resource. 513 00:25:05,180 --> 00:25:09,260 The key is if users aren't telling you that they're receiving phishing emails, 514 00:25:09,540 --> 00:25:11,920 you're not necessarily going to know if any of your users are being targeted. 515 00:25:12,560 --> 00:25:16,040 A lot of users, a good example would be my mother, unfortunately, 516 00:25:16,640 --> 00:25:20,060 who thinks she's not important enough for any hacker to want to target her system, 517 00:25:20,240 --> 00:25:22,660 but she was a spam relay for quite a long time. 518 00:25:23,820 --> 00:25:25,680 It's not her. It's not her information. 519 00:25:25,680 --> 00:25:27,500 It's her computer. It's her Internet connection. 520 00:25:28,860 --> 00:25:30,700 Whether it's her home system or whether it's her work system. 521 00:25:31,020 --> 00:25:33,080 And if nobody else is watching out for that, 522 00:25:33,160 --> 00:25:34,960 and if your organization, your security operations center, 523 00:25:35,480 --> 00:25:38,700 isn't able to reach out to the mail logs to find out what's going on, 524 00:25:38,880 --> 00:25:42,040 then this is the kind of information where your users need to be able to give that to you. 525 00:25:42,340 --> 00:25:45,220 Your users can be a free intrusion detection system. 526 00:25:45,960 --> 00:25:47,620 But they do need to be tuned properly. 527 00:25:47,840 --> 00:25:49,300 Exactly right. They have to be trained. 528 00:25:49,460 --> 00:25:50,420 They have to know what to look for. 529 00:25:51,060 --> 00:25:53,020 And as the security operations center folks, 530 00:25:53,300 --> 00:25:55,340 that would be our job to go teach them. 531 00:25:55,760 --> 00:25:57,940 We have to put it in a way that's easily digestible to them. 532 00:26:00,280 --> 00:26:01,140 They've got management. 533 00:26:02,400 --> 00:26:03,900 They interface with other entities. 534 00:26:04,320 --> 00:26:05,940 Keep all the pieces from falling apart. 535 00:26:06,140 --> 00:26:06,640 They make it rain. 536 00:26:07,440 --> 00:26:08,680 And that's the money. 537 00:26:09,020 --> 00:26:09,480 Joke. 538 00:26:10,440 --> 00:26:11,740 And someone has to make decisions. 539 00:26:13,420 --> 00:26:14,560 I love management. 540 00:26:15,260 --> 00:26:15,840 Love them. 541 00:26:16,680 --> 00:26:17,140 Yeah. 542 00:26:18,300 --> 00:26:20,340 All right. So then you've got the data. 543 00:26:20,740 --> 00:26:22,680 What is all the stuff you're looking at? 544 00:26:22,760 --> 00:26:25,700 What is a security operations center seeing? 545 00:26:26,000 --> 00:26:27,950 You have phone calls, emails, users. 546 00:26:27,950 --> 00:26:30,170 People talking to you. 547 00:26:31,010 --> 00:26:31,990 Maybe even letters. 548 00:26:32,130 --> 00:26:33,630 Someone threatens someone. 549 00:26:35,290 --> 00:26:38,970 You've got log files from firewalls, hosts, proxy servers, DNS servers. 550 00:26:40,870 --> 00:26:41,610 Web mail. 551 00:26:41,910 --> 00:26:42,950 Web servers, sorry. 552 00:26:43,670 --> 00:26:44,590 And network events. 553 00:26:44,850 --> 00:26:46,490 These are the things that you just kind of churn through. 554 00:26:46,690 --> 00:26:48,830 And you look at it and see what's going on. 555 00:26:49,090 --> 00:26:51,270 The focus of a security operations center traditionally, 556 00:26:51,490 --> 00:26:53,590 especially in this type of a form, is network events. 557 00:26:53,830 --> 00:26:54,670 It's network logs. 558 00:26:54,810 --> 00:26:55,370 It's network analysis. 559 00:26:56,170 --> 00:26:57,310 But here we are at DEF CON. 560 00:26:57,310 --> 00:26:59,070 And we've got lock picking stuff going on. 561 00:26:59,150 --> 00:27:00,870 And we've got social engineering stuff going on. 562 00:27:01,130 --> 00:27:06,150 There is a number of other disciplines of security that are involved in this. 563 00:27:06,390 --> 00:27:08,890 And while you're not necessarily going to be your security staff, 564 00:27:09,070 --> 00:27:12,510 if you work in an organization that has security rent-a-cops hanging around 565 00:27:12,510 --> 00:27:14,670 and watching people and you need badges and all that, 566 00:27:14,990 --> 00:27:16,710 your security operations center isn't necessarily going to know 567 00:27:16,710 --> 00:27:18,090 if somebody tried to get into a machine room. 568 00:27:18,310 --> 00:27:21,930 You need to get involved in that information and get those logs from those entities. 569 00:27:22,350 --> 00:27:24,130 You need to integrate that into what you're doing. 570 00:27:24,270 --> 00:27:27,290 If four times in one week some folks are trying to get into the server, 571 00:27:27,310 --> 00:27:29,310 as a physical security measure, 572 00:27:29,550 --> 00:27:31,890 you may want to know that as a network operations center. 573 00:27:35,290 --> 00:27:38,150 So handling all that data is a big, big deal. 574 00:27:38,890 --> 00:27:42,470 You have to be able to filter that data and get out the false positives 575 00:27:42,470 --> 00:27:46,410 and threshold the constant attacks, 576 00:27:46,750 --> 00:27:48,530 the things that are all the same that keep on happening. 577 00:27:48,710 --> 00:27:50,350 And you want to categorize that data. 578 00:27:51,930 --> 00:27:54,450 And categorization can go all sorts of ways. 579 00:27:54,570 --> 00:27:57,290 Do you have the thing that freaks you out and you see an attack on your system? 580 00:27:57,670 --> 00:27:59,110 You've got something you've got to deal with 581 00:27:59,110 --> 00:28:02,150 and something that maybe you want to research more? 582 00:28:04,330 --> 00:28:06,230 Depending on the size of your network, the amount of hits, 583 00:28:06,390 --> 00:28:09,270 the amount of people scanning your network could be horrendous. 584 00:28:10,190 --> 00:28:11,990 Or if your network is sufficiently small enough, 585 00:28:12,030 --> 00:28:14,530 you may have absolute control over your perimeter and what's going by. 586 00:28:15,250 --> 00:28:17,630 There are internet resources that can tell you if there's a spike 587 00:28:17,630 --> 00:28:20,410 in secure shell scanning going on because of some recent activity. 588 00:28:20,610 --> 00:28:22,470 That can help you find out what's going on, 589 00:28:22,510 --> 00:28:23,830 so you need to be able to reach out to those resources. 590 00:28:24,310 --> 00:28:26,830 But without having all that information, without doing any of that filtering, 591 00:28:26,830 --> 00:28:28,610 all that stuff is showing up in your logs. 592 00:28:28,710 --> 00:28:30,490 You need to spend cycles looking at it, 593 00:28:30,970 --> 00:28:32,650 siphoning that down to figure out what's going on. 594 00:28:32,930 --> 00:28:34,670 If you know you're not running secure shell, 595 00:28:34,830 --> 00:28:36,170 do you care about secure shell scanning? 596 00:28:36,890 --> 00:28:39,070 Chances are you may not from an actionable point of view, 597 00:28:39,150 --> 00:28:41,430 but you may want to from a realistic point of view 598 00:28:41,430 --> 00:28:42,270 from an awareness perspective. 599 00:28:43,470 --> 00:28:45,710 So you need to be able to get all this information down, 600 00:28:45,850 --> 00:28:47,650 take the entirety of everything you're looking at, 601 00:28:47,730 --> 00:28:49,970 and figure out for your environment what's best 602 00:28:50,530 --> 00:28:53,610 and pare it down into things that you can prioritize and take action on. 603 00:28:56,110 --> 00:28:59,430 So CERT actually has some great categorization recommendations. 604 00:29:00,210 --> 00:29:05,370 They have seven categories that you can filter things through, 605 00:29:05,490 --> 00:29:09,670 which will make things easier to look through things 606 00:29:09,670 --> 00:29:11,050 that are coming through your network 607 00:29:11,610 --> 00:29:14,350 instead of one screen full of everything. 608 00:29:15,430 --> 00:29:19,170 You've got Cat 1 for successful unauthorized access. 609 00:29:19,290 --> 00:29:21,910 That's when someone actually gets in and accomplishes 610 00:29:21,910 --> 00:29:23,330 what they were setting out to accomplish. 611 00:29:23,610 --> 00:29:26,290 You have Category 2 for denial of service. 612 00:29:26,690 --> 00:29:29,330 Category 3, you have installation of malware 613 00:29:29,330 --> 00:29:32,750 or maybe a weakening of malware. 614 00:29:34,410 --> 00:29:35,850 4 would be improper usage. 615 00:29:36,050 --> 00:29:37,130 You could put spyware in there, 616 00:29:37,250 --> 00:29:39,270 because users download it. 617 00:29:39,390 --> 00:29:41,130 You could also put browsing porn 618 00:29:41,130 --> 00:29:43,670 if that's not what your organization's into. 619 00:29:46,110 --> 00:29:49,490 And Category 5 would be scans or attempted access. 620 00:29:49,650 --> 00:29:53,190 So you might have someone trying to do a SQL injection 621 00:29:53,610 --> 00:29:54,190 and they were unsuccessful. 622 00:29:54,650 --> 00:29:57,210 Maybe that's a Category 5 and it's not a Category 1 623 00:29:57,210 --> 00:29:58,950 because they didn't actually make it. 624 00:29:59,410 --> 00:30:01,710 And Category 6 is investigation, everything that doesn't fit. 625 00:30:02,050 --> 00:30:03,350 You don't know what's happening. 626 00:30:03,530 --> 00:30:04,670 You need to check it out more. 627 00:30:05,710 --> 00:30:08,390 These categories are roughly based on NIST guidance 628 00:30:08,390 --> 00:30:09,150 that came out before. 629 00:30:09,910 --> 00:30:13,050 Most of the larger CERTs that have evolved over the past decade or so 630 00:30:13,050 --> 00:30:15,170 have come up with different variations of this. 631 00:30:15,390 --> 00:30:17,810 This is US CERT's take on what NIST came up with. 632 00:30:18,290 --> 00:30:21,550 And again, the larger organizations like DoD CERT 633 00:30:21,550 --> 00:30:24,830 or any other federal level CERTs 634 00:30:24,830 --> 00:30:26,170 or even other nation CERTs. 635 00:30:26,270 --> 00:30:28,290 They kind of all have modifications of this. 636 00:30:28,430 --> 00:30:30,890 The key is this is just a way to respond to things. 637 00:30:31,650 --> 00:30:33,910 So you want to understand what's important in your environment. 638 00:30:34,110 --> 00:30:36,430 And this is roughly based on the attacker's goals 639 00:30:36,430 --> 00:30:38,670 and what level of impact they were able to have on your network. 640 00:30:38,870 --> 00:30:41,290 So being able to get access to your systems or your data 641 00:30:41,290 --> 00:30:42,230 or your users. 642 00:30:42,670 --> 00:30:44,710 Whether the user responded to a phishing email 643 00:30:44,710 --> 00:30:46,650 and sent their username and password back to these guys. 644 00:30:46,890 --> 00:30:48,210 That would be unauthorized access 645 00:30:48,210 --> 00:30:50,030 even though they haven't taken advantage of it yet. 646 00:30:50,030 --> 00:30:51,510 That username and password is exposed. 647 00:30:53,170 --> 00:30:53,830 Denial of service. 648 00:30:54,130 --> 00:30:57,290 Typically what these guys want is only if it's successful denial of service. 649 00:30:57,350 --> 00:30:59,190 Only if it actually happened do these guys care. 650 00:30:59,350 --> 00:31:01,950 So as far as whatever US CERT has purview over. 651 00:31:02,090 --> 00:31:03,350 They only care if it's actually happened. 652 00:31:03,610 --> 00:31:04,490 It worked. 653 00:31:06,250 --> 00:31:08,470 Installation of malware or post-infection beaconing. 654 00:31:09,930 --> 00:31:11,810 Intrusion, inclusion rather into a botnet. 655 00:31:12,110 --> 00:31:14,930 Anything of those nature, that's category three. 656 00:31:15,330 --> 00:31:16,730 They only care if it actually worked. 657 00:31:16,830 --> 00:31:18,850 If your antivirus caught it, they don't want to know. 658 00:31:18,950 --> 00:31:19,670 And they don't care. 659 00:31:20,030 --> 00:31:21,630 It's within the purview of what they're reporting. 660 00:31:22,230 --> 00:31:25,290 Your management will dictate generally what you're going to want to report 661 00:31:25,290 --> 00:31:26,850 and how you're going to take action on it. 662 00:31:26,930 --> 00:31:29,490 Your leadership will build that type of information system, 663 00:31:29,650 --> 00:31:30,990 those types of processes in. 664 00:31:31,130 --> 00:31:33,130 They'll finance you for those processes I guess. 665 00:31:33,790 --> 00:31:36,230 But what's important here is understanding 666 00:31:38,710 --> 00:31:40,950 that it's up to your environment. 667 00:31:41,190 --> 00:31:44,330 So if you're starting this out, low, no cost, free, whatever. 668 00:31:44,830 --> 00:31:48,910 You need to use this as a way to justify what you're doing 669 00:31:48,910 --> 00:31:51,170 so that you can possibly get more money from management and leadership. 670 00:31:51,310 --> 00:31:53,530 To show impact, to show that you're actually catching things, 671 00:31:53,630 --> 00:31:54,390 to make it actionable. 672 00:31:54,850 --> 00:31:57,890 If you can show that it's actionable and you can show that other organizations 673 00:31:57,890 --> 00:32:00,650 think this is important, you can use this publicly available guidance 674 00:32:00,650 --> 00:32:02,890 and you can say, look, the US cert thinks this is important, 675 00:32:03,050 --> 00:32:03,750 maybe we should too. 676 00:32:07,490 --> 00:32:12,490 So getting into the analysis of stuff, I didn't do a little demo for this, 677 00:32:12,630 --> 00:32:16,430 but if you want to analyze something such as malware, 678 00:32:16,430 --> 00:32:21,390 you see an alert pop up on your analyst system, 679 00:32:22,730 --> 00:32:25,610 I don't know, malware check-in, who knows. 680 00:32:25,850 --> 00:32:28,130 You want to look at the network capture and see what's really happening, 681 00:32:28,250 --> 00:32:30,570 maybe take a look at the user agent, look at all these different things 682 00:32:30,570 --> 00:32:32,590 to provide information on what's happening. 683 00:32:32,770 --> 00:32:35,590 You might have to research what that traffic means, 684 00:32:35,810 --> 00:32:40,390 you might have to look at the external IP it's beaconing out to 685 00:32:40,390 --> 00:32:42,410 or maybe what someone downloaded from. 686 00:32:42,950 --> 00:32:45,930 And then if you can, you want to have firewall log access, 687 00:32:46,090 --> 00:32:46,410 look at firewall log access, 688 00:32:46,430 --> 00:32:50,310 you want maybe proxy log that will help determine what's happening. 689 00:32:50,970 --> 00:32:53,110 You want to look at the AV log on the system itself, 690 00:32:54,770 --> 00:32:56,190 hopefully it caught it. 691 00:32:56,350 --> 00:32:58,490 If it's beaconing out, it probably didn't catch it. 692 00:32:58,910 --> 00:33:02,170 And you want to see the system log, see what maybe has been changed, 693 00:33:03,310 --> 00:33:05,310 maybe there'd be something that could help you in there. 694 00:33:05,530 --> 00:33:10,290 All that stuff is context, provides context to the IDS alert that originated the thing. 695 00:33:11,130 --> 00:33:13,570 And you want to talk to the user, find out what happened. 696 00:33:13,710 --> 00:33:14,930 Did they click on an email? 697 00:33:14,930 --> 00:33:19,010 Did they download something they thought was a great game or something like that? 698 00:33:20,370 --> 00:33:22,750 And then you do incident response dealing with that malware. 699 00:33:23,990 --> 00:33:25,550 This process is important. 700 00:33:25,670 --> 00:33:27,490 This process is essentially money in the bank. 701 00:33:27,710 --> 00:33:30,050 If you have access to these types of data sources 702 00:33:30,050 --> 00:33:32,670 and you can follow through this process in an efficient manner, 703 00:33:32,850 --> 00:33:35,270 if it doesn't take you months to get this type of information, 704 00:33:35,770 --> 00:33:39,110 if you can get this information within an hour or two of an IDS alert, 705 00:33:39,290 --> 00:33:41,550 you can find out what happened and probably mitigate it 706 00:33:41,550 --> 00:33:43,090 before it does a lot of damage to your network. 707 00:33:43,090 --> 00:33:47,530 There was a great talk yesterday, actually. 708 00:33:48,010 --> 00:33:51,330 It was some folks that were profiling malware and how folks were getting infected. 709 00:33:51,870 --> 00:33:54,650 Most of it was user-driven and it was based off social engineering sites 710 00:33:54,650 --> 00:33:56,550 and whatever was trendy and going on at the time. 711 00:33:56,810 --> 00:33:59,090 Those were the guys that had the Playmate of the Year come in. 712 00:33:59,750 --> 00:34:00,750 Did anybody else see that? 713 00:34:01,410 --> 00:34:01,930 Oh, yeah. 714 00:34:02,630 --> 00:34:03,030 Okay. 715 00:34:03,770 --> 00:34:06,190 So the guys, again, in that SOC that we saw at the beginning, 716 00:34:06,290 --> 00:34:08,050 they were looking at their real-time IDS alerts. 717 00:34:08,290 --> 00:34:09,770 They may have access to packet capture, 718 00:34:09,910 --> 00:34:11,510 but they're probably not the firewall administrators. 719 00:34:11,510 --> 00:34:14,570 Any network that may afford a security operations center that looks like that, 720 00:34:14,950 --> 00:34:17,370 their firewall administrators are working somewhere else, 721 00:34:17,790 --> 00:34:19,290 in a little server closet somewhere. 722 00:34:20,010 --> 00:34:21,870 So you need to get those firewall logs, though, 723 00:34:21,930 --> 00:34:23,810 because if you get popped with malware, 724 00:34:24,030 --> 00:34:26,590 chances are you might go out and try to download more malware. 725 00:34:26,690 --> 00:34:28,210 There are a number of Trojans out there that will do that. 726 00:34:29,110 --> 00:34:31,470 So you want to know if your firewall is blocking those connections. 727 00:34:32,590 --> 00:34:34,590 If the firewall is dropping them, they may not, 728 00:34:34,630 --> 00:34:36,390 depending on where your stuff is placed on your network, 729 00:34:36,530 --> 00:34:38,410 that may not trigger on your intrusion detection system 730 00:34:38,890 --> 00:34:41,430 because if your firewall is dropping it before it gets out to your IDS, 731 00:34:41,810 --> 00:34:42,670 you're not going to get an alert. 732 00:34:43,330 --> 00:34:43,690 Okay. 733 00:34:43,750 --> 00:34:44,450 The proxy log. 734 00:34:44,730 --> 00:34:46,910 Where was the user before they got the malware? 735 00:34:47,870 --> 00:34:49,810 That's where the malware probably came from. 736 00:34:49,910 --> 00:34:53,210 Either it was a compromised ad that was redirecting them 737 00:34:53,210 --> 00:34:55,310 to some hidden iframe and this, that, and the other. 738 00:34:55,430 --> 00:34:57,310 There are so many clever ways to get this stuff in now 739 00:34:57,310 --> 00:35:01,350 that it's really kind of a game to find out where this stuff came from. 740 00:35:01,710 --> 00:35:04,830 And getting good at that game makes you really good at doing this. 741 00:35:05,970 --> 00:35:07,130 Looking at your antivirus log. 742 00:35:07,290 --> 00:35:09,090 Again, if your antivirus flags on it, 743 00:35:09,110 --> 00:35:10,970 sometimes because the antivirus has a lag, 744 00:35:11,510 --> 00:35:13,790 it won't flag when the malware is downloaded to the user system. 745 00:35:14,070 --> 00:35:16,710 It only flags after it runs in some cases. 746 00:35:17,150 --> 00:35:17,550 Okay. 747 00:35:17,610 --> 00:35:18,390 And when that happens, 748 00:35:18,550 --> 00:35:20,990 the malware can still be running in memory and beaconing, 749 00:35:21,510 --> 00:35:24,710 even though AV has quarantined the results of the files after they've run. 750 00:35:25,270 --> 00:35:27,670 So what happens is you'll end up with a system that's already beaconing, 751 00:35:27,770 --> 00:35:30,270 and some AV guy will go look at the log and say, 752 00:35:30,370 --> 00:35:33,210 no, Symantec quarantined it or McAfee quarantined it, 753 00:35:33,250 --> 00:35:33,970 and it's done. 754 00:35:34,690 --> 00:35:37,070 But the system is still beaconing because it's running in memory. 755 00:35:37,130 --> 00:35:38,990 And until the system is rebooted, it's going to continue doing that. 756 00:35:39,390 --> 00:35:41,150 So a security operations center, 757 00:35:41,510 --> 00:35:43,710 again, being able to have that real-time view of what's going on 758 00:35:43,710 --> 00:35:44,830 and have access to all these logs, 759 00:35:45,030 --> 00:35:47,710 can tell you that that system is still compromised. 760 00:35:47,990 --> 00:35:49,350 And while it's still compromised and beaconing, 761 00:35:49,490 --> 00:35:50,990 it can continue causing further damage. 762 00:35:52,410 --> 00:35:54,250 Looking at your other system logs and all that information, 763 00:35:54,410 --> 00:35:55,070 but the big money? 764 00:35:55,330 --> 00:35:57,530 Talking to the user, especially in malware. 765 00:35:57,750 --> 00:35:59,850 Find out what they were doing and what they saw. 766 00:36:00,130 --> 00:36:02,670 If you find out what they saw when it was happening, 767 00:36:03,130 --> 00:36:06,390 that's, again, a human intrusion detection system signature. 768 00:36:06,590 --> 00:36:08,770 You get that information out to your other users. 769 00:36:08,950 --> 00:36:11,070 Hey, this is what they saw when they were infected. 770 00:36:11,070 --> 00:36:13,230 And that, again, helps tune your other ideas. 771 00:36:13,530 --> 00:36:16,010 Yeah, it will provide the education your users need. 772 00:36:16,550 --> 00:36:16,950 Yeah. 773 00:36:16,970 --> 00:36:17,210 Yeah. 774 00:36:18,490 --> 00:36:18,910 I'm good. 775 00:36:19,110 --> 00:36:19,530 All right. 776 00:36:20,310 --> 00:36:26,310 So, actually, I have a little video of just a grab of a file 777 00:36:26,310 --> 00:36:29,790 and then a reviewing the data. 778 00:36:29,990 --> 00:36:32,470 It basically found that same procedure we saw for the malware. 779 00:36:32,690 --> 00:36:33,730 But I'll just go ahead and show this. 780 00:36:33,970 --> 00:36:36,830 And it's a little bit odd the way it goes, but here you go. 781 00:36:38,830 --> 00:36:39,950 So we've got, I'm running, 782 00:36:39,950 --> 00:36:42,190 I just ran tcpdump manually, 783 00:36:42,530 --> 00:36:44,550 but it would be running as a daemon process, probably. 784 00:36:46,030 --> 00:36:47,330 I'm showing you here on base. 785 00:36:47,830 --> 00:36:49,130 There's nothing in there right now. 786 00:36:51,750 --> 00:36:54,150 So I've got tcpdump running, watching the network traffic. 787 00:36:54,590 --> 00:36:56,410 And I've got this system. 788 00:36:57,150 --> 00:36:59,250 tcpdump is running on a virtual machine. 789 00:36:59,410 --> 00:37:00,310 This is on a separate machine. 790 00:37:00,530 --> 00:37:02,770 So this is a damn vulnerable Linux. 791 00:37:03,450 --> 00:37:07,230 They're getting the et cetera password file with a command execution. 792 00:37:07,630 --> 00:37:09,110 So they get that file. 793 00:37:09,950 --> 00:37:11,430 On that Linux system. 794 00:37:14,010 --> 00:37:15,850 And now we're going to go back over to base. 795 00:37:16,470 --> 00:37:21,130 And you'll see as we refresh it that there's an alert. 796 00:37:23,390 --> 00:37:24,570 Et cetera password attempt. 797 00:37:25,030 --> 00:37:26,130 They tried to get this thing. 798 00:37:26,830 --> 00:37:28,670 So you don't know if they got it yet. 799 00:37:28,850 --> 00:37:29,490 You just want to see. 800 00:37:29,730 --> 00:37:30,890 So you go in here in the base. 801 00:37:31,010 --> 00:37:33,890 And it's a little bit odd, but you can see, oh, 802 00:37:33,910 --> 00:37:37,370 they posted something from their website or from this website. 803 00:37:37,370 --> 00:37:39,770 And this is what they posted. 804 00:37:40,050 --> 00:37:40,890 Google.com. 805 00:37:41,150 --> 00:37:43,050 And there's some encoding in there. 806 00:37:43,150 --> 00:37:44,250 Then cat, et cetera, password. 807 00:37:46,270 --> 00:37:47,530 So now you need to look at the PCAP. 808 00:37:48,470 --> 00:37:49,990 So I actually opened it up. 809 00:37:50,130 --> 00:37:52,050 I took it from the dump I was doing. 810 00:37:52,190 --> 00:37:53,290 So there's that post right there. 811 00:37:55,310 --> 00:37:58,990 And then you want to take a look at the data. 812 00:37:59,190 --> 00:38:01,130 There's actually, you can follow the stream with Wireshark, 813 00:38:01,250 --> 00:38:01,750 which is a little easier. 814 00:38:01,850 --> 00:38:03,090 But I had some trouble with that for some reason. 815 00:38:03,190 --> 00:38:03,690 But here it is. 816 00:38:03,710 --> 00:38:05,430 You can see they got that. 817 00:38:05,570 --> 00:38:06,050 They got the root. 818 00:38:06,450 --> 00:38:07,890 I mean, it's just the et cetera password. 819 00:38:08,050 --> 00:38:08,590 It's not a big deal. 820 00:38:08,750 --> 00:38:09,510 Too big of a deal. 821 00:38:09,630 --> 00:38:10,370 But they got it. 822 00:38:10,390 --> 00:38:11,090 They got into the server. 823 00:38:12,970 --> 00:38:16,750 So that's the basic idea of what an analyst would do when they 824 00:38:16,750 --> 00:38:17,810 need to review an incident. 825 00:38:20,410 --> 00:38:21,710 So talking about mitigation. 826 00:38:22,410 --> 00:38:24,690 Actually, before I do that, I'm going to show you this other one. 827 00:38:25,410 --> 00:38:27,250 I'll show you Chaos Reader real quick. 828 00:38:32,570 --> 00:38:34,010 So this Chaos Reader is that thing. 829 00:38:34,090 --> 00:38:34,570 It's a program. 830 00:38:34,730 --> 00:38:35,030 It's a program. 831 00:38:36,050 --> 00:38:36,190 It's fantastic. 832 00:38:36,190 --> 00:38:38,030 It was written a while ago. 833 00:38:38,150 --> 00:38:40,190 I don't think it's been updated since 2003, like I said. 834 00:38:40,570 --> 00:38:47,010 But it will extract from a PCAP file and often will provide images 835 00:38:47,010 --> 00:38:50,350 and other great data that will help with figuring out what happened. 836 00:38:50,590 --> 00:38:52,950 So let's see. 837 00:38:53,070 --> 00:38:53,990 While he's getting that set up, 838 00:38:54,050 --> 00:38:55,590 Chaos Reader is an excellent program. 839 00:38:55,930 --> 00:39:00,490 It extracts all different facets of known program files from a TCP stream. 840 00:39:00,770 --> 00:39:02,310 So it will reconstruct pictures. 841 00:39:02,470 --> 00:39:04,350 It will reconstruct emails, executables, 842 00:39:04,350 --> 00:39:06,070 any number of things that you want to look at. 843 00:39:07,370 --> 00:39:08,110 But he's right. 844 00:39:08,170 --> 00:39:09,310 It hasn't been updated in a long time. 845 00:39:09,490 --> 00:39:13,810 And if anybody's aware of any other open source or free utilities that kind of do the same thing? 846 00:39:14,050 --> 00:39:14,930 Network Investigator. 847 00:39:15,110 --> 00:39:15,770 Network Investigator. 848 00:39:15,950 --> 00:39:16,630 Thank you. 849 00:39:17,130 --> 00:39:17,590 What's that? 850 00:39:17,950 --> 00:39:18,930 Network Miner. 851 00:39:19,150 --> 00:39:20,010 Network Miner. 852 00:39:20,130 --> 00:39:23,150 And please don't say Net Witness because that's Windows only. 853 00:39:23,890 --> 00:39:24,830 So I'm going to run this. 854 00:39:25,050 --> 00:39:29,350 It goes through the PCAP, pulls all that stuff out, and it puts it in the directory I specified. 855 00:39:29,590 --> 00:39:30,410 There's all these files. 856 00:39:30,670 --> 00:39:32,290 It's not the most user-friendly. 857 00:39:32,350 --> 00:39:34,330 But you start with index.exe. 858 00:39:34,330 --> 00:39:34,630 You start with HTML. 859 00:39:35,970 --> 00:39:37,230 And you don't want that. 860 00:39:39,490 --> 00:39:40,870 So it's kind of rough. 861 00:39:41,070 --> 00:39:42,850 But it helps quickly. 862 00:39:43,490 --> 00:39:44,870 You can see what this user was looking at. 863 00:39:45,110 --> 00:39:48,210 They're looking at Sarah Palin on Amazon. 864 00:39:48,390 --> 00:39:49,110 They're going to buy her book. 865 00:39:49,210 --> 00:39:49,970 You have to stop them. 866 00:39:51,970 --> 00:39:53,290 So it'll get on that quick. 867 00:39:53,370 --> 00:39:54,190 You've got to talk to that user. 868 00:39:55,190 --> 00:40:01,190 So and this is a great program in terms of, like, I have seen SQL injection attacks. 869 00:40:01,510 --> 00:40:04,050 And I can run the network traffic on here. 870 00:40:04,050 --> 00:40:09,330 And it will provide this is as HTML right here. 871 00:40:09,470 --> 00:40:10,210 It will actually show you. 872 00:40:10,230 --> 00:40:11,530 Well, that will show you what you see in Wireshark. 873 00:40:11,770 --> 00:40:15,030 But then typically there's often the session. 874 00:40:15,250 --> 00:40:20,070 There might be another HTML file under there which will actually show you what the attacker saw. 875 00:40:20,330 --> 00:40:21,970 The actual web page they were looking at. 876 00:40:22,650 --> 00:40:23,430 It's pretty great. 877 00:40:23,870 --> 00:40:25,590 So there are a lot of great programs. 878 00:40:25,730 --> 00:40:26,330 This is one of them. 879 00:40:27,370 --> 00:40:32,650 And go over here to back to this. 880 00:40:33,490 --> 00:40:34,670 How do I get back into that? 881 00:40:35,230 --> 00:40:35,590 Whatever. 882 00:40:35,850 --> 00:40:36,110 Okay. 883 00:40:37,210 --> 00:40:38,790 So mitigation incident response. 884 00:40:39,990 --> 00:40:40,790 You want to give a? 885 00:40:41,030 --> 00:40:41,390 Yes. 886 00:40:41,710 --> 00:40:42,830 Again, user education. 887 00:40:42,950 --> 00:40:43,890 I'm going to harp on this again. 888 00:40:44,110 --> 00:40:46,770 Your users are your widely, most widely deployed IDS. 889 00:40:48,090 --> 00:40:50,910 Typically they're best targeted against things like malware and infections. 890 00:40:51,470 --> 00:40:53,670 They're not going to help you if your server is getting SQL injected. 891 00:40:54,230 --> 00:41:01,130 However, your server admins, your programmers, those folks are the ones that you want to talk to and find out why these things are like that. 892 00:41:01,150 --> 00:41:02,550 There's a lot of legacy codes sitting around. 893 00:41:03,250 --> 00:41:04,950 There's a lot of insecure PHP running around. 894 00:41:05,370 --> 00:41:07,910 There's a lot of stuff that hasn't been patched or things that have not been updated. 895 00:41:08,550 --> 00:41:09,990 These are the things that need to be looked at. 896 00:41:10,070 --> 00:41:11,170 They need to be looked at continuously. 897 00:41:11,410 --> 00:41:13,190 But nobody really has the resources to do that. 898 00:41:13,530 --> 00:41:20,370 So when we start detecting these kind of things, we want to go out and start educating both the users and the admins on the network and get them more focused on security. 899 00:41:20,490 --> 00:41:22,270 Security has to be part of everything we do in networking. 900 00:41:23,550 --> 00:41:25,550 Again, stop using users' administrative access. 901 00:41:25,750 --> 00:41:29,410 While that doesn't necessarily always protect them, it does help limit the amount of damage that can be done. 902 00:41:29,410 --> 00:41:35,810 And limits the amount of subversion that can happen on their system, whether it's undermining antivirus or any other number of mechanisms. 903 00:41:36,430 --> 00:41:37,870 Proxy servers and firewalls. 904 00:41:38,610 --> 00:41:42,790 One of the best things that we have seen recently is using proxies to block sites. 905 00:41:43,050 --> 00:41:43,950 I mean, that works great. 906 00:41:44,170 --> 00:41:48,750 It really helps protect users from themselves or from those iframe redirects. 907 00:41:49,270 --> 00:41:54,650 Depending on if you can use graylisting, if you can use whitelisting, depending on what types of proxies you have in place. 908 00:41:55,170 --> 00:41:58,130 A lot of the more common ones now, like Bluecoat and whatnot. 909 00:41:58,690 --> 00:42:01,530 They're actually really just more like modified versions of... 910 00:42:04,110 --> 00:42:05,370 I just drew a blank. 911 00:42:05,990 --> 00:42:06,290 Okay. 912 00:42:08,190 --> 00:42:08,590 Oh well. 913 00:42:09,070 --> 00:42:09,370 Squid. 914 00:42:09,750 --> 00:42:10,050 Squid. 915 00:42:10,150 --> 00:42:10,390 Thank you. 916 00:42:10,390 --> 00:42:10,970 Somebody said it. 917 00:42:11,050 --> 00:42:11,470 Thank you. 918 00:42:11,930 --> 00:42:13,270 Yeah, they're just modified versions of Squid. 919 00:42:13,310 --> 00:42:13,750 Squid is free. 920 00:42:13,810 --> 00:42:14,370 You can run it. 921 00:42:14,410 --> 00:42:16,070 And you can use it to do the exact same things. 922 00:42:16,230 --> 00:42:17,150 It works very well. 923 00:42:17,250 --> 00:42:22,470 You can either whitelist your internet access if you're in a very tense environment where you have to really restrict what your users are doing. 924 00:42:22,630 --> 00:42:24,310 Or you can use it as a form of blacklisting. 925 00:42:24,350 --> 00:42:28,110 And there's a number of other mechanisms out there that will tell you what malware URLs are great against. 926 00:42:28,130 --> 00:42:31,850 For example, and there are a number of sites out there that will tell you where the bad neighborhoods on the internet are. 927 00:42:33,410 --> 00:42:36,210 Denying certain types of downloads, block posting on bad IPs. 928 00:42:36,250 --> 00:42:38,350 There's a number of things you can do with your mail servers to stop this stuff. 929 00:42:38,530 --> 00:42:41,030 There's a bunch of anti-spam software which will stop a lot of phishing attacks. 930 00:42:41,390 --> 00:42:46,710 There's a lot of things that you can do free, low, or no cost to your infrastructure to make things more secure for your users. 931 00:42:48,450 --> 00:42:50,410 So I just have a summary basically. 932 00:42:51,050 --> 00:42:54,110 I'll just provide some information of what we went over. 933 00:42:54,290 --> 00:42:55,790 There's the tools. 934 00:42:55,790 --> 00:42:59,990 The best one that I found, a lot of people agree, is Snort. 935 00:43:00,090 --> 00:43:00,630 It's open source. 936 00:43:00,770 --> 00:43:01,170 It's fantastic. 937 00:43:01,730 --> 00:43:06,030 If you go to snort.org, you'll see they have a download section. 938 00:43:06,190 --> 00:43:07,410 They have all those tools I mentioned. 939 00:43:07,630 --> 00:43:08,530 Pool, Pork, Barnyard. 940 00:43:08,630 --> 00:43:11,070 They have extra other tools for analysis. 941 00:43:11,390 --> 00:43:13,170 They have some great stuff and some great white papers. 942 00:43:14,930 --> 00:43:17,930 And you can find some guidelines on setting up your own networks. 943 00:43:18,590 --> 00:43:22,190 I was hoping to provide a step-by-step Snort installation guide. 944 00:43:22,290 --> 00:43:23,390 But you know, there's a million of them out there. 945 00:43:23,590 --> 00:43:25,450 And some of them are great. 946 00:43:25,510 --> 00:43:25,770 And some of them aren't. 947 00:43:25,790 --> 00:43:26,290 Some of them aren't so great. 948 00:43:26,470 --> 00:43:30,290 But you can just do a search and you'll find it. 949 00:43:31,090 --> 00:43:34,210 If you have questions, come see us in Capri 112. 950 00:43:35,050 --> 00:43:36,110 And here's our emails, too. 951 00:43:36,230 --> 00:43:37,370 I don't know if you want to say anything, Chris? 952 00:43:37,550 --> 00:43:38,030 No, I'm good. 953 00:43:38,330 --> 00:43:38,790 All right. 954 00:43:39,290 --> 00:43:39,730 Thank you. 955 00:43:39,770 --> 00:43:40,510 We're ending a little early. 956 00:43:40,590 --> 00:43:40,950 Thanks a lot.