I'm going to be talking about the anatomy of denial of service and distributed denial of service testing that I was able to do as part of a contract associated with a large ISP in the western area. I won't mention their name. Okay, this is not an advertisement, this is not an endorsement, and this is not a claim that I know how to program anything that's remotely related to denial of service or to distributed denial of service products. As we get into it, you'll see how we got our hands on the actual tools that we used, but I'm not a programmer. Some of you may have programmed the ones we used, we shall see. Why did we test? Methodology we used, the challenges and lessons learned, and the findings associated with those. Why? We needed a product to protect our infrastructure. The data and business continuity. Another reason it was the testing occurred was because they had just gotten beaten up by several denial of service attacks recently, so they decided to finally think about something to do about that. Part of what we need to do is evaluate emerging technologies. There's traditional protection of denial of service is limited, so we had to look at what new we're going to be out there and we'll hit what those are so this is ultimately going to end up being a review of the products that we tested the other reason why the problem is getting worse there's quite a few tools that people can get their hands on very easily once they learn how to acquire zombies and start distributing the tools they can quickly bring down sites what either websites or just deny service across networks okay nice pictures again problem is getting worse let's see denial of service 39% of the people polled had detected or determined they had denial of service attacks the system availability or system unavailability is the fourth largest area of concern that this particular survey had identified and the second most important project was the security and availability of websites again availability being the opposite of denial of service what were we looking for we had to find solutions that we're going to work in the infrastructure something that's going to be able to work within gigabyte solutions both gig E and multi mode files We also ultimately needed to find solutions that were going to scale to the OC48 to OC192 levels. They're not there yet, but again, hoping they will scale. We also needed something that would ultimately work toward protecting the customer. Again, looking at the gigabit levels, fiber and gig E. 10100, which is the most common customer side at this particular ISP, and then eventually being able to roll out to OC48 and OC192 levels. Here's a list of the products we tested. I got permission from most of them to talk about them, so we should be in good shape. On the passive tap solution side, let me explain that for just a quick second. We looked at two sides. One would be something that was in line that can hopefully implement a protection against denial of service as soon as it's detected. The other was something that we called passive tap, for lack of better names, which was supposed to be hidden on the network with no network side IP addresses that would be detecting receiving information. Within that area, the passive tap solutions, we had Arbor Networks, Reactive Networks, Mazoon Networks, and Asta Networks. The inline solution side, we did Captus Networks and Mazoon Networks. They actually had two products. One of them was the Asta Networks. I did want to point out that each of these vendors was extremely supportive throughout the testing process. Of course, they want to sell product, but they're also utilizing these head-to-head tests as development for their products. They get lots of feedback. They get information that's useful to them to help develop their products. The methodology we used. Basically, there's just a few things you can do for denial of service prevention today. Reverse path filtering is one item. Ingress filtering, egress filtering. Stopping directed broadcast data. Basically, unplugging your computer, unplugging your network, and going back to pen and paper. I tried that. I can't find any pen or paper. We're going to have to wait. We're going to have to look at something different. We needed to imitate a customer hosting center. This involves setting up a network lab, which we'll see a diagram here shortly, that would basically have similar equipment that would be in the hosting center. We needed to run real-world tests, products that are easily available out there. We found the different tools from that aspect. We needed to test both the network functionality side of the products and also the management side of the products. We needed to find solutions that are going to work farther upstream in the network, not all the way down to the customer, but preferably up closer to where the data is coming into the ISP itself to help stop some of the stuff where it can still be controlled, where the bandwidth is a little bit higher. This is a basic snapshot of what our test environment looked like. Where it says attack network, which I guess for you is on this side, there were several attack boxes that were set up that had the various tools that we needed to do the denial of service attacks. On the far side, the victim network side, we had three to four victim computers that ultimately were used. They were the targets that we were using. We had a combination of Cisco and Juniper products in that, which was fairly common for the ISP itself, and also a combination of GSRs on the Cisco side where we had the multi-mode fiber, as well as 10100 Ethernet connectivity. Let's see. The two Cisco 6500s, which were 6509s, on either side of a large GSR, were actually used for port mirroring. We were trying to test multiple products at one time, and to do that we had to have port mirroring to get the data flowing through. On the passive tap testing side, we had no network side IP addresses. That was the desire. That was not always the case, depending on the product. Data mirroring. All they were getting was the pass-through data. It was not two-way stateful communication. The desire was that these products not be a single point of failure in the network. If you have an inline device, certainly without high availability, you have the issue of it becoming a single point of failure in the network. They also looked at the products because they offered multiple levels of providing protection. In this case, all of them were basically recommending ACLs back to the routers themselves as to what kind of traffic, what IP addresses, what IP ranges they were going to block. They were automatic, semi-automatic, or just basically a flag or an alarm to let you know that there was an issue. Yes? I'm sorry, I can't hear you. I still can't hear you. You're saying GSRs do not do ACLs? We weren't trying to do ACLs on that particular box. We were looking at basically the ingress side and the egress side, not the center. Thank you. We were ultimately looking at ACLs in the Junipers and the 6500s, which is where they would end up. Okay, the configuration for the reactive network solutions. The reactive solution had two boxes associated with their solution, the detector and the actuator. The detector set farther downstream, closer to the customer. It did data profiling, traffic profiling, alarms. It communicates with multiple actuators, which would be farther up in the stream. And together, and this is where their smoke and mirrors magic works out, together, they work together to provide the recommendation for the filter that would be implemented. In this particular case, the actuator had to have a connection, an SNMP connection into the network in order to help track the data and the data. And also, that's how it would implement the filter into the network itself. Mazoo, they had a single box called the inspector. They basically, trying to think how to say this, they basically took inline and pushed it out passive. It was a unique solution. They had basically, it wasn't duplex communication over a fiber line. It was only the inside was coming into their box. They, in this particular release, and of course things change over time, but in this particular release, they only recommended the filter. They did not do any actual implementation of the filters into the routers themselves. They just created the alarm and told you what they recommended putting in. You had to physically put that in. They did have a real nice traffic profiling mechanism in their product that we actually used quite a bit during the testing for all the products because it gave us a good idea of the breakout of UDP, ICMP, and TCP traffic that was occurring. Okay, Asta Networks, they were composed of two boxes. One was purely a management box that took input from all the collectors. We only had one to test, but you can have multiple collectors in your network. This one worked off of NetFlow and CflowD. It got its information from there instead of direct traffic feeding. We had to go through and set up NetFlow and CflowD. NetFlow being on the Cisco side, CflowD being on the Juniper side. That worked in some cases. Some cases did not work in others. Depending on the versions of Cisco products, Juniper products you have, it's going to be resource intensive potentially to implement NetFlow and CflowD. If you have the latest and greatest, those do it a whole lot better. Arbor Networks, they actually gave us five boxes for our test. That worked out really well. They had a combination of both packet analysis as well as NetFlow and CflowD analysis. That gave us a larger picture. Of course, they had a controller involved with theirs as a management device, all intercommunicating between each other, providing each box data as to the value or as to what is actually going on in the network. When you exceeded certain thresholds or when you went out of bounds of what it knew as normal traffic, then it alarmed you, made recommendations. You could either automatically implement them or you could manually implement them in the process. On the inline testing side, obviously inline, boxes are placed in the data stream itself. With that being the case, there's always the concern about single point of failure. At least the Captus product had a high availability solution. The Mazu product was probably not quite as mature at that time and did not have a high availability solution available. The general idea of the inline product is it's going to be quick. It's going to be quicker in response. It's going to recognize it. If you have it set up right, it's going to be able to push out the protection against denial of service immediately. In this case, you had to have the interfaces visible on the network. They had to have IP addresses. That alone made it a little bit of a vulnerability in there. For the particular case of the ISP I was working with, they were very much against an inline solution because they did not want to lose control. They did not like the ability of the product to automatically implement something into the network. They wanted to have manual review before something was implemented. It would take quite a bit of time for them to get comfortable with a product before they would ever let something like that be implemented. I saw a couple of heads shaking. That's probably the case in a lot of places. If you think about it, firewalls are inline solutions. IDSs can be inline solutions. You may already have that issue of availability. The inline solution side, the MAZOO box was placed after the GSR but before the Cisco 6509, before the victim network. That was where they recommended we put it since we were doing the testing. We said, okay, we'll put it there. Again, this box did the decent traffic profiling that I mentioned for the other MAZOO in the passive testing. It gave some good representation of the data. Then it all came down to how the box performed in the testing itself. In CAPTIS, CAPTIS was designed to be like a firewall. As a matter of fact, CAPTIS is an integrated firewall DDoS mitigation solution. They do a lot of their initial filtering with the firewall portion of it before they implement the actual DDoS protection. The thing we found about the CAPTIS is it's very programmable once you learn their code. It has a lot of flexibility because it actually has no GUI. It's all command line and it brings it up. You can define quite a bit of information as to what you want to watch for, what you want to do with it when you find it, etc. Some of the tests that we run, first thing we had to do was come up with some baseline traffic. We had to have something to simulate something. We had to have something to simulate a baseline network that we were working with. A lot of these products require quote-unquote burn-in time of data so that they baseline their traffic so they understand what normal traffic is so that when you go out of the bounds of that normal traffic, you get an alarm or you get something that says, hey, something's not normal. You need to look into it. We had to actually burn in like 72 hours of generated traffic and keep that running throughout the entire test. Then we implemented the attack system based on the attacks that we did. We did a combination of several attacks and we'll hit the tools we used here in just a second. TCP sends, TCP acts, floods, fragmented packets, IGMP floods, spoofed and we did this in a spoofed and unspoofed manner. Just trying to see how the products are going to react. And we also did it on both the regular network side and the management side. Sometimes they forget about the management side. Some of the lessons learned. On the network side, when you're creating your baseline traffic, you've got to make sure that it's got the full communication, three-way handshake, because the products don't like it if they don't see all three of them. It took us a little while to figure this out. Yeah, it seems like a no-brainer now, but at the time we thought we were in good shape. But anyways, I wonder what in the heck that is. And the other thing about the network, if you're in a lab environment, and don't do this at home, do it in a lab. If you're in a lab environment, if you can control the lab, you're going to be in a lot better shape. It took us six weeks to build the lab because we didn't have control of the lab resources. And that's a long time to build a test network. But in the meantime, we learned a lot about it. So the education process was pretty cool. Okay, what happens if you have bad routes and you run a denial of service attack? You kill yourself. And we just, as they were trying to upload the stuff from the war driving contest just out here a little bit ago, they had some route issues. Actually, somebody was, they thought they had two default routes. It looked like they had two default routes. So you, any time you have route issues, you run the potential of running a denial of service attack against yourself or bringing down the entire lab network. We did that. The lab we were using was, part of it was ours to use, obviously, but part of it was also other ongoing lab tests. And so the other people weren't quite happy about that. But we did prove that the tools we were using worked and they worked very well. Part of what these products also desire, require is a separate management network. As part of that, make sure that you have the right separation on your management network within your routes versus your actual live network for the same reason. You're going to bring down your lab. Okay, our attack network, we did our best to scrounge as much equipment as we could. I did need to mention this testing, other than my services as a consultant, was done with no other costs. We couldn't go out and buy equipment. With the exception, we did have to buy some gig fiber cards. So they gave us $1,000 total to conduct this testing. But at any rate, we used Linux 6.2 and Linux 7.2 boxes, running an open BSD box and a Solaris box, so the four attack boxes we were able to acquire throughout the process. And this had a mix of 10100 and gig interfaces on it. We wanted to use the gig interfaces to get the traffic levels as high as we possibly could. We wanted to exceed what the normal traffic levels on the normal network would see. Otherwise, you don't really have a good test. You don't see what the products can take in the testing process. Some of the tools utilized. One of the vendors had a testing box, a box that had all kinds of attacks on it. We originally were not planning to use that because we didn't want any preferential treatment toward a particular vendor. But we found the box to be very useful. And so we did use that quite a bit. And it gave us things that we didn't have easily available otherwise, like IGMP attacks, as well as some others. Open source, we used Stream and LightStorm and Fscript and RC8 and Slice3. We particularly found some of them very useful. Stream, let's see. That was one of them that brought down the entire lab network. Fragment and packets, which we were able to use out of the traffic generator from Arbor. That brought down two of the four management interfaces. So we found some tools that we liked that really gave us a decent test of the product. The victim networks we tried to set up with some monitoring tools. We did try to set up La Brea on four different victim boxes. We couldn't quite get it right. So we never did quite use it. But we did use Snort and a couple other tools that we had in our tool bag to see what was going on on the victim computers. And then we did quite a few manual checks while the testing was going on. Simple pings just to make sure we were still talking across the network. Just running it straight forward. And also CPU utilization statistics going to the top on the systems and seeing what was running. The victim network was composed primarily of Linux 6.2 and Linux 7.2 computers. We talked just briefly about NetFlow and CflowD. When you're setting that up, the sample rates you're using have to match inside the products and inside the routers that you're getting that information from. We found also that the Cisco 6509s do not create usable NetFlow data for the purposes of the products. We did get decent NetFlow data out of the GSR and the Junipers did quite well as well. And the Junipers actually were more consistent and more useful data. This is not a sales pitch. Let's see. Now the flow sample gave us several different things. One was traffic characterization in a sample format. The products themselves use that data to determine what the traffic patterns are and what the changes in the traffic patterns are. Flow sampling can also be used for things like customer billing. Again, for the same reason where you're getting the traffic patterns utilization and it can be broken down by IP or IP ranges. And certainly, it can be used for DOS and DDRS detection. SNMP is used by the products themselves to communicate with the routers. You had to have a connection available for those that were going to try to implement automatic routes into the automatic ACLs into the routers themselves. We had a couple of situations where they didn't tell us we needed this and we couldn't get the products to work and they finally told us, oh, what about the SNMP connection? The other thing, we were conducting SNMP testing. I wasn't particularly, but the group we were working with, the lab, simultaneously with this, with the same routers. So we had some situations where we had to stop our testing because the SNMP test had brought the systems down, basically running. And the warning about SNMP public had come out about that same time. So we were running testing about the same time. So certainly, if you're setting up your community streams, don't set them up as public. You're not supposed to do that. What do the vendors do well? They monitor the baseline traffic pretty well. They detected changes in the traffic patterns pretty well. Some of the products you just had set up a, you know, a pure level that if exceeded that level, it gave you a warning. Some of the products learned the data and told you if it changed over time. They did that fairly well. That's what they were programmed as designed to do. And these generally were initial releases that had come out. But they did that part pretty well. And it did alerting and alarming when the thresholds and statistics were exceeded. What they didn't do too good was protection of the management interfaces. They hadn't quite gotten to the point where they put a lot of thought into protecting the management side from denial of service attacks. We were able to attack the management ports and lock the boxes up. And, you know, then they become useless if you're able to get in on the management side. I say this generically. A couple of the products did very well in this test. They survived. I'll put it that way. They either recovered quickly or they just had a little bit of degradation of service. Some of them just completely locked up. They hadn't thought about warning banners and lockouts and that kind of thing for the management interfaces yet. Again, they took those suggestions and promised that those would be all things that were added to their next release of the product. Port lockdown on the management interfaces, you know, having as few ports open as possible helps to prevent additional denial of service attacks from happening to your product. Okay, if you're looking at a large enterprise, the products that you'd want to look at, again, this data is at least four months old. Unfortunately, DEF CON only occurs once a year, so the data can be a little dated. There's new releases out on all these, and I recommend if you have any interest in learning in these products at all, go to their websites and get some information. You'll have my contact information, and I could probably link you up with one of their salespeople because they all call me all the time. But basically, if you're looking for a product or a passive solution, for the large enterprise, we recommend the passive solution. Again, most of them we talk to do not want automatic routes, or I'm sorry, automatic ACLs implemented, that kind of thing. These solutions can be very expensive, depending on the number of boxes that you ultimately want to end up. We priced out for this particular ISP that the solution was going to be in the range of $10 to $12 million. That's a lot of money for DDoS to protect their entire network. Well, that's probably a bit high, but it can be scaled down from there. Anyway, so you would have, on the large enterprise side, you'd have a mix of flow collectors and packet collectors. Again, the flow collectors are the net flow collectors, the ones that get the data, the net flow C flow D off of the routers. Packet collectors are one that process all packets that flow through it. Those would be in your network, visualized in your network. You'd have to centralize the management consoles. You're looking at, whether it be in your NOC or your security operations center, you'd be centralizing that management piece in there. Most of them could handle approximately 10 of the collector boxes per management console. So again, it depends on the scalability that you have to look at as to how many boxes or how many management boxes you would need in your network. But the products in this space are the Arbor, the Asta, and the Reactive. Our particular test, the one that quote-unquote won, was also the most expensive solution, was also the most mature solution, and was also the one that had the most products in that solution, was Arbor Networks. They had performed well in most of the testing with some minor things. But again, Arbor, Asta, and Reactive were all very supportive, and they want to sell you product. On the smaller enterprise side, we're looking at the inline solutions are worth considering. They can provide value. The combination firewall and DDoS solution and combination IDS and DDoS solution, ultimately, I think, will be the most useful part of it. Captus, they're very programmable, like I mentioned before. They had also put quite a bit of thought in protecting the management side of the product and performed fairly well. Their processing and storage is going to improve, this is what I've been told, improve with the, the new releases that are coming forward. And with the new releases, they hope to be able to handle greater than 10-100 networks up into the gig. Product we tested, gig interfaces brought it, your gig type speeds brought it to its knees. But the, from a 10-100 perspective, they did perform very well. And Mazu, a maturing product, they did well in some aspects. Not so well in some others. Again, everybody's improving their product as they go along. The technology's still evolving. It's something that ultimately, I believe, is going to become integrated into firewalls and or IDS solutions and have already started to do that. It's definitely something that is needed and, you know, we see acquisitions all the time and I think you'll start to see these companies acquired by other companies to develop this suite of products. My opinion only. They've made positive strides in the DDoS environment. The products themselves mostly do what they advertise or what they've tried to advertise that they do with minor exceptions. It's involving. It's interesting. It's new. Keep an eye on it. The Information Security Magazine did an article on this that back in, I think it was October of 2001, that was actually the driver for selecting the products that we tested. And I'm sure that the security magazines will keep an eye on these products for those that survive through their next round of venture capital funding as viable products. Here's some resources. Basically, you know, do a search on the web. You'll find all kinds of stuff. But here's some places where I found some information on DDoS as well as all the product vendor websites. That's pretty much it. That's the testing we did. If there's any questions, I'll be happy to try to answer them and go from there. No, we did not try Spade in context of that. We knew there were some limitations on the testing that we were doing and we got stuck with time constraints as well. So that would have been a good addition. Okay, speeds of solutions, I do not have hard numbers on per se. In terms of surviving the attacks, the passive solutions, the Arbor, the Asta, Mazoo, hold on. Yeah, we're Asta and Reactive. The speeds, we got, we had three of the boxes going at gig E speeds, pushing data through it. Arbor and Asta both processed them fine. Reactive, for the most part, processed them fine. So it, they survived that portion of it. In terms of cost, the costs have changed since we did this testing. Some have gone up, some have gone down. And it depends on which pieces you buy. The, like I said, the Arbor solution was fairly expensive. It was, but it was also the most mature. The Reactive, I believe Reactive has now gone to a model where you basically lease the license and you pay on a monthly fee. Arbor, you were buying the boxes and that kind of thing. So they, to give you a hard answer now, it would be difficult without doing more research where they stand today. But the Arbor solution, I know, was very expensive for the whole shebang that we had to do. But, you know, it just varied on what you need to provide. Is the Arbor Traffic Gin available as a standalone product? The answer, at least when we checked into it, was yes, it is. The price quote on that, again, old data, was $62,000. It was a good product. The question is, the Cisco routers are known to roll over with too many ACLs on it and die. The answer is, yes, they did roll over on us, especially when we were combining SNMP testing at the same time. We did not, implement that many ACLs. We were actually looking just at what the recommendations were versus actually implementing the ACLs. We did go into detailed discussions about what would it take to do this in their environment, which would have involved upgrading all of their Cisco routers to support the new releases. I'm sorry, I can't hear you. What was the max utilization on the port? Okay, our normal traffic, we were running at, let me make sure I get this right. Primarily, we were in the 50 meg range. We were pushing it pretty hard, even for a 10-100 meg connection for baseline traffic. On the gig side, we had pushed, well, it varied a little bit. We were able to see 900 megs or 900 megs, I'm sorry, at some point, depending on the products that we had in place. Of course, you know, we never really exceeded the full gig, but that was the attack. The 900 meg was the attack. On the normal side, we were in the 250 to 300 K, or meg range. So, . the the frame no we well actually we did we um we went from 64 byte to 1500 mtu um we jumped around a little bit in there but once once we nailed the box you broke some aspect of it we did a little more testing but then we pushed it back to the vendor to try to address the issues I'm sorry we did do randomly spoofed addresses part of the challenge that we had was within the lab network creating an environment where the products didn't think the good traffic was all bad traffic because we had to limit the IP ranges we could work in which generally were you know internal IP addresses 10 10 10 whatever 192 dot whatever the the products really for the the spoofed addresses versus the non spoof I mean they just they were looking at traffic changes in general and they responded to the change based on whatever that change might have been you shut the box off now that's a good question there's really limited protection you can do against that except to deny all for that particular service or port or something of that nature we it was one of the things that we had discussed as a possible solution that reverse path filtering we we never actually got to the point of implementing it so we're I don't have a lot of answers on that it look it sounded like a good idea the actual application of implementing it I don't have the background for so okay we need to finish up here certainly happy to answer any additional questions my contact information is on the CD it's in the back of the slides so certainly feel free to email me thank you very much and hope you enjoy the rest of the show