Hello, good morning everybody. This morning's talk is going to cover analyzing intrusions in intruders. It's kind of a deeper look at incident response, intrusion analysis. Okay, so this presentation is significantly changed from the one on your CD, but I've already provided this to DEF CON last night, so it'll be on the website after my talk sometime today, hopefully. Who am I? I'm Sean Bodmer. I'm a computer science, criminal science researcher. I've spent a lot of time researching honeynets over the last six years. I'm not an expert behavioral profiler, nor do I work for the Department of Justice or have any background with them specifically. Intrusion analyst by trade. I spent the first few years doing penetration testing, exploit analysis, signature generation for IDSs, IPSs, and the last six years specifically dealing with incident response, intrusion analysis. And I'm also building a thesis on attacker and threat profiling. Why am I here? I'd like to convey some concepts and methods that you all can hopefully walk away with and better protect your networks and better understand threats that are actively coming against your network. So basically, this whole talk is going to cover silence of the lamb meets silence of the ram, in a sense. Okay, so everybody's challenged. How do you better understand the threats? You get hacked, you have an incident occur on your network. How do you understand what the motive and intent is? How can you take that information when you understand it and better use that information to put in stronger protections in your network? How do you effectively communicate what just happened on your network to your leadership? How are they going to give you more budget? How are they going to allocate you more resources to? How are they going to increase your security protections or training? Overall foundations of this talk is going to basically be found in behavioral profiling. Yes, it has negative connotations in the media and the press, but it's been used for a very long time and very successfully. I think statistically, it's like 70, 72% on average. Behavioral profiling does work. It's not 100%. It's not the silver bullet, but it does work. You can use this. It's to analyze patterns of an attack. Focus on the behavior, the skills and abilities. You can look at the code that's being used against your network and see if it's custom, if it's not. Motivation, what are they going after? Your finance information, your logistics, operational, corporate espionage, complexity of the attack. How hard was it? Accessibility to the resources. This is kind of the foundation I'm going to build on from here. Okay, so I'm going to bring you all the way back about 100 years, a little bit over 100 years ago, 1888, Jack the Ripper. This is where behavioral profiling started, right? So first case profiling was actively used. So without even ever finding Jack the Ripper, they were able to build a list of, you know, a profile of Jack. And there's still today, nobody really knows who he was, but they have a lot, they can infer a lot of personality traits about Jack the Ripper, right? So. You know, they have all his victims, you know, they have the dates, circumstances of death, and, you know, how they were found, how they were harmed, right? You can relate all this information to your, you know, your network. What happened? What OSs did they hit? What services? What tools were dropped? What files were altered? What was taken? What presence was left, right? So you can, from an institution analyst perspective, you can take, relate all this information that's already there to, you know, what you're doing on a day-to-day basis. You know, you can develop patterns and signatures of an attack. You know, if you can write your own custom signatures, networks or host-based signatures. Okay, so with Jack the Ripper, they never found him, right? But they have a lot of suspects, right? They have all these plots, you know, the royal plot, they have, you know, he was a doctor, you know, how the bodies were mutilated, some say he was, some say he wasn't, it's still an ongoing debate. Jack the Ripper's crimes were disorganized, so, you know, some of them thought that it was, you know, a passion. You know, organization, knowledge of your environment, so did he know the streets where he was, you know, murdering, committing these crimes? You know, does your intruder who's hacking your network, does he seem to know exactly where your systems are? Does he know where your users are, where your files are stored, where your key assets are located, you know, if you have a very large enterprise? Also, is he extremely skilled with tools? You know, what kind of tools is he using? Is he using stuff from open source? Is he customizing? Is he customizing his own tools? You know, that can help you build off that profile of Jack, right? This is kind of an overall basic profile of Jack. I mean, I pulled it from several different sources right here. So, you look at Jack and you see, okay, there's all these assumptions about Jack the Ripper. Well, you can make the same assumptions about your attacker, right, try to narrow it down. And this all leads to trying to understand your threat. You know, are you dealing with some kids? Are you dealing with organized crime? Are you dealing with somebody who's, you know, a disgruntled employee, or something even worse? So, like I said, there's over 100 years of this experience right now that you can use as information security professionals. You can go on the internet and read. You can go buy books. You can, you know, research, you know, until your head turns blue. Experience that information that's already been built and, you know, the Department of Justice folks, the law enforcement types, you all, this is not new to you. You all have been doing this for a long time. You've been doing this for, you know, decades, over a century. And so, this is all for, really, for the security guys, network guys who don't really think about this stuff or haven't. And, you know, where you can walk away and put this into your program. So, now that information systems are at a point where all the heavy lifting is done by your automated systems, your security systems, it leaves you time to do the heavy thinking, right? Well, you can implement that a little bit better with recursive learning, you know, whether it be AI, automatic signals. That's your generation. Managed security services, groups, and on-site contractors, right? So, there's different ways that you can kind of build up in certain areas to help take all the leverage. All of your time, instead of worrying about all the logs, you can filter it all with different tools that are commercially available. All right. So, you know, get a little scientific. Criminal investigative analysis. Yep, you can go on Wiki. You can go on the internet and read all about it. That's not something that you specifically do. But it's a good resource that you can use. Go read about and walk away with, right? You know, the basis of it is reviewing crimes from a behavioral aspect. Assessing the facts about what happened and interpreting what the attacker did. So, what you see happen, if it's a very clean and organized attack, if it's very disorganized and seems slightly opportunistic, then, you know, it gives you two different types of threat profiles. You know, law enforcement. This is to pull off a law enforcement quote. You know, a person's basic behavior exhibited in a crime scene, you know, is also present in their normal lives. You know, you can infer that in any way you want to. But it will help you determine, especially if you're working in commercial space, it gives you the ability to see what's going on in your attack and go back out and do research on your attacker. Sometimes, you know, in code that you do, you know, if you reverse it, you go through the email addresses, IP addresses, you know, specific keywords. You can go back. And find the hacker group website or something on the MySpace, you know, somebody's MySpace account that has all their information on it just by finding a keyword in the code. Right? And that right there allows you to better understand who is coming at you. Okay. So, again, a little technical. Threat analysis, threat modeling. This has been around for several years. You know, so common components, you know, potential attacks, ways in, the threats of your network, and the risk. Right? So everybody says vulnerability, risk equals a threat, you know, whatever. Analysis. You sit there and look at what's going on in your network, what's the trending of what's happened, and then what you can do to countermeasure that. What kind of countermeasures you can implement in the future as stronger protections which lead to future preparations. A common analysis approach. Locate your, you know, vulnerabilities. Classify possible attackers. So if you're running a bank, you know, or a financial system, who could possibly want to get into your network? And take your information, whatever it may be. Identify the goals of an attacker. Okay. So you know your valuables. And then you say, okay, well, these groups of people may want to get into my systems. You look at your vulnerabilities and say, okay, these are the ways that they could get in. And you try to safeguard those as much as you can. And then, you know, create a resolution plan. If this happens, you know, I know to go look at these systems because I know these are my weak points. Right? And everybody always looks at the users as your weakest link. So people have looked at criminal science and people have looked at computer science. It's like basically two separate worlds. And right now I see a lot of IT information security personnel that I work with and I work for and consult to. They do a lot of post-mortem analysis. Right? Something happened and they respond to that. They're not actively looking right now and keeping on track and understanding what's going on. They wait for something to happen. They pull the hard drive. They review it. They go through their logs. But it's already happened. So there's no way to, you know, how do you respond to that? Your data is already gone. You're already toast. So it is possible to be a little proactive about it and implement these other sciences into your security program to make you a little more proactive. So you're not always responding to something. You're actually doing something. So when something happens, you're, you know, significantly more prepared. Behavioral profiling, yeah, negative connotation. But it can define, you know, one aspect. One aspect of understanding your threats and understanding attackers that want to do you harm. Okay, so it's here. It's now. You know, my humble opinion. Everybody, at some level you have thought about this. Who wants to break into my network? Who wants to do me harm? But there's really a lot of resources that you can go read about to help you better understand it. I have an entire bookshelf full of criminal, several books on criminal profiling, criminal sciences, and case studies. That has helped me relate a lot of intrusions that I've seen into, you know, from these serial murders and criminal case studies. Really how they found them. How they identified it. How they enumerated it. Who did it, right? Attribution. So you can create, you know, models of this. You can create go-by programs to help build stronger models. Depends on what kind of network or enterprise you're working with. And you can understand, if you understand that, you understand your threats. You can understand where you may be going next. Where the attackers may be going. The latest threats. Okay, you know, this new exploit just came out. Okay, I have six servers that have this vulnerability. Yeah, I can patch it. How fast can you patch it before they hit you? And how much of a threat, how large and strong is the threat? How fast are they going to respond to that zero data that just came out? Okay, so this, you can be Columbo now. You can sit here on your network and think about things that, you know, when the power goes out and you're all alone. And it'll keep you up at night. So when you do an intrusion analysis, you can either guess about what happened. You can try to put pieces together and make a lot of assumptions. Or you can really look at all the facts. Bring all your data sources together. And try to really peel away the needles in the haystack. And put them all together. Okay, you know, this pattern happened over the network. If you have some session-based monitoring tools, you can look at the session of what happened. And kind of tie it all together. And attribute this one attack to maybe this one attempt was the same person over here. And he's at five o'clock. He's at five other places. So you sort of build this big story of what may have happened. Or what is happening on your network. Okay, so here, this is a sample, you know, cyber crime investigation. You know, intrusion investigation. You know, so you assess the scene. You can collect your evidence. Put all your data sources together. Document. Document, please. Analyze what happened. You know, network forensics. Host-based forensics. You know, reversing malicious code. Whatever, you know. Whatever you like. Whatever tools you use. Assessment, right? So you see what happened over the network. Over the host. You put it all together. And then you basically try to build a profile. A threat profile. An attacker profile of the intruder or the group that just came at your network. And then you try to generate an intrusion report that has all this combined information in it. And give it to your senior leadership to let them know how big of a threat just came at their network. Whether it was some kid just using some tool he downloaded. Or this is something serious, sir. You know, I need, you know, more tools. I need, you know, we need to call the police. Get a lawyer. You know, get, you know, whoever involved to better support what just happened. Especially if you're a large financial institution. Okay, here's a sample investigative life cycle. I'm just going to run through really quick. All right. So you have your incident. You know, awareness consultation right when the incident occurs. Preliminary analysis. You know, image acquisition recovery. You do analysis on it. Preliminary and final report. And either you're going to go to prosecutable or non-prosecutable. You know, even if you go prosecutable, you still have the bottom containment and prevention for the future. They still kind of go hand in hand. And, you know, if you end up in a prosecution, you know, I swear to tell the truth, nothing but the truth. And that's entertaining in and of itself. So where do you start, right? So an incident occurs and you have all this data, right? So we've talked about how you can do, you know, behavioral profiling and intruder analysis. But when it comes down to it, you have all of these components of technology that you have to wrap your head around when something happens. Where do I start, right? Do I look for, you know, the hard drive? Do I look at the apps? Do I look at the network logs? The hard drives? What do I do first, right? And it's all around what just happened, the body of the crime. So you have all this to go through. And it's very inundating to figure out where you want to go. So I'm going to go through a couple of case studies throughout this, okay? Hadley, Mojave, Mahart, El Griton, Julio, Ardita. So this is all open source information, right? This is a hacker who broke into some government organizations, colleges in some foreign countries. So he hacked into some other – did some very nasty things, right? So bottom line, you know, they charged him at the very bottom three years probation, you know, had to pay some fines. Nothing too big, right? But when you look at this and you're watching this, if you were on that assessment team, right, trying to do the incident response, how would you have handled that? How would you have looked at the difficulty of his code, considered the target, what he was going after, what systems he was hitting, where the data points were that he took the data? What was the outcome, okay? So did he take your financial information? Did he take any kind of logistics? Did he take personnel records, PII, whatever you want to call it? What did he do? What did he take and what does it all mean to you? How much does that damage your day-to-day functions, right? And how would you analyze that? Typology is basically typecasting or stereotyping certain groups together, you know, like the naive hacker, the organized crime. And I actually have a list of slides down. And victimology is basically looking at what servers he hit. You know, actually looking at the victim, the target, and trying to assess, okay, so what was the value of that target that he just went after? And, you know, you can look up the definitions on Wiki. And there are other methods you can use, you know, just using standard digital media analysis and trying to do some kind of incident response report, a damage assessment. But attacker characterization is very important when you try to do this assessment, right? So attacker characterization has two primary components, events and threats. So what has occurred by the act of the attacker and then the threat? The motives and intent of the attack, right? So generally session data isn't available on an attack. You're looking at some, you know, some fuzzed up host logs. You're looking at some network logs and IDS logs, firewall logs that have more than likely been fuzzed. You know, somebody throws a lot of noise at a router or firewall passing IDS and tries to slip by. Goes really low and slow and tries to throw really slow fragmented attacks. You know, it could be depending on how... how important you are as a target. Okay, so HoneyNet technologies, if they're available and you use them, you know, and if you don't publish them... okay, so general consensus is that yeah, everyone's like HoneyNet, you know, bad connotations as well. But if you use them and implement them inside your network and don't advertise them publicly, you can use them, right? It gets kind of shady when you go for prosecutable... path. Work with your corporate attorney on that, but you don't have to if you're not going to do prosecution, you just want to do protection, you can implement honeypots until your heart's content. So these are the common, we need to talk about typology and breaking your threats down into groups. Here's just a the groups that we use internally for analysis team. You see, it goes down from naive or novice to foreign intelligence, which depending on what kind of information you're protecting, it can go all the way there. Components of an attacker profile that you can start building, and we actually have some broken out forms that we use, so when we have first hour information we try to fill all this stuff out. You have motivation, objectives, timelines, resources, risk tolerance, skills and methods, profits, actions, attack organization points, numbers involved in the attack. You may see one attack, but it could be several people involved in that attack. One person scans, one person actually injects, one person runs the shell, one person gets in and pulls the data, one person cleans up. That can happen, it can be one person from cradle to grave, soup to nuts, you know. Knowledge source, right, when I say knowledge source, that again refers to, if you're you have the ability to find out an email address, an IP address, a keyword that you can go Google or search for on the internet and find out more about that person or that group, and you can figure out okay, what are they about? Do they hate my company? Is it a former employee? Is it a group working to do money laundering, or they want to sell my information on IRC, whatever it may be, but that's a good information source, is trying to go out and try to find information about that entity or person. Common challenges in attacker attack characterization, the cost. How do you really effectively convey that to your leadership? Hey, we need this amount of money, in addition just making sure we have day-to-day operations going to have all this threat modeling attacker characterization, all these extra sensors out and running. The personnel, skilled talent to do analysis on the information, equipment, software, productivity. Most organizations they really don't want to be inundated with all this other additional work that you have to do, this workload, especially IS staff. We have a lot to do on a day-to-day function. Why are we going to spend this extra two or three hours doing all this analysis and all this extra logs? Well, you can automate a lot of it. And technology. How do you know where to put the equipment? Boundary protections. The continuity of operations of that equipment. Depending on what kind of guidelines you're operating under, Sarbanes-Oxley, HIPAA. Do you have to store that data? Do you have to have extra backups of that? And what happens if that data dies and you have disaster recovery? Is your leadership going to let you have a whole other hot site or cold site for that? And legal. Most lawyers get really tense and pucker up when you talk about setting up any kind of extra attacker characterization or profiling systems. Depends on how you word it. So we talked a lot about implementing the concepts of actually performing the work. So when you're actually doing the analysis, you want to trace an attack to the insertion point. In your first hour, when you find out something's happened, you try to find that point of entry. And try to trace it back. Because that first device, like most ISPs, they dump their data in 24 hours. So you have 48 hours to find out where that attack came from before all your data's gone. But that data, even though the source IP doesn't mean too much, it still helps you understand what might be happening. And how, what, who, when, why, and where. It's a big piece of the pie. Acquiring all of your internal assets. If you run a major enterprise that's across several countries or several states across the country, how do you get all those pieces together really quick before the logs are erased or before something is damaged? Or that attacker, as he's getting out of your network, you don't have access to your Texas site, whatever it may be, and they're deleting those logs when you're finding out in your Philadelphia office that something just happened. So getting all that information together really quick and storing it, that's really important. Postmortem is reactive and not proactive. And if you're not implementing technologies to actively monitor the anomalous behavior, you're fighting a never-ending battle. It's completely uphill and you're just going to fall down. Datastream, Cowboy, and Coogee. So 26 days of attacks, 20 days of monitoring. A lot of sniffers. So look at the overall damage. And that's the damage just to the computer systems. That doesn't cover the cost associated with the time. It took all the personnel to rebuild all those systems. The information lost as with case study B. There is an undefined monetary number with all that. That hasn't ever totaled. If you looked at that and you were trying to define how bad is this threat. So think you're on the receiving end of this and you find out there's all these sniffers loaded on your network. There's all this data going out of your network. The tools that are running on your network, how good is the code? Is it very custom? Again, is it open source? Common tools. Who would you consider the target? How would you consider it? Would you look at what just happened to you and try to figure out what does this all mean? If I'm building an airplane, are they taking different pieces of it from different sites to all take it back and build a nice plane for themselves? Because they're starting up their own airline. Could you look at the typology and victimology, put them together, and assess the situation. Could you look at, okay, so I think that this information is highly valuable and it could end up on the black market or in another country or specifically the black market. And look at your target, your victim. What does this all mean to me? What service did it take? Again, what applications, what files, what information? Giving you kind of a light run through of when you see an intrusion, how would you look at it? So you have this information of your attacker. This is what I actually use to build profiles after an intrusion. This is what I do on a day-to-day basis. Gender content analysis. Can you see inside the code? Can you look on the internet and see if this is a male, female? Can you do research on that? I said on the internet, age? Older? Younger? Middle-aged? Command use? Keystroke use? If they're using some really old commands, Windows, Unix, you can infer that they're older, younger. There's things like that that you can use. Sometimes people can be aware that you're doing that and throw you off with some... It could be a young person using older commands. They can do things like that. Typology, methodology, content analysis. Looking actually at the PCAP of the attack, what actually happened in the flows. Race, ethnicity. Can you tell if they're from a foreign country? Can you tell if they're local? What region of the country they're from? What part of the world they're from? You can do that. Talk about command use and keystroke use. That's relating to honey nets and honey pots. You can also do level of intelligence and schooling. How well educated are they? Is your attacker? That can also mean you can infer from the level of intelligence and schooling what kind of threat you're up against. Who wants to do you harm? Whether this person is highly funded and well educated. You really don't find highly highly highly educated people doing, I mean, masters, PhDs I'm referring to, doing a lot of major hacking. You find some people doing it, but as far as doing cross organizational intrusions, unless they're highly funded. PhDs and masters are really at work. Political affiliations. Are they extremely extremist group? Are they with some environmentalist group? Whatever it may be, you can identify that potentially by going out and doing research on the internet, looking at content analysis of what's going on. In external data sources, if you find out that somebody else has been attacked by the same entity, by the same group, you can kind of put your heads together and go, okay, well we think because our two organizations have these functions that it could be this kind of group coming after both of us. Physical mental health, we've all seen the movie Swordfish, right? The guy's like, hacking this bank or I'm going to shoot you. Same type of thing. Don't know if you've ever seen that before, but it can happen. You can also see, are they narcissistic? Do they have any kind of manic depressive, bipolar disorders? What are their patterns of attack? You want to construct your assessment. You do your triage of the initial incident, your case overview, your victimology, and you look at the attack. History, hotspots, nature of the information targeted, again, victim system functionality. Vulnerability, exploits, is there any disclosure history on the internet about that attack or that attacker disclosing the attacks? M.O., modus operandi, mode of operations, signature, content, patterns. Can you look at any of that, any attack, and can you correlate it across multiples? Utilization of the access, so how often when they got into your network did they use it? Did they get in for a few minutes and just back away? Did they get in and were they so comfortable on your network that they found other user accounts, logged into other Azure users overnight for hours and hours and hours, logged into multiple locations, and just took all kinds of data and wove it out of your network? How do you look at that? How well? And then data transfer technique. Did they just FTP it out? Did they SCP it out? Did they use some kind of encrypted channel out? And that can help you infer the skill level and the motive and intent of your attacker. Logging alteration, deletion techniques. Did they modify the host at all? Did they care to cover their tracks or did they not? How brazen were they that you can build this information about your attacker? It's a little profile. So you're going to analyze session behaviors. There's session data available. You can look at the knowledge of that attacker of your environment. System locations. System functionalities. If it knew exactly where that server was on that VLAN, it knew that that was the mail server. It knew that this was the backup file server. If you have a major enterprise and you have your own proprietary naming convention, how well were they in your network and how were that entity before they got in your system? Did they know exactly where to go? Or did they have to putz around for a little while and do some net views or whatever to get in the system? Did they know exactly what folders and files without doing any greps or directory searches? Did they know your personnel and roles? Did they know exactly that your vice president was in that office in that state or in that network? Whether the attacker is scripted or not? How often does the attacker generate typos? So let's say you have a fat finger and you always mess up queue and you're always having to backspace and delete that. If you have session analysis or session analysis systems, you can really look at all that data and really build a good understanding of your attacker. Okay, so implementing session analysis, again, honey nets, honey pots. So I'm going to show you a few sessions that we've collected and they've all been scrubbed, but this information has been involved in a couple things that I've worked on. So I don't think you can see this too well, but it's on your CD. I've kind of cleaned up some of the text on the CD. I took out some of the MySQL statements. Basically you see the person, you know, config, tried to pivot off to another box, and went down systematically and went through, looked at the domain, directory to some tools, TFTP'd some stuff out, echoed, pulling stuff out to a file, outputting all this information from the server to a file, took out the file, renamed his tool to a nice tool, went down, pinged some other systems, did some discovery on some other systems on the network, and knew exactly where to go, copying some of these files in, right? So, bang. So how often did this attacker really dig around and look for a whole bunch of systems, right? This actually happened very fast, over about a half an hour's time. So this person, this entity, knew exactly where to go, and just testing would make sure some systems were up and logged in. But it was very quick, very fast, highly educated, you know, don't know about the resources of that entity, but it was very fast, very educated, they knew exactly where to go. So, but you can see that they went down, found some passwords on the local system, and kept digging and burying deeper and deeper in, right? Found some passwords, looked at some more systems, copied over some more files to some other systems, so you can see they're just pulling out the data, pulling it out, pulling it out, right, very fast. So after you look at this, right, and this is actually about six pages printed out of a honeypot capture, how would you have analyzed, evaluated the attack, right? You can look at the network data, and you can look at the signatures created, and kind of put them together, and then say, okay, here's the session data, and match all that up, and build a very good profile and understanding of your attacker. Was it sophisticated, motivated, targeted, opportunistic, organized, disorganized, it's a good criminal science term, and then automated a lot. Was it scripted? Did somebody prepare all this? If somebody prepared this kind of information, this attack very quickly, you know, they have to have an extreme knowledge, you know, a very deep knowledge of your internal network, your day-to-day operations. Okay, honeypot capture two. Okay, so basically the person, this is kind of a pudge around on a DMZ. Somebody was looking around for something. So we see that they're just kind of digging around, looking for something, and they're not really doing too much. They're just trying to do some discovery, and it's not that very long of a capture. Two and a half, sorry, two and a half pages. So you can see, and I will say that I actually messed up on this one when I set up my honeypot, and actually left the in the recent documents link, I left the little cvec.zip file in there, so they discovered it pretty quick. So don't do that. So they go through and try to dig around the system. Dig around for some domains. Nothing too fancy, nothing too good, but they did try to pull out some data to an external IP, which is fuzzed. And you can see that they tried to make a lot of noise on the network, try to fill up the IDS logs. So, you know, not too sophisticated. Somebody's poking around for an empty box to pivot off of. You know, like I said, not too sophisticated, motivated, and they never came back after that. It wasn't very, it looked like opportunistic, not really targeted, because that IP or that presence really hadn't scanned like that or hit that service on that honeypot before. Automated, it was live. There was a live person digging around that network. A script wouldn't have made those kind of faux pas like that and made those typos. So, session capture three, this is actually much shorter, but you can look at it. Somebody's just digging around, looking at a domain they just tried to get into. And this was a web server domain. And hit a server, tried to look for some documents, recent documents on the system. Tried to do some other good queries. It made a lot of noise on the network. But it wasn't very sophisticated. You look around and they left after a while. And this right here was about an hour of digging around. Session capture two was about an hour and a half. So, it wasn't on. They never came back. They never did anything more with this system. So, wasn't sophisticated. Wasn't very motivated, because they never came back. That presence never hit that honeypot again. Didn't really seem targeted. They weren't really specific. They were kind of widely searching. They weren't searching for anything specific. Seemed kind of disorganized. They didn't know exactly where they were going, what they were going after. And it was live. All the typos. Okay, so Carlos Smack Salgado. So, here's another hacker. Ended up with a large fine, two and a half years in federal prison. Made about $200,000 in sale of credit cards. So, if you're an online financial company, you have threats like this every day. You can go on the internet and IRC Underground and find all kinds of credit cards you can buy every day for $1 or $10. So, if you had been a part of this on the financial side, trying to figure out what was going on on your network, how would you consider the difficulty of what he was doing? All this information was it easily accessible? Maybe a few security controls in place? Would you consider the target? What was he targeting? Okay, credit card information. Very easy. So, this is financially based. Is it financially motivated? Consider the outcome. He walked away with all my credit card information. So, you can deduce it's probably going to end up on the underground internet. So, you can probably get on another box and try to get off on the open internet and try to find your credit cards or any of those numbers out there fishing around. Typology. What type would you have mixed them in? Of all those common attacker types that I threw out there. Victimology. When you're just doing the assessment on that financial data that was out, you can look at that and okay, it was e-processing server, all my credit card data was stolen, what app did he get through? You can put all that information together for your official report. I can't go over all the theory. I mentioned some tools. In your toolkit, in my toolkit, we use network IDSs, host-based IDSs, firewalls, antivirus, router logs, honeypots, honeynets, host-based analysis and system event logs. You'd be surprised how many attackers actually forget to delete certain web logs, certain event logs when they're trying to cover their tracks. In order to catch someone crafty, you need to be crafty. So, honeypots and honeynets. How many attackers really expect you to deploy a few honeypots inside your network or outside your network? Not many, right? I mean, I know in the past few years it's gotten more and more prominent in interesting technologies, more people are starting to look for them, but not as many as they used to. And they still don't look for them. I rarely ever see anybody in any honeypot that I've helped set up look over their shoulder and try to dig for a honeypot. Except for that one time because I was stupid enough to leave it in the recent documents folder. So, security of resource lies in your ability to be able to use it, right? So, you want to make your honeypot look as close to your current environment as possible. Same host name, naming convention, usernames, take some fake data or some used data from your network and dump it on that box. So, when they're doing that directory grep search, they can find the docs and spreadsheets and powerpoints and any kind of recent, temporary internet files. Make it look a little realistic. And that's a huge thing. If an attacker gets on your honeypot and sees nothing, within the first five minutes they're just going to bounce off and go, there's something not right here because every box in the network has a whole bunch of data in it. So, you really have to make it do something. So, honeypots, you know, advantages. You can collect a small amount of data for only what hits it, but everything that comes to it you can infer is completely malicious or suspicious, right? So, reducing your false positive rates helps you correlate, looking through all the haystack, all you see is needles in a honeypot. That's all you see. You can go, okay, I'm seeing this here and look across your entire enterprise really quick and go, where else am I seeing this? And you can go back and say, okay, have I seen this a week ago, a month ago, a year ago? If you have logs that long, see how low and slow is this person, right? Catch new attacks, works encrypted, IPv6 environments, right? Easily. Simple concept requiring minimal resources depending on how you deploy them. Disadvantages, limited field of view, and there's a risk. You know, they can, if you set it up incorrectly, they can use your honeypot to attack the rest of your systems or other companies or other countries. You know, whatever it may be. And automation isn't perfect, but if you put some resources into it or buy some commercial tools, you know, it works out a little better. Okay, so many types available. High interaction honeypots, which are full-blown systems. They don't scale too well, but requires a lot of resources, a lot of machines, and a lot of data analysis because you're really doing host-based analysis, network analysis on full-blown systems. Low interaction systems, they can scale very, very well, but there's a specific purpose and most of these low interaction honeypots, they don't trick an attacker to actually get in the system. It's just, you know, for scanning and early warnings of a network. Okay, so here's a few screenshots of actually the Roo OS, which is the latest version of the iteration of the HoneyNet HoneyWall. So you can see this is all sample that was pulled off Google images. But basically, you can see the attacks, the times, process IDs of actually what occurred, you know, the directories, what the person is doing. So all those keystrokes that I showed you would be in the bottom of this window. And you can easily look at really quick, okay, so what's going on? What process is he using? Where did he come in? You can look at the information, and this is really great, especially if you write your own signatures, which we do a lot of. You can sit there and correlate the time, the event, source IP address, destination, and custom signatures. The signatures related to it, so that builds you a network profile of your attacker. And then you go look at the host base part of it, and even your production systems, not even your honeypots, and you can match up in the event logs with the honeypot session capture and go, okay, so he's doing all these things, or she, or that entity is doing these things. Okay, so you can infer that what's going on in your honeypot may be the same over here. And you can see the skill and intent. Again, this is another one. What I want to talk about, you know, a person at the bottom here, you see a delete, delete, delete, delete, right? So that person just kept trying to, so if they have, you know, have a fat finger and keep hitting Q, that's also a pattern and a signature that you can put on somebody right there. Here's another one. So process. So, you know, most of us have tools, you know, when you do pen testing, you go into a system and, you know, you have your first few things that you do. You check the environment of the box, you know, you try to set your own environment, set your own shell, however you try to play with it. But you always go through some specific services that you want to get to, right? Some commands you want to kick off, and you can kind of infer that, hey, you know, honeypot A and honeypot B, you know, there's some relation here to how this person behaved, you know, or these two attacks are completely different. You know, these different entities, different personalities, different methods, different modes, right? Or, you know, you can see if they jump from one to the other. So, here goes some nerd stuff. I'm going to start with trans, sorry. So you can spend more time analyzing attacks and spend more time performing analysis on these intrusions, right? Just don't rebuild your hard drive and keep going. I know most senior leadership, they want you to take out that hard drive, rebuild it, smack it back in, and just keep marching on, right? They don't care about what happened, they just want to check that box that they got their annual, you know, assessment and day-to-day operations, bring that money in. But, you know, that's not going to keep the threat out. Just keep it persistent. You can perform yourself victimology and typology on the attacks, which will help you have a better understanding of what you're up against and what kind of protections you need to implement. Build a profile of the incident. You may see crossover. If you build a profile or an incident report with a profile of every incident that occurs, you can easily, one day, maybe start correlating some of these events across other events. Okay, so these five right here may have been the same group or same person and start correlating that and helping the community better understand what this one hacker group, how they behave and how they act. And use the lessons learned to add stronger policy, to add better features to your network, to implement better countermeasures at your weak points, at your soft spots. Professional recommendations, you know, create photos. Especially if it goes to prosecution, you're definitely going to want photos. You can't decide to create a chain of custody. If you already performed any kind of analysis steps on any of your production assets that were hit, think before you act, please. If you're working in prosecuting of intrusion, get your lawyer involved, your corporate attorney. You can always describe every detail possible and as much depth as you can. You never know when it'll be important. You never know when you're doing your analysis, when you write down a detail, you get to some other systems, it may pop up like, oh yeah, that was important over here. And then you actually put two and two together and you get five. Take more time to study non-cyber based case studies. It helps you relate the methods and how they were able to find the criminal. How they were able to relate it back. Sometimes you can relate that to IT security. Document everything. In short, attempt to better understand your threats on your network. What may actually be of value to anyone that wants to do you harm. Define your assets and valuables. You can do a whole risk management risk assessment of your network. Study non-cyber based. Increase your ability to correlate with more events across your network. You never know if these two client side hits, these emails, phishing emails, if they were both going to the same entity, the same organization, document everything because it can all lead back. When you study more non-cyber based case studies, cyber crimes, cyber criminals, there's a ton of them on the internet that are published now because there's enough of us that have been caught. Serial murders, habitual offenders, there's all kinds of data sources on the internet that you can learn, you can research and find out some usual habitual methods that these guys fall prey to. They help provide understanding of the resources they may use when you start looking at an attacker, start looking at the tools they may be using against you. You start better understanding how they're getting in, what they're doing, and that helps you understand what you need to do to keep them out and what you need to buy. Keep up to date on the latest security trends, of course. You're all here. Maintain an active record of your environment. Be aware of your network behavior. Know your network, people. I'm not saying that none of you do, but I have consulted two groups who have no idea where this system is, the host name, I don't know, I think it's on the fifth floor and it's not even in that city. People who don't know when there's a daily crime job that transfers an rsync to another database in another site. I didn't know that happened. They thought that was something going on. Please know your network. That'll help you reduce a lot of problems. I added this last night, well, some of it, so I wanted to be able to give you all some information to walk away with and do some reading. This is just some of the books that I have. The Cyber Adversary Characterization is really the only good cyber adversary characterization book out there. It's a lot of fluff. It's a lot like the Microsoft Press from about eight, ten years ago, but it gives you a good fundamental understanding of some processes that you can use. And then the criminal sciences books. Always talk to lawyers. Talk to law enforcement types. If you're in that type of world, you can reach over and knock on their door, give them a call and say, hey, I want to learn more about this type of criminal sciences kind of study. Where should I go to go learn? They can recommend you go to some certain places. HoneyNet.org CrimeLibrary.com Very, very good resource for criminal sciences behavioral profile and offender profiling. Very good resource. Wikipedia, of course. It has several dozen links on each page. Dartmouth University. They have a lot of good stuff, too. Yep. Here we go. And I'll close this off with some famous dead guy quotes. You can't go anywhere without those these days, right? The first one is very applicable today. Most of us who are on the defense side. I think some of us here are really close to the second one as well. Alright.