is going to talk about teaching socks or building one. It's my pleasure. Andy Johnson. Thank you. So I'm Andy or Pierogi Powered if you want to follow me on Twitter with Carnegie Mellon University. That's how we say it in Pittsburgh. So who am I? I'm a blue teamer. I've always been a blue teamer. I started in the steel industry, then spent a few years in the healthcare and health provider industry in Pittsburgh. I'm currently building and managing a student oriented, student led security operations center focused for Carnegie Mellon University. Outside of my work, I'm also the organizer for B-Sides Pittsburgh. This was our eighth year, 500 attendees, also at a casino. So what am I doing? I am running a teaching sock. So in general, the idea is students learn their theory in class and then they could come to the sock and apply their theory. You could think of it like an apprenticeship. So how do we get people to come out of the university with applied knowledge if they hadn't taken an internship or even a lot of these internships now are looking for people with some level of experience. So can we get people ready to get those in demand internships around the Pittsburgh area and across the world if they want to reach out? A second part, a key part based on my experience, I want to teach people compliance but teach people good compliance. I've had some bad compliance experiences. Compliance drives a lot of our industry, good or bad. Let's use it for good. And then finally, Carnegie Mellon is a research university. So can we collaborate with our research to get those in demand internships? Well, we're not just building lab, we're getting research done. We've got research researchers, we've got production data in a production environment. if you're doing research rather than build a lab, why don't you come to us? We'll either provide you sanitized data or if you're trying some sort of active methodology, let's throw it in. Let's see how it runs in our university. So how did I arrive at this student oriented teaching or collaborative sock? At a previous security operation center, I saw three things. There was this compliance obsession. So, you know, you come in, you've got your SOC or your SIM set up. It's got all the default rules in. There's just bad alerts, missing alerts. Like the failed login one is my prime example. You know, there were analysts all day, every day, they were just running through, hey, this account had, you know, 5,000 failed logins in five minutes. And then, hey, well, don't we have accounts that lock after 5, 10 failed logins? Isn't that a mitigation? Isn't this probably just an account that had a password change and, you know, the process is just going over and over? I mean, we're not really working security here. We're just manually chasing down IT issues for the rest of the organization. So, you know, it was low quality. And then why are we doing this? Well, compliance said we had to monitor for failed logins. And it was like, well, the goal is to monitor for failed logins. And I was like, well, the goal is to monitor for unauthorized access, not specifically, hey, this account is failing to log in. We've also got mitigations. We could do a lot better than that. On top of that, there was siloing. You know, we're just pounding away at these alerts. Are we trying to get better? Are we talking to the rest of the organization? Kind of. But it was really just more open ticket, closed ticket. They're doing open ticket, closed ticket. We're not getting better. We're sending requests to groups that had bad accounts. We're sending requests to groups that had bad information. Like, hey, database admin, we saw failed logins on this database server. Hey, this isn't a cluster. And you didn't even tell me a table. You just said one server. You know, I've got 30 servers, 500 databases. You're not helping me. You're just giving me a job here. And then finally, career pathing. I love the blue team. I love the SOC. That's why I'm in the SOC. I love looking at logs all day. It makes me happy. And then, you know, we're just kind of getting better at it. So, not everybody likes that. Not everybody wants to go from junior SOC analyst to senior SOC analyst to, like, sim engineer, forensics. They might want to go red team. They might not even want security. Maybe they want to do IT or maybe they want to go into compliance. How do you get them out so that they don't just leave the organization? They've got valuable institutional knowledge. How do you get them into these other groups? How do you find new people for the SOC that may have institutional knowledge within your organization. So that's what I was seeing and that's what I really wanted to fix was let's fix these three glaring issues that were just bringing down morale, not an effective use of a SOX time. So one, using compliance for good. I mean, if you're being driven by compliance and it's giving you budget, use it to also leverage to do good security. Compliance wants to help you. You just have to guide it. It's like any tool. If you set up a firewall, you still have to then set it up. The blinky lights only go so far. So map your good security alerts or good security alert ideas to compliance controls. So for instance, instead of all these failed account lockouts, why don't we look at users who logged in and then stopped at, for instance, your 2FA and My Case Duo authentication prompt. Like, they authenticated halfway, then they stopped. That's unauthorized access. That is a better alert. Why did they stop? I mean, who doesn't have their 2FA token with them at all times? So then map it to the compliance control. So, you know, if you're doing PCI, like 1024, NIST 318, it's likely an invalid logical access attempt. Throw it on the alerts. So then the junior analysts, they're seeing compliance. They're seeing compliance applied in a good way. They're seeing compliance. If you've got a manager and they happen to log into the SIM, which, you know, hopefully you don't let them do that. Keep me out. They could see why are you doing these alerts. It maps to this compliance control. The language doesn't exactly map to the PCI or NIST or high trust language. But they could see that mapping. Or if compliance checks in, like you've just got this continual, this is how I'm maintaining my compliance methodology going. Every single alert, it's mapped to this compliance control. It explains what we're doing. It explains why we're doing it. Everybody could see why we're doing it. Hey, we're doing it because we want to maintain compliance because we need to make money. But we're also doing it because this is good security. So, I use Splunk. I love Splunk. It does a good job. Here's your typical Splunk alert. So, like, in the top left, you've got your description. Then you've got additional fields. You've got, you know, you've got, you know, you've got a lot of information. And then some other stuff, which, if you want to see Splunk, head on over to the other room. I'm sure they'll give you a lot of information. So, you know, we've got our procedure. We've got, in my case, we have a high level procedure. And then it's a little obfuscated, but there's links to our knowledge management system. I try to do, like, a graduated procedure. So, for somebody who's seen something a bunch of times or has a little more experience, there's the consolidated, this is how you handle the alert. In our environment. And then if you need more information, go to the expanded knowledge base. That way the people who kind of know what they're doing aren't just skipping the entire procedure in general. And the people who need a little more help, maybe somebody a little more entry level can see everything they need. So, calling it out a little more. So, you know, if I'm looking at this alert, which this alert was a user had changed some administrative functioning within Splunk, which is the log management system. We have NIST control 331 or PCI 1022 actions for users with root or administrative privilege. Or, yeah. So, I'm a new user or I'm the manager or I'm Mr. or Mrs. Compliance person. I see this alert. It doesn't have the exact language I'm looking for, for like that easy one to one. But I see why this alert is being handled by the SOC. Also using Splunk, you know, you could do a search to see like give me every alert we've handled for NIST control 331. They're all tagged in there for easy searching. So, this is one component of how I've been managing SOCs so that everybody can see compliance applied as we go for like a continuous compliance. So, this is one of the things. The second part is collaboration. So, mentioning those three issues, you know, if you're just coming in, you see your tickets, you close your tickets, you go home for the day. Is that really good? Not really. I had set up and have set up collaboration with different IT groups within the organization. So, there's an ongoing review. Hey, you know, this is myself. This is a junior colleague. We're from the SOC. Here's every alert we've handled from the past month for database systems. This is what we do. We're doing it because of compliance. Are we missing anything? You know your system way better than we'll ever know. Are we doing something that just doesn't make sense? Are we wasting our time here? I bring a junior analyst. It allows cross-training. It builds avenues of communication. So, like, you know, if you're a junior analyst, if you've got your junior analyst that kind of has that knack for databases or the person that's mainframe oriented or endpoint oriented, bring them. And then they could talk to that other group. Maybe when they tire of the SOC, they could go that way. Or somebody from that group will want to shadow on our side. So, the goal there is a cross-training. They see what we're doing. We see what they're doing. Ideally, they're bringing information to us. Like, you know, if you're a junior analyst, hey, you were handling all these alerts. I see you never talk about, you know, the hypervisor playing. Or, hey, I see, you know, for endpoint alerts, you've got all of our windows systems, but maybe not our mobile systems or not our windows systems from this environment. Why is that? So, they could point gaps out in our systems. So, this is a heavily redacted report because, you know, if you want to see all of this, apply to Carnegie Mellon University. You don't have to university, I'll show you everything. So I show, here's some alerts we monitor for, so back to Duo, because we love Duo. Unexpected administrative activity or somebody uses a bypass code to not use their 2FA. How it maps to the various PCI or NIST controls, because in my experience those groups are getting asked the same compliance questions. Audit doesn't just come to the security people. So, you know, here's the searches we're looking at. Do you see anything we're missing? Here's, you know, sample system data we have in Splunk. So here's administrative, some administrative activity for the past week. Does that line up with your administrative activity? Or if we were showing, you know, user activity, do our numbers match what you see in your panel? If we're only seeing, you know, 10,000 Duo users and you're saying, well, we actually have 100,000 or, you know, we're only seeing 10,000 Duo users and you're saying, well, we actually have 100,000 or, you know, we're only seeing 10,000 Duo users and you're saying, well, on the other side you see 10,000. Well, we're only licensed for 5,000. What's going on here? We could catch these issues. We could identify possible gaps. Like just looking at this. Hey, there was an Admin login error. Do you know why that was? We didn't get an alert, because maybe it didn't hit our threshold or maybe we just don't look at Admin login errors. The Duo admin may say, oh yeah, that was me, or, you know, you really should have contacted us about that. I don't recall logging in on Sunday or, you know, I was fixing an issue but I never log in on Sunday. That's a very specific user anomaly. I really wish you would have contacted me to follow up. That could have been an attacker. So you know, you fill this out. I've always done the custom ones, dashboards based on exactly what the admins want. Give them what they want and ideally, you know, they'll return the favor. I also cover sample notable events which is Splunk lingo for security events if you're using the enterprise security application. So, you know, here's four heavily redacted events we've recently covered. So you could see like two I had done, two some colleagues had taken care of and in this case I'm only showing you the bypass code usage because that's pretty obvious and not any Carnegie Mellon secret sauce. So you could see like, oh, you know, that first one, that's the one that for some reason that was a regular occurrence. You probably shouldn't alert on that anymore. You're wasting your time. Or, well, I see what the analyst had handled but they didn't do a good job of it. So like, you know, for the second one, if I'm a dual admin or if I'm the SOC manager, what does non anomalous log in mean? Uh-uh. That's not a very descriptive comment for how this event was handled. So, you know, we're showing, you know, these are all the events we in the SOC have had eyes on or hands on keyboard, eyes on screen to handle from your system. Did we do it right? Could we have done it better? Are we wasting our time? I found once you present information in this way, other people want to help you because nobody wants to see anybody wasting time for the most part, right? Yeah. It just allowed us to do a much better job of tuning my system, getting rid of junk alerts, much faster than if I'm just focused on compliance. So an outcome of this, from a standard SIM SOC deployment, we never detected the penetration test the first year. The red team, they went wild. It wasn't until, you know, they had enterprise admin, they were purposely loud just seeing if we would finally respond to that. So, you know, it was a very, very, very, very fast response. So we got an alert. The next year after implementing this, we had a detection within hours or days of their activity. They were impressed. Even I was impressed. I didn't think we'd detect them that fast. We didn't stop them. But, you know, the next year we'll work on orchestration. Continuous improvement, right? There was a significant improvement in SOC morale. And, you know, we had a lot of feedback. Everybody on the team, junior through senior, we felt like we were doing something. We felt like we were contributing. The junior analysts no longer felt like I come in, you know, I close my 20, 30 tickets, I go home for the day. Like, okay, I've got a couple of tickets I've got to take care of throughout the day. I'm also working on figuring out means to improve the SOC. Whether it's, you know, Splunk itself tuning, talking to other people that, you know, you were the point person to collaborate on. And, you know, that's the thing. Everybody was contributing. This was not I'm just the junior analyst. I just come in, I do my job, I go home. This was all hands on deck. We're all working on this together. And then finally SOC and visibility had improved within the organization. It went from, you know, we're these people in the basement behind a locked door to, hey, we're, you know, we've got this intake. People were e-mailing us, giving us suggestions. Hey, I saw this in the news. Or, hey, by the way, I don't know if you noticed, our system went down over the weekend. I know you probably don't look at, you know, your incident reports, because who does? But you really should have looked at this one. Or you didn't contact us about something. Or, hey, by the way, did you see this in the news? We were getting ideas unsolicited from a lot of people. Our monitoring vastly was improving. You know, every couple weeks somebody was like, hey, you know, by the way, this is something you should monitor for. From a lot of people, you know, they were like, hey, this is from my system. Or, did you see this? As an example, a specific example, doing all of this, we went from not monitoring our mainframe at all to having an active monitoring to speaking the same language as the mainframe team. They were impressed. I was impressed. Everybody I've talked to has been impressed. Like, how did you go from, you've got these mainframe logs, but nobody has any idea what they mean, to, you know, I don't know. You know, you've got an active mainframe behavior system set up. So that's what I'm doing. You're all welcome to join Carnegie Mellon University. I'll be here for questions. Do you have any questions? And ways to reach me. Okay.