I'm Daniel Burrows and I'm giving my talk on correlating network attacks from distributed... Is that better? Is that better? Okay. Well, as I am Daniel Burrows and I'm going to be talking a little bit, a little bit less than I thought, about correlating information gathered from distributed intrusion detection systems. This has been, this work I've been doing while at the Institute for Security Technology Studies at Dartmouth College. So, first I'm just going to give a little bit of background. I have a background on ISTS, where I work right now. It's a security and counterterrorism research center that's funded by the NIJ, which is the research arm of the Department of Justice. Its main focus is on computer security. And the group that I work in is the Investigative Research for Infrastructure Assurance, which is mainly an engineering-based group, which is done jointly with the Thayer School of Engineering up at Dartmouth College. So, kind of just to give a kind of an overview of what we're trying to do with this system, talk about the needs and the goals of it a bit. In general, just to give like a kind of a nutshell picture of the internet and what's going on out there. We have some systems that are connected out there that have little or no defense on them. Some people that might be a little more concerned with their security, they put up firewalls, various types of defensive mechanisms. And then you've got others that are out there running a bit more information-gathering systems, either IDS or other types of network sensors that are gathering a bit of information about what's going on out there. And, of course, we've got the people that are out there trying to get into everything. So, we might see alerts occurring on some of these systems distributed across many networks, and we're trying to gather this information and find out if it's related and rearrange the information gathered from these distributed systems. To make the job of the security analyst a little bit easier. So, the first thing we're trying to detect are distributed and coordinated attacks. Either an attack coming in from many places or many people trying to attack one site simultaneously, or possibly a single group or single person that is going after multiple sites that have some sort of relationship between them. So, these have been, of course, increasing. They've been increasing in rate and sophistication. These are, whether they're the sort of the more automated ones like the worms, like some of the, like the kibrit and mem-get that we saw last summer, or other similar types of attacks. Also, we're interested in looking at infrastructure protection, and this is part of the mission of ISTS, and particularly the group that I work in. They're wanting to detect either a coordinated attack against infrastructure, or attacks against multiple infrastructure components. And this is something where a group or individual may try to take out a particular sector of infrastructure, whether this is power generation, emergency response, communication systems, or either one sector on a wide scale or multiple sectors of infrastructure within one local geographic area. Also, we want to try and reduce the overwhelming amount of data that's being produced by intrusion detection systems and reduce the requirements and the workload on the security analysts to analyze this data and pull out what's really interesting out of all the noise that's being generated on the systems. So we're interested in taking data that's already being generated out there and reorganizing it so that's what we're doing. produces a clearer picture of what's going on. We're not trying to build a better intrusion detection system or even build a new type of sensor, but just make better use of information that's already out there on the systems and bring together information from various types of IDS, other types of network sensors as well, and use this along with some other knowledge about the relationships between these types of events and what we're seeing to be able to track the activities of individual attackers on the system. So, kind of the traditional sort of view of a network is kind of a very self-centered defensive position, defensive viewpoint, where we're interested in keeping people out of our network, building a big wall around the castle, keeping the barbarians outside, trying to just keep people outside, but we're gathering only a partial, only part of the information of what's available. In regards to each person attacking the network, this gives us, this makes sense from a defensive point of view, but it doesn't give us very much information about the overall goals of someone whose attacks spread across multiple networks. So, there's also weaknesses in this because there are certain types of attacks, such as a distributed denial of service, where the actual victim of the attack means that the attacker has been attacked at least 10 times, and then the attacker has to use some sort And so, depending on the situation, the attacker may not be able to get back across the network without any kind of non-defense, and the attacker does not have any kind of anti-defense We then have the main threat of attacking the network. We're using 돼요, the other system we're using. We're using a different kind of attack. But we also have a number of attacks. A number of attacks. actually sitting behind some amount of protection so this person may not have seen or may not have been bothered by the initial stages so sort of setting up the preparation the zombie collection for the denial of service but they still can be vulnerable to that type of attack so we want to change the view to more than a a wider view to where we can get more information about each attacker out there and try and figure out what their goals are and what they're going after and get a more of an attacker centered viewpoint this requires of course one gathering the data from the various systems and then also being able to fuse it and correlate it in a meaningful fashion so we're using techniques that come out of the realm of radar tracking system which is in some ways very similar to what we're doing with IDS we have multiple sensors multiple types of sensors we have multiple targets out there we're trying to do this tracking and correlation in real time yes and I had a nice little sound effect there so we're taking this model and trying to apply it to one where the different types of intrusion detection systems are our sensors and the targets that we're trying to track are the people attacking our networks so as I said there are two stages to this the first is gathering data collecting data and the second is gathering data and testing it there's a lot of work that's been done in this area in the past and is currently being done it was well a couple of the talks other talks here at DEF CON this year are focused on this so we're concentrating more on the correlation aspect trying to tell how various events are related and we're doing this by a the basic assumption that the attackers are going to have different goals are going to determine their behavior and different attackers with different goals are going to have different behavior therefore they will be recognizable for one another and we're doing this with use of multiple hypothesis tracking which just to give an overview of what multiple hypothesis tracking is, if we look at the radar tracking analogy again at each time we do a radar sweep we see two targets out there and we see them moving in a certain direction in fashion as they go through the space that we're looking at, but we're not sure exactly what's going on here because we can see what happens at each sort of sweep every time we get information from the sensors, but we're trying to now relate events from one sweep to another. So in these two cases, there are two possibilities that the targets could have followed these two paths. We're trying to do a similar thing in determining the paths that an attacker has taken while going after multiple systems. So in our system, we have the tracking system, and it analyzes events that are being collected from various IDSs, whether they be distributed across many networks or different types of IDSs on a single network, and as these events arrive, they're analyzed. And for example, initially we get a port scan. That's all we've seen so far, so we know that the only possible scenario so far is that... there is one attack occurring, and it consists of that port scan. In the future, we also see a buffer overflow attack. Now there are two possibilities for what's going on out there. There could either be one person that's doing both of these, doing a recon scan and then trying to break into the system, or they could be two unrelated attacks that just happen to be occurring at the same time, and we're trying to figure out... These are all multiple hypotheses. Now we're trying to figure out which one of these is most likely the case. So, we do this by evaluating the hypotheses based both on the behavior of the attacker, of the target, and of the sensor. We want to know what real-world event caused the reading that we're seeing off of our intrusion detection system, what actually happened out there to cause it to go off and give us an alert, and we also want to know how likely is it that someone would have been would have done this event, and then how likely is it that someone that we saw before in our intrusion detection systems would have caused this event to occur. So, I'll skip over the math for now. So, for modeling the sensors, we're looking at the two basic methods of intrusion detection system, either the signature detection or the statistical anomaly detection. Of course, the signature has a very low false positive, but it has a weakness of detecting only known attacks. The anomaly detection, higher false positive, but it has the chance of detecting a wider range of attacks, and we use these both on, of course, the host and network-based systems. So, for modeling the sensors with signature detection, it's fairly easy. If a known attack occurs in an observable area, the probability of detection is one. Otherwise, you're not going to see it. The anomaly detection is a bit more difficult. The type of attack, whether it detects something is very dependent on the type of attack. Noisier, unusual attacks are likely to be seen, things like denunciations, port scams, someone accessing unused services. Other types of attacks may be missed more often by these, whether they be something that involves a non-farm web request, some types of buffer overflows, things that look more like normal traffic. So, when we... Also, when we're looking at the sensor, we're interested in the information that it's giving us, the measurements it's making about the particular event. And we try to look at a sort of a minimal feature set from the various IDS that we're using currently. This consists of the source destination IP, the ports, the type of the attack, and the time that the attack is occurring. These various measurements that we're taking about each attack are then used to describe a space. So, we're looking at a space through which the attacker is moving as they go through either various types of attacks against one system or attacking multiple systems out there. So, in order to evaluate, use this information to evaluate the response of the sensor, we're using Bayesian inference. And this is used to solve the problem, basically, when we have a sensor, an IDS out there, we know the forward response of it very well. Meaning that we know that if a particular response is made, we know that the forward response of the event, X, occurs out there. Someone tries a particular attack, we know what the sensor is going to tell us. That's how they're designed. They're designed to respond to their stimuli. But, our problem is, is that we have to go through this backwards because our only view of the world is through the sensors. So, we only see their output and we're trying to infer the input that caused that. So, given the output, what was the real world event that occurred? So, to do this, we look at both the forward response. Which is known. And the prior distribution of X. Meaning, what's the likelihood of getting this sensor response we saw, given a particular real world event? And also, what's the probability of that real world event actually having existed? What's the chance of that attack really having occurred? Or is it more likely that this was a false positive? Something that probably wasn't occurring right now, or at least wasn't significant. So, modeling the attackers. They're not as easy to observe. They're modeled as the sensors. Mainly because we build and design the sensors and we can look at how they operate. And often times, these are all we can ever use to look at the people attacking the networks. So, we have a very limited view of what's going on there at times. It's also very difficult to describe the state of the attack. Which I'll discuss briefly in a moment. So far, with modeling the attackers. We've used three sources of data in this work. One is from simulation that we've designed. Another is from local networks that we have under our control. And also from the Capture the Flag game here at DEF CON. So, for the simulation, we use... There's a couple ways that we use simulation. One is in purely generated data. We just have a complete simulation. It simulates the network noise out there. And the attacks occurring. We are... This is, of course, highly controllable. Good for the development stages. We also have generated attacks. Where it's a simulated attack that's inserted into normal network background noise that we record off of live networks. And this is a little more realistic and a bit more interesting for testing purposes. So, this is just a diagram of one of our testing systems we've got on the network at the engineering school. Where we've got the main line coming into it. It goes through numbers of switches. And we've got IDS sat at various locations on the inside. Where we can either view these together or in isolation from one another. And we're taking this to take the different segments of the network to pretend like they're a distributed system. To try and gather information on each one and then correlate it together. To see if we can pick up the big picture. We also have another system out of a location. At ISTS and another one with a company nearby in town. To kind of get a wider picture of what's going on out there. So... And, of course, like I said, we also use the DEF CON capture the flag information. This data is unrealistic in some aspects. Because there's a general lack of stealth, lack of network defenses, etc. On the system. But what's great about it for our purposes is there's many, many attacks in many scenarios. A lot of the more traditional data sets for testing and evaluating IDS. Such as the Lawrence Livermore data sets. They only have single event attacks in them. They don't have sequences of events like someone coming in doing recon. And then coming back and attacking particular systems. Or trying to attack one system. And go to another. They're just individual events. So they're not very... It doesn't help us for trying to develop correlation techniques. But, of course, the capture the flag cam does have this. For example... And this is from the... From two years ago. In a 2.5 hour time slice of the network data. There was a playback against network intrusion detection systems. There were over 16,000 events registered on it. These were Oliver Dane and Robert Cunningham from Lincoln Labs. I think Oliver Dane mainly. Hand classified these into scenarios. Went through all these events. And figured out what was really going on. And there were about 89 individual scenarios in this 2.5 hour time slice. So the state problem of the attack. Basically, without getting into too much detail about this. In a traditional tracking system, you want to be able to describe the state that the attack was in. In as simple terms as possible. Like for an airplane. Give it its X, Y, and Z position. And its velocities. It's a little more difficult to do this with an attack. Because the space that the attack is moving through is non-linear and non-contiguous. So there's no simple method for describing the state. So what we do is we use a small history of events in each track. To describe the state of the attack. And to see whether a new event coming in. Fits in with this short history. That we keep. So we use a sort of a windowed history of previous events. And look at the relationship between the new event we're trying to fit into this track. To see if it fits in there. Compare it to the previous event. And the event before that. And the event before that. But give, we have a weighting function. So we can give more weight to the more recent events. So we calculate the relationships between the pairs and sequences of events here. To see if the new event. Makes sense with what has come before it. So one thing that's important to keep in mind here. Is that for describing the state of an attack. We don't really care how they got to this state. How the attack got to this point. We just care which state it's in. We don't need to know the entire sequence. Just enough so we can differentiate one from another. And to do this we need some predictive model. That can give us an idea based on what we've seen before. What's likely to happen in the future. What's unlikely to happen in the future. And this is where the different types of attacks. The different things someone's going after. Are going to have a different distribution. Different probability distribution of what's occurring. For example in these two. In the two graphs here. One is. One shows the probability. The probability distribution. For events. On someone that's scanning a network. That's doing some sort of reconnaissance. And the other is for a denial of service. On these graphs. Basically. The further over to the right something is. That's the faster the events are arriving. So in a denial of service. Things occur very quickly. Otherwise it wouldn't be much of a denial of service. On the. On the. Going back into the graph. Kind of along these axis. This shows. The sort of spread and source IP addresses. That we're seeing. Something like a distributed mail service. We're going to obviously see. Things coming from many different IP addresses. Something from a scanning attack. Chances are. In most cases. They're all going to be coming from a similar area. Of the internet. If it's the same person. So. This is. These. This chart. This shows just a couple feature sets. Sort of the IP source. Spread. And the arrival rate. Of the events. So we're interested in trying to figure out. What features out of the. What we're measuring. Give good information. So. To. So we. We've been looking at. The historical data sets. Formed by the. What we've captured off of the Theta network. Or. From the capture of the flag game. To see what makes good differentiating features. For these events. Let me just. Let me just. So basically. This is just. All. All this is showing here. Is it's looking at. Those two graphs. That we saw. On the. Previous chart. Now they're plotted against each other. Looking at one axis at a time. Over on the left. Is the arrival rate. Over on the right. We're looking at the spread. On the source IP address. And. There's significant. You can see there's significant. More overlap. On the arrival rate. Than there is. On the. Spread. On the source note mask. This means that. Looking at. The IP source. That things are coming from. Is much more likely. To be able to differentiate. Between. Different types of attacks. Than the arrival rate. For these two scenarios. When we. Look at this. Against. Historical data. That we have. And. What we're. What this is showing. Is the. The numbers are showing. The. The. Amount of overlap. Between the various types of attacks. Depending on. How fine. Of a. Of a. The. The. Well. I'm not going to get into. The great thing. It takes. Too long. To explain. Right now. But. It's. Showing. Basically. This is showing. How much overlap. There is. Between the various. Combinations. Of feature sets. This is. This was taken. From the. The. Capture the flag. Data. From. Last year's. Game. So. Let me. For. Skip ahead. A bit. As. Well. Just. The. Stuff. I. Skipped. Over. Is. Just. Basically. Explaining. That. After. We. Determine. What. Good. Feature. Sets. We've. Been. Using. A. Machine. Learning. System. Using. Neural. Nets. To. Try. And. Then. Differentiate. The. Events. As. Come. In. And. Separate. Them. Off. Into. The. Various. Tracks. As. In. The. Multiple. Hypothesis. Tracking. Method. As. New. Events. Come. In. We. Make. All. The. Possible. Hypothesis. Of. What. Could. Have. Happened. And. Then. Try. To. Evaluate. Them. To. Determine. Which. One. Is. Most. Likely. In. The. Brute. Force. Approach. The. Number. Of. Hypothesis. We. Have. To. Maintain. Doubles. Every. Time. We. Have. An. Event. Arrive. So. It. Grows. Very. Quickly. If. We. Don't. Prune. Back. Very. Aggressively. So. In. Traditional. Hypothesis. Tracking. You. Create. All. The. Hypothesis. And. Then. Put. Away. The. Ones. That. Don't. Seem. Very. Likely. We. Have. Be. More. Aggressive. In. Ours. Where. We. Have. A. Selective. Branching. Where. If. Look. At. Something. And. It's. Clearly. A. Winner. If. It's. Clearly. Fits. In. With. A. Scenario. That. Already. Exists. We. Don't. Bother. Branching. On. Other. Possibilities. We. Just. Put. It. In. The. One. We. Think. It. Is. And. Go. On. There. If. There's. No. Clear. Winner. In. The. For. This. Particular. Event. If. It's. Not. If. It's. Not. Absolutely. Clear. Which. Scenario. Goes. In. Until. There's. More. Events. Some. Data. And. To. Down. On. The. Number. Of. Hypothesis. We. Do. Some. Pre-Processing. Where. Some. Sequences. Events. That. Are. Simply. Related. Are. Pulled. Out. And. Turning. Them. A. Number. Of. Events. Into. A. Single. Event. We. Reduce. Some. Of. The. Computational. Workload. On. The. System. Let. Me. Skip. This. With. The. Bit. About. The. Testing. Evaluation. We've. Done. This. On. Both. The. Data. Collected. From. The. From. The. Theron. I. S. T. S. Networks. That. Have. Light. Data. On. Some. Of. The. Com. Data. Sets. Over. The. Past. Few. Years. On. These. We. Used. Their. Sets. Earlier. With. The. Probability. Distribution. Method. And. Now. The. Machine. Learning. Approach. Has. Been. Applied. To. The. Com. Data. Sets. The. Data. Set. Had. About. 1500. Events. These. Are. Actual. Intrusion. Sensor. Intrusion. Technical. System. Notes. On. Here. They. Consist. Of. About. 20. Months. Into. Scenarios. Based. On. The. Of. Hypotheses. The. System. Is. Allowed. To. Maintain. When. We. Had. A. Very. Low. Number. Of. Hypotheses. It. Doesn't. Do. Very. Well. Because. It's. You're. Looking. As. At. Possibilities. As. Many. Possibilities. So. If. Mistake. Is. Made. In. The. Hypotheses. Early. On. It's. Corrupted. And. It's. Not. Going. To. Get. Answer. Out. Of. This. So. As. We. Let. The. Number. Of. Hypotheses. Grow. We. Got. Up. To. About. It. Was. About. An. Eighty-Nine. Percent. Accuracy. On. Placing. Events. And. Scenarios. With. The. Third. Set. On. The. Defcon. Set. This. Is. From. The. Defcon. Defcon. Nine. Capture. The. Flag. Which. Was. Interesting. This. Last. Year. Defcon. They. They. Changed. The. The. Data. Was. Collected. A. Bit. And. That. Was. Collected. From. Multiple. Points. On. The. Network. Which. Was. More. Interesting. From. Us. But. That. Gave. Us. Different. Essentially. Different. Ideas. To. Try. And. Correlate. Events. In. Between. On. This. One. And. This. Is. Using. The. Machine. Learning. Approach. It's. A. Little. It's. Less. Stable. Earlier. On. But. Eventually. We. Up. To. About. A. 95%. Accuracy. With. Enough. Hypotheses. Allowed. To. Maintain. One. Issue. With. This. Is. This. Shows. The. Number. This. Based. On. Evaluating. How. Many. Of. The. Actual. Events. In. The. Scenario. Did. Get. A. The. Hypotheses. Also. Had. Extra. Garbage. Events. In. Them. But. That's. Something. That. We're. Well. It's. An. For. Improvement. It's. Something. We're. Not. That. Concerned. With. Right. Now. Because. If. Pull. Out. The. Scenarios. And. Events. Are. Related. And. Put. Those. Together. Even. If. There's. Some. Noise. In. Those. It. Still. Creates. A. Much. Clearer. Picture. Than. What. Had. Prior. To. That. So. Just. Give. A. Summary. Here. What. We're. With. This. Is. Reorganizing. Data. That's. Out. That. We're. Trying. To. Look. At. What. What's. Already. Being. Generated. And. Make. Better. Each. Network. See. What. Each. Attacker. Is. Trying. To. Do. Across. Multiple. Networks. Reduce. The. In. Security. Analysts. And. Through. The. Application. Of. Some. Techniques. Out. Of. Radar. Tracking. To. Try. And. Reduce. The. False. Positive. Rate. On. The. System. That. Can. Correlate. What. Your. Network. Ids. Is. Telling. You. Is. An. Attack. That's. Out. There. On. The. Wire. With. What. The. Hosts. Are. Actually. Seeing. On. Themselves. To. Know. Whether. It. Actually. A. Successful. Attack. Or. Not. Whether. Something. That. Need. To. Worried. About. Or. Not. And. Also. Innovation. With. Other. Network. Analysis. Tools. And. Also. We're. Interested. In. Incorporating. This. With. A. Other. Of. The. Projects. Out. A. Routers. To. Report. Back. To. A. Central. Logging. Facility. When. They're. Seeing. Large. Amounts. Of. ICMP. ICMP. Data. Packets. Coming. Back. Through. Them. That. Would. Be. Seen. To. The. Source. Of. The. Scan. That. And. By. Looking. At. This. Over. On. A. Wide. Scale. And. Try. And. Correlate. This. From. Many. Areas. We. Have. To. Try. And. Sort. Of. Pinpoint. Where. The. Worm. Is. Coming. From. Very. Early. On. In. Its. Scanning. Stages. Another. Thing. Is. The. BGP. Border. Gateway. Protocol. Routing. Analysis. We're. Looking. At. The. Information. Being. Passed. Back. And. Forth. By. The. Border. Gateways. Where. They. As. They. Propagate. Their. Known. Routes. Around. The. System. That. We're. Gathering. Information. From. These. Scattered. You. Larger. Scale. Implementation. And. Address. All. The. Scaling. And. Timing. Communications. Issues. That. Occur. With. That. So. That. About. Does. It. So. If. There's. Any. Questions. Now. We. Don't. Have. Any. Questions. This. I. Think. That. Is. That's. Up. And. Available. Right. Now. But. Within. The. Next. Months. We're. Going. It. The. Question. Yes. The. Question. Was. In. The. Def. Con. Analysis. If. We. Use. The. What. The. Guys. From. Lincoln. Lots. Provided. As. The. Correct. Set. Of. Scenarios. To. Evaluate. Ours. Against. We. Did. That. With. The. With. What. They. Did. Which. Was. That. Two. And. A. Half. Hour. Time. Slides. As. A. Starting. Point. Actually. In. But. What. Was. Shown. In. The. Graph. Here. Was. Actually. From. Def. Con. That. Was. From. Two. Years. Ago. From. Last. Year. One. It. Was. The. Last. Year. At. End. Of. The. At. The. End. Of. Of. The. End. Of. Of. What. Was. The. you could damage its evaluation by giving a lot of garbage data out there. But in a lot of cases, the sort of traditional methods of trying to cause that sort of garbage data and to create a lot of noise are one of the things that this tries to correlate and pull out of the system. So I wouldn't go as far to say that it's safe or does well against that because we didn't really test it against that. But by the nature of the system, it should be able to handle that, at least with perhaps some modification from how it operates now. Yes, the question was, is the traffic capture from the capture of the flag available? And it is. It's the SHMU group, which is www.shm.org. I think it's a .org, but it might be .com, a .org. Yeah, a .org. And they've made the capture of the flag data. They record the raw network data off the capture of the flag game, and it's a lot of data that they make publicly available for research purposes. The question was, do we take into account sensors running different IDS policies on them, and how does that affect what we're seeing? But that's taken into effect in the sensor modeling stage. There's a part where we talked about when you're looking at, say, it's a signature-based IDS, that its probability of detecting something is based on, one, what it's looking for in the area that it looks in, and, basically, what it's looking for is directly correlated to how you have it configured. So that is taken into account there. And it's mainly, it's important to kind of know what you're not looking for, so if something's missing in the scenario, it can be explained away as not being seen, because we should have seen it, but the reason we didn't see it is because we weren't looking for it. What's the minimum number of sequences at an event it takes to accurate correlation? The question was, what's the minimum number of sequences an event it takes to accurate correlation? And that's very dependent on what the sequence is what type of attack it is. With certain types of attacks, when you have, if you have, early, early, early, early, early, highly dependent on that, that it's something like when you see recon coming in and then attacks that are going after what was reconned, it doesn't take much, because they're very similar on a lot of feature sets. The things that are a little more out there and separated, it's it gets more difficult quickly, and that's a really hard thing to answer because it depends on with the type of attack how many what's kind of like the event rate of the attack, things like scans, high events. If it's just a single buffed rover flu attack sort of coming in and then not much else happening, oftentimes there's not enough information in that to do accurate correlation. Well, I think that's about it. It looks like it's all about to end. Thank you.