My name is Brad Woodberg. This is a talk about network application firewalls. I'm with Juniper Networks. I'm a security engineer on the high-end SRX product team. But first, let me thank you all for coming out, especially on this Sunday matinee afternoon. Sorry if I have a little bit of a Vegas accent because it's been a long time, but it's been awesome. So once again, thank you very much for coming. So what we're going to talk a little bit about here is we're going to start with what exactly network application firewalls are. We're going to go into some description of, you know, basically what they can and can't do, vulnerabilities, and kind of deploying them right. One thing that I've noticed when it comes to network application firewalls, many vendors have them now. It's really something that's, you know, kind of really picking up steam. A lot of products are integrating it, but very few, if really I haven't heard really any explanation from, you know, the different documentation, you know, you know, you know, you know, you know, you know, you know, you know, you know, you haveATC control over the specific functionalityvestion. A lot of products use that. One of the things we talked about that these new network application firewalls, they're not going to change anything in terms of the need for traditional Layer 3, Layer 4 stateful firewalls and IPS. Basically, there's limitations both in the technology and also there's certain vendor-specific implementation limitations that they could have. So, you know, if you're doing, you know, if you're looking at deploying this technology, it's definitely something that you want to check out. Make sure that, you know, that they're not cutting any corners. And basically, I'm going to just talk briefly then just about getting it right so that you guys can actually take away and have some practical knowledge for this. So basically, let's talk about the evolution of kind of network security. First, we had stateless packet filters known as ACLs or accessless. These were kind of some of the first generation of, you know, kind of access control on networks when it came... when it came to the actual network layer. They were traditionally implemented at routers and also they could be done on switches as well. But they were quite limited. I mean, they could function very fast. They could be done in hardware. But they were quite limited. They didn't have any other knowledge. They didn't take the bigger picture of a connection into mind when it came to the actual packet processing. It was just, does this individual packet match these characteristics? And do I permit or deny it? So that had a lot of limitations, especially in the early days when there was many vulnerabilities being discovered in the actual TCP IP network stacks. So then we got stateful firewall. And that tried to assist to, first off, fully categorize a connection into, you know, in a flow or a session. That also gave us more capabilities when it came to network address translation as well. And it also took in, in account the statefulness of the actual layer four protocol. So like TCP, you couldn't just spoof flags and pass those through. You actually had to have a full connection. It was set up and it was torn down. Then we got full IPS. Or, well, originally it was IDS. But we got full IPS. And basically that took a lot of the limitations when it came to stateful firewalling into account because part of the issue was, stateful firewalling is, while it did do a good job of restricting actual traffic, it didn't do anything to be able to block exploits, be able to look deeper into the flows and determine, you know, what the actual application behavior was and so forth. So we got full IPS to basically handle the limitations of stateful firewalls and access lists. And now we have application firewalls. And you'll see, and this will be part of the talk, they cover a lot less than what, what full stateful, I'm sorry, what full IPS did. But we'll see a little bit more of that. So really what's new here? What kind of differentiates this network application technology? And again, don't think that, it's not necessarily that it's a separate box. A lot of it is just integrated into some of the current generations of firewall products. But what's new? First off, we have something called App ID. Now actually, App ID isn't new at all. But the application, the application of it into a firewall is slightly new. And basically what it's going to do is it's going to actually look deeper into the actual connection itself. It's not just going to stop at the layer three, layer four level of inspection. It's actually going to look a little bit further to determine what the actual application is itself. As I mentioned, App ID, its purpose is to detect applications, not exploits. And really it's been around for quite a while. I mean, it's been used in, in traditional IPS products so that they could do port agnostic detection. So you could, you know, have HTTP running over port, you know, you know, 493 or any port and it would still be able to apply the detection. Basically the protocol decoders and the parts could still be applied regardless of what port it was on. So, and this technology was also, has been used for like URL filtering and network AV products as well. So it's not anything that's new, but it's something that's been extended in, and put into a kind of a new application. So in terms of how App ID does pattern matching, there's a, you know, there's different algorithms and we're not gonna go into those in much detail. A lot of it is really the same types of apparent matching techniques that have been used in traditional IPS products. And also, as I mentioned, you know, different layer seven service products like URL filtering and AV. Basically, what typically has to happen is, first, the firewall is going to permit or deny the traffic. There's some pre-processing, which we're gonna go into in more detail. And then we actually do the pattern matching. There's different string matching algorithms like Boyer-Moore, Ajo-Koracic, and Ribbon-Karp. There's DFA-based state machine matching. And then, of course, there's also hardware, which is being leveraged more and more to actually do the pattern matching. Now there's one thing that I wanted to call out when it comes to the actual application matching is, is kind of an interesting thing. It's a new topic, which is nested application detection. Because if you think about it, nowadays HGEP is almost like the new TCP in a way. Most applications that are being developed are being developed on web interfaces. And there's several reasons for that, of course. I mean, you guys know most clients have web browsers. The server technology is freely available and is very mature, works great. There's lots of toolkits and underlying technologies especially with things like JavaScript and all the HTML5 and everything to really give the applications more color. So they've been developing more and more applications on top of HGEP. And HGEP is just an example of what a nested application could be. So if we just stopped at that real application level at layer seven, we said this is HGEP, we wouldn't know what the actual, you know, we'd be pretty limited. Because obviously there's different applications like YouTube or Pandora that folks might not want, versus, Outlook or, you know, Google Docs or something like that. So keep in mind that there's also the concept of taking it to another level with nested applications. Now I just wanted to show what an example of an App ID signature may be. Basically these are pretty similar to IPS signatures, as I mentioned. We have both a layer seven application and also a nested application. So looking on the left side, basically we're looking for a DFA pattern, and we're doing so in both directions in this specific implementation. That's really actually quite important, as you'll see later, if you only look in one direction, which I've seen vendors do, different implementations do, typically for performance, you're basically, there's a good chance that you could be pretty easily evaded, and I'll go into some more details on what that could look like. So basically we're looking for specific patterns in the client to server direction and the server to client direction. In the case of the layer seven, basically we've already identified what the parent application, in most cases it's HTTP, it could be other applications as well. And then we identify, we're looking for more information once we've actually identified the parent protocol. So we're looking, in this case we're looking for Facebook, we're checking the header host information and the URL, in this case, to be able to identify that this is Facebook running on top of HTTP rather than, you know, something else. Now what's really critical to understand, in addition to just the underlying technology itself, is that App ID is being used to feed a lot of different technologies that are being integrated into these firewalls. So, for instance, the information that's gleaned from App ID can be used for application firewalling, which is kind of the core thing here, whether we permit or deny the applications. It can be leveraged by the IPS engine for, you know, if it's, you know, for detecting what application is being used or what application is running, so it knows what type of inspection to do. Antivirus, URL filtering, different applications, QOS, there's a lot of things that are relying on the information being gleaned from the App ID engine to be able to make effective decisions. And because of that, that also means that if you can potentially trick the App ID engine, then you can potentially bypass these other Layer 7 services as well. One relatively new technique in application caching, and we'll talk a little bit more about some of the limitations of it, basically doing App ID is expensive, or at least it's a lot more expensive than doing just your traditional Layer 3, Layer 4 forwarding, stateful firewall. Not as expensive as IPS, but typically, you know, you still are going to have to do a lot of preprocessing, and then you have to do the pattern matching. And in the case of good applications, you know, what's going to happen is typically if you go to a web server on, you know, TCP port 80, it shouldn't be changing applications at any time. It should be HTTP every time. That really shouldn't be changing. So sometimes application caching is turned on. It's not that it's a bad thing, but it's an important thing to understand the limitations, because basically if you're doing application caching, it's something that a, you know, a malicious attacker could potentially leverage. And while I was writing the presentation, I was watching Alien, so I was really hyped up. So I put some Aliens quotes in there. So let's talk about the preprocessing. You know, we've already discussed kind of a high level of what the actual application identification is. It's doing the pattern matching. But before we can actually do any pattern matching, there's quite a bit of preprocessing that has to be done. And this is a, you know, if you guys are doing any kind of evaluations or you're checking out this technology, this is a really, really important point to think about. I'm not going to name names, but, you know, especially in some older routing code where they were doing pattern matching, they were doing no preprocessing. So, you know, if you just fragmented the traffic or, you know, used TCP segments or any kind of evasion, it wouldn't detect the application because it was just doing a simple, dumb pattern match on the actual application traffic. So it was just looking for HTTP. And here's an example. You know, basically if, you know, just in the case of fragmentation, if you were looking for, let's say, Git and HTTP as the pattern for the application, if it was just in a single packet, that could be fine. But basically if you did, you know, any kind of fragmentation, if it was looking for that pattern of Git, you know, the HTTP and the Git in an individual packet and it didn't reassemble it, then you'd be able to pass this right through. The hosts on either side obviously will handle the fragmentation just fine, and they'll reassemble it, and you can potentially get the traffic through. So just basically you have to do all the same things that a host is going to do to ensure the, you know, the fidelity of the traffic. Any kind of reassembly is going to be quite important. Ordering is actually going to be another thing as well because kind of for the same issues with the case of fragmentation. Naturally, packets can get out of work in order. That's, you know, well known. And also an attacker could try to use this to their benefit as well. So if you don't match the packets in order and you don't reassemble, then you can potentially get stuff by as well. So again, this is kind of why doing the actual app ID is more expensive than doing just simple firewalling because there's a lot more that has to go in it, more memory required to hold onto the packets and the stream for the entire window, et cetera. And of course, you know, doing the proper reassembly is also critical. All the same evasions that we've seen for IPSs with TCP segment overlaps and underlaps and fragmentation, it all, you know, all has to do with the same stuff. So when it comes to application firewalling. So in this example here, if you were to send two, you know, segment threes and one was HTTP, one was SIP, how is the app ID engine going to know which one, you know, if you want to, you know, to allow HTTP but deny everything else, you know, potentially you could get SIP through by also just kind of piggybacking that packet at the same time if the pre-processing wasn't being done properly. And of course, our friend the Ghostbusters, they got it right, too. Can't cross the stream, so. So what we're going to actually do is we're going to dig into some examples now and look at this as a practical real-world application. So one thing that I didn't really emphasize yet, but that's really important to, well, I guess I subtly implied it, but it's really important, is unlike firewalls, which know exactly what decision to make on that very first packet, right? They know if it's going to be denied or permitted. Network application firewall may not. I mean, obviously you can still have the same layer three, layer four stateful inspection and it can do, you know, basically you can make decisions at the layer three, layer four level, but if that traffic is permitted, and let's say you want to allow HTTP through, but you want to block SMTP or something else, you won't know until at least, I mean, really, it's not even the third packet, it's actually beyond that, what this application is. So the important thing to take away is that you do have to let some traffic through, because otherwise the network application firewall is just, it's not going to know, certainly not on the first packet. And so looking at the flow table here, in this next-gen firewall, basically what we can see here is that the application is unknown, which is zero. You'll see it'll make more sense in the future. But we've already sent three packets that have gone back and forth. Then, of course, once we send, you know, the actual application traffic, then that's when we can identify what this application is. In this case, it's just web browsing. But as I pointed to earlier, network application firewalls aren't going to do anything. Network application firewalling isn't going to do anything to protect you against any kind of Layer 7 exploits. So in this case, just throwing a nice old vulnerability to execute, you know, command.exe on an IIS server went through just fine, because, of course, it identified it as a proper network application, which is web browsing, but it was a malicious threat. And, of course, the network application isn't looking for that. It's just trying to identify what application it is. So let's kind of go into a little bit more detail here and discuss some of the specific threats and things that I've tested. And the first one is kind of the fact that network application firewalls in and of themselves are only typically looking at a few hundred to a few thousand bytes in either direction. So it's not going to be inspecting the whole flow. At least none of the ones that I've seen actually will inspect the entire flow. They're just going to inspect a small portion. And, of course, the reason for that is because performance and, you know, typically an application ought not to change, but as an attacker, you could potentially do that. Now, what's the likelihood of client and server collusion? Actually, it's a lot higher than you might think, just kind of offhand, because we'll kind of... Just a few examples, right? Obviously, there's a lot of new applications that are trying to be evasive, take, like, peer-to-peer. The client and the server can collude. They're speaking the same protocol. They, you know, can coordinate the message. Obviously, if you are a client and there's a server that you don't control out there, then, you know, you can't just talk HTTP to, you know, say, FTP or something like that. That won't work. But if the client and the server are going to be speaking the same application protocol, then that's perfectly fine. And I really expect to see a lot more of this with both applications and also with malware. Because this malware, you know, understands really what's going... You know, the creators of malware understand what's going on with these types of filtering. They'll start to leverage the same type of collusion. Start the application connection as something and switch it over. So in this example, I just wrote a really simple program to do it, but you can use, like, Skapy or write your own little script. I started the actual application as HTTP, and I just flipped it mid, you know, mid-stream to start talking FTP... I'm sorry, SMTP after the initial identification had occurred. And of course, because we're only looking in network application firewalls, we're typically only looking at a few hundred to a few thousand bytes. Once you're past that threshold, then, you know, you're home free. If there isn't another mechanism to restrict that, and we'll kind of discuss that shortly. Now, in this particular... This vendor had this vulnerability before, and they actually fixed it. But basically, they were only looking at the time at one direction of the traffic. So basically, and it was the client to the server. And that presents issues for a few different reasons. I mean, first off, accuracy issues, because, you know, a lot of times, you need to look at the server-to-client response to be able to make a good guess. I mean, you know, FTP and SMTP actually look really, really similar, as it turns out. And if you're not looking at both directions, it can be very hard to tell the difference, especially if they've, you know... Especially depending on, you know, the implementation, the different SMTP and FTP servers. So actually, checking for both bidirectional inspection is gonna be really important. In this example, what I did was I just sent, you know, a git request to an FTP server. And not all applications, remember, will actually... Let's say you only were looking at the client-to-server. FTP, SMTP, other applications as well may not close down that connection, right? So if you sent a git, you know, the FTP server's gonna say, I don't know, that's, you know, bad message. But if all the network application firewall did was look at that client-to-server direction, then it would say, oh, well, it's HTTP, but really it could be something else. And then they could just do an FTP file transfer right after, you know, without any issues. So of course, if you're not looking at things bidirectionally, that can create an issue for you. Also, what happens if you reverse the direction. Again, this is more of an evasion, right? And not something that a normal application would do, but something that I did have some luck on some different network application firewall implementations where basically I sent the same application, but I reversed the client-to-server and the server-to-client to kind of see are they matching, are they looking in both directions? And more specifically, not only are they looking in both directions, but are they specifically looking for the patterns that should be in the client-to-server direction, in the client-to-server direction, or are they just saying, hey, match any of these and look in both directions? Again, that's something that I saw, especially on some earlier routing code. It really didn't, they really weren't checking the directions properly. They were just looking in one direction or the other, but the patterns weren't differentiated. In some cases, you know, certainly noticed some port-based detection. So basically, you could send the exact same pattern over a different port, and it would be, you know, it would be not detected. In this case, I sent DNS over, what port was it? Over port 80 or something, and, you know, versus port 53. It was the exact same traffic, but it was detected as being unknown. Now, this isn't necessarily a vulnerability, because in some cases, as I mentioned, this is done a little bit more for accuracy. Like DNS is probably an extreme example, because you really want to know if you're looking for DNS on port 53. You ought never to see it on any port besides 53 or 53, 53. But it certainly is possible, and, you know, if you're evaluating or you're looking at this technology, making sure that it isn't just doing the inspection based upon the port can be very important, because what could potentially be happening is, yeah, they're looking for DNS on port 53, but that may be the only place that they're looking for it, and if you're, you know, allowing something else out, it could be an issue. And, of course, you know, one other thing to mention, you know, in the case of, like, you know, DNS tunneling, you know, something that, you know, our friend Dan Kaminski has covered in great detail, as have others, of course, that would just be detected as DNS in the case of simple network application firewall, because that's what it is. It wouldn't necessarily say, hey, there's, like, 10 gigs of traffic being transmitted over here, you know, it might be something kind of weird. It's just going to be DNS, and it'll be perfectly happy with that. So I mentioned about application caching, and it's, again, it's not that application caching is a bad thing at all, and depending on how you're deploying this, it could be perfectly legitimate. Like, if you're deploying this in front of a data center that you control to, like, you know, accept inbound connections, typically, if you're controlling the actual servers, then it shouldn't be a big deal. Doing application caching can be used for performance, and also in some other uses of the actual app ID information, let's say, like, application routing. So making routing decisions, let's say, to, like, send the traffic through a proxy or something like that, that would really need to use caching because you wouldn't be able to know, again, ahead of time what it's going to be, unless if you've already seen the traffic. So stuff like application routing and QoS and stuff like that could really, you know, leverage the application caching, but there is a limitation and potential vulnerability. So in this example, what I've done is I just configured the firewall to look for, you know, SMTP on any port and drop it, no matter what, and allow everything else. So just kind of, you know, testing, you know, smoke test here, I just send SMTP, and it gets detected properly. This is looking at the logging message. We see that it's SMTP, we drop it, exactly what we'd expect. And what happens, or what we're going to do now is we're going to actually poison the cache to be able to insert the application in the cache table and see what happens. So in this case, I just sent a bunch of, you know, HTTP messages that I just, you know, used. Again, this is just a simple program I whipped up, but you could use WGIT or really anything, as long as, you know, the client and the server can properly collude. So basically, I just sent a bunch of HTTP messages, and you can see that it puts an entry in the application cache. Protocol 6 is obviously TCP, port 80, and it cached it as application ID 109, which stands for, you know, web browsing, in this case, HTTP. And so now, whereas before I couldn't send my SMTP traffic through, I can. It worked just fine. And the reason why is because it identified that traffic, you know, on port 80, TCP port 80 on the server, which is 192.168.2.13. Anything that goes over there until this cached entry time's out is going to be considered HTTP, even though it isn't. And we can see here now that we're getting cache hits every time that we... So the count is the threshold of how many they need to see before they actually put an entry in the app cache. The hits is how many that we're getting now, which is saying, yes, this is a cache hit. It matches, but in reality, we're sending SMTP, not HTTP. And that's exactly what the logs say, that this is all web browsing, when in fact it's not. Now, obviously, there's security implications for that, but the other thing as well to think about is a lot of folks are using this for logging and reporting and trying to understand volumes of traffic and metrics. So even if something malicious wasn't going on here, you might potentially, you know, get these reports that the information is completely inaccurate because it hasn't, you know, properly... It's not matching the real application. So sometimes it can be more than just a security thing as well. Now, caching of nest applications is something that I've been actually quite interested in, and it's really kind of a bad idea if you think about it because, first off, a lot of servers take, like, a web server doing virtual hosts, unless if the actual application ID engine is smart enough to look and understand, you know, what host it's going to, then if you cached, you know, potentially, like, a Google video there could be another, you know, Google Plus potentially hosted on the exact same server. And that could be both something done maliciously or it could be something, you know, perfectly legitimately done. It's very common. And basically if you cache nested applications and you have to go back and check for the actual caches, you're already doing most of the work anyway. So there's really no point in most cases of doing the nested application caching because it kind of can, you know, just really limit you on your detection. A really interesting thing has come up, which we've noticed, and, you know, different implementations are going to handle this differently, but it's called conflict resolution. And this is something that an attacker might be able to do. But what happens if you have an application that looks, you know, that matches more than one application, right? So it could potentially match, like, you know, SMTP and FTP are very similar. They could potentially match each other's. How do you resolve conflicts in the actual application detection? And that could be used, potentially, to an attacker's benefit. And it'll really just vary by implementation. A lot will just do port, you know, they'll kind of fall back on the port and say, hey, if it, you know, if we detected this pattern and we expect this, you know, there's kind of like a default port that we'd say, okay, well, this is just, this must be HTTP. Some will just list it as an unknown application or others will, you know, could, you know, might just pick one of the two in order of precedence, in order of the likelihood. So conflict resolution is potentially something that could be leveraged to, you know, for both good and bad. Now, I've also been doing, like, a little bit of research, and this is something that I just kind of crammed in here this week, so sorry if the slide's a little bit busy. But application layer gateways, if you guys aren't familiar, these are something that have been around in firewalls for a long time. And basically what they're used to do is to, they actually do have to, they look at layer seven, take FTP in this example, looking at the control channel to see what port is gonna be dynamically negotiated for the data channel. And the really interesting thing about application layer gateways and how they could potentially interact is that how do you classify the data channel, right? In the case of FTP, it can just be a binary stream. So if you actually, I did a test, and I sent just a PCAP, right? And, you know, and it actually detected the data channel as HTTP, because obviously it hadn't coordinated that, because being a PCAP, I mean, obviously, there's the per-packet headers, but if it's just doing some blind pattern matching, then it's just gonna identify that as, you know, as HTTP just fine without actually thinking that, hey, this could be a PCAP. So application layer gateways, especially when it comes to the auxiliary channel, the data channel, can have interesting impacts on the actual flow of traffic and application identification. What I've noticed is some do a good job and they will actually, you know, have the intelligence to mark the session, the auxiliary session, as being part of the parent session, but some may not. It's kind of, you know, your mileage may vary. So if you're, you know, if you're doing, you know, some sort of testing or something, you might want to look at that to kind of see. And like I said, the easy way to do that is really just to, you know, send a PCAP as the auxiliary traffic and see what happens if it picks it up as, say, HTTP or something else in the PCAP or if it's actually smart enough to identify it by the application that it really is. So what do we do about applications that we don't know? And this is probably one of my favorite things when it came to checking out this vendor is, you know, what happens if you don't know an application? And this will happen all the time, right? And it's not just that you can always block unknown applications. It's kind of like, you know, protocol anomalies in IPS. You know, a lot of applications are written very poor, so it could be just that, you know, it's not following the RFCs or the standards of the applications. Applications change all the time. You have new versions, and, you know, so it's not really uncommon. And also, you may just not have an actual application signature or detection for that application, so it could be unknown. So what I did here was just kind of walk you through what I noticed this particular vendor was doing. And so, basically, I just sent some unknown traffic. You know, here's just looking. I haven't sent anything Layer 7 yet. I just opened the session TCP. And we can actually look at the... I dug into the actual session ID itself. We can see that application is unknown. It's undecided. And Layer 7 processing is still being done as far as it's concerned. I just sent a few packets back and forth. So now... Now I'm gonna send some actually... I'm gonna send just a bunch of garbage. And I think I showed it in the next slide. But just sending garbage through, right? So it's not gonna know what this actual application is. And what I noticed was a very interesting thing. You know, marked it as unknown TCP, but I noticed that it said Layer 7 processing was completed. And so that means, you know, no IPS, no AV, no URL filtering, nothing at Layer 7. But it got even better than that. Not only were they not looking at anything from Layer 7, they actually pushed the traffic down into the ASIC, into the...you know, so out of the processor that's actually doing the security processing, just down into the MPU, or network processing unit. So they weren't even inspecting this at all. And I did that simply by just sending some garbage traffic. And then, of course, in that session, I was not only able to do that, but I could then send exploits through. Now, of course, if you send garbage application traffic, it's gonna...you know, your mileage is gonna vary, right? Because, you know, some applications may just close down the connection, while others, like FTP, SMTP, you know, might just say, hey, I don't know what that is. And then, you know, you might be able to push an exploit through. But this could also be used not only for actual exploits, but it could be used simply to try to evade the application...network application firewall and try to, you know, push traffic through, potentially, you know, do backdoor communication, command and control, et cetera. So there's a lot of things that you could potentially leverage with a vulnerability like this. And as I mentioned, all the different systems seem to be implementing this behavior differently, but it's a great one to look at. So the really interesting thing that, you know, looking forward and also looking in the past and what's happened is that applications... you know, you have honest applications, right? But other applications are trying to do things to remain undetected. Now, maybe that's something like Tor or BitTor, and so on. Or, you know, there could be perfectly good uses for this, so it's not a bad thing. But in terms of what I'm seeing is that more applications are going to get a lot... they're going to go to greater lengths to remain undetected. Encryption can be one mechanism to do this. Now, it's pretty easy, as it turns out, to detect encrypted applications because you can just measure the randomness of the bytes. So it's called the data entropy. You can measure that, and anything that's encrypted or compressed should be highly random. But anything that isn't, you know, ought not to be encrypted, at least with anything... any kind of standard encryption or compression protocols. And for that reason, I also expect that we're going to see more leveraging of, like, steganography because that's kind of the ultimate... especially if you leverage steganography and encryption, it's kind of like the ultimate way to really hide messages because you're hiding stuff in plain sight. It works in prisons. It's worked...you know, it's been around for, you know, thousands of years. So it's not anything that's particularly new, but it's a really strong method. And, of course, tunneling applications within other applications as well can be a method to obfuscate the traffic. It might be a legitimate use, like GRE tunneling or SSL, or it may be something a little bit more nefarious. And I mentioned just a moment ago the ability to do application ID without specifically pattern matching. Pattern matching is good for matching, you know, easy applications and, we'll just say, you know, honest applications. But in order to match some of the more dynamic and complicated applications, you can't just leverage pattern matching for the exact same reason as with IPS. You can't just only leverage pattern matching because sometimes it won't, you know, the pattern could actually change dynamically within every connection, and it won't be something that remains consistent. So in the case of BitTorrent, there's different ways of doing that. I've actually seen some really cool things where they'll actually look at the messages, the distributed hash tables, and try to look at the super node information that gets pulled down, because once the host can start communicating encrypted, it's easy to identify that this application is encrypted, but it's hard to say, hey, this is BitTorrent versus, you know, something else, you know, which may be perfectly legitimate. So doing application ID pattern matching I'm sorry, app ID without pattern matching is something that we're definitely seeing a little bit more, and that's kind of in response, as I mentioned, to these applications getting more and more complex and more evasive in nature. So really, what does application firewalling change? And again, it's not that application firewalling is bad. It certainly is a step better than stateful firewalling, but it's still a subset of IPS. So you can't judge if you're really concerned about security. If you're only deploying a firewall before, you know, that would be an issue. But, you know, and this can advance that to essentially keep honest applications honest, right? It's just like, you know, the locks on your door. We all know that, you know, to a normal person, they wouldn't be able to pick them, but, you know, as we see right down the hall, there's a lot of people who have excelled at it. And it's really the same thing with applications. And even if you look at BitTorrent or Skype, those are examples of applications that people are using, and they don't have any idea about how it's functioning under the hood. So it's not like you have to be, you know, a crafted and a very skilled attacker to be able to leverage these types of evasions. You could just be using an application that has been, you know, written, even one that's very public and, you know, and widely used. You could be using an application that really leverages these evasive behaviors and maybe not really know about it. Application firewalling, you know, it is kind of a lightweight implementation of IPS in a way. It's basically doing the application identification, but we're not doing any of the actual exploit detection. So you still need to use full IPS if you're going to deploy this and you care about, you know, not being hacked or at least putting up, you know, more defense in depth and more controls, you know, to protect yourself. And really, a lot of the different network application firewalls are kind of, you know, again, as I've noticed, they really vary in nature. It's kind of a, it's not a technology that has matured like, you know, stateful firewalling or, you know, antivirus is relatively mature. It still has limitations, but, you know, it's something that folks have, you know, spent a lot of time on. This is a relatively new technology and the behaviors are kind of not very well defined. It's going to vary on implementation by implementation. I already covered this, but really, I expect more applications, you know, they're going to be optimizing themselves, like take Speedy, for instance, and I know there's been a few talks on that here at Black Hat, which is Google's new HEP application. You know, it can leverage both SSL and built-in compression and does things a lot more intelligently. You know, I expect to see that applications are going to start leveraging steganography and other mechanisms to really make themselves more evasive. And that will be really tough to block. I mean, if you think about it, we'll have to really be leveraging heuristics, you know, especially if folks do a good job. And it's not only applications. I expect this to happen with malware as well, that, you know, with botnets, they're going to start phoning home and they probably already do a lot of this to some degree. So really, you know, what to take away and, you know, what do you still need to do? Because, again, just from the media marketing perspective, application firewalls have been really kind of marketed as kind of a, you know, panacea. And it's not that they're bad, but they still need to be used and they still need to complement, they need to be used in concert with a lot of the traditional technologies that you're already deploying. You can't just, you don't want to open up your firewall and, you know, just start blocking on application ports. You still want to do all the stateful firewalling. You still want to, you know, be deploying full IPS, you know, and looking for those exploits because the network application firewall in and of itself isn't going to do that. There's certain things that may or may not be turned on and you have to look at your individual deployment, whether it makes sense to do things like caching and really examining what the default behaviors and default settings are. And, you know, again, just kind of following a lot of the same best practices that you've already grown accustomed to. You know, don't let this new technology kind of lower your guard because you think that it's going to be doing more, more than it's actually capable of doing. So that's really it. I'm going to be in the track one QA room. And, again, my name is Brad Woodberg. I really appreciate it. Thanks, everyone, for coming out. Stepcom's been awesome.