10 Things I Learned After 10 Years in SOC/DFIR
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
I spent over 10 years in security operations and most of what actually made me better were the tickets that I got wrong. The findings that I couldn't defend and the questions from people who were sharper than I was. So, this video are 10 lessons from those 10 years. No accomplishments, no career highlights, just the things that I want a new analyst to know before they learn them the way I did. But before we jump into the lessons, I created a 6-week sock investigation cohort and I'll be working closely with a small group of aspiring sock analysts specifically on how to investigate when there are no walkthroughs. So, if that is something that sounds like you're interested in and a gap that you're trying to close, I'll leave an application in the description down below where you can check to see if you are a good fit. If this is your first time seeing one of my videos, hello. My name is Steven and I've been working in cybersecurity for over a decade mainly within the security operations domain. I hope aspiring sock analysts build the practical skills and proof that they need to actually get hired. So, let's start with lesson number one. The alert is the beginning, not the investigation. Early on, I treated every alert like it was the case. The alerts that brute force, so I was working a brute force. My job was to fill in the details around what that alert already told me. What took me a long time to understand was that the alert is just a claim. It's a rule written by someone fired on some condition and it's claiming that something happened. Your investigation decides whether that claim is true. The moment you treat the alert as the conclusion instead of an actual starting point, then you've essentially handed your judgment to whoever wrote the rule and they have never seen your environment before. So, now when an alert lands, my first question is, what is it actually claiming and what would have to be true for it to be real?
Number two, your tools can be wrong. Your SIM can normalize a field incorrectly. Time stamps can be in three different time zones across your log sources. Enrichment can label a VPN as a malicious IP simply because someone else's malware used it last year. None of this is rare by the way and when you're new, the tools word is often final because you don't yet have the confidence to disagree. And this too took me a long time to learn that the tools says so is evidence and evidence
can get weighed and sometimes it loses. When something doesn't add up, get as close to the original telemetry as you can. Parse fields, enrichment and detections all add interpretation on top of the underlying event and sometimes that interpretation is wrong. The raw event can still be incomplete or missing context but it is the closest thing that you have to what actually happened. Number three is good investigators ask better questions. For years I thought the gap between me and the analysts I looked up to was knowledge. They've been doing this a lot longer so of course they would know more things. Then I watched one of them work and I realized the difference went beyond knowing more.
Given the same alert and same data, they asked, "Has this account ever logged in from this location before?" Well, I was still asking, "Is this IP bad?" >> [laughter] >> Their question had an answer that moved the case. Mine had an answer that mostly didn't. By the way, you can test yourself on this today. Take any alert and write down the questions that you would ask. Then look at each one and ask what you would do with the answer. If the answer wouldn't change your next move, then it was a bad question. Number four, scoping is one of the easiest things to get wrong. If you scope too narrow, you may end up closing a ticket for one compromised host while the attackers sit on three others. If you scope too wide, then you may spend six hours on an alert when you only need it 20 minutes, and then the queue is going to bury you. I got this wrong in both directions, and what fixed it for me was making a scope a decision instead of an accident. The alert hands you an initial scope, usually one host, one account, one time window. What I do now is take that starting scope and then decide up front what evidence would force me to expand it. If I happen to see the same account showing up on a second host, that's going to widen it. Another machine talking to the same destination, that's going to widen it. If you don't decide that up front, you either stop too short or you never stop. Number five, timelines change investigations.
For the longest time, my investigations were just a pile of findings. The first time I put them in a chronological order, the case changed in front of me. It was incredible. On their own, I had a file download on a workstation, a log on on a server, and a script running on that server. Each one had a reasonable explanation, but as a timeline, we could see it was all connected. It was the download first, then that same workstation logging into the server, then the script running minutes later. That's one thing happening, and now the timeline also tells you what to check next. Like, what else did that workstation touch in between? Number six, separate evidence from assumptions.
This user clicked this link. It might be evidence if you have the proxy log showing the request, or it just might be an assumption because the email arrived, and 20 minutes later the host did something weird, and clicking is the obvious explanation. The dangerous part is that both of those feel identical while you're in the middle of a case. When I started writing reports for clients, and remember, nobody was reviewing my report, I would blend the two without knowing it. What I'd verify and what I'd inferred sat in the same paragraph. What fixed it for me was one habit. For every claim, I ask myself, "What am I pointing at? What did I actually observe? And what am I inferring from those observations?" You see, inference is fine, investigations do run on it, but it needs to be labeled as inference because the person reading your report is and will make decisions
based on the data. Number seven, know when you don't have enough evidence. Believe it or not, but some cases just can't be concluded with the data that you have. The logs might have been rolled over, the endpoint was re-imaged, the source was a personal device that you'll just never see. And the pressure from the queue, from the client, and from your own wanting to be done is to conclude anyways. Saying, "Based on the evidence, we are unable to determine X, Y, and Z." felt like a failure to me for years. I eventually learned it's one of the most senior sentences an analyst can write because it means that you know exactly what your evidence can and cannot support. The analysts who do get burned, though, are the ones who sound confident about their conclusions that their evidence can't support and who aren't aware of their data source limitations. Number eight, writing makes weaknesses in your investigations obvious. I've had investigations that felt completely solid right up until I tried to write them down. In my head, the story flowed, but on paper, there was a hole in the middle. I would conclude that the account was compromised, and when I went to write the sentence that justified it, the The had nothing to stand on. You see, writing does that. It forces every step of your reasoning into the open where you can see it, which means that you find your own gaps before anyone else does. This is why I'm so heavy on report writing with everyone that I train. The report that you write for others is also the audit that you run on yourself.
Number nine, being questioned makes you better. The worst stretch of my career for growth was the stretch where nobody looked at my work. Reports went to the client and nothing came back. I felt productive, but I wasn't improving and I couldn't tell because improvement without feedback is invisible. The most growth came from the opposite where someone senior asking why I stopped where I stopped, why I hadn't checked what the source IP touched afterwards, what would change my conclusion. It stung every time, seriously, and every question became something that I checked automatically on the next case. Which means that every single question made the next investigation that much better before it started. So, if nobody is questioning your work, you're missing one of these strongest improvement loops that you can have as an investigator. Go and find someone who will do that for you. Last but not least, confidence comes from reps, not certificates.
Certifications helped me build the knowledge that I need, but passing one never made the next unfamiliar alert less scary. And I've watched the same thing in analysts that I've trained. Confidence comes from evidence that you can do the work. And a cert is evidence that you can learn the material. Those are two different kinds of proof. What built up my confidence was volume. Case after case where I was responsible for figuring out what happened, got things wrong, learned from them, and went again. Somewhere in those reps, unfamiliar alerts stopped becoming, well, scary. Early in my career before the reps, I turned down a promotion simply because I didn't trust myself. But years later, I can now walk into investigations that I'd never seen before. The reps are what changed in between. So, there you have it. 10 lessons and if you look back at them, almost everyone is really about the same thing. I mean, you're asking better questions, you're scoping deliberately, you're separating evidence from assumptions, writing it down and getting challenged. That is what investigating well actually is and every piece of it is learnable through reps and feedback. If you want more than just hearing about these lessons and you actually want me challenging how you investigate, I would invite you to think about joining the 6-week SOC investigation cohort, which you can learn more about down below. Now, I am keeping the spots limited, so I can give people real feedback on their work. 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.





