I am pleased to introduce Malachi Walker, a security advisor at Domain Tools, a trusted voice in the world of threat intelligence, with a background that spans cybersecurity program development, DNS infrastructure analysis, and cybercrime investigation, Malachi brings a sharp lens to understanding and countering malicious online infrastructure. Today's talk, Following Threat Actors Rhythm to Give Them More Blues, introduces a new approach called Domain Intelligence Analysis. You'll learn how threat actors operate in patterns and how DNS artifacts can provide early warning signs and actionable intelligence. With examples from recent research reports, we will go through strategies that can make your incident response faster and more effective. Please join me in welcoming Malachi Walker. Awesome. Thanks so much. How's everyone doing? All right. So this is going to be more of an interactive presentation. So if you have a laptop, if you have access to a command terminal, now would be the time to bring it out. If you feel really good about, you know, analyzing different records in DNS and like working through the command terminal, great, because the winner of our interactive DNS scavenger hunt will walk home with these AirPod Pro 2's newest generation noise canceling. They also can have like the opposite of noise canceling. So like if you're listening to music and you don't, you want to make sure that you can still like have your head on a swivel, be able to hear what's going on right behind your surroundings and get that too. Most importantly, it fit my carry on. So that is going to be the prize for one lucky winner. All right, shall we get started? Is everyone who wants to participate, have their laptops out, they're ready to go? I'll give it a second for y'all to pull it out because the next slide, well, we'll talk about the agenda, right? So we're going to start out with like a nice DNS scavenger hunt, try to see who can take home this prize. I will be including a step-by-step breakdown. So if you're a beginner, no worries. After enough time has passed, or even if you get like stumped on a certain part of the scavenger hunt, we'll continue to like walk through what each step was. But for those who are feeling really confident, that's your chance to win the prize, but hopefully everyone will walk away learning something new. Then we'll kind of get into the benefits, like the patterns of malicious infrastructure and like kind of the benefits of identifying those patterns and why DNS can be a great starting point in your investigations, no matter where you are in the attack timeline. And then we'll recap. I can answer any questions about the scavenger hunt. I'm here to kind of walk through any steps, different workflows. And yeah, let's get started. Let's go hunting. So what you'll need is a command line terminal. So if you have Windows, it should look like the one on the right. If you have Mac, it'll look like the one on the left. Open that application on your laptop. And then if you have some decoders, I know like the Defcon Wi-Fi was a lot to get on, but if you can get on like a mobile hotspot, or if you haven't gotten on access to the Defcon Wi-Fi, that might work. But CyberChef, IPvoid are good decoders that can help in the different strings that you might see along the scavenger hunt. And then, you know, I've seen some of the decodes being successful, like in my personal use of Google Gemini and tried it out with ChatGPT as well. So if you trust your LLM, then you can likely use it for some of the steps where like it pertains to, I found a string in a record , let me see more about it. There are going to be some riddles in the record as well. Some ones that are specifically geared towards Defcon. So once you get to those riddle portions of the hunt, I just ask that don't plug the riddle into your LLM, it'll solve in like two seconds. But if you're stumped on it, we like one step will show what the riddle answer is so that you can continue on with the hunt. So yeah, the starting domain is clue.mydailythreat.com. So that's all I'm going to give you right now. Go ahead, open up your terminal and see what you can find from clue.mydailythreat.com. And you know, once you win, just let me know. And that will be yours. But in like two minutes or so, I'll go ahead and get to the first step. And then I'll take a little bit longer between each step after that. So that you know, we're off to the races. Okay, so the first step, if you were stumped wondering where we do we start was to dig the TXT, the text record for clue.mydailythreat.com, which was that first starting domain that you were given. So this is what it looks like on a Mac, which is my device. But if you're using Windows, then you do nslookup dash type equals text clue.mydailythreat.com. And once you were to dig that text record, it would reveal this hint right over here. You've got email, but where does it go? Add, don't subtract. And now you'll know. Oftentimes, looking into DNS records can be a great sign of, you know, a first sign of trouble for when you're doing your forensic investigations and workflows. And so hopefully this hunt will give you all an idea of some different discoveries that you can make just by analyzing records without using any tools without doing anything but kind of spinning up your own terminal and thinking about different ways to go about some of the riddles that you see within there. So once again, that first clue is, you've got email, but where does it go? Add, don't subtract. And now you'll know. And for those that just came in, we're doing a DNS scavenger hunt as part of the effort to follow threat actors' rhythm, to give them more blues. We're committed here to give more bad days to bad actors. And so the starting domain for that threat hunt is clue.mydailythreat.com. And I just went over the first text to help get people started. But continue to run through the scavenger hunt. And I'll go through each subsequent step afterwards. And we'll see where we go. And if you win, you win. Like, you know, there's no time limit or whatever. We have another colleague that's giving a talk at 210. And I joked, like, someone might get it really fast. And then we'll be over at his talk. Not right now. I mean, for everything can be done through a command line terminal without having to be connected to Wi-Fi. But there will be some strings where you would need to decode them. If you get a string that looks weird and you want to decode it, there are going to be different languages that you'll decode it through. But when you get the string, you should kind of see something's up there. And that might require a connection to say... and I'll just go back to the next slide for those who just started. Cybershef on this GitHub link and then ipvoid are some good decoders where they have base64, base32, base16 decoders. And then if you were to, like, plug the string into an LLM, like, GPT or Gemini, I've tested those ones. It works. I haven't tested, like, Cloud or anything like that. But likely you plug them in and they should be able to decode it as well. So, like, a very minor connection where, like, you won't have to do, like, too much work. And so, hopefully everyone's got, like, mobile connection. Because, like, you might be able to, like, find the string, plug it in online or use a mobile hotspot or something if you didn't get connected to the DEF CON Wi-Fi. But if anyone's, like, I got a string and I need to decode it, like, let me know. Because I've got connection. So, you know. And then we'll go ahead and, like, at a certain point I'll show what that string decoded looks like and how it would be decoded as we go through each step in the line. So, does anyone need to see that first step? Or are we all kind of, like, ready to either keep going or move on to the second step? Awesome. All right. So, step two. That plain words email being all bold. Add don't subtract. We didn't want to make it email.mydailythreat.com, but we wanted to add don't subtract email to clue.mydailythreat.com. And then if you're wondering where it goes, digging the MX record could be a great way to reveal that. And so now you see an interesting answer section right here where the MX reveals a very interesting string. But if you look closely at the string, there are a lot of repeats in the variables being used. So, I know there's, like, a lot of different ways to think about when you're decoding, whether it's base 16, base 32, base 64. But think about this limited output right here and think maybe, like, what you might want to do next with it. Here I would recommend using one of those resources. So, everyone sees the string, right? Can I go back to show the resources you can use to decode it? All right. So, again, if you go to gchq.github.io.cybershef, or you go to ipvoid.com, or you try to plug the string into chatGBT or your favorite LLM, you likely can get another hint after decoding the string that you see from the second step. And I'll be very quick between this step and the next step because you decoded it or you haven't decoded it. And once it is decoded, that is another riddle. So, we'll spend more time there. So, this is what it looks like when you're decoding the labels on CyberChef. To make it a little more challenging, we added periods in between different points in the string. And so, if you have to break it up one by one by one, that'll help get your next step in the hunt. So, that reveals to get my alter ego, add one label to the left for the next step's arbitrary lore in the record it was meant for. And we're doing the decoding in hex. So, if you saw that output, you saw that there was a lot of repeats and they were only using basically 16 variables. And it was also really long because of that in order to go from that long string that you saw into the labels. So, think about that riddle to get my alter ego, add one label to the left for the next step's arbitrary lore in the record it was meant for. And then once again, just another thing to note in step two, you get the string and then the string is .shadow.mydailythreat for the website as well. So, what was the record that it was meant for? The record that it was meant for, was the CNAME record. And why was it the alter ego is because we were starting out with mydailythreat.com, but the analyzing the MX record revealed that it was mydailythreat.net. You could see it very carefully in the string where it switched over from .com to .net. And so, if you were digging, you might have ran into some dead ends if you were to solve the riddle and then dig .com instead of .net. But the result of that, once you dig the CNAME, because I know it's very small font up there, but the result will be you get directed to next.clue.threatblockchain.com. So, focus on this result if you're stuck and hopefully that'll keep you going in the hunt. In addition, so for like when you get the string, you could use hex, but it's not just going to be hex. Some of them are going to be in like a different language if you see different variables out there. And so, I think the biggest skill, I guess, in that sense is just knowing which one language you would want to decode it in. But it will, this specific con will rely on the use of a tool that you trust, whether it's an LLM or, you know, CyberChef or IP Void. But the skill part would be like identifying what do you want to decode? Is it hex? Is it base64? Is it something else? And then plugging it into the decoder to get that information. And as a hint, like CyberChef was really good for that first decode. But if you're further along in the hunt, it might be good to take a look at IP Void because it can do different things like MP3 conversion or other ways to decode, not just on base16. But CyberChef is good on like decoding a lot of different options too. And then you plug it in and kind of show where you're at in the steps if you're using like GPT. I ran through the prompt with Gemini so that this is a prompt that you could potentially use where it's like I'm doing a scavenger hunt and looking for different clues and DNS records. And you tell them this is what I have. I have this string right here. And then what I saw is it even filtered out like when I put the dots in the hexadecimal to break it up, it was able to bypass all of that, decode it, and then tell you what the string translated to. But I want like the scavenger hunt to focus more on looking through the records, understanding what to look for, thinking about the riddles. And when you see the string, I don't want too much time to have to be spent on decoding the string. So the next step in the hunt after you were to get the result of next.clue.threadblockchain.com is digging the text record once again. And so this one leads to a pretty interesting riddle. It's like doable, but like when we plugged it into GPT and they solved it in two seconds, less than two seconds, like a millisecond. And it's very DEF CON focused. So I would just say think about anything that might be capitalized, emphasized within this longer riddle. And I'll read it out loud and put some emphasis on it there. But if you are a DEF CON vet, then this might be an advantage for you along the hunt. And honestly, I think this is probably the hardest step of the challenge. And usually we do a test run with some people at my company. And as soon as they got to six, it was off to the races. So if you can solve this riddle before I move to step six, you have a huge advantage of winning the AirPod Pros and winning the hunt. But that clue is, I am not the message, nor the destination, but I add a hidden mark, a silent attestation. I vouch for your email, a cryptographic sign, providing its origin, almost divine. My key awaits, there to be read, but to find it, a unique name must be led. The dark tangent calls in the faithful near, to dissect the code and conquer fear. Not a fight, but a quest for the bright, unveiling secrets and digital delight. Start from the right, keep first and second, abandon the rest, and new things reckon. So I'm gonna give you that like another minute. Someone could really, you know, if someone's good at riddles, I want to give you that like boost, but I understand that that really has nothing to do with like going through the hunt. So, you know, we'll be able to, it was just a warning, like once we get to the next step, it might be off to the races and the fastest person is gonna win. All right, here we go. So the riddle revealed Defcon the dark tangent dot underscore domain key dot threat blockchain, the cryptographic message dot com. So the result being, you know, like, once you're at this point in the hunt, there's not necessarily a net new step, just as a big hint. So everyone who kind of just got started out with using the command line and like going through these steps of like using an anonymous lookup in Windows or digging a text record in Mac, like everything you've done between this step and now could be utilized in the following steps to finish out the hunt. So this was the last kind of like net new step was solving for the riddle. But that result would be a DKIM string, which has a message embedded in plain text. And try to give another head start if you, you know, didn't wait for me and you're reading what the message was that is shown in plain text. But if you look through that long string, you'll see target dot assumed dash breach dot com slash txt. And so like at this point, there's nothing new that hasn't gone over through the steps. So think about the other five steps that took you to get to this place and see what you can find. Welcome in for those just getting here. So we're starting with a DNS scavenger hunt. You're starting, I can give you a starting domain if you want to participate. We're six steps in. But if you feel pretty confident about it, and you want to fire up the terminal and try it out, I can give you a starting domain and we can keep going. But for everyone else, because now we're going to get to step seven, want to be mindful of time. If you dig the text record for that target dot assumed dash breach dot com, which was in plain text, you get another interesting result. So this one might require an online connection, specifically for your laptop. If you've gotten like an error by going to the next step, I'm not going to reveal the next step but if you did get an error, it might be because of any VPNs being used. But this is, you know, my CISO's personal GitHub, so I promise no malware will be distributed. So just keep that in mind. Feel free to turn off VPN if you have an error from your next step in this result. All right, we got two minutes and two more steps. So I'm going to go ahead and reveal step eight. So this one you might have not gotten much if you try to dig the records in the GitHub, but if you actually go to the website from the result, it leads to an interesting zip file that we promise is safe. And if you download the zip file, it should lead to an interesting string. So if you got it, feel free to claim your prize. All right, so we got one more minute. I'm going to show like what the next step is, which is just like, I mean, you might be stuck on like decoding the string. And so if everything should be kind of good to follow after that. But the language you're looking for this time is Base64. And if you're able to decode it using ipvoid, I would recommend using the ipvoid website. So I'll go ahead and go back to that slide. If you go to ipvoid.com, and you put in that interesting string that you got into Base64 to something, then you should be able to get it. So the final clue was to say, to sing this is how we do it by Montel Jordan. And that's how I would know that you've won the hunt. So congratulations. This is yours to take on. So I know we're kind of pressed for a little bit of time. But one thing I want to just take away is that DNS can often be the first sign that something interesting is going on in your environment. And so DNS relates to internet infrastructure, right? Threat actors are going to be using and abusing the internet in order to get to you in order to carry out their malicious campaigns. And so if we can identify the different patterns and malicious infrastructure, so kind of thinking about those first five steps where there was different steps along the way, some different strings to decode, but ultimately you were digging for text records, MX records, C names, and they provided you a whole bunch of context. And once you got after step five, even if you were just starting out, my hope is that thinking about those patterns helps you take it the rest of the way to complete the rest of the hunt. And we've also dedicated domain tools, where I work, has dedicated our investigations team to identifying different patterns of malicious infrastructure. And one thing that we've noted is the convergence of high-risk attributes. So it's not just different domains in the .com, the .net from this example, but we're seeing a whole bunch of new TLDs. So this 3D scatter plot kind of visualizes some top registrars, top ISPs, top name servers, and then we look at the convergence of different high-risk attributes. So if you want more information on that, I really encourage you all to check out our 2024 Domain Tools Investigations Threat Report. Think about how domains are utilized by threat actors. Spoiler alert, it's all over MITRE ATT&CK. There's the obvious ones like reconnaissance, phishing, internal spear phishing, but it's also used in C2 and other infrastructure. I'm going to skip those slides, but the end conclusion is that domains and DNS and different internet infrastructure can give you context. It can serve as connectors from one domain that you are seeing, which was clue.mydailythreat.com, to the ones that you aren't seeing, like the mydailythreat.net twin domain, and then also the blockchain threat domain as well, which eventually got you to the GitHub and then the final clue. And then it'll also give you more confidence that what you're seeing is related to something that you want to investigate more about. You can take one thing that you are seeing and make connections to other things that you're not, and you can address all of the malicious traffic all at once instead of having to put out fires one at a time at a time. That can help you be better at identifying those priorities and get ahead of those threat actors. They think that they only have to be right one time and you have to be right every time, but they're on defense too. And if you can take that threat hunting mindset and you follow the different patterns that they leave behind, you're going to give them more bad days. So in conclusion, follow those threat actors rhythms to give them the blues and listen to all those R&B albums. I guess Miseducation of Lauryn Hill is kind of a rap album, but one of my favorites, Key to Life, Blonde, Lemonade. So listen to the music while you're going through the threat hunt. Instrumentals are really helpful, lo-fi beats that can help you kind of flow through and stay focused. But you know, hopefully this inspired you to kind of fire up the terminal, go through them different workflows. If you used AI today, if you use ChatGPT or Cloud to help kind of go through some of the steps, you can ask them to give you another scavenger hunt to build something out. And we have all of our IOCs published on our GitHub as well. So the more you want to learn, the more information we want to share. We want to make sure that we're working together as a community to give threat actors more bad days. So follow us at dti.domaintools.com. There's no product stuff in there. It's just a bunch of blogs, a bunch of research on cool stuff that we've found. Ian Campbell, our security engineer, has published a lot of great work and publishes all the IOCs that we find publicly available to you all on our GitHub. So take what we've shared with you today, try to build off of it, and we encourage you to kind of continue the conversation with us as well. So thanks so much for your time. Oh, and while this conversation and this hunt was taking place, 4,000 new domains were registered and 425 of them are malicious. So let's get after it. Let's go find out and follow this rhythm and let's give them more blues. Thank you. Yes, talk to me after. We can get you set up with some training. Specifically, Ian will get you set up with some training, but we definitely want to make sure that you've got confidence to use it and find as much as you can out of it, too. Absolutely. Any other questions I can answer? You're up next, right? So I don't want to take away from your time. Okay. Whoa, really? Yeah, any other questions you got or anything you want to see? I'll plug back in and just show some cool stuff. I appreciate that feedback. I want to like, I was like, that found into a day to me. So I was like, I don't want something to come in and soften in five minutes. So if I went overboard, I apologize. But hopefully going step by step is a good combination where if you felt really into it, you had a good flow. But if you were just starting out and taking the steps and the slides was helpful, but any feedback on the hits that I dropped on the slides for results, I'm always open to because, you know, that was my first scavenger hunt that I led right here right now. It was a test run that I worked on last week. So I want to do more of these. So I was actually seeking suggestion to like, try to take a look at making this more interactive. And so I hope you all enjoyed it and have something fun to kind of talk about and try out on your own after this. But yeah, super excited. Oh, the slides are still up. Okay. So what are some other cool stuff I pulled up? All right. So if you think about how the infrastructure is developed, right? Think about how the barrier for entry has been lowered because of access to LLMs or information sharing on Telegram, Discord, or even like the dark web. There's a lot of people who have the confidence that they can get in, get some valuable data, hold it for ransom, or get some different financial information and make some money off of it and then get out without even being detected. Because once people are in the incident response framework, they're just worried about mitigating as much damage as possible. But if you're thinking about a threat hunting mindset of all of the different data that's being left behind, a lot of it can be observed in DNX, right? So when you're registering, so when you're carrying out a cyber attack, when someone's sending you that text message from easy passing, and you haven't paid your bill, click here, and it ends up being like a phishing domain. The person who's spinning up that domain had to use an email address to put that domain together. They had to build up that infrastructure. They had to put that domain and sit it on a hostname, an IP address. They used an address. Sometimes people who are just getting started out, they're using their real name. They're using their real address. They're not really hiding. They're focused more on the attack and not thinking about covering their tracks. And that could be some easy low hanging fruit. But even for the ones who are more sophisticated, they're likely reusing a lot of the infrastructure that they're using to stand up these malicious domains and carry out these attacks. So think about this cycle, because that's the cycle a threat actor would follow when they're trying to do damage. You might think there's nothing that can be done when they're in the weaponization stage. And it would be better, detection is more ideal if you could detect them as these new domains are being registered. But as you're spawning to one domain, you might find connection to other domains that haven't been weaponized yet. The threat actor's not even thinking about that they might be burned on this other domain, because a lot of times they don't understand that some of these breadcrumbs can lead to a connection . They're reusing infrastructure. They're even sharing it with other threat actors as well. There's a lot of credential sharing going on. We've seen in our own investigations, which I encourage you all to check out, again, dti.domaintools.com. We've seen some state-sponsored groups, highly sophisticated, kind of resurface under another name. There's a lot of inviting. It can get messy. But with all of that mess and chaos comes context. And so try to find the context within the chaos. And now they're the ones that have to get right every time, trying to cover their tracks. So thinking about how the campaigns rotate and how the cycles are generated can be a great way of responding to threats easier. If it's already happening, you're already putting out the fire. Or if you're going through a threat hunting mindset, finding that trouble and stopping it before it even occurs. I'm trying to think what other slides I have up here, but I will probably wrap it up if there are no other questions. I'm so glad you asked that question because I was thinking about that talk that we both attended at the BIC Winter Conference. And so there had been like, you know, kind of a sentiment from one of the speakers who gave a really cool talk about scaling the Pyramid of Pain using like three LLMs like Cloud, Chat, GPT, and Poe. And one thing that they did mention, though, was that it can be frustrating dealing with all these different domains and IP addresses, and ultimately that can lead to more time wasted. So to make the argument, I think it's like, if you take a look at some wins that you can identify using domain and IP addresses, and especially using OSINT tools, and like, you know, your own investigative workflows, and then kind of plugging in those domains and utilizing some of the free tools that you do have access to, like a GPT or Poe, and seeing what else they find, and then making the argument that, hey, if I can get more of a prioritization from you all into domains and IP addresses, there's a lot of context that can be revealed. That can be a great starting point. I think the MX record is kind of like one of my favorite ways to illustrate this. It's like, hey, we found this domain, and then we dug a text record and led to an MX record, and in that MX record, it revealed that not only did this domain that we found kind of, in the wild, going through the only resources that we had at our disclosal look dangerous, but it's connected to an email address. Someone is using this for a phishing campaign. But if I go on VirusTotal, for example, you might see that it has a clean score. And the domain might be like Microsoft with a zero instead of O.com, or not even .com, sketchy TLD or something like that. And you're like, well, obviously this domain is a threat, and it doesn't matter if we're using a tool or whatever I have online to say, oh, no, you're all good. I dug the text record. I saw a connection, and I'm looking at all of the other stuff behind it, and also I'm reading the domain name, and I'm seeing that it looks very sketchy. Like, we need to reduce that risk. And I think another thing to think about is the fair model, because if you look up the fair model and the nice framework, I'm getting the two confused right now, but both are very important. They're a great way to establish a baseline into a good security posture. I think it's the fair model. It might be the nice framework. I would just recommend looking both of them up, but it will answer your question. One of those two frameworks actually monetizes the cybersecurity posture, right? And it can provide you a model of like, hey, if you do these many things to better your cybersecurity posture, if you make this investment, then you'll actually get a return on investment, and it will show you how much damage gets caused if you don't have access controls, how much damage gets caused if you aren't, you know, monitoring for malicious domains. And so if you use those two frameworks and kind of build that out and speak the language of money, unfortunately, that can ultimately lead it in, because a lot of people think of cybersecurity not just from DNS. I think DNS is great because it's like the first place, the first sign of trouble, the first sign that something might be going on, but they often might think that cybersecurity in general is a cost center. It's not. It is a revenue driver. If you can save your SOC team time, they have more time to be proactive. They can go after bounties. They can go after threat actors. They can get you in cool publications. They can go to DEF CON and, you know, do more idea sharing, more networking, like build a brand for your organization. And the more power you have on that, that's a return on investment. And so kind of making that financial argument, like me, your, I guess, economic decision maker, Rivera, and speaking their language could be a great way of saying, like, hey, like, you put some more resources into this, it'll pay you back tenfold. And that's not even getting into, like, you don't, and we suffer an incident, like, you're going to lose so much money. So speaking that language can be... I'm sorry, that was a really, like, long-winded answer to that question, but I hope that that answered it. Any other questions before I wrap up? All right, thanks so much for your time.