This is it. This is this is the last day of this is the last day of DEF CON and Yeah, we walked in well Everyone all right from last night? Everyone all right? Okay, apparently we had our people here at five o'clock in the morning And I don't know if it was our people but we know we had people at five o'clock in the morning here and Yeah, it was Yeah, the area was All right, so welcome to the packet hacking village and the speaker workshops Thank you so much for being here On a personal note just to share. This is my first time in one two two years. I've stayed on a Sunday So seeing everyone here At this right right now. We were really worried Originally the original plan was not to have any speaker workshop talks on Sunday that was the original plan the original plan was only to have talks on Friday and Saturday because Historically speaking we were saying Who's going to show up on a Sunday morning at a packing hacking village because last year was like somewhat dead and Apparently that's absolutely not true So this is just just having just being here right now is a very very good indicator for how we're going to plan the future Which we have no idea? I mean, we've been hearing a lot of stuff a lot of rumors and all that stuff that's flying around and I'm sure you have as well But yeah, I mean we would be foolish We would have been really really foolish to actually not have a Sunday because if we didn't have today for speaker workshops We wouldn't have Kathy here who's going to be on stage next? We have Chuck and Chris Moore talking about LTE insecurity right after this and last but not least We also have Plugged from Verizon to talk about Skype all James bond style and some of the work that he's been doing at a at Verizon and We have three really really really strong talks to end the day and at 2 p.m. We're going to have some sort of closing ceremony Some sort of closing ceremony and then we are going to pack up and start planning for 2017 so we have left a really really strong closing three really really strong talks for today again thank you so much for for being here with us for the last one two three long days in Vegas here at the packet hacking village we can't thank you enough for your support and we've heard so much good good stuff from from everyone here before before I introduce Kathy on on stage and you know I've said for the last one two three days here here at here at the packet hacking village just give a public service announcement about something that's very near and dear to us and that is the I didn't that is a sexual harassment it's just don't go there it's a no-no you know it's completely wrong it's an issue that is yet not only plaguing the security community but also tech as well don't make the problem worse just don't go there and one of the things that we've heard from a lot of people you know this is my tenth year here and I definitely have found this very true especially when we had a when we're having a team dinner last night and we really do pride ourselves we really pride ourselves here at the wall of sheep in the packet hacking village on on inclusiveness and we looked around that room it was like you know it's come a long way it's really come a long way from having putting up username and passwords on paper plates and then pinning them onto the wall yeah that was 2000 2006 and beyond and that we looked around the room with all the all of our team members and we said yes this is a yeah hello there's a monster that we created but it's something that we are very very proud of and so so that's that's a PSA if you're expecting me to throw t-shirts and all the swag out today yeah we're completely out which is somewhat of which is actually a good thing for us because we don't want to have what happened a few years ago in which you know we didn't give out anything on Friday we didn't give out anything on Saturday and then Sunday we had like 40 boxes of stuff it was and of course that just made moving life and packing life miserable for each and every one of us here so what time is it 206 so yeah I now you know it's 206 we got four minutes and might as well make a very very kind introduction for our first speaker of the Sunday here at the packet hacking village speaking with our speaker workshops and we are very very delighted to have we're very very delighted to have Kathy Wang from Splunk to talk about you know passive DNS for network defense and it is certainly our great honor to have Kathy to present this morning so thank you so much so ladies and gentlemen Kathy Wang I'm just gonna take a picture awesome thank you okay so I'm Kathy and I am really impressed that the there's so many people in here when I got here like an hour ago there are maybe three people sitting there and I was like oh my god everyone had too much to drink last night or something and no one showed up so this is really awesome and I'm here to talk to you this is a slightly different title than what's on the announcements but rest assured it's the same talk I just thought this title sounded more compelling right because that's what we're all here for in the village is network defense I bet most of us do that so including me so you know I think it's a really really good title for that so I last spoke at DEF CON for DEF CON 12 I mean that was a really long time ago and it was at Alexis Park back then and I really regret that I didn't have a smartphone to take a picture of audience back then because I was actually in one of those really big tents outside at the Alexis Park and there were a lot of people in there but it was super hot like a hundred you know 50 degrees in there or something so this is so much better so things have gotten so much better in the last you know 12 years or something Wow but anyway since then I've had a lot of different adventures I was an open-source prototyper I don't call myself a developer because I'm not a software engineer but I prototype for fun and I have had some open-source software in the past like morph and the honey client project which some of you may be familiar with I hope but along the way I've learned a lot about malware detection and response and that kind of gives way to threat Intel work so I've been you know involved in that field and Arena for quite a long time and I'm here to share with you some of the insights that I've gathered along the way and hope that what you can take away from this is that you learn something today that's my goal I really hope you learn something today so if you don't come up to me afterwards and tell me that because I'd like to get feedback and know how I can do better next time so this presentation is really about telling you about a new tool or capability that we worked on and I'm really excited to talk about that and I will get to that I just also I'm a big person for giving credit where it's due I never take credit for other people's work right so that's really important for me so I just want to let you guys know my colleague Steve and I worked on this tool together and he couldn't be up here to present today he actually had a fly out really early this morning so I'm the one doing the presentation but I wanted to call him out for that you know for helping out and everything he was an integral part of this project okay so getting to the agenda how many of you guys in here work on threat Intel analysis that's actually a pretty good number of people it's not the typical number of people that I get every conference that I speak at depending on the conference I may get a lot less so and I see those there's still plenty of people who didn't raise their hands and so I want to spend a little time going over why that's important because I think it's very important to get that message out and get more people interested a lot of people talk about threat Intel but whether it's important or not or understanding in the bigger scheme of things why it's important it's a something that not a lot of people understand so I want to make sure that's there and why threat Intel important right what the difficulties are with triaging advanced attacks doing threat Intel I know those of you who do it probably are well aware of the challenges that you face but I want to make sure everyone here knows that and then we are really here to talk about internal local stores of passive DNS information like building capability and at the end of this talk I promise you'll be able to access the tool use it install it in your environment that's what this is all about so I want to make sure you guys know that and then what it what kind of thought process we took in creating the tool I did a lot of that the design of the workflow and how to get people to be able to triage through all of these important pieces of data very quickly because I have that kind of background I have the security operations on analyst background so I did a lot of that kind of work um and then next steps this is the exciting part this isn't the end of presenting on this tool right this is the first step this is what I would call the MVP or minimally viable product and we have so much more in store for this tool that we're gonna also do in the next six months or so. So there's more coming. Okay, so let's get started. The current problem is that, you know, threat intel is something that a lot of people know about, hear about, but actually working it is another thing. So it's sharing data. It's sort of a short-term solution right now for us in sharing data amongst different peer groups or different industry sectors so that we can all become more proactive and better at fighting against the attackers that are targeting us. And mostly we focus on more advanced and sophisticated types of attacks. I'm not going to say APT because, man, every time I say that, like half the people in the room are like, I hate that term. So I've said it already. But anyway, I probably won't keep saying it. Advanced attacks. Let's talk about that. And then there are existing schemas like STIX and TAXI and, you know, you guys have probably all heard of that for formatting, sharing this kind of data. But it's not really widely used. I mean, not everyone uses it. And why is that, right? But that's yet another talk and another problem. And, you know, the MITRE people do a really good job with that kind of talk. So I'm not going to cover that. But we need to have the ability to allow people to quickly visualize the attack relationships between multiple organizations and groups. That's what it's ultimately about. And the reason for that is because we're all fairly visual. We're good at picking up information when we see it in a visual format and not so much if it's like in this Excel spreadsheet of tables. Right? I mean, that's just looks like mumbo-jumbo. So we want to have a really good visualization interface with people and Threat Intel is important. I know this is DBIR. If you haven't read DBIR, please do. It's a really good report that's released by Verizon every year And it's you know covers things pretty well from a threat landscape perspective I know it says it's 2014, but I mean 2016 doesn't matter. It's still like this. Everyone is a target and everyone's a victim So in the last two years, it really hasn't changed that much Every single Industry sector is pretty much affected by these types of advanced targeting attacks You probably all know that and so this is only here for informational purposes External attacks are increasing. We all know that as well. It's just getting worse and worse it's not getting better and Nation state attacks are increasing as well There's a lot of interest in grabbing intellectual property and finding out what's next, right? So if you work in tech Your company's probably already targeted or been targeted so it's very rare relevant to pretty much all of us here. And a lot of times, even now, people are finding out about threats from other organizations. Like, hey, it looks like I'm getting traffic from your organization attacking one of our servers or endpoints. Oh, OK. Let me do an investigation and see what's going on. I mean, you'll see from this the vast majority of these finding things out is coming from other organizations. So that only highlights the importance of sharing threat intel data. So this is very important. So if you look at how threat intel works, there's many, many different formats. There's the discovery phase. You discover a threat. And then you try to model the threat or create some sort of visualization of it. And then you try to translate that information into some sort of shareable format, maybe like YARA rules or doing some sort of standard using that to share. And then you extract the indicators. So that's how you're going to figure out how to put what do you need to do with your firewalls or IPSs or whatever. So that's how you're going to figure out or whatever devices in order to prevent this particular attack or block it. And then the last step is being proactive and trying to prevent this stuff because you found out about the indicators from an industry peer before you got attacked with it. And this is all very important for sharing. And we all know that these advanced threat actors tend to attack in campaigns. So that means that they're like, okay, next month we're going to target high tech sector. After that, law firms. After that, educational entities, you know. So they tend to do things that way. So it's very helpful to share that data. So what I'm going to highlight here in this slide is how are we doing so far with all of these different steps that need to happen to do effective threat intel sharing. So the threat part, we've automated a lot of it, right? We can't really automate the visualization of model. That's very hard to do. And it's not done very well at all if it's attempted at all. The gap is that, okay, we can automate translating the models into shareable formats, but I can't think of any solution that does this really, really well. So that's the major gap. And then extracting indicators and preventing threats, there's automated solutions. So this is kind of just to give you a background of kind of like a 20,000 foot view of threat intel, what the problems are, how we should share, why we should share, and then where the current gaps are in the workflow for threat intel analysts. Okay. So where can the problem be? Well, first of all, I think the process still be improved, right? I talked about visibility, being able to visualize all of this information, but also being able to know that, like if I get breached, then our organization may find out months after the fact. That happens in most places. And then when you do that, you find out you've been breached, your IR people, then try to investigate the breach and see, you know, try to build this table of when it happened, what happened, what were the artifacts, what were the TTPs that were used, all that, right? So in building that, it helps for them to have a better visibility of malicious domains. And by that, I mean that these malicious domains are quite ephemeral, right? They go away very quickly, and then they register new domains, the attackers do, and then proceed from there. So months after the attack happens, you may not be able to find the information about that particular malicious domain that you saw evidence of in your network. So what can we do about that? That's what this talk is really about. I'm not going to be talking about automation, visualization, modeling of threats, or sharing. Those are all. Believe me, those are like individual talk tracks for each of those. We don't have enough time to cover all that today. So why do people use passive DNS for threat intel? So as I mentioned, malicious domains are very ephemeral. They go away very quickly. So when you're doing your IR work, you might use an external service like Farsight DNS DB or Passive Total, which is now RISC-IQ. But when you're using these services, I've encountered, for example, trying to look up a particular domain and then not being able to get any results with that. And that to me is frustrating because, I mean, these services have sensors in a lot of places, but they don't have sensors everywhere, right? It's not possible. It's not possible to have sensors everywhere, especially in my own network, right? So they don't necessarily have sensors in there. And, you know, you really kind of need to build this information both on the internal side and external side to have a thorough table of information for good analysis. And I'll show you visually what that means. That's very, so in a second I'll show you. But anyway, so a lot of these attacks that we're talking about that are sophisticated, they're very highly tailored and targeted, so they know who to target in your organization, maybe your C levels, maybe your people who have admin accounts. And then from there it can be very difficult to figure out what happened during the course of this attack. You don't have full visibility. Right? And then, you know, you get this piecemeal information, but it's better for you to have better visibility because then you can share appropriately with your peers. Maybe they'll have something to share back with you as well. So let's talk about augmenting your existing external services with a custom internal sensor that can be a repository of your own malicious domains that have been used for a long time. Cross your network, right? And then so we want to build some sort of a lightweight sensor that doesn't have a big maintenance burden and can sit in your network and collect all DNS data so that later on after you've discovered you've been breached, you can access that source also to do passive DNS analysis. So visually, so I've been talking about how difficult it is to triage these types of targeted attacks. So here's how I kind of see it in my head. And you have here on the left side an attacker infrastructure of some sort. And all those little white dots represent nodes. So hosts that they have launching attacks against your organization. And let's say your organization won. Okay? And you've got all of your endpoint hosts and nodes in there. There's another organization that's in your sector, in your industry sector. We'll pretend that we're a defense contractor, okay? And so we're organization one. We're a defense contractor. And then org two is another defense contractor that we like to share threat intel information with, collaborate. So this attacker has launched a series of attacks from their infrastructure against us. However, the public DNS sensors like Farsight and PassiveTotal, they have partial visibility of the attacks that were launched against us, which is represented by all the red arrows, right? And so what we want is that yellow ring over there, which kind of is our local lightweight sensor. So we see all incoming traffic from the attacker infrastructure because it sits on our network. Okay? So we no longer only have partial visibility, but we have full visibility. However, this is not to say that we're trying to replace external sensors. Those are still important. And you really need both to have complete visibility, is what I'm saying. And the reason for that is look where they are. They're able to see one attack in particular going across to both your organization and organization two. So now you know that this may have been some sort of a targeted campaign that was launched against defense contractors, including you and your peer. So, I mean, this is really, really good stuff to know. You wouldn't want to just have partial visibility in this case, right? So let me show you what I mean by building a table, right, of this kind of stuff. So as an analyst, I've got on the left side a public passive DNS sensor table. And on the right side, I've got a local or private passive DNS sensor table. And so here's what I see. I'm, you know, a defense contractor. I see on the right side, okay, these are all the different malicious domains. And by the way, these are actual malicious domains, so don't go there. So, you know, this is what I see so far. And then over looking at the external sensor information, I see defense contractor two. I see that they have the same malicious domain attacks, hacking, and I also have that on my local. So that's like really, really good information that I don't see a lot of places putting together right now. Okay, I mean, if you do, then kudos to you and awesome and everything. You're like probably a really, really advanced capability. Okay, but most places, I'm not seeing that level of visibility of knowledge of what's going on. So this is another representation of the visualization that I showed you earlier but with all the different domains that I put in the table before identified here. It's, this is what you want to build. Seriously, you've got to build this level of information to do good analysis and share data. And just to give you a little bit more insight and you may be thinking, okay, but this is only like one attack, so what, right? However, I will let you know that I've been studying malware for a long time. And for the advanced malware, you're going to have like a multi-stage kind of attack. You're not going to have just one and done kind of thing. Okay. So from a compromised endpoint host perspective, all these things may have happened, right, on the right side. The compromised endpoint host first went to a website like CNN.com, some sort of popular website that's allowed by all web proxies in the organization. And then these ads rendered when they went to the page, the landing page. Add one, fine. Okay. Add two happens to have malware embedded in it. So and they're using a browser like IE or, you know, whatever that's vulnerable to that particular embedded malware in add two. So then they get a drive-by malware compromise from doing that. Now, some exploit server, you know, does their infection, persistence, callback phase, right? They start talking. They start talking to this exploit server. And then at that point, additional payloads are sent over, right? So maybe payload two and then they communicate with some sort of command and control server. This is like, you know, multi-pronged, multi-stage type of attack. And when that happens, you may have external sensors that you can access that will show you some of these, you know, actions or that have occurred, but you won't have all of them, okay? So this is where having your own internal sensor really gives you an added visibility advantage. I hope I've been making this really clear. That was kind of the point of all of these charts. So now that I've made that clear, let me move on. We need a middle ground, right? We don't want to have to resort to accessing full packet capture solutions to look up all this information, do we? I mean, not as a first step. It's very heavyweight. It costs a lot of money to deploy, like, a full packet capture solution. You have to have a lot of storage, right? How long do you want to keep that data for? You want to keep it for six months, nine months, you know? You could be discovering breaches months after the fact. So keeping it for two weeks isn't going to help you, right? And then if you're going to keep it for six months or a year, that becomes really expensive really fast. So you want to, and it also takes a long time to figure out, like, what exactly am I looking for in the full packet captures that I have? Like, you, within minutes, you could be collecting, you know, hundreds of, you know, hundreds of, you know, hundreds of thousands of packets, right, in your network. And where do you start? It's just really hard to narrow down the search criteria. So what we want is we want some sort of a middle ground where it's a lightweight sensor that doesn't require a lot of maintenance, not expensive at all. In fact, it's free. And then you can get that full visibility. And then once you get that information about putting together the tables, and then you have all the timestamps, the exact timestamps that DNS queries were made from an endpoint to a particular malicious host domain. Then you can go to your full packet capture solution, and now you've got the exact timestamp to look up, and you can see what the body contents were for, like, say, you know, an email or a payload or something that was sent, right, so that's what you want to do for maximum, maximum effectiveness in the investigation. You're wasting time if you go to your full packet capture solution first. That's what I'm saying. Okay, so in thinking about building this capability, what can we do to make things easier for an analyst? Faster, right? So here we go. We're going to build an app, a Splunk app, to facilitate collection locally of DNS data. And, you know, I think I've already convinced you why we need this, right, so I'm not going to do it again. So to give you additional visibility, that's the whole point. And before we go down with the inputs and outputs of this capability, I want to just briefly talk about Splunk Stream, which is also a free app, which you're going to need to install on the free Splunk Enterprise, trial license or free install. So the only thing is that you're limited to 500 megs per day if it's free. But if you're like a researcher and you're looking at all this stuff, it's very helpful for that. So Stream is basically an app that runs on top of Splunk Enterprise and does collection of network, right, so network traffic. And that means that it collects DNS traffic as well. And it's a very, and so that's the app that we're leveraging to build this local passive DNS capability on top of. So what kind of inputs go into our capability for passive DNS analysis? DNS specific packet captures from Stream. And by the way, Stream doesn't do full packet capture. It's more like NetFlow type traffic being captured. So, but that's all we need in this case. That's what makes it more lightweight. And then the output of our capability is a series of dashboards or tables that analysts can quickly drill down through, and I'll show you screenshots of all of that in a minute, but quickly drill down to find out what timestamps and what internal IP address reach out to a particular malicious domain and then proceed with investigating how many queries did they make, right, and when did they make those queries. So that's how you know, that's the point of where you do your investigation into finding out more about this particular scenario or story for your investigation. So here's the assuming starting point that we have. We have an analyst who's looking at a lot of timestamps, some amount of internal IP addresses that are reaching out to external DNS domains that are blacklisted, and then their external IPs, right? Well, I don't know about you guys as an analyst, but for me, that's a lot of information to take in. Just, you know, I mean, this is obviously just a sample of a short table, but I could be looking at a really long table with all these different IP addresses and domains. What the heck do I do with that next, right? So there's a lot of information for a human being to process manually. So here's what we want to do. We want to have the ability to allow people to say, hey, all of this stuff has been collapsed down so that you can see it in this kind of a view. There's a domain. There's IP of the DNS for that domain. And then there's count of unique client IPs. So in this case, with the red circle around it, there were three internal hosts that reached out to that domain during that start time and until that end time. So we're going to build this kind of information. And once I click on the three, what it's going to do is it's going to drill down further. And this literally takes like a second to happen, right? And then you'll see here are the three internal IP addresses that reached out to that particular domain. And here were the counts of DNS requests that were made. And that's the start time and the end time that was done. And then let's say we decide to click on the two in the table to look at what happened there. This is what you see next. External IPs, internal IPs, exact time stamps of when that query was made and the external DNS information. So now you've got within seconds this information spelled out for you so you can continue doing your investigation. So that's our goal here is to make it that much easier for you to triage this information. So. I'm at DEF CON, I'm not going to do like a live demo and turn on my networking, my computer, I'm just paranoid. So what I did was I accessed all the screenshots, right? Ran it, took screenshots, put it on here so you could see what we got in there. So it's not a live demo but it's like a screenshot demo. So in this case we were obviously the quality of your data is going to be your own environment, whatever blacklisted domains and stuff you want to put in there. But we were using open source ones like Google Safe Browsing and, you know, other open source. So here you can see that there's a particular domain that's malicious that has eight queries made, a distinct client made that query. And when we drill down from there, click on the domain, this is what we see next. That's the domain, number of queries made, and then there's some visualization there for the time flow of this information. Then let's say we decide we're going to click on the number of queries, right? So when we do that, we are able to see the next step down, which is that's the system IP of your internal host that was making that request. And, you know. When it happened, that's the timestamp, right? Let's say we click on that, and then we get a total number of queries and query counts. So this is really, this capability is about helping an analyst triage as quickly as possible. And all of these different clicks and dashboard displays were done within seconds. I mean, it's just like less than 30 seconds to just drill through, all right? So that. Hopefully would have saved you a lot of time, right? From having to look at all this stuff manually and find things. And then here's the final drill down information level. So you'll see the number of queries, first seen, last seen timestamps, and then you'll see the domain and the internal host IP address. So, you know, have at it at that point, do your internal investigation. Access your full packet capture solution. Whatever you need to do to, you know, do your incident response analysis. But this step has been made easier for you. So what are we going to do next with this, right? So we have, okay, future things. As I said, this is a MVP, minimally viable product. This is our first step. So make that easier for you. What do we want to do next? Well, for those of you who have access to external sensor subscriptions like Farsight, DNSDB, or PassiveTotal, one of those solutions, we're actually in process of integrating with Farsight now with this tool. So that means that there's going to be a little widget button that you can click and say, yeah, I've got, you know, these coming in from here too. And so now you can access everything from one interface to get both your internal information and your external information. So this is going to be really exciting. I'm really excited to announce this particular collaboration effort between us and Farsight. And I don't know if Farsight's here today, but I think they said they were going to come. So hopefully we'll get that out very soon and maybe within the next few months, hopefully. And we're also looking to integrate with other tools as well so that you have the full complete package. All right, so here's where you can download this stuff, right? We have a GitHub repository and then we have Splunk Enterprise download here and then Splunk Stream right there as well. All of this stuff is free. And now we move to questions. And what I'm going to do is, like, I wear two hearing aids, so out there I'm just not going to hear your questions. So I'm going to ask my colleague Robert and friend to come up here and repeat questions or any questions that you guys may have so I can hear them. What's that? Back a slide so they can take pictures. No problem. Any questions? Yes, sure. I'm trying to make sense of what, how is this going to be employed in a network? Like where would it sit? How does it interact with other things on the network? I'm trying to get an idea. Is that like a kind of like a DNS focused SIM kind of thing or I'm just trying to get a better understanding of how would that work inside my network? Okay, so the question was where does this sit on the network? So when you install Splunk Enterprise, right, it's kind of like a SIM. And what happens is you put your data sources in there. So let's say you're doing, you know, DNS sources coming from info blocks or whatever. Or you're using some other DNS product. So what you're going to do with Splunk Enterprise is you're going to specify your input is coming from a particular source of DNS traffic and you put that in there. When you install Stream on top of Splunk, Stream will automatically pick up all the sources that are protocolized. And coming into Splunk. So it doesn't have to sit in a particular place in your network. It just has to be able to access the data sources that you want to put in there. In this case, DNS traffic. In order to deploy this, so I have to have some kind of Splunk as my SIM. So let's say I have something else. So is that going to work with that? Or it just specifically just works with Splunk as a SIM? So if you have something else, then Stream is probably not going to install on top of that. Okay. So that's going to be, you know, kind of a moot thing. What you might want to do then, if you have something else, is have that export into Splunk Enterprise, which you can install. And then install Stream on top of that. And then. And then you can install this local passive DNS capability on top of that. So. Any other questions? That was a good question, by the way. Do you think this could be a replacement for external servicing? No. Absolutely not. And I made that point several times as well. Let me go back. Make sure I make that point clear. Okay. Here. This is a good one. And the reason why this is not a replacement for external services is, if you look at this diagram here, you can see that as an analyst, a threat intel analyst, I'm building together a table of what happened here with the attack. And by only using the internal sensors, I will miss the fact that, in this example, that that attack node also targeted another organization, which I shared threat intel information with. So as an analyst, threat intel analyst, who's hoping to triage this information and visualize all of the TTPs for the attacker, I would miss that. And that's actually a major point that I need to know. Because one of the things we always want to know is, are they attacking in campaigns? Are they targeting other people in our industry sector? You would totally not get that. Any other questions? So if I have a passive DNS installed locally in my organization, and if I'm collecting this data, is there a way for me to send that data out to a local repo somewhere else, create a blacklist, and that's shared across the industry where . . . People can just download that information and continuously update it. Is there anything that works like that? So currently, there's not an easy way to do that, but that's definitely something we're going to implement in the near future. So look for it. It'll be there. So is Stream able to interpret the DNS data and know all of the data? I mean, how does it know that? The DNS information is coming from a malicious source. Or is everything malicious when Stream gets it and logs it? I'm not sure I totally understood that. Can you repeat it? So there's multiple DNS entries coming in, right? So from good sources and from bad sources. Is Stream able to interpret that somehow and know which ones are bad, which ones are good? Or is that from a functionality perspective that's giving you that information? . . . I'm not sure I totally understood that. Oh, okay. So your DNS information coming in, I mean, you're going to get all DNS information. What you're going to want to have is sort of a blacklist DNS, right? So that can be something you collect on your own or something shared with you through threat sharing initiatives, or you could be using open source, whatever, whatever you want to put in there. But we're going to have to match against that, right? A couple of the questions that were covered earlier. Disclosure, I'm also a spunker. The way we deploy Stream is very flexible, similar to other software packet capture agents. You can use a tap. I've worked with companies that have deployed Stream directly on their Active Directory servers to generate passive DNS data. The fastest I've done that is covering about 2,500 servers in the course of about 45 minutes. So it's a very fast, agile type of deployment, which is separate from the actual Splunk Enterprise server. The other question was where can that data go? Because it's a search and reporting function of Splunk Enterprise, you can take that summary data and ship it into any other platform you want. So that's a little bit of the sky's the limit. Be imaginative above and beyond the very creative work that Cathy has been doing here. Thank you, Ryan. That's really awesome. Thanks. Any other questions? Oh, a couple more back there. What's the capability of discerning the actual threat types from attackers? Or are you only looking at original? Or is it just imagination, destination, traffic information in this tool? I think, for me, that went across really quietly. Robert, can you repeat it? Yeah, does it discern the different threat types from all the malicious domains, like the traffic that's corresponding? Oh. So this isn't about fixing. It's about the person that's using a threat, right? This is... That's what you're asking? Yeah, so he wants to know from the DNS traffic, if there were so many different types of threats from it and stuff. Yeah, so you're trying to build, like, a threat map kind of thing where you're trying to understand what the tools and tactics and TTPs that the attacker was using. So the main thing is to have a map. So obviously the more you know about the different points of attack and what was done, you're going to have to get additional visibility after you triage this information with a full packet capture solution or some other more complete gathering tool, right? So that's the only way you're going to get that full picture of like if someone sent across a particular payload, you may see that with threat intel information, the malicious domain and all that. But if you want to know like what was in the content of the payload, right, then you're going to have to access a full packet capture solution which will have that information. But regardless of the attack type, if it's using a malicious domain, that's what we're trying to pick up on, right, is some sort of lookups to something that's malicious based on your threat intel. Yeah. I think Kathy's point is that this is a component of getting into what other threat intelligence sources at CIM as another source of information, not the sole source of information. Any other questions? Okay. Well, thank you so much for your time. And I think you guys are the enterprising bunch here on a Sunday morning. So you guys are awesome. Thanks. Okay. Good afternoon everyone. Now it's 12.08. Before I introduce Chris Moore and Chuck... And then the noble trout. Oh. I want to give a shout out to the sponsors that have made the Packet Hacking Village here this year possible. The Wallace Sheep Title Sponsor, Splunk. The Wallace Sheep and Sheep City Sponsor, Veracode. Capture the Packet Title Sponsor, Packet Sled, they're doing championship round in here right now for two MacBook Pros. Capture the Packet Premium Platinum Sponsor, and Packet Detective Title Sponsor, Fidelis. Sheep City Title Sponsor, Evident.io. Wi-Fi Sheep Hunt, Tinder, DJ Sponsor, Talos. So now, since we, yep, it's just time, so we got a minute. And just want to tell a little quick story about the next presentation. We had a presentation on LTE and security. We had a colleague that actually told these guys, you got to submit, you got to submit. And you submitted at 11.59 on the final day of CFP. And boy, yeah, you, with a minute to spare, the nick of time, I can't make this up. I mean, I just literally cannot make this up. And it turned out to be a very good one. So without much ado, Noble Trout and Chris Moore. Thank you. Thank you. Hi, guys. Hi. Hello. Hello. Thank you for coming out here, not sleeping in. No. We don't have an introduction slide, so I guess we'll introduce ourselves. Yeah, yeah. You first. I'm Chuck. This is Chris. Hello. We both work at a company called Ixia. Ixia does a lot of network testing. We test things. We test things. We test things all the time, how fast, how many, how secure, all that stuff. And him and me had the opportunity to go into carriers and try out testing some very weird esoteric stuff that is acronym soup with no training or background whatsoever and have to figure it all out and then test it for performance and security. And we had a lot of fun. So what you're going to pretty much find out here is what this stuff is, how to find it, the protocol stacks, and how to break it. Yes. So not only carriers. We had tier one, tier three, but we also had vendors. The network vendors came to us also. There we go. And pretty much neither of us have training in this, so we had to teach ourselves. And this is effectively what I would have wanted before we went into the first carrier. Yes. It would have helped me a lot. Yeah. But instead, we just asked a lot of questions to the engineers that we work with, and they thought, well, we're going to do this. We thought we were stupid, but we were curious, so they just went with it, I guess. Yep. So let's start. Yep. So I know there have been a lot of LTE talks here. We went to a great one yesterday. However, this one is kind of a preliminary, like 101 for LTE. This kind of gives you a background. I'm going to be going over like the 30,000-foot view of LTE. More specifically, mostly the EPC components, which is kind of the network backhaul. It has nothing to do with the EUTRAN, which is the wireless portion. So everything here is kind of a network backhaul. There's the Ethernet interface. Yeah, pretty much. All those network elements. And he's going to be going over like the 5 or 10-foot of the elements. So that's effectively what we're going over. Out of scope, pretty much everything else. There's so much depth to all of this that we just can't get into. So IPsec, we're not going to go into that. The Stingrays, MC catchers, Baseband CPU compromisers. Stuff that's in the news right now. Yeah, we're not going to touch because we haven't touched that. Yeah, basically we're going to help you. If you can get into the Baseband of a phone, now we're going to tell you about all the fun stuff you're connected to. Yeah. Okay. So, everyone knows how the Internet effectively works. This is how your grandmother sees the Internet. She knows she has that brown or that blue box, links to this box. Her laptop connects to it. And then she sees pictures of her grandparents or grandkids. So, yet I'm sure a lot of you actually know all the underlying protocols that can detail all of the messages, requests going through to look and to post those pictures. Yeah. There's a firewall in there. There's BGP routers, ASNs and packet routing and all that stuff. And everyone pretty much here knows all that stuff. Yep. Right? Okay. Taking that. Well, this is how your grandmother sees connection with a phone to get to Facebook. Well, guess what? You're pretty much not better than your grandmother at that point because I'm sure most people like her don't know all the underlying protocols to get to Facebook through a phone. Yeah. We're guessing most of you guys feel like it's all jazz handy until you get to the Internet with your phone. Yeah. So, we'll kind of break it down. I think everyone knows effectively. Most of this is just a typical small, medium business network. You have your connected stuff at the bottom, go through access points, get to edge switches, distribution switches, core router, some securities in there. Then you get to the Internet and you're able to look at your pictures. Well, you know that, but here's the modern equivalent in the LTE world. It's crazy. Like, it looks like messed up spaghetti. If you actually look, this is an eye chart, but there are three different legends there. There are so many acronyms. There are actually acronyms that include acronyms. That's just how complex it actually gets. And the Internet is this tiny little place right here. It's a small dot in that whole mix. This little gray cloud. The rest is gobbledygook. Yeah. In LTE's defense, not all of that is 4G LTE components. A lot of that is 4G. It's kind of last gen, previous gens, then gateways to talk to last gen technologies. But that's what we're dealing with. So let's simplify it down a little bit. Yeah. Boil it down to like the base components of the modern 4G network. Here it is. You have your cell phones on the left-hand side talking to the cell phone towers. And then you have like five or six other components talking to PDN, which is packet data network, which in this case, in most cases, is the Internet. Yes. The telephone companies decided to come up with a new acronym for Internet. They call it PDN. In their defense, there could be other PDNs. Yeah. Corporate networks. Like another Internet. Yeah. Internet, too. Okay. So you don't know this yet. So we're going to give you something. Decode a ring from one of my favorite movies, A Christmas Story. So with that, you'll be able to translate. Stuff on the left-hand side, the LTE equipment to the analog and the IP world. Okay. No. So you have your UE, which is user equipment, which is speak for, you know, cell phone. That is, you know, laptop or tablet, whatever. Your entry point onto data network. Then that talks to your eNodeB, which stands for evolved NodeB, which... You know what that stands for? Not really. I'm kind of thinking here. Just go with it. Back me up. All right. No. NodeB, I think, was the 3G nomenclature for cell phone tower. There is no eNodeA. No, there isn't. So that's equivalent to your wireless AP. Next, for your authentication, instead of being a corporate network, registering with AD and getting on there. You have your MME, talking to the database, which is the HSS. And then finally, you have user plane, which is SGW, which is equivalent to your edge router. And then finally, you have your IP. Then that talks to the PGW, which is the same thing as your core router. Then you go out to your PDN. Now to pop all of that actually into the flow of a call. Your cell phone connects to one of many eNodeBs, and then messaging takes place to the MME, which then registers you and then allows you to have a user channel, which allows you voice, video, data to the SGW, then pops you over to the PGW, and then to the PDN. And you can see funny cat pictures at that point. So that is a very, very, very, very simplified call flow. Just the registration steps required to connect the eNodeB unto itself can take up almost a whole session unto themselves, so unto itself. Okay, so those are kind of the main five components that we're going to go over today. So the state of LTE. Let's see how it is today. There have been lots of releases of generations. So a generation actually means effectively equipment that is not backwards compatible. So 4G, if you're talking 4G, you cannot talk to 3G equipment unless there's a gateway between the two. So all of the standards, all of the releases have been done by 3GPP, which, you know, you're like, they came out with 3G standards. Right? You know, 10 years ago or so, 15 years ago. Why are they still releasing for 4G, 5G? They're just lazy and haven't renamed their organization. It's collectively, it's a regionally based thing with seven regions. Two out of Japan, one out of all of Europe, one in the US, one in China, then one in India. So... And they keep changing the spec on us. So every time we try to, like, reconnect and test it again, we have to go back and develop more code and fix things to make things talk to each other. Yeah. And so we're at 4G right now, LTE. 5G is LTE advanced. That's effectively getting rolled out right now by a few carriers in the US. It's not like a huge jump or change from LTE to LTE advanced. It's same devices, different spectrum, just increases peak download speeds and network capacity from like 10, 20 megs down to like 300 megs down. So you'll see that. But it's not a huge difference with EPC. Components that we're going to be going over today. This is killer. I hate this. So there are effectively only four large vendors in this whole space. So every single packet that you have running over LTE goes through these guys and these guys alone. There are some startups that have played in this and still do play. A few of them have gotten gobbled up for better or worse. Some bigger players have been there then just flamed out for different reasons. Huawei might be in there too. But you're really talking like a handful at most of people that are involved in this. So the implications are that if there isn't much competition, there's not much reason to make a better product, right? So they're not going to push themselves to develop. A more secure infrastructure. Yeah. So another reason this is really insecure, interfaces. So interface is kind of a service provider. Service providers speak for a specific stack between two network components. Pretty much like S6A interface between me and HSS that's... Diameter over SETP. SETP. Each of these is different and unique, like a special little snowflake. Yeah. So this is actually referring to 3G, but the same thing applies to LTE network elements. It's kind of obvious that there are vulnerabilities. They're known and service providers know it. So they're not without issues. And these are some of the interesting quotes that we've heard people tell us or... Equivalent of. Equivalent of. The most eye-popping one at the bottom, it comes straight from Arbor. And they said, the economics of consumer subscriber networks do not incent providers to implement security until a problem occurs. There are actual components on there by class by device. So it could be any of them, honestly. Yeah. But they're all three areas. Yeah. That would all be grouped together. Yeah. But basically, that is corporate speak for you guys. You guys don't pay enough for your phones for them to worry about your security. Yeah. Right? The other things that I hear from techs and people involved in this industry are, but it's hidden, or it's protected, or it's managed, or why would anyone ever do that? Which we all hear all the time. And it's like, because. So add all that together, lots of interfaces, barely any competition, known vulnerabilities, and you just have a glued together network that's made of clay. It's not solid. Like a few years back, I remember tier one, a single element went down in Florida somewhere that brought down the whole East Coast for half a day. Yeah. Most of these things are like big, giant refrigerator-sized things, and they're in a handful of places, the things we're talking about here. Is it my turn? Yes. Okay. So Chris talked earlier about mapping these things to things that you don't know. So just to look it over again and remind yourself one more time, that's where they go. Let's look at the first one, the MME. So the MME sits up over there in the corner, and it's the first point of interaction between your phone getting onto a network and getting authorized. So it's basically a gateway message management system between the database and the phone, so you can sort of manage your database any which way you want in a way, or that's the idea. And it. It basically looks at your phone's IME ID and says, yes, you're allowed on network, or no, you're not, or here's your billing structure, or whatever, right? Yeah, that's just control point. It's not like voice and video go through. No. This is just, I want to connect to the network. And they're pretty much unicorns. You're not going to find one at dumpster diving. Good luck. And they're really hiding behind some pretty big, physically secure areas. If you're like a tier three carrier, you can get away with two of them. Right? So if you're probably Verizon, my estimates would put it at maybe two dozen of them around North America. So there's not a lot of them. And if you take them down, then you have problems, because no one can get on the network. The MME interface is called S1MME. And if you want to ask us what MME stands for, we keep remembering and then forgetting. Thank you. There you go. So it acts as a responder and initiator. It's a responder on bringing up the phone conversation. It uses a stack called S1AP over SETP. And it's used for control plane communication between the EDNOB and the MME. General methods of attack that you can do to it. If you can use a compromised EDNOB, you now have a channel of communication to this thing, which then will allow you to... Go on into further places. Also, it does listen on SETP port 36,412. So a future project we're thinking of doing is setting up a scanner for that port across the internet and seeing what's out there. There's no safety mechanism in place for DDoS mitigation on the MME itself. You can just flood it with attach requests and deny service to other people. So if you can figure out ways to make a phone, just keep sending these attach messages. It won't be able to service other requests. There's also really no cryptographic authentication that we could find for the tower to identify itself to the MME. What that means is that what we saw for the most part was just a string of text from S1AP messages and then a list of towers that were known. So if you can guess the string, probably go with like tower one, tower two, or something like that, then you can probably talk to it. And it usually has the provider's name in the string? Yeah. Okay. Thank you. The MME interface stack looks like this. There's a lot of attack surface in S1AP. It's a nested protocol TLV-style thing, and I'll show you a screenshot of a packet dump of it. I suggest you fuzz it. It sends funny things and it messes it up. Saying about state messages or confusing messages all brought it down. And then the SETP stack was equally fragile. Fuzzing that just made it dump out. And I'll show one of those that I had. And messing around with stream IDs or other elements in it messes it up. Fragmented packets as well on these things is a nightmare. A bit of a digression on SETP. It was developed for SIGTRAN SS7, which that's all I know about it. But what I do know is if you talk to old wizened bearded telco guys, they'll tell you that next year SETP will replace TCP. And they keep telling me that, and I keep telling them it's not happening. It's meant to be a TCP replacement. It has a stream-based idea. So imagine if you could multiplex multiple TCP streams inside of a TCP stream. The only real advantage I can think of that is that if you start messing around with windowing and stuff, you can become less sensitive to packet loss issues and ramp up with opening a socket. So we actually worked with our developer in-house when he was making our SETP stack, and we weren't doing it very well. Evidently, the real SETP stack that we were running against wasn't that good either, because we kept breaking it down because we didn't know what we were doing. Yes, going back to not knowing what we were doing and learning on the way. So running a quick fuzzer against the SETP stack on Ubuntu gave me this wacky-looking error message on dmessage. And then I wasn't able to rebind to the socket for five minutes. You can imagine that if you're using a Linux-based product to do your control plane messaging, this might potentially be an issue for you. And when you take an error and you put it in Google and get zero results, you've found something. Also, Chris found this one on Reddit when Heartbleed came out. SETP stack had a lot of development work done on it. It was developed by Robin Segelman, who was, unfortunately, the much-maligned individual that introduced the Heartbleed bug. The Heartbeat package messaging system was directly taken from his work that he also did on SETP, or, yeah, on SETP. So we haven't had a chance to really dig into that, but I really have to think that – I don't think many people have gone, I should probably go fix that over there. So that means you could leech off subscriber identity. You could leech off the SETP and other things off the MME if you logically follow the rest of that, right? SETP points of interest. Are you guys keeping up with us? Is this like a good – yeah? Okay. Hang on a second. I need to go. But if there was a patch for SETP, I'm sure the telcos pushed it, because they're really good at patching. Yeah. Yeah. Yeah. So points of interest, when you start looking at the packets for SETP, you'll notice that you've got source ports, destination ports. It is packet loss sensitive, so it acts a lot like TCP. But the handshake, I think, is – is it five packets or six to bring up each handshake? So there's a lot of handshake messages that go on. And then you have – you, of course, have TLVs in there. You have identifier numbers. They always seem to start at zero. When you open up a new SETP socket, you know, there's other things going on around there. And it's a pretty packed protocol, but not nearly as packed as S1AP. So you can sort of see all the – actually, this is a great one, because over on the left-hand side, you see I've highlighted eNodeB, and that's – that's the name of the eNodeB. So it's in the clear text on the wire for identifying itself to the MME. Okay? You can also see that these things are highly nested and rolled up. And typical history tells me that when things are rolled up like this, I've got a chance to really mess with TLV values and parsing issues along the way. Or there's a lot of edge cases you can test there, right? Also, if you're looking at S1AP capture, and you're trying to sort of figure out how does this map to the stuff that's printed out on my computer? So you can see that you can see the IP address that's printed out on my phone when I go into about, right? So you see the MEID and IMEI. Those are sort of like MAC addresses. They're unique identifiers for your phone. So you can easily identify those numbers in these control plane messages. And you can also identify the network that you're on, which is normally referred to as the APN. So if you wanted to write a scanner for looking for MMEs, you'd probably want to start off by grabbing an IMEID off a phone in the virtual world. And then you'd want to go to the Verizon store and putting that in here, and then using that messaging, or Sprint or whatever, if you were looking for them. HSS. So this is the database behind the monster that's the MME, and it uses the S6A interface for communication. The HSS is basically a narwhal that's behind the unicorn. You're really not going to see this one either. But it does exist. We've seen them in labs. It also uses SCTP. It's got its own special port there. And then it uses diameter over SCTP. So really, I don't understand the design philosophy here of using SCTP for this when you had TCP available to do this. Maybe someone can come back later and tell me why. They pin up the cache. Put your hand up. Multi-homing. Multi-homing. Okay. Thank you, Phil. And usually between the MME and the HSS, there's a load balancer called DRA. Yes. So the DRA will load balance these connections across multiple HSSs. So that's another device that you can choose to try to get into and attack. All right. Next device is your SGW. This is finally when you start getting onto the internet. So all the other messaging so far has been just to make sure that you're not going to get hacked. You have paid your bills and are allowed to be on the network, right? The SGW has two interfaces. One is control plane and one is data plane. S11 is data control plane. And it's used for the MME to tell it, hey, a phone's coming online and it's allowed to go onto the internet. So the phone never actually directly communicates with the SGW. It has the MME act as sort of a broker. So think of it really like an active directory server, right? You have a central point of authentication that then instructs and allows other things to happen. GDPC is actually a SANE protocol. You can look at it and understand it, and it's pretty straightforward. It still is TLV's soup for the control plane version of it. And it runs over UDP port 2123. And it allows you to bring up the context. So after you've done all of that. All of this packet loss sensitive stuff to make sure that you're allowed on the network, the last step to actually make sure that you actually have a connection to the internet is the lossy protocol. Once again, you're going to see this over and over again. I'll just say it one more time now. If you fuzz these things, they crash. That's all you have to do. And when you reboot this thing, it takes 10 to 15 minutes to come back online. Okay. The S1U interface. This acts as a, not so much as a responder or initiator. It's basically a tunneling service. So the tunnel packets either come from the tower to the SGW or they go back out. This is where you actually have your Garfy cat pictures and your Facebooking and all that stuff going on. Hang on a second. So if you start looking at the GTP-U interface, you're going to see that this is the S1U interface. This is the GTP-U, which is different than GTP-C. GTP-U, which I think stands for GGSN Tunneling Protocols or something, right? Acronym and acronym. Acronym and acronym. Yeah. GPRS Tunneling Protocol. And then GPRS is, yeah. Anyway. So this one has a tiny header and then the IP packets and the TCP packets and HTTP packets. So think of it just like you would think of VPN connections, right? This is the easiest way to do it. This is the easiest entry point for you as an attacker because you're already controlling the stuff in the red area for the most part, right? Without having to get into the baseband of your phone, you already have an IP address. You can make sockets. You can make HTTP requests. The SGW also will do deep packet inspection and proxying of content to speed up delivery of stuff. So you can attack application layer stuff on proxies and things and see what happens. So, yeah. And if you break into this thing, then you're looking at everyone's data traffic. All right. LTE also introduced the feature known as bearer channels. Bearer channels allow you to put user plane traffic over different channels. Think of them like VLANs, priority, right? So basically you see T-Mobile offering like watch all the Hulu you want, doesn't count against your data package. That probably goes over a different bearer channel than the rest of your application traffic. Okay? The UE gets to decide which bearer channel to send for each type of traffic. And this does roll up in some way into the normal little Linux computer or I don't know what the iPhone runs that everyone roots all the time. So one way of trying to attempt to conduct toll fraud would be to put other traffic across the wrong bearer channel. You guys probably heard of VoLTE, Voice Over LTE. That's basically SIP phone calls over a LTE network. So one other thing that we did was running... Running regular packet data traffic across that VoLTE network. And then of course everyone knows how to get free data by tunneling port number 53 for your VPN because they don't want to mess with DNS because it just breaks everything. All right, am I still good for pace and everything? You're good? Okay. PGW. So the PGW... This is where... This is where a lot of insanity once again gets introduced to this. So instead of having the SGW go, great, okay, now off to the internet, it goes, no, no, no, no, I won't put you through another thing. So it actually will take the IP packets off that GDB header and create a new GDB context between it and the PGW, okay? And that's called the S5 interface. So it's... If you can follow along at home, the MME has created the context and used GDP to create a context for you. And then the data traffic goes in. Then the SGW. And then an entire different set of control plane, user plane negotiation occurs between it and this other device. This one also has another interface that connects to something called a PCRF that'll allow you to do a lot of billing and control and data analysis, but we don't worry about that today. This is basically your core router. So a lot like MMEs being very few and far between, you probably only find a PGW one or two a day. It's not like you're in a city, right? The SGW is even, yeah, less than that, could be regionally based. And sometimes you actually see the PGW and the SGW rolled into one device. For smaller carriers, I don't need to worry about the complexity. So since it uses GDB-C and GDB-U, just use the same set of attacks that we were using against the SGW and you'll be good. So let's talk about some of the security elements that are there. Most of them are worried about the carriers themselves and not so much you or network service reliability. So you do have DDoS mitigation, but it's to stop a DDoS attack originating from the phone network, not so much going into the phone network or anything like that. You see security gateways. You see security gateways. Like firewalls to do VPN or to support roaming between different carriers. But that's for the most part what we've seen. Most of the questions we've gotten around that are, can you run SCDP traffic to test my firewall? And the answer is yes. And then the firewall's performance goes whew because it doesn't know what a CTP is and they haven't tested it or anything because no one's asked for it. So your firewall insertion points will be in these sort of places right here. A lot of you probably discovered when you connect to the internet, it's one big giant SNAT network for a lot of them, right? It's a 10 slash 8 or something. And the thing that does the source NATing will sit right beyond that PGW and it'll probably be a big giant refrigerator-sized firewall doing carrier-based NAT. Right. So I think, how many more slides we got? One more? That's it? There is a documented list of all the things that we've crashed with some details of how we crashed them. We're not naming any specific vendors or anything, but all of this sort of works against all of them. It's sort of like 1998, 1999 all over again. I mean, you've just got buffer load flows and stacks and things and parsing engine problems and screw ups and yeah, that's about it. Anything for you? No, that's pretty much it. All right. Questions? Who do you like Star Wars? Any questions? So what did you observe when you ran, you know, data traffic into the IMS-ATM, into the bearer, IMS-Bearer? What we were able to do is... Okay. The question was what happened when we ran data traffic across the IMS-ATM? We ran it across the IMS-APN. A couple of things. One is that since I can specify a different bearer channel and put the wrong data there, I expected it to reject that to say, like the Volte instance, I expected it to say this is not SIP. No. But instead, it just let it go through and routed it out. Yes? So would you say that the thing that happens in the IMS-ATM is that it doesn't do the same thing? Do these vulnerabilities make SMS less secure than they already are? So that actually is a very interesting question because none of this has anything to do with SMS text messaging. That's a totally different beast. I know nothing about it. So like all your phone calls don't go through this. Not until VoiceOver LTE does. All of your text messaging is a totally different infrastructure. So like that... That big complicated network we showed had nothing to do with SMS. Yes? So is the SPW or the carrier to HTTP header injection? And are they using one of those big four provider tools to do that or something else? So the question was where are they putting that stupid crap in my HTTP header? Good question. We have a colleague who could actually answer that and he's not here. My guess would be in the SGW. Right. Right outside of it. Or right outside of it. Like there are proxying functions so if they're doing proxying there, I'd expect them to also do that. All right. Thank you guys. So in preparation for the last talk of the speaker workshops here at the Packet Hacking Village... Yeah. Yeah. We have a very, very strong closing talk. And this is a talk that you really, really don't want to miss. In preparation for it, I hate to ask and I don't like to sell any jokes, but does anyone know... Can anyone do... Can anyone sing Adele's Skyfall song here? That could be an interesting lead into the talk because yes, it does have to do with 007 or... Yeah. Yeah. Oh yes. So yeah, it's one o'clock and again, this is the final... This is going to be the final talk of 2016 DEF CON Packet Hacking Village Speaker Workshops. Again, hard to believe but a dirty secret that we weren't going to have a Sunday. That was actually not in the original plan. And thank God that... Boy, were we wrong. Thank you so much for being here. I mean, we're just at a complete loss. How many people showed up so far for Sunday? And we're talking just Sunday. So, while you're here, just a few notes. One note is a lot of people have asked about the presentations slides. They will be posted on the Wallace Sheep website within the next two weeks. Hopefully, as early as next week when I get home. Definitely monitor the social media and the news feeds like Twitter, at Wallace Sheep for all the news. When we post it, they're going up and then we're going to make an announcement there. All made publicly available. Okay. As for videos, they will be up by the fall. They will be not only on Wallace Sheep but also on the DEF CON main conference YouTube channels. And before we also begin, I can't thank enough for the AV crew back there. I mean, give it up for the AV crew who really, really helped us. I mean, it's been an absolute pleasure working with them here this year. So, what else? What else do we have? Yeah, I know. We're going to start planning for DEF CON 25 soon when we get back. Can you play it? Oh, you want me to play it on here? Yeah. Yeah. Okay. Let's see. I don't know how many parts of that is. If you get the network. This is the end. Hold your breath and count to ten. Feel the earth move. Feel the earth move. And then hear my heart burst again. For this is the end. Oh. Oh. I've drowned and drowned this moment. So over to our own damn. Swept away, I'm stolen. Let the sky fall. When it crumbles. We will stand tall. And face it all. Together. Let the sky fall. When it crumbles, we will stand tall. And face it all. Together. Let the sky fall. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Skyfall is where we start A thousand miles in poles apart Where worlds collide in days of dark You may have my number, you can say my name But you'll never have my heart Let the sky fall when it crumbles We will stand tall and face it all together Let the sky fall when it crumbles We will stand tall and face it all together At Skyfall When you go, I go When you see, I see I know I'd never be me Without the security All your loving arms Keeping me from harm Put your hands on my heart In my hand it will stay Let the sky fall when it crumbles We will stand tall and face it all together At Skyfall Let the sky fall We will stand tall At Skyfall At Skyfall At Skyfall At Skyfall At Skyfall And without much ado, with that, I would like to introduce to you, it's my great pleasure to introduce to you, Plug. Hey, thank you guys. Thank you, Ming. Thank you for staying late. I know it's Sunday. We're going to close DEF CON, but thank you for staying. Bye. Originally, I didn't want to do – I wasn't going to do an instant response talk. I had to do some changes, and over the time when I submitted my talk, I had a few interviews, interviewing people, and then I realized that there was a common trend with the things that analysts need to get – they need to have a mindset when they do things. So, I changed a little bit of the talk. I used a lot of the things that I was going to use for the talk, and this talk is going to be slightly different. So a little bit of myself, handle names, plug – other than that, I just work in secure operations. I've done finance, and I do telecom now. So one of the important things that I want to make sure that it's clear is that the views that I express on this presentation are my own, and they don't represent my employer. Some of those have my name. I don't have to say legal disclaimers here. So also another thing that I need to state is that during the talk, I will be referencing the Verizon data report, and you can actually go and download it, and it's going to be interesting, too. I did not write it. So what is the purpose of the talk? So this is not about the incident response process or the framework or how to use a tool to do digital forensics and incident response. There might be excellent talks, and there are actually a lot of excellent talks out there that talk about that, but this is different. This is about you, the analyst, the blue team member. So this talk is about improving your incident response mindset. So the methodology for the talk is we're going to take a movie or a TV show or a book or a news article. We're going to break it down in consumable chunks, so you can digest that. We're going to take a movie or a TV show or a book or a news article. We're going to define what kind of data we want to extract and analyze from that. We're going to ask a series of questions, and then we're going to find similarities to reality or your environment. We're going to discuss and learn from it, and then we're going to repeat the process over and over and over again until the mindset starts to sink in. So before anything, we're going to do a really quick recap on incident response. So what's an incident response? So basically, an incident is any event that compromises the integrity and confidentiality and availability of the information asset that you have. Now this is my, or the interpretation I have, but it varies from company to company. There is no one set dictionary definition, okay? So what is a breach? It's an incident that results in the confirmed disclosure, not just potential, exposure of data. Oh. It's an authorized party. And again, this comes from the Verizon data report, so we're going to use that as a reference, okay? So we have the incident response process. We're not going to talk about that, but all we care about the incident response process is that we have to go through the loop, and there's a lot of other different incident response improvements. But the bottom line is that in order for you to do it right, you need to get the right mindset. You need to be able to understand how you're going to do it. There is also the key chain. There's a cyber kill chain that's fed, and all of these are things that are frameworks that are new that you're bringing into from the military, and you're using them to improve. Black Hat, they just presented an improved cyber kill chain, and that's great. It's good that we have those frameworks, but as an analyst, you have to be able to understand how you're going to work with them. You're going to have to become an agent. You're going to be the detective, and this is what I want to do on this talk. So the goal for us as an analyst is to answer what? Where? When? Who? And why? Now, it's very difficult to answer who and why, especially because we need to have attribution, and that's really difficult. You already know what's happening with the DNC and whether it was the Russians or not. So it's very difficult to do it when you're talking about networks. So when we do the analysis, we require threat intelligence. This is a Jameson presentation. Well, they do threat intelligence, right? So the threat intelligence is the collection and expert analysis of data related to cyber threats leading to an actionable recommendation. So basically, you take threat intel, and hopefully that intel will help you to find or find something that you didn't know you had. So that leads into another question. What is hunting? You hear a lot about hunting, and so hunting, in short, is the proactive approach for finding malicious activity within the network. As a security analyst, one of the things you want to do is not wait for things to happen. You have to go out and look for them, and hopefully, you're going to be able to find something that will be of use. Our goal is to be able to stop whoever is coming in as soon as possible. So this is really good, because this leads to a good question. Are you a hunter currently, or you're a prey? Is that what you want to be? You want to be a hunter, or you want to be a prey? So if you're a hunter, you have to... You want to be able to have the right mindset to proactively look for things. If you're a prey, you have this skill set, but you're just not looking for it, or you're not asking the right questions. So hopefully, this is an example of the things that we can do to get you more into the mindset. So before we go into that, we need to talk about James Bond. So James Bond is a series that is fictional. It was invented back in 1953 by the writer I.M. Fleming. He later on passed away. When he passed away, a lot of other writers took over, and eventually started making movies. James Bond has... It's a fictional British service agent. Was created in 1953, as we said already. There's a lot of movies that they've done. You can actually take some of these movies and go ahead and replay what I'm going to do today. Now part of the movies is you always have an enemy, right? You have the threat actor, the villain. So this is perfect because one of the things we want to do, we want to hunt for them. So before we begin, we need to define... So when we start doing the exercise, one of the things that we need to define is what is it that we want to get out of the data that we're analyzing? And so the exercise is fairly simple. We're going to take the movie from Skyfall. We're going to pick a few of the scenes, okay? And what we're going to do is we're going to start taking chunks of data, and hopefully, we'll start asking questions. And as we ask questions, we fill the data. And as we progress with this, we're learning more and more and more about what's happening in the movie. There's a lot of things we can learn from the movie. There's things that we can learn from TV shows. You can take this and apply it to Mr. Robot. Probably it's a better idea, more close to reality, okay? So just remember one thing. Our goal is to get better at what, where, when, who, and why. One of the things that I decided to do is I'm going to get some keywords. So we're going to have an incident trigger, keywords that belong to the incident trigger. So when you're doing incident response, there are things that pop in your mind, and you need to make notes really quick, because you might have to refer back to them, right? So there is the attack. You have to try to understand what is the attack that is happening. What is the threat? What does that mean to your business? Who's behind the threat? And what is the outcome? So if that threat... If that threat fulfills, what's going to happen to you? So another disclaimer, we're going to watch some movie clips. So the following clips are for educational purposes only. And with that said, we're going to break the movie in four chunks, okay? So the first type, we're going to call it protect your data at all costs. And I'm going to first play one little video. So we're going to... Take a look at that. See if it shows. Okay, cool. All right. So this is a scene of the movie that we're going to concentrate. Yes? Yeah. Okay. All right. now please don't laugh or laugh so obviously we don't have that high-tech right but they do have that high-tech in the movies what the data packet is linking to our network correct this is behind our firewall we should shut down no track it we have to know where it's coming from strip the headers trace the source get the trace back now it did it could be your computer shut it down or and ah god face So you just saw a clip, right? There's a lot of stuff that you can learn from the clip. I know there's a lot of stuff that is Hollywood and we know about Hollywood and how they enhance things but there's a lot of stuff we can actually take and learn from that, right? I mean this is what is happening right now. There's an incident and so let me just give you a recap of the first part of the movie. What happens is James Bond goes into a hunt because a hard drive got lost. The hard drive is encrypted and it has sensitive data. On the data there's a list of agents so they need to make sure that list of data never gets to the bad guys. So in the process he gets shot, he appears to be a murderer and they don't know whether he's alive or not. The person that is behind everything just managed to compromise the computer of M, M is the boss of James Bond. What you just saw was that James Bond was shot by the police and nobody knew what he was doing. and the car is taking place in real time but time to get to the building there's an explosion and so are there any things that we can learn from that of course so obviously we don't have this software he's doing a trace route to find where the computer is that is doing a little it should work now one of the things I did is I made it very simple but if you really want to get techie you can actually pull some of the IP addresses that are in there and do even more stuff right but so one of the things that happen is that a harder was lost so we know that right this is the mindset what happened well I've had I got lost what are the keywords what are the things that happen in this scene what are the things that we're looking for we have a series of things that we learn from the movie that we can apply so this is if you're on an analyst you need to write notes you need to make notes you need to keep those in mind but you need to put them in paper at least what is the attack well the attack in here we know what the attack is there was some cyber distortion they use a backdoor to compromise the computer right what is the threat well information leakage because if they take that hard drive that they just unencrypted they're gonna lick that information who's the threat actor we don't know and again we're just analyzing the movie this is what just happened right now so we know all these things just by watching that piece of the movie so what is the outcome well the outcome is that the computer of M got compromised it led to the MI6 breach and then the headquarter just got a bomb that's what happened so is there anything close to reality before we go into that one of the things that you can do as you watch or do follow these exercises you can start building profiles you want to know who you're dealing with in this case we have a profile we know who James Bond is I put some details in there but we're not gonna go into that for for now then you know other times when you're working on incidents you deal with other people you deal with different trade actors in this case that the people are gonna mention they're actually team members of James Bond so this is Monty Penny she's the sidekick she's an analyst as well she's the one that shot James Bond and so now she's sitting at a desk this is mom she's the boss of James Bond you all have a boss I have a boss and they have to make the call and make decisions but then are there real cases like is there anything in real life that you know the movie was taken from of course when you have digital distortion and so what is the threat actor motive for that financial right they want to get money out of you what are the tactics they use what they use ransomware or in this case a backdoor do we have examples of real life of course we got Sony breach and ask our team got compromised to the US Police Department got compromised with ransomware so at this point we just took a scene from a movie we went through it really quick we asked a few questions and we were able to get a few sets of data now you will be surprised because if I play this and I played that to someone and maybe I ask that in an interview people don't know how to think so you can take this example you can apply it to any TV show and a news article and go through it practice it it's very important that you do it's good that you know and have this experience and you can apply it to any TV show any news article and go through it practice it it's very important that you do it's good that you know and have this skills to the things but you have to be able to think properly so we have a backdoor access and again this is from the Verizon breach report the traductor motive for a backdoor well it's everything right espionage financial we have examples right these are back doors that happen on the Juniper devices recently we have the 14 NSSH backdoor the NSA has back doors so there's a lot of back doors out there right but what if this was your company maybe you got an incident and where the did someone use a back door there's some lessons for you to learn so that leads us to act two and again right now we're trying to learn what's happening on the movie so we're applying a little bit of the incident response to the thought process so let's go into so we're gonna look at clip to you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you It's another clip, another thing that we can learn from that. So what can we learn from this part two? Well, there's a few things that they say. There are keywords that they mention, right? They mention how they were able to reach. Now, if you're doing an incident, sometimes you don't know how people got in. Now, at this point in the movie, they figured out how they got in. So someone did forensics or the analysis, and they determined that Horubas was behind the explosion. They actually found a bug on the SCADA system in the gas pipe, and that's how they managed to do the explosion. Now, that sounds far-fetched, but it's fairly possible, right? Not only that, but one of the things that happens is if you ever get compromised, just like Sonny, you're going to have to figure out a way to continue doing business. In this case, MI6 decides to move away from another place. So are there things that we can learn? Of course, we can learn a lot of stuff from that. So I call active breach protocol active. So if you get breached, you're going to have to have a protocol in place. This is where your incident response plan kicks in, right? There's going to be another piece of film that we're going to watch before we continue with this. And this is actually quite interesting, too. So the movie now is developing, and then we still don't know who's the threat actor. But there is a few things. So the movie now is developing, and then we still don't know who's the threat actor. So the movie now is developing, and then we still don't know who's the threat actor. But there are a few things that you probably are going to be familiar with. This is one of them. You should never click on links you don't know about. So what has just taken place right here is that she was, her computer is still compromised, by the way. So this is a list of side names that covers blue. So what we have is one scene where we know what happened, and then we have another scene where we have the boss, your boss, clicking on a machine that has been infected and it was being used in a previous attack, and it clearly has a sign there that you're not supposed to click, yet he or she clicked. That sounds far-fetched, but people like that exist, right? So can we learn something from this? Sure. We can learn a few things, right? So one of the things that we learn now, and we're doing again, we're trying to do the incident response on the movie, we now know that there's another incident. The MICs got breached, the hard drive got destroyed. So basically they were able to encrypt the data, and now they're disclosing the agent's names. There's a lot of keywords. Because there's a lot of names, a lot of different things, when you're doing incident response and you're getting more closer to something, there's a lot more data you have to do, and you kind of have to narrow down the amount of data you want to look at. But there's a lot of stuff happening. Well, in this case, we know what was the attack type. We know it was hack activism, right? We know that the reason for the attack, or the apparent reason for the attack, is information leakage. They want to make sure that information gets leaked out. Who is the threat actor? Well, until the previous scene, we didn't know who was behind that. Well, in this case, now we know who's behind it. His name is Patrice, and there's another person involved who's Raul Silva. You have to watch the movie to make sense of some of this stuff. And what is the outcome? Well, the MI6 information gets disclosed, the computer gets breached, and then they're trying to find who's behind everything. So we have a profile of the threat actor. Sometimes you're doing an incident. You'll develop a profile of who's behind that, but you're still not sure whether that's the right case or not. In this case, we basically are doing incident response, and we know that this is Patrice, and we know that that's the person behind everything, right? Now another thing you don't see is there's another person of interest. Sometimes you're doing an incident response, and there might be some data here and there. It might be useful for your case, but it's not necessarily relevant to that case, or it doesn't seem to be that. But sometimes it is. You have to go through the questions to find out whether there's a leak. One of the things that happened in this scene is there's another threat actor that you guys don't see. We're going to show him before. But at the end of the part two of the movie, we know that the person behind everything is Raul Silva. This is the villain of the movie, right? We still don't know why he's doing that, but he's doing stuff. Now, are there things that we can learn from these two sections of the movie in real life? Well, there are hacktivism attacks. Usually the attack is the ideology. It's a way for them, right? Are there any victims? Yeah. Everyone is a victim for that. Are there any examples? Well, we got Anonymous. We got the Sony breach. We got UC Fair 2.0 recently with the DNC hack. So we don't know what the reasons of these people are. We're trying to figure them out, but there is an example here, a real case example in a movie. There's a movie, and there's a real case example. And so when you go through this motion again, you find similarities. And you're now trying to figure them out. And you're thinking about those things. So you're building your mindset as an analyst. So we're going to move into act three. By this point, things are moving in motion. They already captured the bad guy, because this is James Bond, and he's really going to do that. And then the crisis has intensified. So this is, I call it breach 2.0. This is probably one of my favorite part of the film, because what you're going to see is actually pretty real life. I mean, I know it happens. I don't know how this happened. So they captured the bad guy. They're trying to do forensics. So this is live forensics. . Go ahead. Go ahead. Go ahead. . They just found the key to the cryptic hard drive. And now they're figuring out the contents of the hard drive. All right. Yep, it happens. So sometimes we can learn a few more things from the movie, right? I mean, there's definitely things that we can learn on life experience. So this is why I call the crisis intensifies. They just got breached again. So they just were breached on MI6. They moved to a new building, and somehow this guy managed to breach them again. And the only reason he managed to do that is because he knew how to manipulate. So sometimes when you're asking questions, you need to also wonder what someone else would do, right? If you're doing an analysis and you're trying to find out who did an attack, you need to think about what would you do if you were on their side. Are there things they know about you? That they're going to use to their advantage? And in this scene, that's clearly what happened. Now, another thing that happened in the scene is sometimes you're rushing. You want to get and find out what happened, right? You're trying to do the investigation, and you forget that there are things you have to do to make sure you don't spread anything. And in this case, obviously, he connected a machine that he didn't know what it was to the network, and that's how he managed to be compromised again. That's why the little screen says Clever Boy. He knew how to use him to get into the system. And that's something that could happen, right? Now, if we continue with the methodology, right? Now we know that there's an incident trigger. There was a sophisticated polymorphic malware. So that's the malware that is in the machine that you guys get to see on the screen as they're doing forensics. Obviously, James Bond is really good at spotting things, right? So he just spotted the code that allowed it to encrypt that polymorphic malware. And as they, yeah. In real life, it does not look that pretty. Obviously, this is Hollywood, but we should make it look pretty, right? So there's a lot of keywords, right? There's a lot of stuff happening. But the idea of the keywords is as you do this scenario with yourself or with a team, I encourage you to do it with a team. So as you watch this movie, go back, replay it, get another movie or a magazine, whatever it is, you're going to go through each of the stages of that, and you're going to try to plug in keywords. So what you want to do is ask, ask someone on your team, is there anything that popped from you from the scene? Okay, write it down. What about you? What about you? And then you're building a set of keywords. Those keywords will be useful when you're doing an analysis. And so it's good when you work as a team and you do this. Well, what, is there an attack? So one of the things you can do is ask your team, was there an attack in here? Do you think, is there anything close to real life? Well, of course, we have insider threats. We got a rogue connection and sophisticated malware. Now, one of the things you guys don't know is that the bad actor, he was, a formal MI6 agent. He got really pissed because he tried to take a cyanide capsule and he got disfigured his face. And ever since, he wants to haunt Em and he just wants to kill her. And so that's why he's doing all the stuff that he's doing. So he knows how the MI6 network operates, right? And this is why he's doing this. Well, at this point, we don't know what the threat. So we still don't know. At this part of the movie, we don't know what he really wants to do. It's not very clear. I just kind of spoil a little bit, but we really don't know what he wants to do. Now, the threat actor, we know who it is, right? So if you're doing the analysis, you sit down with your team and says, you know, who is behind the attack? We know this, right? So what's the outcome? You ask your team, okay, what's the outcome? You're basically working through these questions. And in this case, well, MI6 got breached again. The threat actor escapes and they're going on a hunt. There's a lot of fire going on. And at the end of the day, James Bond has to move to Scotland because he knows something. And we're going to find out what that is. Now, in the process, there's other things that you learn. So in this case, there's a character, Garrett Mallory, right? He's the boss of M. We already saw Q. Q in the James Bond series is the smartest person. Usually, he's the one behind doing all the little gadgets that you see in the movie. One of the things that I like about this specific movie is that there are really no gadgets. You know, for the first time, one of the first times James Bond is actually more human, more, more us. So in this case, we also can build a profile of who the threat actor is. Again, the idea of these exercises is that you go through the process of figuring and asking questions. So if you're doing this, one of the things you want to find out, who's the actor behind? Again, attribution is very difficult in real life. But in the case of a movie, you're trying to think about how will you do it. What are the real cases that are there in the movie? So are there real cases when you're doing this exercise with your team, when you're trying to sit down and have them do the exercise? Are there any things in real life? Have we seen this? Has this applied to us? Well, in this case, there's sophisticated malware, and it's been used on espionage. And of course, there's a lot of cases that we know about, right? StockNet, Dooku, FlameWolf, Dooku 2.0. Maybe the malware you have in your network you don't know about, but there is sophisticated malware out there. So at this point, I'm not going to show any more clips. We're going to go really quick into what is going on. So what is happening now in the movie is that James Bond has to move away from England. We know that the guy from MI6 knows how MI6 operates. So this is one of the important things that you can actually do and learn from this movie. Know your enemy, improvise, adapt, and win. So there are times where the tools that you have will not be the right tools to do the work. There are times where the things that you're doing and you're going and not going and it doesn't work. So you have to stop back for a moment. You got to think, why is that it's not working? And you got to improvise. Try a new idea, and you will find that it's going to work. If you just go on and on and on on something, it's not going to help. And in this case, in the case of the movie, James Bond has to move to this place. This is actually Skyfall. This is what the movie is based on. So this is the village. Okay. This is the village where he grew up, right? And so he's going there because there's one thing that he knows. He knows this place better than anyone else. Because the threat actor knows how to operate, but he knows how London operates. He knows how MI6 operates. So the advantage has flipped. Now James Bond is going here because he knows he's got the upper hand. There are times that you're doing an analysis or you're investigating something, and you have to find how you're going to get the upper hand. You don't want to be on the return. You want to be on the receiving hand all the time. This is why I like this movie and why I like what happens here. Because one of the things we need to do as an analyst or responder is try to figure out how we get the upper hand. We can flip it. It's very difficult, but we can. So at this point, we know something. We know who is the person behind that. We know that it's Capes, and he's trying to kill M. There's a bunch of keywords, but as you can see, one of the things that happen is the keywords narrow down. Okay. So when you're getting closer to finalize your incident, you're narrowing down the gap. You know that there's less things you're going to look for because you're getting closer. So you're eliminating all the false positives. You're doing this. So you have very small leads that are very serious leads that are going to crack your case. In this case, we know what happened. So the attack is an insider threat, right? So the bad guy knew how MI6 operated and used that to their advantage. Well the threat is that it's possible that. Right? The threat is he wants to go on and assassinate M or James Bond. We know who the threat actor based on the movie is. And finally, I'm not going to spoil the outcome because you need to go watch the movie. So a little bit like that. If you're doing profiles with your team, one of the things you can do is figure out who was there in the profile. So in this case, Kincaid is the housekeeper. He saw James Bond grow. But again. I'm going to be very brief on this. But if you were going to do this exercise with someone in your team, you want to ask that person to build a profile. What is it that you can learn from James Bond? What you can learn from any of these characters and can you build a profile? Because when we go to the digital domain, we're going to have to build those profiles. So. But how are you going to do it? You're going to do it through thinking about how you're going to do it. So are there any real cases? Well, we do have some real cases. So when there's an insider threat, the motive for that is financial or a spinoff or someone that has been very upset because they laid him off or something, right? We have a few examples. Probably the most known is Snowden. Some people consider him an insider threat. Some people consider him a hero. He disclosed quite a bit of information that he was not supposed to. But we've learned from that information and we're taking advantage of some of that information. So. Now, one of the things that I like about the movie, in this case the James Bond franchise, is that sometimes previous incident findings will be relevant and have new context to a new incident. So you're doing incident response, you're collecting all this stuff, you feel that you cracked the case, everything is sorted, and you collected IOCs, a bunch of data. But then when you're going to go and work in a different incident, you don't know if there's going to be a connection. So it's very important that you keep that in mind. Keep track of those IOCs because they might be useful the next time. Now in reference to the movie, and this is a spoiler alert, has anyone seen the movie? Anyone seen the next movie? So on the next movie, Spectre, who hasn't seen it, cover your ears. But basically what we learned at that point is who's really behind everything. So imagine that you've been attacked, there's a targeting attack, and you believe that you cracked it. You think that you figured out who it is. We know it's the Russians for the DNC. But were the Russians really the ones behind? So there might be someone else, and sometimes the data you collect will help you do that. In this case we learned from the movies that the criminal organization behind that is Spectre. So at the end of the day, if you're doing this sort of analysis with your team and you're going through asking all the questions, one of the things you want to do is find out all the data you collected. So in this case we know there was an incident. There was a response. There was a response to the incident. And you just really move forward with all of them, and you're going to get a bunch of different data. So for example, you could ask your team member, you know, what is the incident? Well, an agent information got leaked. And what was the response? Well, we removed the agents from the field. And so forth. So you can actually ask a lot of questions to get the analyst to start thinking about stuff. But one of the things that I wanted to do on my original incident response talk is what it makes. It makes James Bond very successful. Why is that he's good at it? Anyone has any ideas? Well he is good because he knows how to think, right? He improvises. He knows how to ask the right questions. He's trying to do the right thing. And he actually takes risk, right? But with the better good. So sometimes when you're doing an analysis, you kind of have to think outside the box. And this is why I like James Bond. Because he has to do that. It's part of his job, right? He's a detective, but he's gone extra. Now another thing that is important about James Bond is the reason he's got 007 is because he's got the license to kill. One of the things that he has to do, one of the most difficult things that he has to do is he has to make a decision whether he's going to kill the target or not. Whether that threat is worth killing because it's going to be the better outcome or not. So he is very stressful, right? Another thing that I like about the movie, and these are the things that you can ask when you're doing this little exercise to get better at thinking is, what will happen when your playbook fails? What then? So in this case, MI6 got compromised. They moved to another place, and then they got compromised again. But what if it was you? What would you do? Do you have a playbook? Have you tried to do the playbook? Are you ready to move forward with your playbook? These are the things that you can actually learn from other places and see if you can actually do them. The least you can do is after you watch the movie, you should start thinking, oh crap, am I ready if these were to happen to me? Then start moving forward and start thinking about that. So another thing that I think is relevant about the movie is the importance of a team with the right skill set. Let me go back in here. So this is important because I don't know how many of you work, do security, and you do it all. It's very difficult. I did it at some point. But when you work with a team, the least thing you want is to have a competition. You have to know what you're good at, and you've got to play advantage to that. But is the team effort what really makes the difference? If you don't work with a team, you're not going to be able to secure anything. I've seen it. It doesn't work. You really need to be able to talk to your teams, be able to analyze the data, correlate the data with them. And if you don't do that, it's really not going to work. So it's a very difficult thing, and it's something you can actually learn from some of these movies. Another thing that I like about this movie is whether you want to hunt or not. Do you want to continue being the person that is on the defense? Or do you want to be the person that is on the offense? You want to go and try to get and hunt for things. But how do you do that? Well, you need to do that by asking yourself questions, by trying to change your mindset. Not just looking at a monitor that has logs and gives you an alert. You're going to look at your sheet, and you're going to respond to that alert. That doesn't work. You have to go beyond that. Ask yourself, what does that alert mean? What about that one that I've never seen? Have I tried this command to do certain things? There's things you can do to get better at hunting. So are there any takeaways from the movie? This is the question that I will ask my team. So if we watch the movie, or I ask him to watch the movie, and then do the correlation, one of the things that I will say, hey, are there any takeaways that we learned something from the movie? And I think there's a lot of stuff that you can learn from any movie or any TV show. What about if this was Mr. Robot? So you can actually go take Mr. Robot, take one of the shows, the first episode, and do the same thing. Watch it. Have your team watch the show. Have the team ask all the questions. Pick one or two scenes. Break them down. So the thing is, how did the attack took place? What happened? Who's behind that? Ask those questions. The more you do it, and I believe on this, if you start with episode one, and you go through the whole season, I believe that by the end of the season, you will be a better thinker. You will be a really better thinker. And if you do it with your team, you guys will be a better team, because you're doing it together. And you're learning from the things, the elements that the team has that you don't have. And together, you're a better team. So is there anything we can take away from the movie? Of course, if you have a computer, and it's been involved in an incident, maybe you should destroy it and get another computer. Obviously that happened in the movie, right? If you're doing any incident response, don't get too excited. Sometimes excitement comes into play, but in this case, you know, the network tap was in the wrong place. Can we learn something else? Sure, we're humans. We all make mistakes. Right? This is another thing that it's important to, this is why it's important. Tabletops are important, but these exercises are good, because you realize that you're human, and we all make mistakes. I've been there. You do incident response. You're doing someone analysis. Pen testers, right? You do pen testing, and then next thing you know, you forgot you left the show. The show is still open, right? Anyone can connect to that show in the world, because you didn't secure it, or you left files on some server that you shouldn't have left, right, that they can be used for someone else. Maybe your report is incorrect. Maybe you have pirated software to do some of your pen testing. It's happened, right? But it's important. There are things that you can learn, and you can apply. All I'm asking you is to go through these exercises. If you make a mistake. Mistakes. You will learn from them. But these exercises will help you to get better at not making mistakes, because you will learn more about yourself. You'll get better at stuff. So the methodology recap for what I would like you guys to do to get better at thinking is take a movie, or a book, or a new article, or a TV show, Mr. Robot, Mr. Robot, Mr. Robot. Break it down in chunks, okay? Define what it is that you want to strike with your team, right? So assign someone to do some work. Ask a series of questions about what happened on the TV show, and find similarities to real life or your environment. Discuss and learn from it. Discuss with your team what does that mean, and try to learn from that. Does that apply to me? Could that, a scene in that show, could happen to me? And if you really put the effort in analyzing the data, like a lot of people here have done, you can actually narrow it down to the command or the tool that was used, and you can think about it and say, hey, whoa. This could literally apply to me. So, again, my goal is for you to take advantage of this. This is a methodology for you to think, to get a different mindset, right? If you're going to do incident response, it's important that you go to school and you do things if you come from school. But sometimes, the people that I've talked to and I met, they just don't have that mindset. They have the skills, but they just don't have the mindset. You got to become the detective. You got to become James Bond. You got to become the agent, the hunter, okay? You got to become James Bond. And at the end of that, you're going to repeat it. So you're going to try to repeat the process and the process. So I don't know how many of you have worked in a big enterprise where you actually have to do tabletops. This is a good replacement for tabletops, actually, because you're going through the motions of watching a TV show, and you're learning from that, and you can apply some of the tabletop rules, in case you don't have a big team to actually go through a tabletop. But if anything, it can help you to do tabletop exercises, too. So, yeah. With that, I want to thank one of my friends, Mr. Pete Walters, the awesome team I work with. It's really great to have a good team, and I really want to emphasize that. If you work with a team, really be a team, because if you don't have a team, you really cannot secure any networks. There's other special thanks in here. And at this point, I guess I'll be open for questions. Yeah, some music, too. I want to end with that. Any questions? No? We're good? Well, thank you for coming. I hope that you had a little bit of fun with this. It was a little bit of a rant. Enjoy DEF CON. Hopefully, you guys come back to DEF CON 25th. Cool. Thank you for coming. Thank you so much. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you so much, Plug. One last round of applause for Plug. So, this is it. This concludes the... Wow. This is hard to believe. This concludes Speaker Workshop for DEF CON 26th. We hope to see you next year. At 2.30, we will have closing ceremonies. And guess why 2.30 is? Because, yeah. 2.30 because the Capture the Packet game is still running. So for those, for everyone, thank you. So you're free to come back at 2.30 for the closing ceremonies and the distribution of the prizes. But if you're going to be leaving, safe travels. Safe travels. Thank you so much.