SOC Metrics for FIRST (Video)

Presented by: Carson Zimmerman and Christopher Crowley

Presentation

The webinar on SOC (Security Operations Center) metrics by Carson Zimmerman focuses on four key areas: data feed health, coverage, scanning and sweeping, and analytics. The main points include measuring data feed health by tracking metrics such as data collector status, event count, and device count, as well as identifying areas of the network or enterprise that are not being monitored. Coverage is measured by tracking the percentage of managed versus unmanaged systems, while scanning and sweeping involve tracking the number and percentage of scanning coverage, including vulnerability scanning. Analytics involves describing analytics in terms of name, description, mapping to the kill chain or attack framework, data types, and environments or enclaves covered.

Featured Clips

"Pick something you love and measure it. And in security operations, like anywhere else, measuring things in your SOC will usually drive change."
"Measuring things in your SOC will usually drive change."
"Metrics are like lightsabers. They can be used for good and for evil."
"It is, by the way, $0 and worth every penny. If you go on Amazon. The last time I checked, which was about a month ago. It costs $90 please don't pay money for the book. You can get it for free on the internet."

Full Transcript / Content

--- Page 1 --- along with Mike Murray for the metric SIG and we're restarting our webinars we have not done those in a while this is the very first in a series of webinars we'll be putting a schedule out and we're hoping to do at least one a quarter but for this year we may do another one in December so we're very excited to have Carson Zimmerman be our very first presenter in the rebooting of this webinar series for the metric SIG and as you can see from his introduction and quick bio that was put into the invite he has a lot of experience in the area of cybersecurity operations and has held a wide variety of positions in those types of organizations from tier one analysts to architects and many of you probably know him from either presentations that he's done in the past or in the past and he's been doing a lot of work in the you've seen or from the great book that he wrote on the 10 strategies of world class cybersecurity operations Center if you haven't taken a look at that book please do we do we do quote from that Carson for our materials and we do give you complete credit that's awesome so one of the things that I wanted to mention is I saw an earlier version of this talk about almost two years ago At the stock summit and I really thought it was a very excellent. So we're very excited, as I said, to have Carson give this presentation. So thank you very much. And for the rest of you, please let us know if there's any any questions and Carson. Do you want people to wait to the end to ask questions or do you want them to ask as we go along. Let's, let's do it at the end. Usually the top topic of metrics, like most of my other talks can get into all kinds of Interesting tangents and I love talking through those tangents, but I want to make sure that I deliver my material and Robin in the time you and Vivian have given me Great. All right. Sounds very good. So I will now turn it over to Carson. To begin hit the presentation. Thank you. Again, Thank you, Robin. Let me know once we're recording and I'll get started. Thank you. We're recording Very good. So thank you all for joining today. Thank you, Robin for the introduction. Um, It's true. I did write a book on security operations. If you read the whole thing. I'm sorry for that part of your life, you'll never get back. Just kidding. It is, by the way, $0 and worth every penny. If you go on Amazon. The last time I checked, which was about a month ago. It costs $90 please don't pay money for the book. You can get it for free on the internet. There's the link and and thank you to MITRE for funding that work originally --- Page 2 --- And releasing it for free. That's your tax dollars of work. And also actually, by the way, the book was in parts inspired by some of the CERT handbook and other CERT publications put out by CERT over 15 years ago. And I know Robin had a piece of that. So thank you, Robin, for part of the inspiration there. My purpose today is to, well, we're going to talk about Chris here in a second. My purpose today is to talk about SOC metrics and some SOC metrics I've put together in the past, and I've heard other people putting together and share, you know, how can those go right and how can those go wrong? I should also mention Chris, who is associated with SANS, who actually organized the SANS Security Operations Summit for several years. Chris and I spoke some about this presentation, and you can see his mark made in a couple places. So I do want to acknowledge Chris for his involvement. So my message today is, if you forget everything else, please remember this, is to pick something you love and measure it. And in security operations, like anywhere else, measuring things in your SOC will usually drive change. As soon as you start measuring it, people often ask questions. When you compare those metrics, people often ask questions. And what I encourage everybody to do is, regardless of how mature you are in your SOC, whether you're new, whether you're new, or not, or you're at CMM level three or above, you just, you can be anywhere on the spectrum here, and you can still get started with some of the things I'm going to tell you about today. Now, let's keep in mind that metrics are like lightsabers. They can be used for good and for evil. So the question is, how do we make sure that we, when we do, our metrics program, or maybe it's not even an official program, maybe we need to start measuring things that are interesting to us, how do we be more like Luke and less like Anakin when he went? By the way, there are a couple people who would be great if you could mute your mics. That'd be really great. Thanks. Now, some definitions. Before I go much further, when I use the word metric, I am referring to something that I can objectively measure. And there's generally two kinds of metrics that I'm going to refer to, input metrics, that describe the behaviors and internal mechanisms of the SOC, and output metrics, meaning the results, typically those that are customer-facing. And when people often say metrics, their mind usually goes to one or the other, and I mean to talk about both. I'm also going to talk about service-level agreements. Now, service-level agreements do not equal SOC, excuse me, do not equal metrics. They're not metric necessarily. And SLA here, when I say SLA, I mean an agreement between you, the SOC, and your customers. And that may be contractual, there may be money involved, --- Page 3 --- et cetera. On the other hand, there's service-level objectives that find some kind of metric or benchmark associated with SLA. And oftentimes with SLOs, it's not a guarantee, it's not a promise that we're making necessarily to our customers. Now, some top tips here. First of all, the metric data that we're collecting should be free and easy to calculate. And that's where I generally encourage folks to get started. One of the things Chris chipped in here is that roughly half of all SOCs, according to the Sandstock survey in the last couple of years, collect metrics. So I guess today I'm speaking to everybody whether you're doing that or not. There should be a quality measure that compensates for a perversion of a metric, especially when it's time-bound. And you'll see examples of that here in a little bit. And metrics aren't necessarily SLOs, as I just mentioned. You want to use metrics to help drive both behaviors and outcomes, or at least just to understand how your SOC is going. So all too often, when we see people measuring something, you see folks perform against that, and that may have unintended consequences. And again, we want to be very, very careful about that. So, you know, again, our expectations, our messaging around this, our objectives, they're all distinct. So let's be careful. So, oh, our data sources. Our data sources are going to come from our many usual suspects here, as pictured on the right. First of all, obviously, ticket managing, or ticket management. Any kind of case management system we've got, probably a good place to start. The SIM platform, maybe SIM is a bad word for you. Maybe I should use the word analytic platform, or big data platform, or perhaps your ADR platform. Basically, anything you use to collect a lot of telemetry, and where you investigate alerts and events, also a good place to collect metrics. Don't believe me? Trust me, I'll show you in just a few minutes. If the SOC has its own code repository, probably a good place to look. How? I'll show you, too. The SOC budget, kind of important. Let's consider both capital expenditures and operational expenditures. What are we spending on stuff? What are we spending on people, et cetera? Any kind of asset management systems, and vulnerability management systems. So we're going to synthesize all of these today. Now, there's some existing resources worth looking at. First of all, have a look at, there's a couple, there's some emerging work here being done in SOC CMM. If you just Google that, you'll find some links. There's the Veris framework. If you're not familiar with that, I'm actually going to show just a few pieces of that today. There's the SANS SOC survey, which you can go look up on SANS. Thank you, SANS. And then finally, for those of you who are not familiar, there's both the Verizon DBER, the Verizon Data Breach Investigations Report, and FireEye Mtrends. --- Page 4 --- I mean, they have all kinds of fascinating measures in there, and I don't necessarily offer those as something you need to go do in totality, just as inspiration. So the remainder of my presentation, I'm going to talk about some metrics and show you some of my ideas on different places you could measure and how to make the most of that experience. So number one, metric focus area number one, data feed health. This is one area I'm pretty passionate about, kind of because I'm a geek and kind of because I've been doing this a while. And it straightaway goes to something I once heard someone call the watermelon effect, and that is, it's green on the outside, but is it red on the inside? Are your data feeds... are your data feeds up? And how healthy are they? Are there delays in receipt? Do we have drops in telemetry? Are there occasional blips, etc. A lot of folks, just getting started, will look at a data feed and say, oh, my SIM is up and my collectors are turned on. I'm good. And there's more to it than that, as you can imagine, and I'm going to show you super easy ways to sort that. So if you go in to your SIM or your analytic platform or what have you, and you run a query that looks a lot like this. And by the way, I'm going to use query syntax that looks pretty familiar to anyone who's done SQL or used a couple Azure technologies. Sorry, I do my day job is at Microsoft. So I'm going to make a couple references here, but I'm not here to sell you anything sold by Microsoft. I am going to use syntax. That would be great. I'll be extra familiar to you if you're familiar with a tool called Azure Data Explorer. Here's my query select account, grouped by the data collector name, the source environment I'm pulling from, and bin it by day, by the receipt time of the data collecting. And on the right here, you're going to get a table that looks like this. And trust me, not very meaningful, right? Well, do a pivot table and you get this. What you get here is across each row is a table that looks like this. If everybody could mute, please, that'd be really great. Thank you so much. Across each row here, you have the number of count for each collector by day. Now, what does that mean? Well, we can see pretty easily here, collector A went down on the 6th of July and is still down, assuming we're on the 8th. On the 2nd of July, all of the collectors in engineering were down. I've run this report, you know, a query like this and a pivot table like this. I've been doing this for literally 15 years. And every place I go that I run something like this, I find outages. --- Page 5 --- It's so simple. Anybody can do it, I swear. Just like what I've shown you here. And you will find issues with your collector fleet. Be it... Log feeds or sensors. Now, there's some more advanced ways to sort this out. Let me show you what I mean. So, you're going to run three queries here. First query, we're going to do... We're going to split it into two parts. Excuse me, three parts. First of all, we're going to collect the number of events from... Let's see here. The last seven days. We're going to look at the number of... The number of distinct host names seen and the total number of events per day. That's that count star divided by seven in old devices. We're going to make sure our receipt time is less than now and greater than seven days ago. And we're going to group by the data collector name and source environment. We are then going to do the same query, except we're only going to look at data that is within the last day. And then we're going to join them. For those of you familiar with SQL or something like it, it's going to be a left outer join, meaning we're going to show every row that came from the first query and everywhere it matches the query, the second query, the new counts. We're going to do that join by the data collector name and the source environment. And then we're going to calculate a ratio that looks at our new data versus our old. And we're going to say something's broken. And if that ratio is less than 25% for the total number of events collected and less than 50% for the number of devices seen. And you get this totally unglamorous table here, which is actually kind of powerful. Because what did I just do? I totally automated looking for broken data feeds. And I can run that query and produce a table like this and send myself an email or maybe a help desk. Because on that right-hand side there, let's see here. Let's look at a row that says is broken equals yes. That second row there, collector B, in the past it collected 1,200 events, recently 1,190. That looks normal. But look at the number of devices. It will be traditionally saw 894 systems feeding it and recently 103. That's probably not good. You should probably go fix that. If that was your collector. Trust me, this is very effective at finding broken feeds and automating that. I recommend everyone do something like this on a weekly or daily basis. I promise you, it will help you find things that you didn't previously know were broken. Another advanced thing you can do. So imagine. You're running a SIM architecture, a big data architecture backed up by a message bus. And for those of you who ever really messed around with security information event management or things like it, you will probably remember that in that system, every piece of data goes --- Page 6 --- through many hops in that architecture and is usually written with multiple timestamps. There's the timestamp. There's the timestamp originally written by the end device. There's the timestamp that comes from the collector that does the process of ETL, extract, transform, and load. There's the timestamp written by, excuse me, the persistence layer, the layer where the data is stored. If that layer is different than the layer that's doing your correlation, maybe that writes a timestamp. If it's going through a message bus, maybe that writes a timestamp too. It's a. It's a timestamp party, ladies and gentlemen. How nerdy is that? And one of the things that you really ought to do here, in my opinion, in my experience, is use those timestamps and measure latency through your system. You will uncover potential performance issues in different layers in terms of backed up events, delayed data flows, and capacity issues, particularly that third point there. You could look at capacity indicated in different layers due to ingested parsing. Maybe your decoration and enrichment layer. You know, if you've got a lack of capacity, your neural time analytics and correlation layer. And finally, your batch core layer. And this is very typical. If you're using an architecture that uses something like Elasticsearch, Logstash, Kibana. Maybe you've got Kafka flying around there or some other message bus. You know, all, you know, pretty familiar scenarios there. And if you're not, and if you're just using ordinary SIEM, trust me, probably worth looking at that too. I can tell you, I spent many nights, many days dealing with bad timestamps. So measuring time and sorting that out, probably worth some study. All right. Metric focus number two. And we're going to talk about coverage. Now, what is coverage? Well, when we think about coverage, we almost always think of the first dimension here. The absolute number and percentage of our monitoring coverage or perhaps our scanning coverage by compute environment, by data center, by enclave, by Windows domain, by pick some way of slicing your enterprise. Now, the second way, which is definitely gaining attention. Right now is to use the MITRE ATT&CK framework or perhaps just the kill chain or perhaps both to measure your coverage. And I'll show you what I mean by that in a second. And then the layer of the compute stack, meaning when we think of monitoring coverage, we usually do so at the operating system layer. Or I've seen many shops focus just at the network layer. And what I would advocate for. Is being very deliberate about measuring at all three layers, network, OS, and application layer. This is particularly the case with the increasing use of cloud technologies where there may not be an OS to measure. And you're left with your numerator and denominator being purely at the service layer or the application layer. And then finally, the device covered. And a lot of shops, I'll see folks get. Pretty good at monitoring their Windows systems at the OS layer. --- Page 7 --- But maybe they forgot about some of their other systems or maybe they've gotten really good at collecting syslog data from their network devices, but they forgot some of those other pieces. So we want to be cognizant of that dimension as well. Now, here's some tips. First of all, I always say this, don't drive your coverage to 100% Except in pretty rare circumstances. Why did I just say that? Carson said we shouldn't drive our coverage to 100%. He's crazy. Why is Carson crazy? Here's why. Number one, it's usually, I would actually argue, always a moving target. There's always going to be stuff moving on and moving off your network. Perhaps, more importantly, you don't know what you don't know. There's always another environment to cover, another customer to serve. If you've gotten say to 99% Of coverage at the OS layer for your Windows devices, I would advocate spending your next set of resources, looking at another dimension, looking at the application layer or looking at your Linux systems or perhaps getting better attack coverage. And number three, you know, there are always going to be more stones to Turn over, just as I was saying. So, Let's talk a little bit more about that moving target and the You don't know what you don't know piece. Let's consider the following, and this is actually something else we can we can measure. What is the proportion of managed versus unmanaged systems in Our enterprise? Are they inventoried? Are they tied to an asset or business owner? Do they have a known business or mission function? Are they subject to configuration management? Are they assigned a responsible security? Are they run by a security team, particularly large enterprises? Have they been risk assessed? In many cases, I would argue most enterprises are going to have what we call wilderness. If An asset doesn't meet all of these criteria, we could colloquially call it wilderness. If it does meet those criteria well we can consider it managed. So, One of the things that the SOC can get in the business of, and in fact, some of the best SOCs I know spend a lot of resources on this problem and answering this question, is what's our percentage of managed versus wilderness, and how do we find more managed in wilderness? How do we crawl more asset databases and other parts like active directory crawlers or vulnerability scanners? How do we leverage all of that data to identify those unknown unknowns that we previously didn't even know that existed? So if we're investing our time there, and back up here on these pieces, I would argue you're putting your time in the right places. Make sure you're looking at those multiple dimensions. All right. Now, we want to validate those data feeds and detection coverage. Now, here's a couple other thoughts. First of all, I talked earlier about the expected heartbeat and true activity from everything. So, again, we're going to talk about the fact that we're going to be using the sensor in every data feed and ways to measure that. --- Page 8 --- Now, we can also make sure our detection is being triggered. There's two ways to do that. First of all, we can inject artificial or synthetic events into our telemetry streams, perhaps heartbeats, to make sure those are working. Even better, as an item A here, we can actually unit test, so to speak, each detection. And in fact, some of the most important things that we can do is, we can actually test each detection. So, again, we can inject artificial or synthetic events into our telemetry streams, perhaps heartbeats, to make sure those are working even better as an item A here. We can actually unit tests, so to speak, each detection. Some of the most mature SOCs I know are doing just that. And we've seen here in the last five to seven years an emerging market that will sell products that will do this, that will actually trigger your detections in a scheduled manner. I'm not going to mention vendor names. I'm simply going to say they're out there. We can inject those events. We can either test them by actually simulating the bad activity. We can inject them in our pipeline as basically fake bad activity by actually just crafting those log lines. And the differences here kind of melt, by the way. Number three, let's red team the SOC. What do I mean by that? I mean, have folks either that work for you or perhaps a third party, either way works, pros and cons to either. So, let's say you run attacks somewhere in your enterprise, and maybe you know they're coming, maybe you don't. But what's important and what is really gaining a lot of traction here is this concept of purple teaming that some of you may be familiar with, where the red team is performing their attacks, and they're working with the blue team to ensure that, frankly, they were all seen. And working together before, during, and after. To validate that the blue team has, and the ACIDO learners, by the way, they both have the right actions to improve their posture against the activities that the red team performed. This, by the way, this third piece here can be tremendously humbling. Every time I go through a purple team or red team exercise, I'm humbled, and it doesn't matter which SOC I'm working for or working with, it is always a humbling experience to see what we saw and what we didn't. Now, I talked about SLAs and SLOs earlier. One of the points I want to advocate here for is don't monitor everything the same way. That may sound crazy to some of you. Let me explain. We should have, as the SOC, different levels of service. Imagine the following baseline basic service. We provide host ADR. We collect some network logs. We provide. We have the standard mix of detections. And we meet with you, the customer, every year. And imagine we had an advanced service where we do everything we do in the basic level service. --- Page 9 --- Plus, we'll collect some application logs from you. We will guarantee that we create at least one detection for your business unit, your part of the network or enterprise, every quarter, at least. And we meet with you roughly quarterly to discuss what have we seen. And what have we done for you lately? This can be a thing of beauty. I promise. And the reason why I say that is that it really focuses the SOC on areas where it has more critical or higher risk assets that need that advanced service. And it can also show that the SOC really has its act together to its customers who may not otherwise be familiar with what a SOC does. This is a very concrete and crisp way of articulating what do we do for you, the customer. Metric focus number three, scanning and sweeping. First of all, we're going to want to keep track of the number and percentage of scanning coverage, right? Vulnerability scanning coverage. Pretty straightforward if you're not doing that and you're doing vulnerability scanning, you're probably going to want to track that. Now, perhaps more interesting here is how long does it take to compile the vulnerability and risk statistics on your assets during some kind of what I'll call a fire drill? So imagine there's a super high risky vulnerability that came out with a really high CVSS score, maybe a CVSS 10. And the SOC had to go into fire drill mode to go and collect information. And the SOC had to go into fire drill mode to go and collect information on everywhere the impacted services or applications were running. How long did that take? Was it done in 30 minutes or less based on vulnerability scanner data that was already collected for 90% of the enterprise? Or did it take months or weeks to reach out to a bunch of folks and get that sorted? I've seen both. And that's worth measuring and driving down. And then how much time? And how many people did it take to compile those results? Were they coming from a bunch of disjoint systems? Did it involve people manually compiling things in Excel? Or did you have a set of analytics and reporting that brought that data together in an automated fashion? The answer can be pretty revealing. Now, on the advanced side, let's consider that we need to go sweep for some vulnerability or something along those lines. How long did it take us to do that? We can do that by domain or forest. We could say, how long does it take us to do that for anything that's internet facing? We could slice it by all users in desktops. Or we could just say everything. How long does it take you to, from the time I say go, to find out about whether those assets are vulnerable or not to a vulnerability you didn't previously know or an IOC? Yeah. Yeah. Yeah. --- Page 10 --- Or some other configuration thing on the hosts. And for that matter, what's the percentage of assets you can't reach with these solutions? Particularly sweeping solutions. So there are some ideas there. Number four, your analytics. Here's some fun things. So when we look at our analytic, we should describe it in many ways. You might think, how's that going to become a metric? Well, I'll show you. In a second. So here's some basics. For every analytic we have, every detection, everything that fires an alert, we should probably keep track of the following stuff. Its name and a description of it. Its mapping to the kill chain or better yet, attack framework. What data types does it depend on? Now, sometimes that may be evident, self-evident. But sometimes when you're running those analytics in a platform with mixed data types, that's worth noting. Number six, what environments or enclaves does it cover? And or meant to cover, meaning, is it general or is it specific to one area of your enterprise or one application or one business unit, and then who created it and when did they do so? Now, let's add on top of that some more stuff if you're more advanced. What framework does it run in? So some of you with particularly complex ingestion and data lake capabilities may have multiple ways you do detections. Maybe you have a neural time streaming engine. Maybe you're doing batched query. Maybe you've got some Spark flying around. Maybe you're doing Azure Databricks, all this fancy stuff. Who is it last modified, Ben, and when? Who last reviewed it? If you've got a routine practice of reviewing the alerts and the detections that you're running. What's its status? Is it in development? Is it pre-production, production, or decommissioned? And finally, where does the output go? What the heck did I just say? Well, when people create detections, the immediate thing that usually comes in folks' mind is that they go to the analyst, particularly in tier one, for triage. Yes, that's true. But some of the more advanced SOCs will send them automatically via email to a customer, perhaps. Or maybe that analytic wasn't meant for tier one at all, and it was meant to serve as, say, data to make forensics. Later, much easier. So that's worth noting if you're more advanced. What am I going to do with all this stuff? Let's have some examples. So first of all, let's go into our SIEM platform and look at how our detections are firing and attribute that back, perhaps through a fancy join or series of queries, to the original analyst that wrote. And how are our detection authors doing? For example, Alice hasn't written nearly as many detections as most other folks, but the largest proportion of her detections are in production. By contrast, most of Trudy's stuff is in either development or has been decommissioned. Could people game this? Of course they can game this. --- Page 11 --- But, I would argue, probably worth looking at. Here's another example. What's the output of their activities? For example, Charlie here has written some detections, and in the last week, I can judge that the alerts generated by those detections, roughly half of them were considered true positives by the analysts, and the rest of them garnered further work or further investigation. Looks to me like Charlie's writing some pretty good detections. By contrast, look at what Mallory is doing. Most of the detections that Mallory has written were considered very quickly a false positive by Tier 1 or Tier 2. So, should we necessarily give Charlie a raise? No, not necessarily. Is this an opportunity to help coach Mallory on the way Mallory is writing detections? Quite possibly. Again, this can totally be gamed, right? Charlie or Bob could go in there and have a detection that fires a bajillion times, and that might be good, that might be bad. I suspect it'll be bad, right? Yep, totally can be gamed, but might be worth looking at. What's our analytic coverage look like? Remember, again, all of the pieces of information we're writing about those analytics. We can assign them by different parts. We can assign them by different parts of the kill chain. And how is our coverage across that kill chain? Right here, you can see immediately that the vast majority of our detections are stacked up on actions on objective. And the second leader is in the exploit phase. So, is that what we expected and is that what we intend to do? Let me give another example. So, let's say that we're looking at a company that we're covering. We can see, of course, that most of our detections are general and go across the whole company. But we can also judge that have we written many detections for engineering, for example, compared to the VIPs, the C-suite? And what are we writing to protect them? So, also worth looking at, in my opinion. Okay. My presentation will not be complete if I didn't spend just a moment pointing to MITRE, my former employer. Thank you, MITRE, for putting together the ATT&CK framework. I would heartily recommend mapping your analytics to the ATT&CK framework and then lighting it up into a tool that looks like this. This is CAR. If you haven't looked at CAR, go look at CAR as an example for example. And look at where areas of the ATT&CK framework, if I turn on all of my detections, am I red, yellow, blue? A couple of interesting talks on this, actually, at this year's first conference in Edinburgh. Thank you for having me, by the way. And I'm sure there will be some interesting talks on this at ATT&CKcon. Number five. How are our analysts performing? Now, if there's any area of my talk here that could be gamed or turned into evil, this is going to be it right here. Okay. --- Page 12 --- Let me explain. We could have a baseball card for each of our analysts, each of the members of our stock handling alerts, creating detections, doing response, et cetera. What's their name? When did they join? How much time have they had in role? Folks, again, if you could please mute your mics, that would be great. Number four. How many alerts have they triaged in the last 30 days? What's their true positive rate for escalations to others? What's their response rate, meaning when they call customers or email customers, what percentage of those get a response? Same metric that goes into a call center, ladies and gentlemen, by the way. Number seven. How many escalated cases they handled in the last 30 days? And what's their mean time or perhaps median time to close a case? Now, let's be careful on that eighth one, by the way. We may want to scope that to certain kinds of cases so we're not driving people to close cases really fast. That is one of the number one ways I see a well-meaning metric go bad in a SOC is to drive people to close, close, close super, super fast. That is very problematic. Number nine. How many analytics and detections do they currently have in production? I showed you that just a few slides ago. Number 10. How many detections have they modified that are currently in production? Again, that one could totally go toxic. Someone could go in and literally touch each detection that's running and, hey, look, I've modified everything. Not good. Number 11. How many total lines are they committed to the SOC repo, the SOC code repo in the last 90 days? Again, that could be gamed very easily. Take a whole bunch of code you didn't write, commit it. There you are. Number 12. What's my success or fail rate of queries executed in the last 30 days? Have I been hammering the cluster? Am I writing good queries? Am I writing bad queries? For that matter, what is my median runtime per query? Now, is a high or low number there necessarily good or bad? No, it's not. But it's something worth knowing. How much CPU time is someone utilizing on the cluster? That could mean, A, they're actually doing good hunting or good investigations. It could also mean, B, they're hammering the cluster. Does that on itself mean something good or bad? Not necessarily. But it is something potentially to look into. And then number 14, to go along with that, a lot of platforms now will allow you to judge the lexical or structural similarity in the queries being run. And that actually is a quality check on number 12 and 13. I can look at, is somebody running the same query all the time to pump up their numbers if they know they're being judged? Are they writing their own stuff? Now, on the flip side, imagine someone's in Tier 1 and they've been given a Jupyter notebook --- Page 13 --- where they run the same queries all the time. And then they, that person, has gone and written a bunch of stuff there. And written a bunch of stuff themselves. That query there, looking at the similarity in the queries that they're running, would uncover that behavior. Oh, look, I see analyst Joe, who was hired six months ago, writing a lot of his own queries. And I can also see that he's not destroying the cluster when he's doing so. We should go find out what Joe is doing and how he's doing it. That might be a learning opportunity for others. Again, you can do really good things with these metrics. Or you can make them really toxic. It's up to you. So here's Chris's baseball card. Chris put this together. Thank you, Chris. I'm going to pick out a couple things. Looks like he hasn't escalated many cases in the last 30 days. Only 19. Is that good or bad? Good question. Is he a forensics person? If so, boy, that might be a lot. If he's Tier 1, that's a terrible number. It's context dependent. What's his response rate for customer escalations? 82%. Amazing. We need to find out what Chris is doing to get people to call him back. That's awesome. Look at his percent true positive rate for his detections, 91%. My God, how much ever we're paying him, it should be more than that. I could go on. To put all this together, and in my opinion, in my experience, the SOC should be looking at a dashboard that looks something like this every day. The number of top firing detections, perhaps presented as a tree map. Again, I try to keep the font size big here so folks can read it in presentations. Your tree map will look probably prettier and bigger than this. What are the top firing detections ranked? What's the top time spent per case or something along those lines? You can see Chris chewed up a bunch of time looking at some hacking tool. I've spent way too long doing an AV hit. Looks like we spent some time doing an AV hit. We spent some time doing interactive login investigation on some DC, et cetera. Then on the right hand here, what are the inputs coming into the SOC? How many alerts are coming in? How many email incident submissions? How many tips am I getting from the hunt and from threat intel? How many phone calls am I getting, et cetera? Then what's the disposition of my alerts? That chart I showed you earlier. If you're creating your own detections and writing your own detections, you should be doing something like this. You should be having a quality control that looks at the volume of your detections and the volume of those detections broken out by customer and the disposition of those alerts by customer. You should be doing that on a routine basis. I've seen a lot of SOCs do this daily. --- Page 14 --- If you don't think that's for you, maybe you start looking at this weekly. But the point is, get started. Trust me, doing this should help you drive better behaviors and better outcomes. Number six, incident handling. Now, there wouldn't be a complete presentation here if I didn't say something about mean and median adversary dwell time. You're going to see that pop up in all kinds of the examples that I've showed you. Those references earlier, they're going to be everywhere. I would also be remiss in mentioning mean and median time to perform incident handling. You have triage and escalation, identification, containment, and eradication. And sometimes those are all together. Now, you can set SLAs and SLOs for that. And that can drive really positive behaviors. As I said earlier, if you do this right, it's observational. I mean, you can make sure your tier one is handling stuff in a timely fashion. If it goes wrong, you will stunt your analysis, and you'll drive people towards insufficient analysis. By the way, if anybody can hear any sawing in the background on my mic, I do apologize. I have some construction going on around my house. Continuing on here, we should probably measure in situations where the eradication was insufficient. Is it going to be pretty rare? I hope so. But is it worth noting? Absolutely. And then finally, what percentage of the time have we established some level of belief around threat attribution? Now, what are the top sources of our confirmed incidents? Were they proactive? Were they things the SOC itself identified? Or were they reactive, things that came from our users, our system admins, our business partners, et cetera? Or they came from user reports or SOC monitoring? Again, worth noting, particularly around the major incidents, the ones that are not routine, not ordinary A-B handling, for example. Now, it's also worth noting, should we be collecting information, if not data, what I'll call anecdata, meaning anecdotes, about what I'll call unforced errors and impediments? How long do we spend waiting on other teams? How frequently are we in a situation where there's no data, bad data, or the data that we needed was lost? What percentage of our major incidents have incorrect or ambiguous conclusions? Or for that matter, how long did we spend arguing with other parties? SOC spends so much time arguing with others around what to do. That's worth noting. Now, is an absolute number there, for example, something worth noting? Not necessarily. What we might think is a better metric is to track that over time and see how that is comparing. Are we doing better this quarter versus last? Or how was this major incident fire drill spent in terms of these four points versus the last major fire drill we had? And what can we learn and what can we adjust based on that? We will certainly want to track our incident metrics over time, open cases, closed cases, cases escalated to third parties. --- Page 15 --- I mentioned mean and median time to respond. How many cases for certain types are left open beyond a certain time threshold that we can set? And how do we make sure nothing's dropping, nothing's not being followed up on? What cases are being left open based on those reporting detection types? So you can take this all, all these points, you could put them in a stacked bar chart, what have you. Use your imagination. Pulling right from the VERUS framework, we want to think about categorizing our incidents, low, moderate, high. Now, one of the nice things that I liked about that VERUS framework is if you don't know where to start and don't know, well, what's low, moderate, or high, it gives you some tips, right? You know, here, high is most systems are involved. We have high-level accounts, users and systems involved. There's business-critical data. That gives us some concrete things to think about when we've been an incident as being high, for example. We can also think about using that framework to specify, oh, by the way, this is coming from U.S. CERT. We can think about our incident impacts, right? And we can break that into functional, informational, and recoverable. What do those three qualities mean? Very concrete ways of thinking about this if you're not already familiar. And again, we can slice our metrics up using these measures. Or at the bare minimum, we can use to establish more consistency with ourselves and with our customers. Here's a fun one that Chris pointed out. He suggested we put it here, and I totally agree with him. What percentage of our incidents are avoidable? Now, for those of you doing this for a while, you're probably going to say nearly all of them. I would agree with you. The question is how avoidable were they? Let's break this down into what we'll call Crowley's Incident Avoidability Metric. There are three bins. Bin number one, a measure was already available in your environment somewhere and was applied to some systems and networks. In your enterprise, but wasn't applied to the systems involved in the incident, thus causing the incident. That's one bin. The second bin is a measure is available to prevent it, but something prevented you from using it. It might be economic. It might be political. Maybe you just haven't gotten to it. Maybe your resources haven't allowed you to deploy that measure of protection or detection. And number three, nothing was available to prevent that method of attack. Chances are you're going to be living in bins one and two here. And it's worthwhile, in our opinion, to measure that and to take those opportunities, particularly with people who hold the purse strings, to bring those to light, particularly when we see repeating patterns. Number seven, costs. Now, this is always fun and is perhaps one of the most difficult areas. So I'm going to mention a few things to get folks started --- Page 16 --- on how do we deal with incident handling and costs. Now, we can record the dollars for the handling of the incident itself, and we can record dollars for the actual loss. With routine handling, we can look at, we can break that out. What is the dollars associated? With handling our cases. Let me give you an example. In the energy sector, in power plants, running cable is very expensive. Same goes in a lot of other IoT and SCADA type situations. Aboard ships, anything in a maritime environment is another example. Running cable in either of these situations, very expensive. And you can imagine the cost to run a cable. And one part of one factory or power plant is very different than another. But you can boil that down to a dollar per foot. Is that number going to vary a lot? Yeah, it is. Did someone who originally came up with that look at that and say, oh, this is all over the place? Yeah, they did. But that number is really powerful because it helps you articulate. The person, the poor IT person in that factory, it helps you articulate very simply and very quickly how expensive it is for you to do your job, typically. I suggest something similar here. And you can break that up based on some of the bins I've offered here. You could say, what's my typical cost for handling trip positives versus alerts that are escalated and what have you. And we can consider our cost to people, the technology to support that, and the time we spend. Of course, as our incident count goes up on the right-hand side here, hopefully our costs should go down. And it's only hopefully rare, awful incidents that are the ones that are very costly to handle. I'm almost out of time. So I'm going to make sure I finish up here. Let's see here. When we think about our value proposition, we can think about, you know, how much do we articulate that we save? For our root cause, we can think about how much we have to accumulate. So let's say for our routine incidents, that can be a standard calculation. But for those that are escalated, customized handling or very serious, there may be some speculation involved. Where do we start and what do we do? Because this is really daunting for a lot of folks. Well, first of all, we will look at our past incidents. Let's look at reporting from other organizations and news. That goes back to some of the references I offered towards the beginning of this. And of course, we want to iterate this where there are executives. The point is, Let me give some examples of some implied loss, implied value through loss prevention. We can talk to legal counsel and law enforcement. We can look at how did, were the incidents that we handled similar incidents, how did they impact our competitors or our business partners and what did their numbers look like? --- Page 17 --- And what's the actual direct value of the intellectual property caught in an exfiltration, if that's the incident in question, or perhaps maybe some systems are being bricked by a BIOS or EFI bootcamp, right? Simply how much do those systems cost? Number eight, we want to look at our risk areas and hygiene. Couple points here I'm going to make pretty quickly. I strongly advocate making vulnerability management data available to the customers because it's a very important part of our business. Because then they can actually self-service themselves and close those vulnerabilities. But of course, there's a, we could talk, we could have a whole talk around how to make sure that's a secure experience. What I would advocate also is don't beat them over the head with every measure. I generally recommend that the SOC or the larger security apparatus pick a fairly discreet set of measures to really focus their efforts on. They're often. But not necessarily around, for example, scanning, monitoring, and patching. And usually we'll put some more on top of that. Here's some examples. How many internet exposed devices or endpoints do we see in an enterprise? Are we enforcing code signing and assigned code execution in environments? What percentage of systems have EDR on them? What percentage of systems have multi-factor versus single-factor authentication? And finally, what portion, what proportion of assets are either in the cloud or not managed, or perhaps both not managed and in the cloud? You as the SOC or you as the folks in security can pick these metrics, these measures that are most important to you, and that you believe present the highest risk to your organization. And those are the ones that you can bring up with your customers. Again, according to that SLA cadence I talked about earlier, either annually, quarterly, monthly, whatever makes sense for you. So I'm going to wrap up here. Regarding our internal metrics, I've discussed an analyst baseball card that looks at their productivity and the quality of what they're doing. We've looked at data feed health, up, down, and latency. Remember the watermelon effect? We've talked about daily alert volume and false positive rate. We want to look at how quickly we can handle IOC processing, IOC sweeping. One thing we didn't even get into is, you know, we're not going to have a lot of data. We're going to have a lot of data. We're going to have a lot of data. We're going to have a lot of data. We're going to have a lot of data. We're going to have a lot of data. We're going to have a lot of data. What is our rhythm around Intel handling? How many IOCs are we handling? How many forensics reports are we preparing? How many threat Intel reports are we handling? Are they finished? Are they not? Whole other talk we could spend just on that. What's our analytic coverage look like? Let's not just look at the portions, whether we're going across whole enterprise. --- Page 18 --- Let's look at the attack framework. We're failing that, just the kill chain. Who were they written by? And how successful are they? These are all generally things we want to keep inside the SOC. Now, we could expose some of those externally. Let's talk about external ones. What are our themes? Cost, value, and risk. We should always be ready to answer the question that our customers will ask us. What have you done for me lately? Some examples here. What percentage? What is the proportion of managed versus unmanaged assets? What's our monitoring and scanning coverage look like? What are our top risk areas? And where are we performing? And how are we providing that value-add for the detections that we're crafting? We can provide them instant handling metrics for their portion of the enterprise. God help us. Hopefully, median, mean, median dwell time numbers are low. And if they're not, we may have a responsibility to provide that up. Please mute. What is our median time to identify, campaign, and recover? And finally, what's, how responsible are we? How responsive are we in situations where we need to pull data? Or perform IFC sweeping? When we think about SLAs and SLOs, remember, let's be very careful about what we put in our written agreements. We can say things like we'll, the period of time that will take to respond. We can think about how often we're going to follow up for reporting and notification of severe incidents. How did we respond? We can be correct. And we can think about articulating SLAs or SLOs that, on the right-hand side here, talk about improving those numbers over time. So, one way or another, my recommendation to all of you today is measure something. Measure what's important to you. You can do it no matter how mature, how new or old, or how big or small your sock is. I would be careful about where you pick your investments in your metrics program, and please continue to iterate that constantly. Look for your quality measures. Look for not just your outcomes, but the behaviors that you are driving. So, with that, I will take questions. With one minute to spare. Does anyone have a question? You can either send it through chat or via your audio. So, Vivian, the question is, where will we find the online presentation? And how will the recording be shared? Sure. So, we'll let you know via email. Okay, great. Any follow-up questions? Carson, thank you so much for leading off our webinar series for us. It's a really nice overview of a lot of things to think about. And I know people will walk away from this with, with great ideas. So, we appreciate you leading the way for us. You bet. Thank you for your time. All right. And I'm sure if all the mutes were turned off, you would hear a lot of this. Awesome. Thanks to everyone who dialed in.