So, my name is Sergei Bratus. I work for Dartmouth College, and it's actually a lucky coincidence that I get to speak right after this ARP talk. Because, if you remember, if you were here for the last talk, it was about a covert channel, or at least the part that I got. A covert channel in ARP. Well, in my tool that I'm going to demo today, such a covert channel would really, really stick out. And I hope to explain why, and I hope to give some math to prop it up. So, this is called Entropy-Based Data Organization for Browsing Logs and Packet Captures, and I got this subtitle. Every year I learn something new at DEF CON. FTW is what I learned this year, so, for the win. And, I'm going to show you a little bit of what I learned this year. What I'm going to do is discuss the state of actual log browsing that you get with free tools, and then see how we can improve it. So, what is this all about? And if you'll excuse me, I'll sit so that I can operate the demo. So, what is this all about? What is this all about? Um, we want to design a better interface for browsing logs and capture cap, uh, cap, what? Okay, where does my mouse go? Um, okay. Logs and, um, and, uh, packet captures. And we want it to be a slightly smarter interface than what you get with, uh, other real words. Uh, Wireshark, uh, grep, and so on. In that, I would like to see anomalies, or whatever passes for interesting data, in my data set first. And then I want to be made aware of correlations and where they break. So, there are many data fields in a typical log record, and, um, many of them are correlated. And how am I proposing to do that? Well, I'm proposing to do that by designing a data set. By designing the interface around decision trees, which is how people think about classification, really, in their minds. And about basic statistics for, uh, frequency distribution and correlation. And for that, I propose entropy and friends. How did this all start? Well, my wife, um, ran a Tor node at Dartmouth, thanks to Roger. And we, she kept getting frantic messages from the system. She said, man, you know, your machine is compromised. Shut everything down. There's IRC traffic. And, of course, we all know that IRC is evil. Uh, but that stirred us thinking, okay, uh, IRC has, um, Tor has a really interesting traffic mix. Non-standard ports, uh, encrypted traffic, all sorts of stuff. If we wanted to check that nothing but Tor, or most likely Tor, was leaving our machine, or coming in. How would we do that? We'd go classify things by session. Um, you know, cut away, uh, until we're left with everything that's not Tor. And Avarial isn't really that much help there. Because those filters can get really, really long. And I know people write really long, uh, TCP dump filters as well. So, how many page-long filters can you juggle? What you want to do is really classification. You know, sort the data out. This goes here. This goes there. This is no threat. This is well-known. Okay, this might be interesting. So, uh, the tool, I posit, should be based about classification as such. And here we go. Uh, before we go to the tool, uh, here's a disclaimer. These are really simple tricks. And do not expect a survey of research literature. I did put up some, uh, research paper references on the last slides. So, if you're interested to know how this is done in IDSs, IPSs that try to use entropy. As far as I know, all of these are test systems, uh, research systems. Uh, I'm not aware of any, uh, production system that uses this. But these things are promising. And who knows? I plan to give you enough math, uh, to at least get the basic intuition about the stuff and how you get around it. And here we go to the standard log browsing moves. And this is kind of like, you know. This is kind of like the hacker jeopardy, right? What does this do? Uh, can you see the logs? Uh, I can enlarge them, right? So, you just have to count to 11 to get the 11th token. Then sort, unique, sort, uh, binumeric. And you get the, the answer, or rather the question, is this is the number of successful logins via SSH, uh, by IP address. Broken down by IP address. So, uh, we look for this kind of information all the time when we admin our systems. This is grep, and this is the Unix, uh, pipe length, uh, measuring contest. Alternatively, if you've parsed your logs, and they're sitting nicely in a database, like this, uh, then, uh, you can reach for your where clause, and select count as count, IP from log data, group by IP, uh, that will, uh, get you the same thing as, uh, awking and unicking, and order by, uh, count. And then you've got your little table. And, uh, you know, as many times as you have to get a, uh, useful statistic, you have to run a query or write a Unix log pipe. And, of course, you have to parse syslogs, and, uh, in order to build the tools that I'm going to talk about, uh, we built our own, uh, syslog parser and the pattern guesser that guessed those patterns. So this is an excerpt of the actual packet language, uh, pattern language, uh, that, uh, I'm using. But we can talk about this at another time. I tried some, I used to work with, uh, natural language processing, so I tried some of the tricks there, uh, to, uh, have the, uh, pattern guesser, uh, guessed those. But, basically, you know, this is what you do. Filter the data, group the data, count across the groups, sort, and then repeat. And this is the great cycle of log processing. You know, this, uh, snake, it's eating its tail, or a boris, or, uh, whatever it is called. Uh, you can do it with pipes, you can do it with, uh, where clauses, uh, but you can't really escape it. And this is what I, this is the case that I want to make. That trees are better than, uh, tables and pipes. And so here is my log tree. The, uh, this is the first tool that, um, uh, views, uh, parses log. So the actual log record is down there. And, uh, this is the first tool that, uh, views parsed syslog. And the grouping is, uh, done by a template. I will later show you how that template is derived. And you can see that, um, it's split by IP, then by user. It's a pretty, uh, long list, uh, for that particular node. It's sorted by, uh, the number of records, the number of actual, uh, log lines that ended up down there. So, uh, we see that 2,300 logins out of 6,000 come from this single host, uh, in this data set. And the rest is, uh, by an order of magnitude, magnitude smaller. Uh, that's, that's interesting information. Of course, here, uh, you have, uh, ranges of distinct values. So you can see how many distinct values for port you have, how many distinct values for, um, user you have, 126 and so on. Well, so having one classification is good, but we might try to take another classification and see how they relate to each other. So I'm exporting my data to another window. And in this window, I will choose to regroup it. And here it's grouped by the user. And I would like to see where, uh, records from this user turn up. And if I scroll down, I should be able to see this. Seven here, one here, and, uh, so on and so forth. And what we could then do is, uh, look at other attributes and see by record type. And we see that, you know, there are so many, uh, public key logins. And this user that's generating those 2,000 logins is, uh, a major user. Actually, this user is almost always using the public key. Uh, what we also see is that there are some failed passwords and password logins from this user. And I'm going by the blue number. And this is failed password for user, uh, two. Well, so this is approximately anonymized. Can you guess what actual user this is? A four-letter user. Yes. So when you find, so it's clear why that user is using a public key. It's a maintenance script. And it runs from the administrator's console. And, in fact, if we split this by, uh, IP, uh, we see that, uh, most of those logins, uh, come from, uh, one and the same console. 2,300 out of, um, right, uh, 2,900. This one. So we know the root's machine. But this is interesting. So apparently that admin went around and tried his password, uh, from, um, workstations and failed. Hmm, hmm. Anyway. So, uh, the claim is that trees are better for browsing logs even if they're really, really simple trees. And to back up this claim, I would say that humans always use, uh, trees when they think about classifications. So here is your protocol hierarchies dumped out of Wireshark. And here is the visualization of that graph. And you see that, uh, every time you look over statistics. And firewall decision trees is what people deal with all the time. You know, a record comes in and you apply a test. Is it from the DMZ? Uh, yes, no. Is it from the trusted network? Yes, no. Is it from others? Yes, no. Then you sort it by protocol and accept or deny or drop, uh, and so on and so forth. Uh, IP tables are living proof that this is what people do. So, uh, in the demo you just saw, this is your simple syslog. Groups are nodes. These are the same groups that you will do with unique and sort or select group by. Uh, I have another demo which is, uh, the, uh... Wireshark extra panel that does this. But that one actually does a lot more. It tries to get the optimal tree and we'll get to that. Uh, and they are sorted by, uh, the number of records that end up there. The records themselves become leaves. And, uh, this is what's going on. When you want to run a query, say, pick out a particular IP, you're going down a branch. Uh, when you further refine that by, say, a user, you're going further down the branch, uh, in the subtree. And so you, if you remember this table from the previous example, this is what one branch looks like. I claim that it's so much better to have all the pipes in hand, uh, at the same time. And all the queries in hand at the same time because these queries are now branches. And any time when you actually open up a, uh, tree and select a node, this is actually a branch. This is actually a query. And you can write it out. And you can preserve, uh, and log all of your process of log browsing. Queries pick out a leaf or a node or a tree. And you keep them in your mind and on your screen at the same time. And this really, like, looks like a coin sorter. You know, a record comes in. Uh, you have a template. The template says, okay, first we'll, uh, sort everything by destination port. There you go, record. And then it gets into another coin sorter, which gets instantiated, uh, for it. And that's port A. Okay, now we're going to sort by source IP. And here you are, source IP. And here's another record. It travels down this path. These coin sorters are already there. So they happily direct it into a different branch. Uh, when another record comes along, a new sorter may be created just for it. That's a new group. That's a new intermediary node of the tree. And so it goes. And the good part is that you can save this template and apply it again and again. If you think you found the right way to classify your nodes, that's how it does it. You can, uh, save, send it to somebody else, uh, if they have my tool, uh, which is free, uh, and, uh, needs debugging. Uh, they apply the, um, uh, the template. And they have the benefit of your, uh, decision tree for classifying your log. And the question here is which tree to choose. Should you choose to split first by user or by IP, then by user? This is all about choosing the best grouping. And the grouping should be such that the interesting stuff, jumps out at you. And this is what the rest of the talk is about. Simple heuristics, uh, for choosing the best, uh, grouping, the best classification. And so, uh, before we do this, why don't I, uh, try to actually demonstrate how it works. So, this is ethereal, except when you open a capture file, it asks you, well, which sort of feature, which, uh, set of features would you like me to investigate, uh, to participate in the capture? And, uh, the construction of the best template. And here you say, okay, uh, this is a wireless capture. So, give me 8211, uh, and, uh, IP. It's clear enough. Let's look at the, um, levels two and three. And, uh, it does its magic. And gives you this tree representation of your data set. And its point is to make this the most conspicuous tree in which, um, anomalies would jump out. And here, you've got just two branches. The reserved, the by IP flags. Can you actually see this? Excellent. Uh, I was thinking that I'd have to use magnification, KMAG. But it messes up my screen. So, IP flags reserved bit. Right, there are no evil bits here. Right, remember the evil bit RFC. But, in one of those, it's not even there. How is that? And so we get to see this packet. Source, destination, something. Let's see what that packet looks like. Let's find it in packet list. And, oh yeah, for sure. Sure enough. It's a bogus IP header. Length zero. This is not IP. What is it? Right. It looks like it's IP. Uh, the snap header says so. Right. But, uh, it starts. With version zero. So, we found an anomalous packet. And we can delete it. Um, which I am not going to do. And, uh, proceed. Or we can look into the other group. And look at, uh, oh, what do we have here? We have some IP fragmentation. There are three IP fragments in this set. And the rest is, uh, good clean stuff. And so, we go in deeper and deeper. Uh, if we're tired of this. Here, there are more fragments. Of course, everything that's associated with fragmentation will jump out at us. And these packets are really anomalous for this capture. Because the rest of the data is not like that. Uh, what we can do is we can check the ranges of other features that occur here. And see that, sort them by the number of unique values. We see we have 3,000 IP IDs. Uh, 2,900. WLAN, uh, sequence numbers. So, apparently there is some retransmission going on. As we will see. Uh, so many links. And, uh, so many TTLs. 21 distinct TTLs. Well, what are they? Let's, uh, reshape the tree and look. And so, the largest number of packets in this capture. Uh, almost a half. 2,300 out of 5,000 has TTL 255. Well, that's something to know. What protocol is that? Well, let's look at the protocols. We have only 5 protocols. And we can see, uh, what these things are. Uh, 11 hex. That's, uh, 17. That's, uh... UDP. 6. Uh, TCP. Understandable. Actually, 67 hex. What is that? 59 hex. And one packet has protocol undefined. But we know that's the, uh, malformed packet that we've seen before. So, we could see where these guys all go. I will mark them. And they will jump out at us in the tree. And, uh... Uh, this 67 with the TTL 1. Well, what is that guy? Let's find it in the packet list. Oh, it's a PIM packet. And what are those guys? Uh, those guys... There are five of them. And here they are. And let's find them again. And this is OSPF. Which, uh... I'm sure many of you... Could have told me... Uh, just by looking at the hex. Maybe. Is there, uh... A drinking game tonight? Or was it yesterday? Too bad. Uh, anyway... So... Uh, I would like to direct your attention... Again, to the fact... That you can ask the algorithm... To reshape this tree for you at any level. And so, if we decide to look at these 53 packets... With TTL of 1... Uh, we can apply the algorithm under this node. And, uh... I'm not going to modify the protocol... Uh, the feature choice. And we see how these packets distribute. And the feature chosen now was... Uh, WLAN... Um... FC... The, uh... Control code from the beginning of the packet. Right? Uh, and, uh... These things distribute into, uh... Frames, uh... Destined for the distribution system. And not a distance for the distribution system. What is that thing? That thing is, uh... This, uh... SSDP, uh... Packet. And so, we go from one, uh... Subtree to another. And we look for anomalies. And there are two more, uh... Examples to show. Uh, which, uh... Uh, we... I hope we'll get to, um... Uh, as we proceed. Uh... It's very useful... To be able to summarize... The distribution of unique values. So, uh... Say, you know that there are 319 unique, uh... Source, uh... Packets. And you get this information from the statistics... Uh... Summary in Wireshark. But here, it's correlated with this, uh... Template view of the tree. So... Now... How does this heuristic work? And what is the magic? How does it pick the right tree? Uh, how do... Or the wrong tree. As it happens. Um... Um... We want to define the browsing problem. Mathematically. I'm a mathematician. A former mathematician, if you like. I do, uh... Low-level kernel and, uh... Networking research these days. But... You know... It's nice to be able to define the problem... Mathematically. It's good to find a proper statistic for it. And we look at this picture... Right? And what do we see? We see this little scroll bar thingy... That's just... Uh... Not showing us the rest... Of the data. We have no idea what's down there. Uh... And the lines that you're interested in... Are... Maybe twenty pages away... Uh... Each surrounded by a page of chaff... In a twisty little maze of messages... Passages... Whoever played, uh... Adventure here... All... All the same... Or not exactly the same... Right? So this is the face of the enemy. You're uncertain about what you've got in this. And... You can use summarization tools... But you would like them to be integrated with your interface. You don't want to write... So many... Uh... Pipes... And queries. And of course you can sort. Sorting... Clicking... Uh... On the tab... Uh... Sorts the values... And you can see the max and the min... Uh... According to... Alphabetic order. And... You can drill down with filters to an interesting group. And again... Each filter... Takes you down one branch... Of the classification tree that you keep in your mind. So why not on screen? And all the while there is this key problem. Where to start? Which column or protocol... To pick? With... Uh... Wireshark you can... Uh... Get as many columns up here as you like. But where to start looking? And how to group those things? Should you group them by IP? Should you group them by source? Should you group them by an obscure protocol feature? We'd like to automate guessing one and two. And it's... Really guessing. It's a mere heuristics... But... You know... It's better than nothing. And it... Works... Uh... In many cases. So... What we want to do then... Is to... Automate uncertainty. And the trivial observation here is... Most lines in a large log will not be examined directly. Ever. And one needs to convince oneself that he's seen everything interesting. And you'd like to jump right to the interesting stuff. And this is what your log looks like. There is redundancy. There is repetition. And somewhere... There is something that's not like the rest of the stuff. And most of the time you want to see it. And so we must deal with uncertainty versus redundancy. We want to compress data. And there is actually a statistic that deals with that. That statistic is entropy. Uh... Entropy... Is... Speaking informally. The number of bits to encode a data item... Under optimal encoding... In a really, really large batch of data like that. Distributed statistically like that. So, here is a stream of A's, B's, A's, B's, C's, and D's... In which A's, B's, C's, and D's... Appear equi-probably. So there is an equal chance... This is the probability. This is the chance. This is the relative amount of A's, B's, and C's... That you'll see in the stream. And since they are all equi-probable... You have to encode each one of them... And it's two bits per symbol... Of four possibilities... Two bits. A number from one to four can be encoded. You need two bits to encode that. But... If the distribution is non-uniform... A's are a lot more frequent... Then, you can modify your encoding... To take advantage of those long runs of A. And you say, oh... At this point... There are so many A's following. And you have a really short code for that. And your basic zip compressor will do it for you. It will pick that sort of special encoding... To take advantage of the long runs of the data. English is like that. English is redundant. Depending on how you define the entropy of a natural language... You get 0.6 to 1.6 bits per character. And... The really interesting thing is... How you define the entropy of the natural language. In this sequence here... The assumption was that... They are thrown out... According to the distribution... But randomly. Not looking at the previous one. In English... When you said a word... You have to continue... In a restricted number of ways. Otherwise, you're speaking gibberish. The same applies to letters. So... These are different models of English. If we just observe the distribution of characters... That's the English we get. Each letter is chosen independently of the previous one. But as often... As it occurs in the natural language. This is bigrams. We look at the previous letter. Okro... Li... Er... Mmm... Doesn't work. Here... Yeah... Um... Um... My Klingon vocabulary is just about 10 words. Uh... Nukneh... Uh... Um... Uh... Kapla... I can probably... Oh... Tahpah... Tahbeh... To be or not to be. That's just about all of it. I wrote the Klingon parser once... To help me read the translation of Hamlet in the... From the original Klingon. There is such a thing. And it exists. And if you look at it... Then you see that the... Uh... Earthlings have really spoiled it. It's all about honor and revenge. And all of those noble Klingon things. And everything else is just this extra garbage thrown in. Uh... Trigrams. Uh... Here you see some words that start to resemble English words. And so you can go further. And... Uh... Uh... Look at this. Words... Unigrams. So these are words taken out of the bag randomly. Uh... These are words taken out of the bag looking at the previous word. And these are words looking at... Taken from the bag looking at the two previous words. And this is actually readable. The best film on television tonight is There Is No One Here Who Had a Little Bit of Fluff. Uh... This is almost grammatical. Anyway. So... Shannon's experiment. Which... Uh... Gave us... Uh... 1.6 bits... Uh... Uh... Figure. Is based on how likely humans are to be wrong when predicting the next letter or word in the text. So you uncover it letter by letter. And you see how many times the guess is incorrect. So entropy measures uncertainty given some previous knowledge. Given some previous knowledge. Given some previous research. And you find that this data is the model of the data. It may be your mental model of English. It may be your mental model of your log. Which is a lot more interesting for our purposes. And people have already been doing that sort of thing. Right? In every log browsing tutorial, in every, uh... Incident response tutorial, you look at something like... Look at the most frequent and the least frequent values in the column or list. Now. What good is this advice? In every... if all those values are equiprobable. What good is this advice when there are thousands of those values? Maybe the thing is hiding somewhere in the middle. So it would be nice to begin with easier-to-understand columns or features, ones with a simpler distribution. And this is my suggestion that as implemented in that tool, you've seen that heuristic work, start with a data summary based on the columns with the simplest frequency value charts. These are also called histograms, frequency histograms. I will show how one is derived. This means you start with a picture with more simplicity, less uncertainty, smaller entropy. So you shine your little flashlight on your data where you're more likely to get, where you're more likely to recognize an anomaly. It's really like looking under the street lamps for lost keys, right? If you just start browsing in the dark, you're not really likely to find anything. You may find someone, but probably not your keys. Entropy. A simple summary of a column is a range. Minimum to maximum. So this tells us, and we can get this by sorting. Destination IP starts here, ends there. Destination port, so on and so forth. This is a frequency histogram that generalizes the range. So we're taking all the unique values, distinct values in the column, count how many times they occur, right? There are little columns here. The count would be on the y-axis. This is the label of the port 445. This is port 80, port 21. This is a port scan, a real port scan from my network. Clearly everyone is looking for port 445, followed by port 80 and FTP and so on and so forth. And so, we can build a little histogram for each one of those. And I ask you, which one of these histograms is easiest to understand? Right? Well, I'm not going to wait for an answer from the audience. Now, when we take the counts, add them all up, get the total counts of the packets, then we can compute probabilities. A probability is really the fraction of the count of things that ended up in one bin. Here, the bin for 445 is pretty large. The next one is lower and so on. And having computed the set of probabilities, this is how we define entropy. We take the log base 2 of inverse probability. And average them over all the probabilities that we have. Log 2 is the reason why entropy defined that way is related to the number of bits. Right? How many bits do you need to record a number from 1 to n? Well, log 2n. And it turns out that if you have a perfect encoding of a really large batch of data, you can do better than this for your average encoding length per symbol. This is a theorem introduced by Shannon in 1948. This revolutionized the entire data transmission business and science. And why logarithms? The least number of bits is needed to encode numbers between 1 and n is log 2n. Now, why is this a measure of your uncertainty? Because in order to communicate your choice once you've made it, you need to use some bits. And if you count it as the number of bits to communicate the missing information, that's entropy. So here is a little bit of math that explains this. It explains just how it works. If you choose out of four characters, out of four possibilities, out of four values with equal probability, then it's a quarter, quarter, quarter, quarter chance to draw each one of them. Four possibilities give you two bits. Now, if you draw the first thing with higher probability, or you need to transmit it more often, as per your data, or it occurs more often in your log, see here it occurs half as often as the rest of them together, then you are certain, reasonably certain, that you're going to get the first one, the first character, a, half the time. So you can decrease your uncertainty. You can decrease the amount of information that you need to transmit. The sequences of that a. Let's bias this a little more. In 80% you draw a. Your uncertainty is measured by one bit and a little bit more. Because what is your uncertainty about what you're going to draw? You're going to draw this almost often, almost always, right? And finally, if all you get is a, then your uncertainty is zero. a is what you're going to get. Thank you. For only one value, there is no entropy. And so, if I superimpose the entropy measurement over a histogram, that measurement is going to serve as the measure of simplicity of this histogram. And, you know, for this one, it's one bit and a bit. And here it's five bits. And here it's, well, almost six bits. Here it's six bits and a bit. And so this is clearly the simplest histogram. So you are more likely to understand the splitting by this feature. And of course, you know, if you're looking at source ports, it's obvious how you're going to do that. It's obvious that you're going to get, you know, your targets picked by a source port. So let's look at this in another tool. All right. Can you see the screen? Can you see the letters? Very good. Now, these are port scan alerts. And I press the magic key. I rework the template. And it says, okay, destination port is the best you can do. Let's import some more data in here. Let's say your next log. From the next day. And it's a larger batch. This batch was 1,500. Let's import this one. And so you end up with 18,000. Right. And you can see what sort of ranges are there. You know, 37 destination ports now. 96 destination IPs. I reapply the magic. Now, the statistical composition of my set has changed. I just added more stuff. Actually, I just added the wrong batch. I'm sorry. Oh, no, no, no, no, no, no. I added the right batch. Let me rerun this. This is an earlier version. And I get confused with the command line. Right. So this is the loaded template that I used from the previous time. I now rebuild it. And what I see is that the statistical properties did change. Now, the simplest histogram that I have is a split by the template. This is the type of the scan. Most of them are SYN scans. But seven of those alerts are SYNFIN scans. So this can serve as a measure of novelty. And this is actually how the tool would pick up the ARP covert channel from the previous talk. There is only so much statistical bias in normal ARP. You don't get to see much variation in those fields. Once you start transmitting information, you increase variation quite a lot. And actually, if I manage to get a packet capture from the previous speaker, I may be able to demonstrate it during the Q&A. Five? Okay. So we went through this. And measuring co-dependence, correlation, is really interesting. So you look for correlations. And you want to know if a pair of fields is strongly correlated and where this correlation breaks. So you would try and rank pairs of values before looking. Okay. And, you know, this might be significant. There is a standard classical example of a source IP from user logins. Almost everyone comes in from a couple of machines. One user comes in from all over the place. Problem? We've actually seen that scenario. That user was root. On a small network, a source IP would be correlated with a TTL. That's fine. Right? The paths are really simple. Why would the source vary the TTL? What if a host sends packets with all sorts of TTLs, breaking the correlation? A user just discovered traceroute. Or maybe that machine never ran traceroute before. Maybe it was a printer or an appliance. If you never observed that traffic from it before, you know, this might be significant. In fact, I just spent some time last month cross-building libpcap and arpsk and dsniff and a bunch of other neat tools for this platform, which turned out to be a wonderful box for doing ARP integration. We have pretty good build holding. Yeah, this also... I'm going to do a little bit more of that in the next three months, a new Keyboard interface. That's the new Keyboard, so it's very interesting to see the progress. and that's the first thing we're going to do with this😘. Thank you too, Bob. The next question, and I'm going to close out the session. Okay, so my other example of where correlation may be interesting is from a mod, a multi-user text adventure. It's like World of Warcraft in ASCII text, only better player versus player interaction. And you can talk to my wife because she runs that mod and I'm not an expert. But having this tool, I helped her fight cheaters. And so here you see a syslog record format for parsing that syslog. User gets object in room, room. And we immediately found out by looking at the correlations in that tree that two rooms had by far the largest number of objects picked up. And that's just like gold transfers in World of Warcraft, I get to find out from Greg Hoglund's talk. This is always recorded in that particular mod. Major source of money was a camp of robbers. Everyone would go in, kill them, get out with the loot. That was how the economy of that game was run. Or cheating, right? Player A kills B over and over and over and over again in the same room. Why? Why is he coming that way? Well, turns out that's how we experience and war points can be gained. And that, of course, is a very important part of the game. Of course, it's a noncommercial game, so gold transfer is not a problem. But these are the things that jump out if you use entropy for correlation of things. And for the pair of features, instead of single diagrams, you use a three-dimensional diagram. These are combinations of, in this case, source IP, destination IP. The height of... The histogram is the count, the number of hits. And I am out right now. I'm going to skip the math here. And... Yes, yes, yes, yes, yes. I'm so totally going to skip the math. And I'm going to put up the last slide, not the one that's okay, which is... Entropy is good. It's part of a complete analysis kit. And I would like to thank you for listening. You for listening. DEF CON for having me and letting me go two minutes over time. And everyone who helped me code these tools. And everyone who helped me with the data. And you can get those things from our SVN repository. And please do contribute. Thank you. Thank you. Thank you.