1 00:00:00,000 --> 00:00:07,160 My name is Brad Woodberg. This is a talk about network application firewalls. I'm with Juniper 2 00:00:07,160 --> 00:00:13,320 Networks. I'm a security engineer on the high-end SRX product team. But first, let me thank 3 00:00:13,320 --> 00:00:18,860 you all for coming out, especially on this Sunday matinee afternoon. Sorry if I have 4 00:00:18,860 --> 00:00:23,300 a little bit of a Vegas accent because it's been a long time, but it's been awesome. So 5 00:00:23,300 --> 00:00:27,840 once again, thank you very much for coming. So what we're going to talk a little bit 6 00:00:27,840 --> 00:00:32,680 about here is we're going to start with what exactly network application firewalls are. We're 7 00:00:32,680 --> 00:00:35,940 going to go into some description of, you know, basically what they can and can't do, 8 00:00:36,520 --> 00:00:41,460 vulnerabilities, and kind of deploying them right. One thing that I've noticed when it comes 9 00:00:41,460 --> 00:00:45,700 to network application firewalls, many vendors have them now. It's really something that's, 10 00:00:46,240 --> 00:00:50,660 you know, kind of really picking up steam. A lot of products are integrating it, but very 11 00:00:50,660 --> 00:00:56,780 few, if really I haven't heard really any explanation from, you know, the different 12 00:00:56,780 --> 00:00:57,820 documentation, you know, you know, you know, you know, you know, you know, you know, you 13 00:00:57,820 --> 00:01:06,600 know, you know, you haveATC control over the 14 00:01:06,600 --> 00:01:18,820 specific functionalityvestion. A lot of products use that. One of the things we talked about 15 00:01:18,820 --> 00:01:21,420 that these new network application firewalls, 16 00:01:21,460 --> 00:01:22,680 they're not going to change anything 17 00:01:22,680 --> 00:01:25,120 in terms of the need for traditional 18 00:01:25,660 --> 00:01:28,480 Layer 3, Layer 4 stateful firewalls and IPS. 19 00:01:29,660 --> 00:01:32,780 Basically, there's limitations both in the technology 20 00:01:32,780 --> 00:01:37,160 and also there's certain vendor-specific 21 00:01:37,160 --> 00:01:41,180 implementation limitations that they could have. 22 00:01:41,340 --> 00:01:43,360 So, you know, if you're doing, you know, 23 00:01:43,380 --> 00:01:45,060 if you're looking at deploying this technology, 24 00:01:45,340 --> 00:01:47,020 it's definitely something that you want to check out. 25 00:01:47,020 --> 00:01:49,020 Make sure that, you know, 26 00:01:49,040 --> 00:01:50,280 that they're not cutting any corners. 27 00:01:50,520 --> 00:01:53,160 And basically, I'm going to just talk briefly then 28 00:01:53,160 --> 00:01:54,280 just about getting it right 29 00:01:54,280 --> 00:01:56,960 so that you guys can actually take away 30 00:01:56,960 --> 00:01:59,100 and have some practical knowledge for this. 31 00:02:00,160 --> 00:02:02,460 So basically, let's talk about the evolution 32 00:02:02,460 --> 00:02:03,480 of kind of network security. 33 00:02:04,180 --> 00:02:07,000 First, we had stateless packet filters 34 00:02:07,000 --> 00:02:09,180 known as ACLs or accessless. 35 00:02:09,780 --> 00:02:12,400 These were kind of some of the first generation 36 00:02:12,400 --> 00:02:15,680 of, you know, kind of access control on networks 37 00:02:16,200 --> 00:02:17,000 when it came... 38 00:02:17,020 --> 00:02:18,240 when it came to the actual network layer. 39 00:02:18,960 --> 00:02:22,260 They were traditionally implemented at routers 40 00:02:22,260 --> 00:02:24,160 and also they could be done on switches as well. 41 00:02:25,000 --> 00:02:27,020 But they were quite limited. 42 00:02:27,260 --> 00:02:28,660 I mean, they could function very fast. 43 00:02:28,840 --> 00:02:29,700 They could be done in hardware. 44 00:02:30,640 --> 00:02:32,140 But they were quite limited. 45 00:02:32,360 --> 00:02:33,960 They didn't have any other knowledge. 46 00:02:34,100 --> 00:02:36,380 They didn't take the bigger picture of a connection 47 00:02:36,380 --> 00:02:39,800 into mind when it came to the actual packet processing. 48 00:02:40,040 --> 00:02:42,360 It was just, does this individual packet 49 00:02:42,360 --> 00:02:43,520 match these characteristics? 50 00:02:43,800 --> 00:02:45,660 And do I permit or deny it? 51 00:02:45,660 --> 00:02:47,400 So that had a lot of limitations, 52 00:02:47,660 --> 00:02:49,060 especially in the early days 53 00:02:49,060 --> 00:02:52,600 when there was many vulnerabilities being discovered 54 00:02:52,600 --> 00:02:54,580 in the actual TCP IP network stacks. 55 00:02:55,940 --> 00:02:57,620 So then we got stateful firewall. 56 00:02:57,860 --> 00:03:01,060 And that tried to assist to, first off, 57 00:03:01,160 --> 00:03:05,560 fully categorize a connection into, you know, 58 00:03:05,560 --> 00:03:07,140 in a flow or a session. 59 00:03:07,840 --> 00:03:10,360 That also gave us more capabilities 60 00:03:10,360 --> 00:03:13,480 when it came to network address translation as well. 61 00:03:13,980 --> 00:03:15,580 And it also took in, 62 00:03:15,580 --> 00:03:17,620 in account the statefulness of the actual 63 00:03:17,620 --> 00:03:19,740 layer four protocol. 64 00:03:20,080 --> 00:03:23,740 So like TCP, you couldn't just spoof flags 65 00:03:23,740 --> 00:03:24,940 and pass those through. 66 00:03:25,080 --> 00:03:26,840 You actually had to have a full connection. 67 00:03:27,080 --> 00:03:28,740 It was set up and it was torn down. 68 00:03:33,520 --> 00:03:34,980 Then we got full IPS. 69 00:03:35,660 --> 00:03:37,620 Or, well, originally it was IDS. 70 00:03:37,740 --> 00:03:38,760 But we got full IPS. 71 00:03:39,040 --> 00:03:41,340 And basically that took a lot of the limitations 72 00:03:41,340 --> 00:03:43,320 when it came to stateful firewalling into account 73 00:03:43,320 --> 00:03:45,560 because part of the issue was, 74 00:03:45,560 --> 00:03:46,380 stateful firewalling is, 75 00:03:46,460 --> 00:03:48,860 while it did do a good job of restricting actual traffic, 76 00:03:49,140 --> 00:03:52,400 it didn't do anything to be able to block exploits, 77 00:03:52,400 --> 00:03:55,760 be able to look deeper into the flows 78 00:03:55,760 --> 00:03:56,960 and determine, you know, 79 00:03:56,980 --> 00:03:59,940 what the actual application behavior was and so forth. 80 00:04:00,100 --> 00:04:04,220 So we got full IPS to basically handle the limitations 81 00:04:04,220 --> 00:04:06,100 of stateful firewalls and access lists. 82 00:04:06,400 --> 00:04:08,680 And now we have application firewalls. 83 00:04:08,680 --> 00:04:11,840 And you'll see, and this will be part of the talk, 84 00:04:12,500 --> 00:04:14,880 they cover a lot less than what, 85 00:04:14,880 --> 00:04:18,520 what full stateful, I'm sorry, what full IPS did. 86 00:04:18,660 --> 00:04:20,260 But we'll see a little bit more of that. 87 00:04:21,020 --> 00:04:22,380 So really what's new here? 88 00:04:22,540 --> 00:04:27,120 What kind of differentiates this network application technology? 89 00:04:27,740 --> 00:04:29,080 And again, don't think that, 90 00:04:29,140 --> 00:04:31,020 it's not necessarily that it's a separate box. 91 00:04:31,300 --> 00:04:35,320 A lot of it is just integrated into some of the current generations 92 00:04:35,320 --> 00:04:36,540 of firewall products. 93 00:04:36,780 --> 00:04:37,440 But what's new? 94 00:04:37,900 --> 00:04:40,260 First off, we have something called App ID. 95 00:04:40,520 --> 00:04:42,400 Now actually, App ID isn't new at all. 96 00:04:43,140 --> 00:04:44,440 But the application, 97 00:04:44,440 --> 00:04:48,280 the application of it into a firewall is slightly new. 98 00:04:48,420 --> 00:04:49,720 And basically what it's going to do 99 00:04:49,720 --> 00:04:51,400 is it's going to actually look deeper 100 00:04:51,400 --> 00:04:53,540 into the actual connection itself. 101 00:04:53,780 --> 00:04:54,800 It's not just going to stop 102 00:04:54,800 --> 00:04:58,120 at the layer three, layer four level of inspection. 103 00:04:58,360 --> 00:04:59,880 It's actually going to look a little bit further 104 00:04:59,880 --> 00:05:02,160 to determine what the actual application is itself. 105 00:05:03,960 --> 00:05:05,400 As I mentioned, App ID, 106 00:05:05,640 --> 00:05:09,480 its purpose is to detect applications, not exploits. 107 00:05:09,620 --> 00:05:12,300 And really it's been around for quite a while. 108 00:05:12,500 --> 00:05:13,740 I mean, it's been used in, 109 00:05:14,440 --> 00:05:16,100 in traditional IPS products 110 00:05:16,100 --> 00:05:18,360 so that they could do port agnostic detection. 111 00:05:18,860 --> 00:05:20,180 So you could, you know, 112 00:05:20,200 --> 00:05:22,400 have HTTP running over port, you know, 113 00:05:22,400 --> 00:05:24,760 you know, 493 or any port 114 00:05:24,760 --> 00:05:26,780 and it would still be able to apply the detection. 115 00:05:28,340 --> 00:05:30,600 Basically the protocol decoders and the parts 116 00:05:30,600 --> 00:05:33,500 could still be applied regardless of what port it was on. 117 00:05:33,620 --> 00:05:35,640 So, and this technology was also, 118 00:05:35,720 --> 00:05:37,800 has been used for like URL filtering 119 00:05:37,800 --> 00:05:40,360 and network AV products as well. 120 00:05:40,440 --> 00:05:41,700 So it's not anything that's new, 121 00:05:41,820 --> 00:05:43,940 but it's something that's been extended in, 122 00:05:44,440 --> 00:05:46,860 and put into a kind of a new application. 123 00:05:48,220 --> 00:05:51,340 So in terms of how App ID does pattern matching, 124 00:05:51,560 --> 00:05:53,780 there's a, you know, there's different algorithms 125 00:05:53,780 --> 00:05:57,220 and we're not gonna go into those in much detail. 126 00:05:57,440 --> 00:05:59,620 A lot of it is really the same types 127 00:05:59,620 --> 00:06:02,160 of apparent matching techniques 128 00:06:02,160 --> 00:06:05,540 that have been used in traditional IPS products. 129 00:06:05,680 --> 00:06:07,260 And also, as I mentioned, you know, 130 00:06:07,260 --> 00:06:08,720 different layer seven service products 131 00:06:09,180 --> 00:06:10,920 like URL filtering and AV. 132 00:06:12,500 --> 00:06:14,420 Basically, what typically has to happen is, 133 00:06:14,420 --> 00:06:17,220 first, the firewall is going to permit or deny the traffic. 134 00:06:17,460 --> 00:06:18,840 There's some pre-processing, 135 00:06:18,840 --> 00:06:20,560 which we're gonna go into in more detail. 136 00:06:20,740 --> 00:06:22,600 And then we actually do the pattern matching. 137 00:06:23,260 --> 00:06:25,140 There's different string matching algorithms 138 00:06:25,140 --> 00:06:29,220 like Boyer-Moore, Ajo-Koracic, and Ribbon-Karp. 139 00:06:29,920 --> 00:06:32,520 There's DFA-based state machine matching. 140 00:06:32,760 --> 00:06:34,460 And then, of course, there's also hardware, 141 00:06:34,660 --> 00:06:36,000 which is being leveraged more and more 142 00:06:36,000 --> 00:06:37,620 to actually do the pattern matching. 143 00:06:39,000 --> 00:06:40,860 Now there's one thing that I wanted to call out 144 00:06:41,220 --> 00:06:43,600 when it comes to the actual application matching is, 145 00:06:43,600 --> 00:06:44,400 is kind of an interesting thing. 146 00:06:44,400 --> 00:06:47,340 It's a new topic, which is nested application detection. 147 00:06:47,800 --> 00:06:49,360 Because if you think about it, 148 00:06:49,440 --> 00:06:53,800 nowadays HGEP is almost like the new TCP in a way. 149 00:06:55,780 --> 00:06:58,040 Most applications that are being developed 150 00:06:58,040 --> 00:07:00,480 are being developed on web interfaces. 151 00:07:01,240 --> 00:07:03,260 And there's several reasons for that, of course. 152 00:07:03,360 --> 00:07:06,400 I mean, you guys know most clients have web browsers. 153 00:07:06,500 --> 00:07:08,740 The server technology is freely available 154 00:07:08,740 --> 00:07:10,900 and is very mature, works great. 155 00:07:11,540 --> 00:07:14,340 There's lots of toolkits and underlying technologies 156 00:07:14,340 --> 00:07:18,780 especially with things like JavaScript and all the HTML5 157 00:07:18,780 --> 00:07:21,220 and everything to really give the applications more color. 158 00:07:21,460 --> 00:07:23,760 So they've been developing more and more applications 159 00:07:23,760 --> 00:07:25,100 on top of HGEP. 160 00:07:25,220 --> 00:07:28,200 And HGEP is just an example of what a nested application 161 00:07:28,200 --> 00:07:28,900 could be. 162 00:07:29,060 --> 00:07:32,100 So if we just stopped at that real application level 163 00:07:32,100 --> 00:07:34,260 at layer seven, we said this is HGEP, 164 00:07:34,480 --> 00:07:37,180 we wouldn't know what the actual, you know, 165 00:07:37,920 --> 00:07:39,060 we'd be pretty limited. 166 00:07:39,200 --> 00:07:40,520 Because obviously there's different applications 167 00:07:40,520 --> 00:07:44,320 like YouTube or Pandora that folks might not want, versus, 168 00:07:44,320 --> 00:07:47,080 Outlook or, you know, Google Docs or something like that. 169 00:07:47,260 --> 00:07:49,700 So keep in mind that there's also the concept 170 00:07:49,700 --> 00:07:51,800 of taking it to another level with nested applications. 171 00:07:53,200 --> 00:07:55,900 Now I just wanted to show what an example 172 00:07:55,900 --> 00:07:58,100 of an App ID signature may be. 173 00:07:58,660 --> 00:08:02,680 Basically these are pretty similar to IPS signatures, 174 00:08:02,840 --> 00:08:03,460 as I mentioned. 175 00:08:03,740 --> 00:08:06,460 We have both a layer seven application 176 00:08:06,460 --> 00:08:08,260 and also a nested application. 177 00:08:08,560 --> 00:08:11,300 So looking on the left side, basically we're looking 178 00:08:11,300 --> 00:08:14,060 for a DFA pattern, and we're doing so 179 00:08:14,060 --> 00:08:16,260 in both directions in this specific implementation. 180 00:08:16,540 --> 00:08:19,580 That's really actually quite important, as you'll see later, 181 00:08:19,720 --> 00:08:21,900 if you only look in one direction, 182 00:08:22,100 --> 00:08:26,320 which I've seen vendors do, different implementations do, 183 00:08:26,440 --> 00:08:29,040 typically for performance, you're basically, 184 00:08:29,300 --> 00:08:33,540 there's a good chance that you could be pretty easily evaded, 185 00:08:33,580 --> 00:08:34,760 and I'll go into some more details 186 00:08:34,760 --> 00:08:35,960 on what that could look like. 187 00:08:36,620 --> 00:08:39,880 So basically we're looking for specific patterns in the client 188 00:08:39,880 --> 00:08:41,780 to server direction and the server to client direction. 189 00:08:42,500 --> 00:08:43,980 In the case of the layer seven, 190 00:08:45,040 --> 00:08:48,900 basically we've already identified what the parent application, 191 00:08:49,280 --> 00:08:53,160 in most cases it's HTTP, it could be other applications as well. 192 00:08:53,340 --> 00:08:56,460 And then we identify, we're looking for more information 193 00:08:56,460 --> 00:08:58,500 once we've actually identified the parent protocol. 194 00:08:58,780 --> 00:09:01,840 So we're looking, in this case we're looking for Facebook, 195 00:09:02,100 --> 00:09:04,720 we're checking the header host information and the URL, 196 00:09:04,880 --> 00:09:06,940 in this case, to be able to identify 197 00:09:06,940 --> 00:09:10,720 that this is Facebook running on top of HTTP rather than, 198 00:09:10,720 --> 00:09:11,660 you know, something else. 199 00:09:13,040 --> 00:09:15,080 Now what's really critical to understand, 200 00:09:15,300 --> 00:09:18,400 in addition to just the underlying technology itself, 201 00:09:18,580 --> 00:09:21,720 is that App ID is being used to feed a lot of different 202 00:09:21,720 --> 00:09:25,180 technologies that are being integrated into these firewalls. 203 00:09:25,200 --> 00:09:28,320 So, for instance, the information that's gleaned from 204 00:09:28,320 --> 00:09:31,220 App ID can be used for application firewalling, 205 00:09:31,240 --> 00:09:32,560 which is kind of the core thing here, 206 00:09:32,660 --> 00:09:34,620 whether we permit or deny the applications. 207 00:09:34,840 --> 00:09:38,200 It can be leveraged by the IPS engine for, you know, 208 00:09:38,280 --> 00:09:41,640 if it's, you know, for detecting what application is being used 209 00:09:41,660 --> 00:09:42,100 or what application is running, 210 00:09:42,220 --> 00:09:43,980 so it knows what type of inspection to do. 211 00:09:44,700 --> 00:09:47,520 Antivirus, URL filtering, different applications, QOS, 212 00:09:47,720 --> 00:09:51,080 there's a lot of things that are relying on the information 213 00:09:51,080 --> 00:09:53,100 being gleaned from the App ID engine 214 00:09:53,100 --> 00:09:55,280 to be able to make effective decisions. 215 00:09:55,620 --> 00:09:57,880 And because of that, that also means that 216 00:09:57,880 --> 00:10:00,080 if you can potentially trick the App ID engine, 217 00:10:00,320 --> 00:10:02,740 then you can potentially bypass 218 00:10:02,740 --> 00:10:04,700 these other Layer 7 services as well. 219 00:10:07,440 --> 00:10:10,620 One relatively new technique 220 00:10:11,660 --> 00:10:12,020 in application caching, 221 00:10:12,160 --> 00:10:13,640 and we'll talk a little bit more 222 00:10:13,640 --> 00:10:15,700 about some of the limitations of it, 223 00:10:15,860 --> 00:10:18,000 basically doing App ID is expensive, 224 00:10:18,220 --> 00:10:19,900 or at least it's a lot more expensive 225 00:10:19,900 --> 00:10:22,940 than doing just your traditional Layer 3, Layer 4 forwarding, 226 00:10:22,960 --> 00:10:23,920 stateful firewall. 227 00:10:24,280 --> 00:10:25,880 Not as expensive as IPS, 228 00:10:27,020 --> 00:10:28,680 but typically, you know, 229 00:10:28,720 --> 00:10:31,380 you still are going to have to do a lot of preprocessing, 230 00:10:31,380 --> 00:10:33,020 and then you have to do the pattern matching. 231 00:10:34,080 --> 00:10:36,320 And in the case of good applications, 232 00:10:36,880 --> 00:10:38,720 you know, what's going to happen is typically 233 00:10:38,720 --> 00:10:40,860 if you go to a web server on, you know, 234 00:10:40,860 --> 00:10:41,680 TCP port 80, 235 00:10:41,960 --> 00:10:45,140 it shouldn't be changing applications at any time. 236 00:10:45,240 --> 00:10:46,980 It should be HTTP every time. 237 00:10:47,080 --> 00:10:48,040 That really shouldn't be changing. 238 00:10:48,320 --> 00:10:51,660 So sometimes application caching is turned on. 239 00:10:51,900 --> 00:10:53,040 It's not that it's a bad thing, 240 00:10:53,120 --> 00:10:53,960 but it's an important thing 241 00:10:53,960 --> 00:10:54,900 to understand the limitations, 242 00:10:55,660 --> 00:10:57,980 because basically if you're doing application caching, 243 00:10:58,040 --> 00:11:00,020 it's something that a, you know, 244 00:11:00,040 --> 00:11:02,440 a malicious attacker could potentially leverage. 245 00:11:06,400 --> 00:11:08,260 And while I was writing the presentation, 246 00:11:08,400 --> 00:11:09,160 I was watching Alien, 247 00:11:09,300 --> 00:11:10,840 so I was really hyped up. 248 00:11:10,860 --> 00:11:13,180 So I put some Aliens quotes in there. 249 00:11:16,620 --> 00:11:18,340 So let's talk about the preprocessing. 250 00:11:18,440 --> 00:11:21,160 You know, we've already discussed kind of a high level 251 00:11:21,160 --> 00:11:24,300 of what the actual application identification is. 252 00:11:24,460 --> 00:11:25,500 It's doing the pattern matching. 253 00:11:25,760 --> 00:11:28,580 But before we can actually do any pattern matching, 254 00:11:29,100 --> 00:11:30,980 there's quite a bit of preprocessing 255 00:11:30,980 --> 00:11:32,680 that has to be done. 256 00:11:33,720 --> 00:11:35,080 And this is a, you know, 257 00:11:35,120 --> 00:11:37,080 if you guys are doing any kind of evaluations 258 00:11:37,080 --> 00:11:38,420 or you're checking out this technology, 259 00:11:38,780 --> 00:11:40,840 this is a really, really important point 260 00:11:40,860 --> 00:11:41,600 to think about. 261 00:11:42,540 --> 00:11:43,760 I'm not going to name names, 262 00:11:43,940 --> 00:11:46,960 but, you know, especially in some older routing code 263 00:11:46,960 --> 00:11:49,240 where they were doing pattern matching, 264 00:11:49,380 --> 00:11:51,020 they were doing no preprocessing. 265 00:11:51,100 --> 00:11:53,640 So, you know, if you just fragmented the traffic 266 00:11:53,640 --> 00:11:55,400 or, you know, used TCP segments 267 00:11:55,400 --> 00:11:56,820 or any kind of evasion, 268 00:11:57,480 --> 00:11:59,080 it wouldn't detect the application 269 00:11:59,080 --> 00:12:02,220 because it was just doing a simple, dumb pattern match 270 00:12:02,220 --> 00:12:04,160 on the actual application traffic. 271 00:12:04,420 --> 00:12:06,020 So it was just looking for HTTP. 272 00:12:06,280 --> 00:12:07,160 And here's an example. 273 00:12:07,680 --> 00:12:10,180 You know, basically if, you know, 274 00:12:10,180 --> 00:12:11,320 just in the case of fragmentation, 275 00:12:11,660 --> 00:12:13,720 if you were looking for, let's say, 276 00:12:13,820 --> 00:12:16,720 Git and HTTP as the pattern for the application, 277 00:12:17,060 --> 00:12:19,440 if it was just in a single packet, that could be fine. 278 00:12:19,740 --> 00:12:22,060 But basically if you did, you know, 279 00:12:22,060 --> 00:12:22,860 any kind of fragmentation, 280 00:12:23,140 --> 00:12:26,900 if it was looking for that pattern of Git, 281 00:12:27,020 --> 00:12:30,120 you know, the HTTP and the Git in an individual packet 282 00:12:30,120 --> 00:12:31,500 and it didn't reassemble it, 283 00:12:31,640 --> 00:12:33,860 then you'd be able to pass this right through. 284 00:12:33,960 --> 00:12:35,460 The hosts on either side 285 00:12:35,460 --> 00:12:39,540 obviously will handle the fragmentation just fine, 286 00:12:39,540 --> 00:12:40,520 and they'll reassemble it, 287 00:12:40,580 --> 00:12:42,380 and you can potentially get the traffic through. 288 00:12:42,580 --> 00:12:45,600 So just basically you have to do all the same things 289 00:12:45,600 --> 00:12:47,360 that a host is going to do 290 00:12:47,360 --> 00:12:50,380 to ensure the, you know, the fidelity of the traffic. 291 00:12:50,420 --> 00:12:52,900 Any kind of reassembly is going to be quite important. 292 00:12:58,940 --> 00:13:01,580 Ordering is actually going to be another thing as well 293 00:13:02,380 --> 00:13:04,140 because kind of for the same issues 294 00:13:04,780 --> 00:13:07,220 with the case of fragmentation. 295 00:13:07,680 --> 00:13:09,520 Naturally, packets can get out of work 296 00:13:09,540 --> 00:13:09,620 in order. 297 00:13:10,420 --> 00:13:11,480 That's, you know, well known. 298 00:13:11,600 --> 00:13:14,880 And also an attacker could try to use this 299 00:13:14,880 --> 00:13:16,260 to their benefit as well. 300 00:13:16,440 --> 00:13:18,920 So if you don't match the packets in order 301 00:13:18,920 --> 00:13:20,040 and you don't reassemble, 302 00:13:20,280 --> 00:13:22,940 then you can potentially get stuff by as well. 303 00:13:23,400 --> 00:13:26,180 So again, this is kind of why doing the actual app ID 304 00:13:26,180 --> 00:13:29,560 is more expensive than doing just simple firewalling 305 00:13:29,560 --> 00:13:31,580 because there's a lot more that has to go in it, 306 00:13:31,640 --> 00:13:34,360 more memory required to hold onto the packets 307 00:13:34,360 --> 00:13:36,620 and the stream for the entire window, et cetera. 308 00:13:38,560 --> 00:13:39,340 And of course, 309 00:13:39,540 --> 00:13:42,660 you know, doing the proper reassembly 310 00:13:43,460 --> 00:13:44,840 is also critical. 311 00:13:45,280 --> 00:13:48,380 All the same evasions that we've seen for IPSs 312 00:13:48,380 --> 00:13:52,320 with TCP segment overlaps and underlaps and fragmentation, 313 00:13:52,600 --> 00:13:56,320 it all, you know, all has to do with the same stuff. 314 00:13:56,440 --> 00:13:59,000 So when it comes to application firewalling. 315 00:13:59,060 --> 00:14:00,400 So in this example here, 316 00:14:00,540 --> 00:14:04,540 if you were to send two, you know, segment threes 317 00:14:04,540 --> 00:14:06,860 and one was HTTP, one was SIP, 318 00:14:06,980 --> 00:14:09,240 how is the app ID engine going to know 319 00:14:09,240 --> 00:14:11,600 which one, you know, if you want to, you know, 320 00:14:11,620 --> 00:14:15,160 to allow HTTP but deny everything else, 321 00:14:15,380 --> 00:14:17,500 you know, potentially you could get SIP through 322 00:14:17,500 --> 00:14:20,520 by also just kind of piggybacking that packet 323 00:14:20,520 --> 00:14:23,240 at the same time if the pre-processing 324 00:14:23,240 --> 00:14:24,280 wasn't being done properly. 325 00:14:25,940 --> 00:14:27,800 And of course, our friend the Ghostbusters, 326 00:14:28,420 --> 00:14:29,500 they got it right, too. 327 00:14:29,980 --> 00:14:31,300 Can't cross the stream, so. 328 00:14:34,900 --> 00:14:36,640 So what we're going to actually do is we're going to dig 329 00:14:36,640 --> 00:14:38,720 into some examples now and look at this 330 00:14:39,240 --> 00:14:41,660 as a practical real-world application. 331 00:14:42,500 --> 00:14:45,520 So one thing that I didn't really emphasize yet, 332 00:14:45,580 --> 00:14:49,540 but that's really important to, well, I guess I subtly implied it, 333 00:14:49,600 --> 00:14:52,300 but it's really important, is unlike firewalls, 334 00:14:52,300 --> 00:14:54,200 which know exactly what decision to make 335 00:14:54,200 --> 00:14:55,920 on that very first packet, right? 336 00:14:56,020 --> 00:14:58,280 They know if it's going to be denied or permitted. 337 00:14:58,720 --> 00:15:00,940 Network application firewall may not. 338 00:15:01,120 --> 00:15:03,380 I mean, obviously you can still have the same layer three, 339 00:15:03,420 --> 00:15:07,520 layer four stateful inspection and it can do, you know, 340 00:15:07,520 --> 00:15:09,120 basically you can make decisions 341 00:15:09,240 --> 00:15:10,900 at the layer three, layer four level, 342 00:15:10,980 --> 00:15:12,680 but if that traffic is permitted, 343 00:15:12,880 --> 00:15:15,420 and let's say you want to allow HTTP through, 344 00:15:15,500 --> 00:15:17,480 but you want to block SMTP or something else, 345 00:15:17,600 --> 00:15:21,420 you won't know until at least, I mean, really, 346 00:15:21,500 --> 00:15:22,820 it's not even the third packet, 347 00:15:22,900 --> 00:15:26,460 it's actually beyond that, what this application is. 348 00:15:26,520 --> 00:15:29,360 So the important thing to take away is that you do have 349 00:15:29,360 --> 00:15:30,880 to let some traffic through, because otherwise 350 00:15:30,880 --> 00:15:32,840 the network application firewall is just, 351 00:15:32,880 --> 00:15:35,720 it's not going to know, certainly not on the first packet. 352 00:15:35,900 --> 00:15:37,540 And so looking at the flow table here, 353 00:15:37,540 --> 00:15:42,780 in this next-gen firewall, basically what we can see here 354 00:15:42,780 --> 00:15:45,680 is that the application is unknown, which is zero. 355 00:15:45,800 --> 00:15:48,060 You'll see it'll make more sense in the future. 356 00:15:48,120 --> 00:15:50,840 But we've already sent three packets that have gone 357 00:15:50,840 --> 00:15:51,480 back and forth. 358 00:15:53,960 --> 00:15:56,920 Then, of course, once we send, you know, 359 00:15:56,960 --> 00:15:59,980 the actual application traffic, then that's when we can identify 360 00:15:59,980 --> 00:16:01,240 what this application is. 361 00:16:01,340 --> 00:16:03,080 In this case, it's just web browsing. 362 00:16:03,580 --> 00:16:06,780 But as I pointed to earlier, network application firewalls 363 00:16:06,780 --> 00:16:07,520 aren't going to do anything. 364 00:16:09,080 --> 00:16:11,680 Network application firewalling isn't going to do anything 365 00:16:11,680 --> 00:16:14,840 to protect you against any kind of Layer 7 exploits. 366 00:16:14,900 --> 00:16:19,140 So in this case, just throwing a nice old vulnerability 367 00:16:19,140 --> 00:16:24,280 to execute, you know, command.exe on an IIS server 368 00:16:25,060 --> 00:16:27,240 went through just fine, because, of course, 369 00:16:27,320 --> 00:16:29,520 it identified it as a proper network application, 370 00:16:30,640 --> 00:16:33,420 which is web browsing, but it was a malicious threat. 371 00:16:33,620 --> 00:16:35,620 And, of course, the network application 372 00:16:35,620 --> 00:16:36,660 isn't looking for that. 373 00:16:36,660 --> 00:16:38,960 It's just trying to identify what application it is. 374 00:16:46,800 --> 00:16:49,140 So let's kind of go into a little bit more detail here 375 00:16:49,140 --> 00:16:50,920 and discuss some of the specific threats 376 00:16:50,920 --> 00:16:52,040 and things that I've tested. 377 00:16:52,680 --> 00:16:56,480 And the first one is kind of the fact that network application 378 00:16:56,480 --> 00:16:59,400 firewalls in and of themselves are only typically looking at 379 00:16:59,400 --> 00:17:02,380 a few hundred to a few thousand bytes in either direction. 380 00:17:02,540 --> 00:17:05,760 So it's not going to be inspecting the whole flow. 381 00:17:06,580 --> 00:17:08,580 At least none of the ones that I've seen 382 00:17:10,000 --> 00:17:11,720 actually will inspect the entire flow. 383 00:17:11,860 --> 00:17:13,520 They're just going to inspect a small portion. 384 00:17:13,720 --> 00:17:16,680 And, of course, the reason for that is because performance 385 00:17:16,680 --> 00:17:19,040 and, you know, typically an application 386 00:17:19,040 --> 00:17:21,660 ought not to change, but as an attacker, 387 00:17:21,900 --> 00:17:23,600 you could potentially do that. 388 00:17:23,820 --> 00:17:26,500 Now, what's the likelihood of client and server collusion? 389 00:17:26,620 --> 00:17:28,660 Actually, it's a lot higher than you might think, 390 00:17:28,720 --> 00:17:32,080 just kind of offhand, because we'll kind of... 391 00:17:32,080 --> 00:17:33,460 Just a few examples, right? 392 00:17:34,220 --> 00:17:35,740 Obviously, there's a lot of new applications 393 00:17:35,760 --> 00:17:38,280 that are trying to be evasive, take, like, peer-to-peer. 394 00:17:38,600 --> 00:17:40,820 The client and the server can collude. 395 00:17:40,880 --> 00:17:43,440 They're speaking the same protocol. 396 00:17:43,760 --> 00:17:45,560 They, you know, can coordinate the message. 397 00:17:45,660 --> 00:17:48,180 Obviously, if you are a client and there's a server 398 00:17:48,180 --> 00:17:50,480 that you don't control out there, then, you know, 399 00:17:50,500 --> 00:17:54,000 you can't just talk HTTP to, you know, say, FTP 400 00:17:54,000 --> 00:17:55,480 or something like that. That won't work. 401 00:17:55,600 --> 00:17:58,120 But if the client and the server are going to be speaking 402 00:17:58,120 --> 00:18:00,700 the same application protocol, then that's perfectly fine. 403 00:18:00,860 --> 00:18:03,100 And I really expect to see a lot more of this 404 00:18:03,100 --> 00:18:05,580 with both applications and also with malware. 405 00:18:05,760 --> 00:18:10,920 Because this malware, you know, understands really what's going... 406 00:18:10,920 --> 00:18:12,540 You know, the creators of malware understand 407 00:18:12,540 --> 00:18:15,140 what's going on with these types of filtering. 408 00:18:15,560 --> 00:18:18,420 They'll start to leverage the same type of collusion. 409 00:18:18,540 --> 00:18:20,420 Start the application connection as something 410 00:18:20,420 --> 00:18:21,500 and switch it over. 411 00:18:21,700 --> 00:18:25,560 So in this example, I just wrote a really simple program to do it, 412 00:18:25,640 --> 00:18:29,140 but you can use, like, Skapy or write your own little script. 413 00:18:29,340 --> 00:18:32,420 I started the actual application as HTTP, 414 00:18:32,720 --> 00:18:35,540 and I just flipped it mid, you know, 415 00:18:35,760 --> 00:18:38,920 mid-stream to start talking FTP... 416 00:18:38,920 --> 00:18:43,660 I'm sorry, SMTP after the initial identification had occurred. 417 00:18:44,320 --> 00:18:48,020 And of course, because we're only looking in network application firewalls, 418 00:18:48,020 --> 00:18:50,360 we're typically only looking at a few hundred to a few thousand bytes. 419 00:18:50,600 --> 00:18:54,140 Once you're past that threshold, then, you know, you're home free. 420 00:18:54,200 --> 00:18:57,580 If there isn't another mechanism to restrict that, 421 00:18:57,740 --> 00:19:00,600 and we'll kind of discuss that shortly. 422 00:19:02,100 --> 00:19:04,800 Now, in this particular... 423 00:19:05,920 --> 00:19:09,020 This vendor had this vulnerability before, 424 00:19:09,160 --> 00:19:10,500 and they actually fixed it. 425 00:19:10,760 --> 00:19:13,060 But basically, they were only looking at the time 426 00:19:13,060 --> 00:19:15,360 at one direction of the traffic. 427 00:19:15,580 --> 00:19:17,820 So basically, and it was the client to the server. 428 00:19:18,000 --> 00:19:20,520 And that presents issues for a few different reasons. 429 00:19:20,720 --> 00:19:22,880 I mean, first off, accuracy issues, 430 00:19:22,980 --> 00:19:24,940 because, you know, a lot of times, 431 00:19:24,960 --> 00:19:27,000 you need to look at the server-to-client response 432 00:19:27,000 --> 00:19:28,740 to be able to make a good guess. 433 00:19:28,800 --> 00:19:30,860 I mean, you know, FTP and SMTP 434 00:19:30,860 --> 00:19:33,500 actually look really, really similar, as it turns out. 435 00:19:33,600 --> 00:19:35,740 And if you're not looking at both directions, 436 00:19:35,760 --> 00:19:37,300 it can be very hard to tell the difference, 437 00:19:38,160 --> 00:19:39,740 especially if they've, you know... 438 00:19:40,320 --> 00:19:43,000 Especially depending on, you know, the implementation, 439 00:19:43,660 --> 00:19:47,680 the different SMTP and FTP servers. 440 00:19:47,880 --> 00:19:51,380 So actually, checking for both bidirectional inspection 441 00:19:51,380 --> 00:19:52,580 is gonna be really important. 442 00:19:52,860 --> 00:19:55,500 In this example, what I did was I just sent, you know, 443 00:19:55,500 --> 00:19:58,400 a git request to an FTP server. 444 00:19:58,680 --> 00:20:01,580 And not all applications, remember, will actually... 445 00:20:01,580 --> 00:20:03,980 Let's say you only were looking at the client-to-server. 446 00:20:04,920 --> 00:20:07,380 FTP, SMTP, other applications as well 447 00:20:07,380 --> 00:20:09,880 may not close down that connection, right? 448 00:20:10,020 --> 00:20:13,180 So if you sent a git, you know, the FTP server's gonna say, 449 00:20:13,300 --> 00:20:15,220 I don't know, that's, you know, bad message. 450 00:20:15,640 --> 00:20:18,480 But if all the network application firewall did 451 00:20:18,480 --> 00:20:20,760 was look at that client-to-server direction, 452 00:20:21,000 --> 00:20:23,400 then it would say, oh, well, it's HTTP, 453 00:20:23,800 --> 00:20:25,320 but really it could be something else. 454 00:20:25,420 --> 00:20:27,560 And then they could just do an FTP file transfer 455 00:20:27,560 --> 00:20:29,840 right after, you know, without any issues. 456 00:20:29,980 --> 00:20:31,760 So of course, if you're not looking at things 457 00:20:31,760 --> 00:20:33,240 bidirectionally, that can create 458 00:20:33,980 --> 00:20:34,960 an issue for you. 459 00:20:36,520 --> 00:20:39,300 Also, what happens if you reverse the direction. 460 00:20:39,500 --> 00:20:41,780 Again, this is more of an evasion, right? 461 00:20:42,580 --> 00:20:45,480 And not something that a normal application would do, 462 00:20:45,600 --> 00:20:48,080 but something that I did have some luck on 463 00:20:48,920 --> 00:20:52,100 some different network application firewall implementations 464 00:20:52,100 --> 00:20:55,240 where basically I sent the same application, 465 00:20:55,520 --> 00:20:57,440 but I reversed the client-to-server 466 00:20:57,440 --> 00:20:59,320 and the server-to-client to kind of see 467 00:20:59,320 --> 00:21:02,300 are they matching, are they looking in both directions? 468 00:21:02,480 --> 00:21:03,960 And more specifically, not only are they 469 00:21:03,980 --> 00:21:05,940 looking in both directions, but are they 470 00:21:05,940 --> 00:21:08,480 specifically looking for the patterns that should be 471 00:21:08,480 --> 00:21:09,640 in the client-to-server direction, 472 00:21:09,780 --> 00:21:11,220 in the client-to-server direction, 473 00:21:11,380 --> 00:21:13,580 or are they just saying, hey, match any of these 474 00:21:13,580 --> 00:21:14,740 and look in both directions? 475 00:21:15,320 --> 00:21:16,980 Again, that's something that I saw, 476 00:21:17,020 --> 00:21:19,000 especially on some earlier routing code. 477 00:21:19,360 --> 00:21:22,960 It really didn't, they really weren't checking 478 00:21:22,960 --> 00:21:24,160 the directions properly. 479 00:21:24,320 --> 00:21:26,840 They were just looking in one direction or the other, 480 00:21:26,940 --> 00:21:28,600 but the patterns weren't differentiated. 481 00:21:30,040 --> 00:21:32,540 In some cases, you know, certainly noticed 482 00:21:32,540 --> 00:21:33,920 some port-based detection. 483 00:21:33,980 --> 00:21:36,460 So basically, you could send the exact same pattern 484 00:21:36,460 --> 00:21:39,540 over a different port, and it would be, you know, 485 00:21:39,580 --> 00:21:41,080 it would be not detected. 486 00:21:41,080 --> 00:21:44,960 In this case, I sent DNS over, what port was it? 487 00:21:45,440 --> 00:21:48,960 Over port 80 or something, and, you know, versus port 53. 488 00:21:49,080 --> 00:21:51,380 It was the exact same traffic, but it was detected 489 00:21:51,380 --> 00:21:52,480 as being unknown. 490 00:21:52,740 --> 00:21:55,600 Now, this isn't necessarily a vulnerability, 491 00:21:56,360 --> 00:21:58,340 because in some cases, as I mentioned, 492 00:21:58,500 --> 00:22:00,440 this is done a little bit more for accuracy. 493 00:22:00,720 --> 00:22:02,960 Like DNS is probably an extreme example, 494 00:22:03,080 --> 00:22:03,960 because you really want to know 495 00:22:03,980 --> 00:22:04,120 if you're looking for DNS on port 53. 496 00:22:04,120 --> 00:22:07,840 You ought never to see it on any port besides 53 or 53, 53. 497 00:22:08,820 --> 00:22:12,680 But it certainly is possible, and, you know, 498 00:22:12,700 --> 00:22:14,600 if you're evaluating or you're looking at this technology, 499 00:22:14,880 --> 00:22:17,740 making sure that it isn't just doing the inspection 500 00:22:17,740 --> 00:22:20,720 based upon the port can be very important, 501 00:22:20,820 --> 00:22:22,940 because what could potentially be happening is, 502 00:22:23,020 --> 00:22:25,420 yeah, they're looking for DNS on port 53, 503 00:22:25,620 --> 00:22:28,500 but that may be the only place that they're looking for it, 504 00:22:28,580 --> 00:22:31,200 and if you're, you know, allowing something else out, 505 00:22:31,280 --> 00:22:31,840 it could be an issue. 506 00:22:33,980 --> 00:22:36,940 And, of course, you know, one other thing to mention, 507 00:22:37,440 --> 00:22:40,220 you know, in the case of, like, you know, DNS tunneling, 508 00:22:40,220 --> 00:22:41,460 you know, something that, you know, 509 00:22:41,500 --> 00:22:44,200 our friend Dan Kaminski has covered in great detail, 510 00:22:44,320 --> 00:22:48,640 as have others, of course, that would just be detected as DNS 511 00:22:48,640 --> 00:22:52,040 in the case of simple network application firewall, 512 00:22:52,140 --> 00:22:52,900 because that's what it is. 513 00:22:52,980 --> 00:22:55,140 It wouldn't necessarily say, hey, there's, like, 514 00:22:55,160 --> 00:22:57,940 10 gigs of traffic being transmitted over here, 515 00:22:58,040 --> 00:22:59,680 you know, it might be something kind of weird. 516 00:22:59,760 --> 00:23:02,440 It's just going to be DNS, and it'll be perfectly happy with that. 517 00:23:03,980 --> 00:23:06,240 So I mentioned about application caching, 518 00:23:06,880 --> 00:23:09,380 and it's, again, it's not that application caching 519 00:23:09,380 --> 00:23:10,380 is a bad thing at all, 520 00:23:10,980 --> 00:23:13,700 and depending on how you're deploying this, 521 00:23:13,840 --> 00:23:15,080 it could be perfectly legitimate. 522 00:23:15,300 --> 00:23:17,740 Like, if you're deploying this in front of a data center 523 00:23:17,740 --> 00:23:19,580 that you control to, like, you know, 524 00:23:19,580 --> 00:23:22,120 accept inbound connections, typically, 525 00:23:22,220 --> 00:23:23,960 if you're controlling the actual servers, 526 00:23:24,080 --> 00:23:25,140 then it shouldn't be a big deal. 527 00:23:25,260 --> 00:23:28,040 Doing application caching can be used for performance, 528 00:23:28,280 --> 00:23:32,860 and also in some other uses of the actual app ID information, 529 00:23:33,120 --> 00:23:33,660 let's say, like, 530 00:23:33,980 --> 00:23:34,680 application routing. 531 00:23:34,980 --> 00:23:37,260 So making routing decisions, let's say, 532 00:23:37,280 --> 00:23:38,740 to, like, send the traffic through a proxy 533 00:23:38,740 --> 00:23:40,000 or something like that, 534 00:23:40,800 --> 00:23:43,380 that would really need to use caching 535 00:23:43,380 --> 00:23:45,800 because you wouldn't be able to know, again, 536 00:23:45,840 --> 00:23:47,260 ahead of time what it's going to be, 537 00:23:47,300 --> 00:23:48,680 unless if you've already seen the traffic. 538 00:23:48,840 --> 00:23:51,440 So stuff like application routing and QoS 539 00:23:51,440 --> 00:23:54,040 and stuff like that could really, you know, 540 00:23:54,040 --> 00:23:55,840 leverage the application caching, 541 00:23:56,000 --> 00:23:58,760 but there is a limitation and potential vulnerability. 542 00:23:59,580 --> 00:24:02,140 So in this example, what I've done is 543 00:24:02,140 --> 00:24:05,200 I just configured the firewall to look for, you know, 544 00:24:05,220 --> 00:24:08,400 SMTP on any port and drop it, no matter what, 545 00:24:08,540 --> 00:24:10,320 and allow everything else. 546 00:24:12,080 --> 00:24:14,280 So just kind of, you know, testing, you know, 547 00:24:14,320 --> 00:24:17,040 smoke test here, I just send SMTP, 548 00:24:17,120 --> 00:24:18,840 and it gets detected properly. 549 00:24:18,980 --> 00:24:20,880 This is looking at the logging message. 550 00:24:21,140 --> 00:24:23,220 We see that it's SMTP, we drop it, 551 00:24:23,260 --> 00:24:24,160 exactly what we'd expect. 552 00:24:26,200 --> 00:24:29,820 And what happens, or what we're going to do now 553 00:24:29,820 --> 00:24:31,460 is we're going to actually poison the cache 554 00:24:32,080 --> 00:24:35,040 to be able to insert the application in the cache table 555 00:24:35,040 --> 00:24:36,420 and see what happens. 556 00:24:36,580 --> 00:24:39,240 So in this case, I just sent a bunch of, you know, 557 00:24:39,260 --> 00:24:41,340 HTTP messages that I just, you know, used. 558 00:24:41,840 --> 00:24:44,200 Again, this is just a simple program I whipped up, 559 00:24:44,240 --> 00:24:45,960 but you could use WGIT or really anything, 560 00:24:46,460 --> 00:24:48,260 as long as, you know, the client and the server 561 00:24:48,260 --> 00:24:49,620 can properly collude. 562 00:24:49,760 --> 00:24:52,580 So basically, I just sent a bunch of HTTP messages, 563 00:24:52,720 --> 00:24:55,240 and you can see that it puts an entry 564 00:24:55,240 --> 00:24:56,320 in the application cache. 565 00:24:56,740 --> 00:25:00,540 Protocol 6 is obviously TCP, port 80, 566 00:25:00,540 --> 00:25:03,560 and it cached it as application ID 109, 567 00:25:03,740 --> 00:25:06,260 which stands for, you know, web browsing, 568 00:25:06,360 --> 00:25:07,340 in this case, HTTP. 569 00:25:10,160 --> 00:25:13,220 And so now, whereas before I couldn't send 570 00:25:13,220 --> 00:25:16,340 my SMTP traffic through, I can. 571 00:25:16,520 --> 00:25:17,600 It worked just fine. 572 00:25:17,840 --> 00:25:20,400 And the reason why is because it identified 573 00:25:20,400 --> 00:25:22,260 that traffic, you know, on port 80, 574 00:25:22,440 --> 00:25:25,960 TCP port 80 on the server, 575 00:25:26,140 --> 00:25:28,080 which is 192.168.2.13. 576 00:25:28,360 --> 00:25:30,520 Anything that goes over there until this cached 577 00:25:30,540 --> 00:25:32,720 entry time's out is going to be considered HTTP, 578 00:25:33,140 --> 00:25:34,040 even though it isn't. 579 00:25:39,200 --> 00:25:41,820 And we can see here now that we're getting cache hits 580 00:25:41,820 --> 00:25:43,000 every time that we... 581 00:25:43,000 --> 00:25:47,520 So the count is the threshold of how many they need to see 582 00:25:47,520 --> 00:25:50,160 before they actually put an entry in the app cache. 583 00:25:50,400 --> 00:25:52,260 The hits is how many that we're getting now, 584 00:25:53,040 --> 00:25:55,720 which is saying, yes, this is a cache hit. 585 00:25:55,760 --> 00:25:57,480 It matches, but in reality, 586 00:25:57,480 --> 00:25:59,560 we're sending SMTP, not HTTP. 587 00:26:00,980 --> 00:26:03,520 And that's exactly what the logs say, 588 00:26:03,680 --> 00:26:06,220 that this is all web browsing, when in fact it's not. 589 00:26:06,580 --> 00:26:08,680 Now, obviously, there's security implications for that, 590 00:26:08,760 --> 00:26:10,660 but the other thing as well to think about 591 00:26:10,660 --> 00:26:13,940 is a lot of folks are using this for logging and reporting 592 00:26:13,940 --> 00:26:16,660 and trying to understand volumes of traffic and metrics. 593 00:26:16,780 --> 00:26:19,280 So even if something malicious wasn't going on here, 594 00:26:19,420 --> 00:26:21,760 you might potentially, you know, get these reports 595 00:26:21,760 --> 00:26:23,880 that the information is completely inaccurate 596 00:26:24,510 --> 00:26:26,660 because it hasn't, you know, properly... 597 00:26:26,660 --> 00:26:28,340 It's not matching the real application. 598 00:26:29,240 --> 00:26:31,940 So sometimes it can be more than just a security thing as well. 599 00:26:33,860 --> 00:26:35,320 Now, caching of nest applications 600 00:26:35,320 --> 00:26:38,160 is something that I've been actually quite interested in, 601 00:26:39,380 --> 00:26:41,860 and it's really kind of a bad idea if you think about it 602 00:26:41,860 --> 00:26:45,040 because, first off, a lot of servers take, like, a web server 603 00:26:45,040 --> 00:26:46,460 doing virtual hosts, 604 00:26:47,180 --> 00:26:50,700 unless if the actual application ID engine is smart enough 605 00:26:50,700 --> 00:26:54,380 to look and understand, you know, what host it's going to, 606 00:26:55,240 --> 00:26:58,260 then if you cached, you know, potentially, like, a Google video 607 00:26:58,340 --> 00:27:00,880 there could be another, you know, Google Plus 608 00:27:00,880 --> 00:27:02,800 potentially hosted on the exact same server. 609 00:27:03,240 --> 00:27:06,800 And that could be both something done maliciously 610 00:27:06,800 --> 00:27:09,560 or it could be something, you know, perfectly legitimately done. 611 00:27:09,960 --> 00:27:10,600 It's very common. 612 00:27:10,920 --> 00:27:13,260 And basically if you cache nested applications 613 00:27:13,260 --> 00:27:16,040 and you have to go back and check for the actual caches, 614 00:27:16,160 --> 00:27:18,240 you're already doing most of the work anyway. 615 00:27:18,380 --> 00:27:20,440 So there's really no point in most cases 616 00:27:20,440 --> 00:27:22,680 of doing the nested application caching 617 00:27:22,680 --> 00:27:24,580 because it kind of can, you know, 618 00:27:24,580 --> 00:27:26,420 just really limit you on your detection. 619 00:27:28,420 --> 00:27:31,060 A really interesting thing has come up, 620 00:27:31,120 --> 00:27:32,860 which we've noticed, and, you know, 621 00:27:32,860 --> 00:27:35,080 different implementations are going to handle this differently, 622 00:27:35,220 --> 00:27:36,560 but it's called conflict resolution. 623 00:27:37,040 --> 00:27:39,380 And this is something that an attacker might be able to do. 624 00:27:39,480 --> 00:27:42,960 But what happens if you have an application 625 00:27:42,960 --> 00:27:45,660 that looks, you know, 626 00:27:45,680 --> 00:27:48,120 that matches more than one application, right? 627 00:27:48,180 --> 00:27:50,780 So it could potentially match, like, you know, 628 00:27:50,780 --> 00:27:52,600 SMTP and FTP are very similar. 629 00:27:52,780 --> 00:27:54,560 They could potentially match each other's. 630 00:27:54,620 --> 00:27:57,840 How do you resolve conflicts in the actual application detection? 631 00:27:58,520 --> 00:28:00,160 And that could be used, potentially, 632 00:28:00,280 --> 00:28:01,520 to an attacker's benefit. 633 00:28:02,260 --> 00:28:04,140 And it'll really just vary by implementation. 634 00:28:04,480 --> 00:28:06,260 A lot will just do port, you know, 635 00:28:06,260 --> 00:28:07,960 they'll kind of fall back on the port and say, 636 00:28:08,080 --> 00:28:10,360 hey, if it, you know, if we detected this pattern 637 00:28:10,360 --> 00:28:12,260 and we expect this, you know, 638 00:28:12,260 --> 00:28:14,320 there's kind of like a default port that we'd say, 639 00:28:14,400 --> 00:28:16,040 okay, well, this is just, this must be HTTP. 640 00:28:17,280 --> 00:28:19,960 Some will just list it as an unknown application 641 00:28:20,680 --> 00:28:22,900 or others will, you know, could, you know, 642 00:28:22,900 --> 00:28:25,860 might just pick one of the two in order of precedence, 643 00:28:25,860 --> 00:28:27,320 in order of the likelihood. 644 00:28:28,340 --> 00:28:31,240 So conflict resolution is potentially something 645 00:28:31,240 --> 00:28:34,080 that could be leveraged to, you know, 646 00:28:34,080 --> 00:28:35,680 for both good and bad. 647 00:28:37,820 --> 00:28:39,780 Now, I've also been doing, like, a little bit of research, 648 00:28:39,860 --> 00:28:42,620 and this is something that I just kind of crammed in here 649 00:28:42,620 --> 00:28:45,240 this week, so sorry if the slide's a little bit busy. 650 00:28:46,080 --> 00:28:48,560 But application layer gateways, if you guys aren't familiar, 651 00:28:49,060 --> 00:28:50,480 these are something that have been around 652 00:28:50,480 --> 00:28:52,300 in firewalls for a long time. 653 00:28:52,400 --> 00:28:54,620 And basically what they're used to do is to, 654 00:28:54,760 --> 00:28:57,380 they actually do have to, they look at layer seven, 655 00:28:57,380 --> 00:29:00,400 take FTP in this example, looking at the control channel 656 00:29:00,400 --> 00:29:02,900 to see what port is gonna be dynamically negotiated 657 00:29:02,900 --> 00:29:04,260 for the data channel. 658 00:29:04,700 --> 00:29:08,080 And the really interesting thing about application layer gateways 659 00:29:08,080 --> 00:29:11,000 and how they could potentially interact is that 660 00:29:11,000 --> 00:29:13,500 how do you classify the data channel, right? 661 00:29:13,600 --> 00:29:17,480 In the case of FTP, it can just be a binary stream. 662 00:29:17,620 --> 00:29:19,780 So if you actually, I did a test, 663 00:29:20,220 --> 00:29:22,760 and I sent just a PCAP, right? 664 00:29:22,860 --> 00:29:26,460 And, you know, and it actually detected the data channel 665 00:29:26,460 --> 00:29:30,740 as HTTP, because obviously it hadn't coordinated that, 666 00:29:30,840 --> 00:29:32,680 because being a PCAP, I mean, obviously, 667 00:29:32,700 --> 00:29:34,140 there's the per-packet headers, 668 00:29:34,260 --> 00:29:36,560 but if it's just doing some blind pattern matching, 669 00:29:36,740 --> 00:29:39,680 then it's just gonna identify that as, you know, 670 00:29:39,680 --> 00:29:42,680 as HTTP just fine without actually thinking that, 671 00:29:42,740 --> 00:29:43,720 hey, this could be a PCAP. 672 00:29:43,860 --> 00:29:46,960 So application layer gateways, especially when it comes 673 00:29:46,960 --> 00:29:49,000 to the auxiliary channel, the data channel, 674 00:29:49,160 --> 00:29:52,320 can have interesting impacts on the actual flow 675 00:29:52,320 --> 00:29:54,180 of traffic and application identification. 676 00:29:54,700 --> 00:29:56,440 What I've noticed is some do a good job 677 00:29:56,460 --> 00:29:59,400 and they will actually, you know, have the intelligence 678 00:29:59,400 --> 00:30:01,680 to mark the session, the auxiliary session, 679 00:30:01,940 --> 00:30:04,660 as being part of the parent session, but some may not. 680 00:30:04,760 --> 00:30:06,460 It's kind of, you know, your mileage may vary. 681 00:30:06,580 --> 00:30:08,360 So if you're, you know, if you're doing, you know, 682 00:30:08,360 --> 00:30:09,480 some sort of testing or something, 683 00:30:09,560 --> 00:30:12,220 you might want to look at that to kind of see. 684 00:30:12,340 --> 00:30:15,960 And like I said, the easy way to do that is really just to, 685 00:30:16,020 --> 00:30:21,380 you know, send a PCAP as the auxiliary traffic 686 00:30:21,380 --> 00:30:23,680 and see what happens if it picks it up as, say, 687 00:30:23,740 --> 00:30:25,560 HTTP or something else in the PCAP 688 00:30:25,560 --> 00:30:27,600 or if it's actually smart enough to identify it 689 00:30:27,600 --> 00:30:28,940 by the application that it really is. 690 00:30:32,320 --> 00:30:34,840 So what do we do about applications that we don't know? 691 00:30:35,320 --> 00:30:40,340 And this is probably one of my favorite things 692 00:30:40,340 --> 00:30:44,520 when it came to checking out this vendor is, you know, 693 00:30:44,560 --> 00:30:46,020 what happens if you don't know an application? 694 00:30:46,300 --> 00:30:47,940 And this will happen all the time, right? 695 00:30:48,540 --> 00:30:50,780 And it's not just that you can always block 696 00:30:50,780 --> 00:30:51,680 unknown applications. 697 00:30:51,880 --> 00:30:54,600 It's kind of like, you know, protocol anomalies in IPS. 698 00:30:54,600 --> 00:30:57,500 You know, a lot of applications are written very poor, 699 00:30:57,760 --> 00:30:59,820 so it could be just that, you know, 700 00:30:59,860 --> 00:31:01,920 it's not following the RFCs or the standards 701 00:31:01,920 --> 00:31:03,300 of the applications. 702 00:31:04,000 --> 00:31:05,800 Applications change all the time. 703 00:31:05,820 --> 00:31:07,680 You have new versions, and, you know, 704 00:31:07,680 --> 00:31:08,860 so it's not really uncommon. 705 00:31:09,240 --> 00:31:12,280 And also, you may just not have an actual application 706 00:31:12,820 --> 00:31:15,400 signature or detection for that application, 707 00:31:15,620 --> 00:31:16,260 so it could be unknown. 708 00:31:16,540 --> 00:31:20,080 So what I did here was just kind of walk you through 709 00:31:20,080 --> 00:31:22,940 what I noticed this particular vendor was doing. 710 00:31:24,100 --> 00:31:27,100 And so, basically, I just sent some unknown traffic. 711 00:31:27,580 --> 00:31:28,840 You know, here's just looking. 712 00:31:28,940 --> 00:31:30,540 I haven't sent anything Layer 7 yet. 713 00:31:30,700 --> 00:31:32,240 I just opened the session TCP. 714 00:31:34,520 --> 00:31:36,160 And we can actually look at the... 715 00:31:36,160 --> 00:31:38,400 I dug into the actual session ID itself. 716 00:31:38,600 --> 00:31:41,060 We can see that application is unknown. 717 00:31:41,200 --> 00:31:41,940 It's undecided. 718 00:31:42,000 --> 00:31:44,520 And Layer 7 processing is still being done 719 00:31:44,520 --> 00:31:46,300 as far as it's concerned. 720 00:31:46,560 --> 00:31:48,800 I just sent a few packets back and forth. 721 00:31:52,020 --> 00:31:52,920 So now... 722 00:31:52,920 --> 00:31:54,460 Now I'm gonna send some actually... 723 00:31:54,460 --> 00:31:56,960 I'm gonna send just a bunch of garbage. 724 00:31:57,080 --> 00:31:58,640 And I think I showed it in the next slide. 725 00:31:58,800 --> 00:32:00,620 But just sending garbage through, right? 726 00:32:00,700 --> 00:32:02,920 So it's not gonna know what this actual application is. 727 00:32:03,040 --> 00:32:04,740 And what I noticed was a very interesting thing. 728 00:32:04,920 --> 00:32:06,280 You know, marked it as unknown TCP, 729 00:32:06,620 --> 00:32:09,800 but I noticed that it said Layer 7 processing was completed. 730 00:32:10,080 --> 00:32:13,840 And so that means, you know, no IPS, no AV, 731 00:32:14,060 --> 00:32:16,940 no URL filtering, nothing at Layer 7. 732 00:32:17,160 --> 00:32:18,760 But it got even better than that. 733 00:32:18,880 --> 00:32:21,300 Not only were they not looking at anything from Layer 7, 734 00:32:21,300 --> 00:32:25,300 they actually pushed the traffic down into the ASIC, 735 00:32:25,400 --> 00:32:28,180 into the...you know, so out of the processor 736 00:32:28,180 --> 00:32:29,900 that's actually doing the security processing, 737 00:32:30,020 --> 00:32:33,220 just down into the MPU, or network processing unit. 738 00:32:33,360 --> 00:32:35,400 So they weren't even inspecting this at all. 739 00:32:35,540 --> 00:32:38,160 And I did that simply by just sending some garbage traffic. 740 00:32:38,540 --> 00:32:41,120 And then, of course, in that session, 741 00:32:41,320 --> 00:32:42,840 I was not only able to do that, 742 00:32:42,880 --> 00:32:44,640 but I could then send exploits through. 743 00:32:44,820 --> 00:32:47,740 Now, of course, if you send garbage application traffic, 744 00:32:48,160 --> 00:32:50,300 it's gonna...you know, your mileage is gonna vary, right? 745 00:32:50,300 --> 00:32:51,980 Because, you know, some applications 746 00:32:52,400 --> 00:32:53,800 may just close down the connection, 747 00:32:53,980 --> 00:32:57,540 while others, like FTP, SMTP, you know, might just say, 748 00:32:57,620 --> 00:32:58,600 hey, I don't know what that is. 749 00:32:58,780 --> 00:33:00,960 And then, you know, you might be able to push an exploit through. 750 00:33:01,120 --> 00:33:04,000 But this could also be used not only for actual exploits, 751 00:33:04,020 --> 00:33:06,700 but it could be used simply to try to evade 752 00:33:06,700 --> 00:33:08,840 the application...network application firewall 753 00:33:08,840 --> 00:33:12,700 and try to, you know, push traffic through, 754 00:33:12,780 --> 00:33:14,740 potentially, you know, do backdoor communication, 755 00:33:15,100 --> 00:33:16,160 command and control, et cetera. 756 00:33:16,360 --> 00:33:18,760 So there's a lot of things that you could potentially leverage 757 00:33:18,760 --> 00:33:20,120 with a vulnerability like this. 758 00:33:20,300 --> 00:33:22,720 And as I mentioned, all the different systems 759 00:33:22,720 --> 00:33:24,720 seem to be implementing this behavior differently, 760 00:33:24,920 --> 00:33:26,400 but it's a great one to look at. 761 00:33:31,720 --> 00:33:36,080 So the really interesting thing that, you know, 762 00:33:36,080 --> 00:33:38,080 looking forward and also looking in the past 763 00:33:38,080 --> 00:33:40,300 and what's happened is that applications... 764 00:33:40,920 --> 00:33:42,600 you know, you have honest applications, right? 765 00:33:42,740 --> 00:33:45,580 But other applications are trying to do things 766 00:33:45,580 --> 00:33:47,000 to remain undetected. 767 00:33:47,080 --> 00:33:49,460 Now, maybe that's something like Tor or BitTor, 768 00:33:50,160 --> 00:33:50,280 and so on. 769 00:33:50,300 --> 00:33:52,760 Or, you know, there could be perfectly good uses for this, 770 00:33:52,820 --> 00:33:53,940 so it's not a bad thing. 771 00:33:54,760 --> 00:33:58,560 But in terms of what I'm seeing is that more applications 772 00:33:58,560 --> 00:34:00,160 are going to get a lot... 773 00:34:00,160 --> 00:34:03,160 they're going to go to greater lengths to remain undetected. 774 00:34:04,000 --> 00:34:06,280 Encryption can be one mechanism to do this. 775 00:34:06,880 --> 00:34:09,120 Now, it's pretty easy, as it turns out, 776 00:34:09,140 --> 00:34:10,500 to detect encrypted applications 777 00:34:10,500 --> 00:34:14,320 because you can just measure the randomness of the bytes. 778 00:34:14,960 --> 00:34:16,220 So it's called the data entropy. 779 00:34:16,480 --> 00:34:19,140 You can measure that, and anything that's encrypted 780 00:34:19,140 --> 00:34:21,020 or compressed should be highly random. 781 00:34:21,200 --> 00:34:24,340 But anything that isn't, you know, 782 00:34:25,000 --> 00:34:26,960 ought not to be encrypted, 783 00:34:27,120 --> 00:34:28,840 at least with anything... 784 00:34:28,840 --> 00:34:31,080 any kind of standard encryption or compression protocols. 785 00:34:31,640 --> 00:34:34,380 And for that reason, I also expect that we're going to see 786 00:34:35,000 --> 00:34:36,720 more leveraging of, like, steganography 787 00:34:36,720 --> 00:34:38,560 because that's kind of the ultimate... 788 00:34:39,140 --> 00:34:41,540 especially if you leverage steganography and encryption, 789 00:34:41,860 --> 00:34:44,660 it's kind of like the ultimate way to really hide messages 790 00:34:44,660 --> 00:34:46,360 because you're hiding stuff in plain sight. 791 00:34:46,540 --> 00:34:47,520 It works in prisons. 792 00:34:47,520 --> 00:34:49,920 It's worked...you know, it's been around for, you know, 793 00:34:49,940 --> 00:34:50,700 thousands of years. 794 00:34:50,880 --> 00:34:53,220 So it's not anything that's particularly new, 795 00:34:53,400 --> 00:34:55,140 but it's a really strong method. 796 00:34:55,320 --> 00:34:56,740 And, of course, tunneling applications 797 00:34:56,740 --> 00:34:59,700 within other applications as well 798 00:34:59,700 --> 00:35:02,180 can be a method to obfuscate the traffic. 799 00:35:02,340 --> 00:35:05,780 It might be a legitimate use, like GRE tunneling or SSL, 800 00:35:05,900 --> 00:35:08,660 or it may be something a little bit more nefarious. 801 00:35:10,060 --> 00:35:12,200 And I mentioned just a moment ago 802 00:35:12,200 --> 00:35:14,520 the ability to do application ID 803 00:35:14,520 --> 00:35:16,640 without specifically pattern matching. 804 00:35:17,380 --> 00:35:19,820 Pattern matching is good for matching, you know, 805 00:35:19,840 --> 00:35:22,860 easy applications and, we'll just say, 806 00:35:22,960 --> 00:35:23,900 you know, honest applications. 807 00:35:24,420 --> 00:35:28,300 But in order to match some of the more dynamic 808 00:35:28,300 --> 00:35:30,420 and complicated applications, 809 00:35:30,660 --> 00:35:32,320 you can't just leverage pattern matching 810 00:35:32,320 --> 00:35:34,380 for the exact same reason as with IPS. 811 00:35:34,580 --> 00:35:36,580 You can't just only leverage pattern matching 812 00:35:36,580 --> 00:35:38,640 because sometimes it won't, you know, 813 00:35:38,680 --> 00:35:41,380 the pattern could actually change dynamically 814 00:35:41,380 --> 00:35:42,720 within every connection, 815 00:35:42,920 --> 00:35:44,760 and it won't be something that remains consistent. 816 00:35:44,760 --> 00:35:47,340 So in the case of BitTorrent, 817 00:35:47,460 --> 00:35:48,980 there's different ways of doing that. 818 00:35:49,300 --> 00:35:51,020 I've actually seen some really cool things 819 00:35:51,020 --> 00:35:53,160 where they'll actually look at the messages, 820 00:35:53,380 --> 00:35:54,720 the distributed hash tables, 821 00:35:54,800 --> 00:35:56,340 and try to look at the super node information 822 00:35:56,340 --> 00:35:57,720 that gets pulled down, 823 00:35:57,820 --> 00:36:00,420 because once the host can start communicating encrypted, 824 00:36:00,780 --> 00:36:03,240 it's easy to identify that this application is encrypted, 825 00:36:03,460 --> 00:36:04,780 but it's hard to say, 826 00:36:04,960 --> 00:36:08,300 hey, this is BitTorrent versus, you know, something else, 827 00:36:08,400 --> 00:36:10,220 you know, which may be perfectly legitimate. 828 00:36:10,920 --> 00:36:14,220 So doing application ID pattern matching 829 00:36:14,220 --> 00:36:15,980 I'm sorry, app ID without pattern matching 830 00:36:15,980 --> 00:36:18,020 is something that we're definitely seeing 831 00:36:18,020 --> 00:36:20,120 a little bit more, and that's kind of in response, 832 00:36:20,220 --> 00:36:21,860 as I mentioned, to these applications 833 00:36:21,860 --> 00:36:23,360 getting more and more complex 834 00:36:24,980 --> 00:36:26,920 and more evasive in nature. 835 00:36:27,860 --> 00:36:31,380 So really, what does application firewalling change? 836 00:36:32,440 --> 00:36:35,120 And again, it's not that application firewalling is bad. 837 00:36:35,320 --> 00:36:39,320 It certainly is a step better than stateful firewalling, 838 00:36:39,360 --> 00:36:42,140 but it's still a subset of IPS. 839 00:36:42,280 --> 00:36:44,060 So you can't judge 840 00:36:44,220 --> 00:36:46,080 if you're really concerned about security. 841 00:36:46,400 --> 00:36:48,460 If you're only deploying a firewall before, 842 00:36:48,740 --> 00:36:49,720 you know, that would be an issue. 843 00:36:50,480 --> 00:36:53,600 But, you know, and this can advance that 844 00:36:53,600 --> 00:36:56,200 to essentially keep honest applications honest, right? 845 00:36:56,400 --> 00:36:58,240 It's just like, you know, the locks on your door. 846 00:36:58,340 --> 00:37:00,740 We all know that, you know, to a normal person, 847 00:37:00,820 --> 00:37:01,840 they wouldn't be able to pick them, 848 00:37:01,920 --> 00:37:03,480 but, you know, as we see right down the hall, 849 00:37:04,180 --> 00:37:06,680 there's a lot of people who have excelled at it. 850 00:37:07,360 --> 00:37:09,220 And it's really the same thing with applications. 851 00:37:09,460 --> 00:37:12,560 And even if you look at BitTorrent or Skype, 852 00:37:12,780 --> 00:37:14,200 those are examples of applications 853 00:37:14,220 --> 00:37:15,500 that people are using, 854 00:37:15,580 --> 00:37:16,820 and they don't have any idea 855 00:37:16,820 --> 00:37:18,280 about how it's functioning under the hood. 856 00:37:18,360 --> 00:37:20,140 So it's not like you have to be, you know, 857 00:37:20,160 --> 00:37:21,940 a crafted and a very skilled attacker 858 00:37:21,940 --> 00:37:24,800 to be able to leverage these types of evasions. 859 00:37:24,840 --> 00:37:26,600 You could just be using an application 860 00:37:27,020 --> 00:37:28,680 that has been, you know, written, 861 00:37:28,760 --> 00:37:31,760 even one that's very public and, you know, 862 00:37:31,800 --> 00:37:33,500 and widely used. 863 00:37:33,660 --> 00:37:34,860 You could be using an application 864 00:37:35,480 --> 00:37:37,880 that really leverages these evasive behaviors 865 00:37:37,880 --> 00:37:39,680 and maybe not really know about it. 866 00:37:40,580 --> 00:37:41,640 Application firewalling, you know, 867 00:37:41,680 --> 00:37:43,740 it is kind of a lightweight implementation 868 00:37:44,220 --> 00:37:45,200 of IPS in a way. 869 00:37:45,360 --> 00:37:47,300 It's basically doing the application identification, 870 00:37:47,560 --> 00:37:49,840 but we're not doing any of the actual 871 00:37:49,840 --> 00:37:50,640 exploit detection. 872 00:37:51,140 --> 00:37:53,880 So you still need to use full IPS 873 00:37:53,880 --> 00:37:55,280 if you're going to deploy this 874 00:37:55,280 --> 00:37:57,400 and you care about, you know, not being hacked 875 00:37:57,400 --> 00:37:58,960 or at least putting up, you know, 876 00:37:58,960 --> 00:38:01,680 more defense in depth and more controls, 877 00:38:02,220 --> 00:38:04,120 you know, to protect yourself. 878 00:38:04,940 --> 00:38:07,300 And really, a lot of the different 879 00:38:07,300 --> 00:38:09,020 network application firewalls are kind of, 880 00:38:09,100 --> 00:38:10,360 you know, again, as I've noticed, 881 00:38:10,500 --> 00:38:12,280 they really vary in nature. 882 00:38:12,280 --> 00:38:15,180 It's kind of a, it's not a technology 883 00:38:15,180 --> 00:38:16,620 that has matured like, you know, 884 00:38:16,640 --> 00:38:18,100 stateful firewalling or, you know, 885 00:38:18,720 --> 00:38:20,120 antivirus is relatively mature. 886 00:38:20,340 --> 00:38:21,800 It still has limitations, but, you know, 887 00:38:22,260 --> 00:38:24,580 it's something that folks have, you know, 888 00:38:24,580 --> 00:38:25,440 spent a lot of time on. 889 00:38:25,500 --> 00:38:26,740 This is a relatively new technology 890 00:38:26,740 --> 00:38:29,820 and the behaviors are kind of not very well defined. 891 00:38:30,060 --> 00:38:31,880 It's going to vary on implementation 892 00:38:31,880 --> 00:38:32,840 by implementation. 893 00:38:35,740 --> 00:38:38,140 I already covered this, but really, 894 00:38:38,340 --> 00:38:39,980 I expect more applications, 895 00:38:40,840 --> 00:38:42,160 you know, they're going to be 896 00:38:42,980 --> 00:38:43,900 optimizing themselves, 897 00:38:44,240 --> 00:38:45,420 like take Speedy, for instance, 898 00:38:45,740 --> 00:38:47,940 and I know there's been a few talks on that here 899 00:38:47,940 --> 00:38:49,240 at Black Hat, 900 00:38:49,720 --> 00:38:52,340 which is Google's new HEP application. 901 00:38:52,820 --> 00:38:55,300 You know, it can leverage both SSL 902 00:38:55,300 --> 00:38:56,660 and built-in compression 903 00:38:56,660 --> 00:38:58,680 and does things a lot more intelligently. 904 00:38:58,900 --> 00:39:00,860 You know, I expect to see that applications 905 00:39:00,860 --> 00:39:02,700 are going to start leveraging 906 00:39:03,170 --> 00:39:04,200 steganography and other mechanisms 907 00:39:04,200 --> 00:39:07,540 to really make themselves more evasive. 908 00:39:08,160 --> 00:39:09,980 And that will be really tough to block. 909 00:39:10,140 --> 00:39:11,640 I mean, if you think about it, we'll have to really 910 00:39:12,280 --> 00:39:13,420 be leveraging heuristics, 911 00:39:13,740 --> 00:39:15,460 you know, especially if folks do a good job. 912 00:39:15,580 --> 00:39:16,700 And it's not only applications. 913 00:39:17,060 --> 00:39:19,340 I expect this to happen with malware as well, 914 00:39:19,500 --> 00:39:20,980 that, you know, with botnets, 915 00:39:21,100 --> 00:39:22,160 they're going to start phoning home 916 00:39:22,160 --> 00:39:24,000 and they probably already do a lot of this 917 00:39:24,000 --> 00:39:24,840 to some degree. 918 00:39:27,080 --> 00:39:29,220 So really, you know, what to take away 919 00:39:29,220 --> 00:39:32,060 and, you know, what do you still need to do? 920 00:39:32,140 --> 00:39:36,020 Because, again, just from the media marketing perspective, 921 00:39:36,940 --> 00:39:39,020 application firewalls have been really kind of marketed 922 00:39:39,020 --> 00:39:40,560 as kind of a, you know, panacea. 923 00:39:40,560 --> 00:39:43,920 And it's not that they're bad, 924 00:39:44,080 --> 00:39:45,980 but they still need to be used 925 00:39:45,980 --> 00:39:47,460 and they still need to complement, 926 00:39:47,820 --> 00:39:49,760 they need to be used in concert 927 00:39:49,760 --> 00:39:51,840 with a lot of the traditional technologies 928 00:39:51,840 --> 00:39:52,780 that you're already deploying. 929 00:39:52,980 --> 00:39:56,660 You can't just, you don't want to open up your firewall 930 00:39:56,660 --> 00:39:59,760 and, you know, just start blocking on application ports. 931 00:39:59,920 --> 00:40:02,020 You still want to do all the stateful firewalling. 932 00:40:02,080 --> 00:40:04,720 You still want to, you know, be deploying full IPS, 933 00:40:04,880 --> 00:40:07,380 you know, and looking for those exploits 934 00:40:07,380 --> 00:40:08,840 because the network application firewall 935 00:40:08,840 --> 00:40:10,540 in and of itself isn't going to do that. 936 00:40:11,580 --> 00:40:13,740 There's certain things that may or may not be turned on 937 00:40:13,740 --> 00:40:15,720 and you have to look at your individual deployment, 938 00:40:15,880 --> 00:40:17,740 whether it makes sense to do things like caching 939 00:40:18,400 --> 00:40:20,960 and really examining what the default behaviors 940 00:40:20,960 --> 00:40:22,180 and default settings are. 941 00:40:22,500 --> 00:40:25,080 And, you know, again, just kind of following 942 00:40:25,080 --> 00:40:26,280 a lot of the same best practices 943 00:40:26,280 --> 00:40:27,900 that you've already grown accustomed to. 944 00:40:28,040 --> 00:40:30,600 You know, don't let this new technology 945 00:40:30,600 --> 00:40:32,340 kind of lower your guard because you think 946 00:40:32,340 --> 00:40:33,480 that it's going to be doing more, 947 00:40:33,500 --> 00:40:36,100 more than it's actually capable of doing. 948 00:40:37,940 --> 00:40:39,200 So that's really it. 949 00:40:39,200 --> 00:40:42,540 I'm going to be in the track one QA room. 950 00:40:42,780 --> 00:40:44,740 And, again, my name is Brad Woodberg. 951 00:40:44,880 --> 00:40:45,660 I really appreciate it. 952 00:40:45,680 --> 00:40:46,560 Thanks, everyone, for coming out. 953 00:40:46,960 --> 00:40:47,580 Stepcom's been awesome.