Can You Investigate This SOC Alert?
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Today, I got three sock alerts for you that were pulled straight out of a Microsoft Defender environment. And I'm going to show you each one exactly how it's shown. And we'll walk through what we know. And then I'm going to stop and ask you what your questions would be and what you would look at first. Consider this a selfch check video because by the end of the video, you'll know if you could take these alerts on your own or you may need extra practice. So, let's find out. By the way, as you're working through these alerts with me, do pay close attention to where you get stuck.
If you catch yourself thinking, "Man, I wouldn't know what to do next without someone showing me." That right there is exactly what I'm working on with my students inside my six-week sock investigation cohort. I'll leave the application down below. If this is your first time seeing one of my videos, hello, my name is Steven and I've been working in cyber security for over a decade, mainly within the security operations domain. I help aspiring sock analysts build the practical skills and proof that they need to actually get hired. So, with that said, let's get started. For each alert, I'll put the alert page on screen and then go through what we know, just the facts sitting right in front of us. Then, we'll ask two questions. What questions do you need answered? And what would you look at first to answer them? When they come up, do pause the video and actually try to answer them. Say it out loud. write it down or even drop them in the comment section. Then I'll share with you my answers. And keep in mind, you won't have enough data on that page to actually reach a verdict. And that's intentional. You have enough to start forming your questions. All right, the first alert that we're going to tackle is possible Loon breach. So here's what we know. The severity is high. The title says possible Loon breach. The description tells us that a remote IP address historically associated with brute force attempts against devices in multiple organizations has attempted to connect to one of our devices. We know the IP address is 88.214.25.124.
We know the account it was going after which is the administrator account. We know the target is a Windows Server 2022 box and the MITER attack technique is brute force. So what questions do you need answered and what would you look at first to answer them?
So the very first thing that I want to do with any alert and by the way this is going to apply to all three today is to understand why it triggered in the first place. What did the detection actually see here? It fired because a known brute force IP attempted to connect to the server. So what are we trying to determine? Well, we want to know whether any of these loons actually succeeded. If every attempt failed, then this is most likely internet noise just hammering an exposed server, which unfortunately, by the way, happens all day, every day. But we still want to confirm that nothing else was targeted before writing it up. If even one succeeded, the investigation changes completely because now we may have an attacker authenticated as administrator on a server and our day just got a lot more fun. Now what data answers that question? Well, we could pull the loon events for the server and filter on that IP address. In defender, that's the device loon events table in advance hunting. in raw Windows event logs.
That's Windows security event ID 4624 for successes and event ID 4625 for
failures. And then we're building context around it. Has this IP touched anything else in the environment? Has this alert fired for this server before? And what was the outcome? And why is this server even reachable from the internet? If your questions looked something like that, perfect. If your plan was to open the alert and just start clicking, hoping something comes up, then that right there is something that you need to pay attention to. Let me know in the comments section down below what your questions were. Now, let's move on to the second alert, which is Windows Run Registry modified. Here is what we know. This one's a medium severity, and it comes from a custom detection. The title does say endpoint Windows run registry modified. The description tells us that the detection identifies changes to the Windows run registry key, which controls programs that execute automatically when a user logs into the system. And by the way, attackers love these keys because whatever they plant there pretty much survives a reboot. And the description even tells us both legitimate applications and thread actors do modify these keys. So this alert does go both ways by design. We know the machine is a Windows 10 endpoint and in the timeline we can see that the process activity behind it ending with setup.exe running with a long list of command line arguments. Now what questions do you need answered? What would you look for first to answer them?
Again we want to start with the why. Why did the alert trigger? This is a custom rule and it fired on a change to the Windows run registry key. The rule doesn't know if that change was malicious or not. It just knows that a key was changed. So what are we trying to determine? Well, we want to know whether this was legitimate software behavior or someone actually trying to establish persistence. And the context that we need to gather for that is who made the change. What process launched by what running what command line? And that's where the detail is the setup.exe exe in the tree was launched by something called elevation service.exe
and the command line is full of arguments like rename ms edge.exe exa system level channel equals stable. And by the way, this looks a lot like Microsoft Edge just updating itself, which could explain a right to an auto start key as part of the update finishing its job. But right now, that's just a hypothesis. And a hypothesis is something that we need to validate and verify because attackers can and will name their tools like setup and MS Edge on purpose. So, our next steps would be confirming the file is running from where Edge actually lives, which is under program files or program files x86, that it's signed by Microsoft, and pulling the actual registry event to see what value was written and what it points to. If all of that checks out, the verdict for this event does lean towards being benign. Now, a common mistake with this one is going too hard in either direction. escalating because the registry key sounds scary or closing it right away because the process looks familiar. Both of those are guesses and you want to always verify and back up your decisions before concluding the alert. Now we get into the last and final alert which is potential C2 connection behavior. This one is a high severity alert and the description tells us that this fired on a network connection to a low prevalence IP address from a process tree related to an alert correlated with ransomware activity. We know that 1 minute before this fired the same box generated another alert called potential human operated malicious activity. So defender already thinks that there's a person behind this. We know that we're on a Windows Server 2022 box under the administrator account. And in the process tree, we can see a DLHost.exe tagged with remote execution, which spawns something called wixer.exe, also tagged with remote execution, followed by a suspicious file being observed. So, what questions do you need answered, and what would you look at first to answer them?
All right, so why did the alert trigger? Well, a process on the server connected out to a low prevalence IP address, meaning very few devices have been observed talking to it. And it did that from a process tree that's likely tied to ransomware activity. So the detection logic here itself points us at the process behind that connection and that's called wixer.exe. Then we have remote execution tags which Microsoft put on. This suggests that activity may have been kicked off from another host and we may have a lateral movement path to scope out which means we shouldn't automatically assume that this server is patient zero unless of course it's sourcing from the attacker's workstation. So what are we trying to determine here? Well, we want to know how far does this go? What is wixer.exe?
Where does it live? What is its hash? And does it exist anywhere else in the environment? Did this activity actually originate from another host? And if so, which one? What is that IP address? And has anything else in the environment talked to it? And who needs to know about this right now? You see, the value a sock analyst brings on this one is handing incident response a clear picture. For example, what ran, when it ran, where it might have come from, and what's affected so far. If those kinds of questions started coming to you naturally, that's a really good sign. If you just felt the severity without knowing your next move, you now know exactly what to work on next. So, there you have it. Three different alerts. How did you do? And be honest with yourself.
Could you have taken those alerts past the first screen? Could you have decided what you were trying to determine or come up with the questions and know what evidence you would need next? If the answer to that is no, pay attention to why. Did you get stuck because you didn't understand the telemetry? or did you understand what you were looking at but didn't know what questions to ask next? Because those two are different problems. And the first one, by the way, is a knowledge gap and studying actually fixes that. The second one is an investigation gap. And you can improve that by tackling alerts over and over again. Now, if you do notice that it's the second gap and you want to close it with me, I invite you to check out the six-w week sock investigation cohort by clicking the link down below and then see if you're a good fit. And depending on when you're watching this, the cohort may already be full or closed. And if it is, don't worry, the same link will put you on the wait list for the next one.
That is it for the video, and I hope that you found that informative. If you did, let me know by hitting that like button and subscribe if you want to. Remember to stay curious and do things differently.





