Thursday, May 04, 2023

SIEM Content, False Positives and Engineering (Or Not) Security

As we learned, SIEM still matters in 2023.


As we learned, SIEM still matters in 2023.

But since one winter day in 2002, when I wrote my first correlation rule for a now-defunct “SIM” product (probably “if 10 auth_failures, followed by 1 auth_success on the same destination, alert” or perhaps “exploit followed by outbound connection from the same system, alert” , but I truly don’t remember which one was first), I have been bothered with a question of what I am actually doing when I am creating SIEM content — while sitting on the vendor side.

  1. Am I writing a piece of detection code that will run in the customer environment to detect threats that matter to them? Put another way, am I in the prod code business?
  2. Or am I writing a piece of example code that customers can use to learn how to write good rules, perhaps by modifying it and changing to fit their needs? Put another way, am I in the education business?

(please “the-why-not-both crowd”, be patient for a moment…)

Why Not Both? It Depends…

Let’s try to understand this conundrum. We will use a peculiar instrument for understanding this: FALSE POSITIVES (FP).

Again, there are two schools of thought here.

One school assumes that an SIEM vendor (or, frankly, any other detection-related vendor) ships a product — a platform plus content — and the content included in the box is an essential part of a finished product. These detections should produce useful alerts in many or most customer networks. Thus, FP = a product bug.

Another school of thought indicates that the vendor ships a platform and some sample code that customers are supposed to modify or learn from. These detections should teach clients to detect. Thus, FP = a reminder that content needs to be adapted by the client to work for said client.

Notice here that the attitudes towards FPs sort of mimic the attitudes towards detection content? And this we can test for, at least using surveys. For example:

SIEM False Positives Poll — L

(source)

SIEM False Positives Poll — T

(source)

One can hypothesize and attribute the higher “we will tune” response from Twitter due to a more technical audience there. Averaged over both, let’s say ~30% think that “false positive” is a bug, while ~55% think they need to tune. Note also that changing the question to false positives reduces the ability to vote for “why not both” hence producing, hopefully, cleaner data on the problem.

This is good! To be honest, I did not have any set expectations for what the outcome should be apart from a vague opinion that a “false positive” from using unchanged, canned SIEM content is often not a bug.

Now, some of you came and wisely said “It depends.” Because of course it does!

Specifically, some would say it depends on the nature of detection content. Perhaps two types of content should exist. Type 1 should just work, and Type 2 should be used as a template. You probably won’t modify the detection rule that just matches a known malicious IP address (what, put another IP in there?) or a hostname (just like few would want to change anti-malware signatures). EDR, funny enough, is also in the “it depends” land, yet I see a lot fewer people modifying EDR content compared to SIEM content.

Or, they would say it depends on the nature of a ‘false positive’. Is this a truly broken detection logic (like a typo in a regex) or a nuanced environment problem? “Report the former and tune the latter” seems like sensible approach.

Or, they would say it depends on what you mean by “tuning”: limit the scope of rule applicability, add conditions (light tuning) vs changing the rule logic (heavy tuning)? Perhaps we need a separate discussion on this as “just tune it” is occasionally used as a throwaway comment by people…

Yet another group would bring up MDR and say that the attitudes for MSSP/MDR (service) are dramatically different from SIEM (product). In my mind, you will absolutely report an FP as a bug to an MDR, because ultimately this is why you pay them. Now, would the answer change for a regular software SIEM vs a modern SaaS SIEM? It is a lot easier to report an FP to a SaaS SIEM and the vendor in this case has a much better chance of helping you because they have all of the data (so “it depends on a SIEM”, perhaps?)

Now for the even more fun part!

To me, this SIEM content and false positives debate is a micro instantiation of a much bigger debate: the paradox between consuming security and engineering security.

For example, our podcast episode 117 revealed that “engineering-led” approach to security is superior for scaling and other reasons, yet clearly there are people who don’t want to engineer security, they just want to be secure. They essentially want to consume security, rather than engineer it.

There’s a large and some would say growing group of people who actually believe that security should become more like software engineering and that more people should be engineering security rather than consuming it. These are likely the people with robust detection engineering programs who may not even rely on vendor-made content that much… so this debate may feel silly for them.

This came out a bit all over the place, so conclusions?

  • It depends :-) Some “false positives” really are bugs in your SIEM while others are “natural” and unavoidable, so you report the former and tune the latter.
  • The degree of what constitutes “tuning” is not always clear and additional discussion is needed here.
  • If you buy a SIEM today, you will need to tune / refine / adjust detection rules and likely create your own. No way around it.
  • Still, most do need to push your SIEM vendors to delivering more and better detection content out of the box (duh!).

Related posts:


Originally published at Medium.

Thursday, April 13, 2023

Google Cybersecurity Action Team Threat Horizons Report #6 Is Out!

This is my completely informal, uncertified, unreviewed and otherwise completely unofficial blog inspired by my reading of our sixth Threat…


This is my completely informal, uncertified, unreviewed and otherwise completely unofficial blog inspired by my reading of our sixth Threat Horizons Report (full version) that we just released (the official blog for #1 report, my unofficial blogs for #2, #3, #4 and #5).

My favorite quotes from the report follow below:

  • “Our research has shown that the most common vector used to compromise any network, including cloud instances is to take over an account’s credentials directly: either because there is no password, as with some default configurations, or because a credential has been leaked or recycled or is generally so weak as to be guessable.” [A.C. — make all the jokes about it being ‘so 1980s’ but this is the reality today. Jokes won’t help change practices across the organizations!]
Google Threat Horizons #6
  • “because of the security of the GCP platform most compromises in the cloud are simply from lack of passwords, poor password strength, reused and leaked credentials, or straightforwardly misconfigured software” [A.C. — this makes shared fate such a HUGE need, to be sure; and, yes, this means that we have work to do in this area]
  • Specifically, “Weak passwords accounted for nearly half of observed incidents in the fourth quarter of 2022”
  • Also, “the rise in API compromise in Q3 maintained course, being a factor in nearly 1/5th of incidents” [A.C. admittedly this is more interesting than ssh with no password, and a bit harder for a legacy security teams to comprehend, it seems]
  • “Threat actors often use ransomware in the cloud to extort companies in a different manner than traditional on-premises environments, threatening to release or delete data rather than simply encrypt it.” [A.C. so, yes, ransomware in the cloud is a thing, and there is a twist; still, I hear that it is dramatically less common compared to on-premise]
  • “Written in Go, the [malicious] tool gets commands from Google Sheets, likely to obfuscate the malicious activity, and exfiltrates data to Google Drive. After installation on the victim machine, the malware queries Google Sheets to obtain attacker commands. ” [A.C. See? You can have fun in the cloud! It is not just weak passwords and MySQL with no auth]
  • “Google Kubernetes Engine (GKE) customers sometimes delay security patching their clusters, often from concern that patching might inadvertently interrupt production operations. […] GKE customers are concerned with tradeoffs between Kubernetes cluster availability and security patching.” [A.C. so I file this under ‘this should not happen yet it does; k8s and containers are better for security if done right; our report explains in detail how to do it without falling into this particular ditch]
  • Leaked, or inadvertently shared, service account credentials continue to be one of the leading factors of abuse on Google Cloud.” [A.C. a useful reminder to, well, not do that!]
  • “One of the most common situations observed when keys are discovered leaked includes a developer downloading a service account key, which is a RSA private/public key pair that grants long-lived access, and checking code into a public code repository with the key hardcoded. ” [A.C. this practice seems slowly waning in popularity, but the only right time to do this is ‘never’]
  • “In another instance, an attacker was able to breach two clouds with one service account key. The attacker scanned a public code repository and discovered a hard coded AWS service account key and using that credential they were able to gain access to a customer’s AWS instance which in turn hosted an internal code repository. Next the attacker was able to discover a hard coded Azure credential within the internally hosted code repository and use that key to gain access to the customer’s Azure environment.” [A.C. this is the ‘multi-cloudiest’ thing I’ve heard all week! :-)]
  • The report also has a hugely valuable section on how to patch containers faster and safer, look for the section “Solutions for balancing availability and security patching within GKE“

Now, go and read the report!

Related posts:


Originally published at Medium.

Wednesday, March 29, 2023

Thanks, much appreciated!


Thanks, much appreciated! Indeed, I felt like I am rehashing a bit, yet I definitely met plenty of people who fall into the traps described ("We don't want a SIEM, we want <this> NEW tool!" -- "What does it do?" -- Well, it collects logs and detects threats...")


Originally published at Medium.

Tuesday, March 28, 2023

Debating SIEM in 2023, Part 2

So, we went through “Debating SIEM in 2023, Part 1”, now let’s debate a bit more. At this point, everybody who didn’t “rage stop” reading…


So, we went through “Debating SIEM in 2023, Part 1”, now let’s debate a bit more. At this point, everybody who didn’t “rage stop” reading it should be convinced that yes, SIEM does matter in 2023.

But why? I bet the views on why SIEM matters differ a lot. So let’s dive into this!

Let’s start with this: why should anyone buy an SIEM tool in 2023? And please don’t say “because you are still SIEM-less” or “because you didn’t buy it in 2003, 2013, 2020, etc.” You are not taking aspirin because of low aspirin content in your blood (as my boss of many jobs ago used to say).

Before we go any further, some definitions. I used to say SIEM and SOAR, then I said SIEM/SOAR, and now I just say SIEM, but really mean an SIEM/SOAR combination, because ultimately this is what a vast majority of organizations are buying today.

OK, let’s start our analysis using this mini-framework I just created:

  1. What problems have you solved with SIEM historically?
  2. Do you actually have those problems in 2023?
  3. What are other ways of solving these same problems in 2023?
  4. What is the cost and risk of keeping these problems unsolved?

(Some of you may say that this is ass-backwards as one should think of the problems first and then figure out the best way to solve them, to which I’d say OF COURSE! However, in this blog I am exploring why a particular toolset — SIEM — has a place in today’s security arsenal so I am being inherently tool-centric, not problem-centric.)

Now, let’s go through the questions and think.

[1] What broad problems have you solved with a SIEM?

A decent list — well, I made it up, so it better be — is below:

  • Telemetry data (“logs+”) collection and retention
  • Threat detection (1st party i.e. SIEM content applied to telemetry resulting in detections)
  • Alerts centralization and triage (essentially, making 3rd party detections better)
  • Alert-related automation (using SOAR side of SIEM)
  • Incident investigation support
  • Threat hunting support
  • Activity reporting, dashboards, etc
  • Other security monitoring, other D&R workflows.

A very astute and meticulous reader will notice that some of these problems are only solved in order to solve other problems (e.g. you collect/retain logs likely in order to detect and investigate, or perhaps comply, you automate to better triage or investigate, etc).

[2] Are these the problems people have now?

I’d say most of them, yes! For many organizations, even the old compliance use case is still very much alive. Even in 2023, regulatory compliance is very much a thing. This question is definitely the easiest to answer from the framework.

[3] What are other ways of solving these problems?

Naturally, for many of the above there are other choices, but perhaps not for all of the above (see this humorous take on the same question)

What are other options for this, as I see them?

  1. Log management only
  2. EDR, and some log management
  3. XDR (however defined)
  4. EDR and NDR, and some log management
  5. Build your own SIEM-like or log management-like tool (you can even call it a security data lake, I won’t judge)
  6. Some other piece of technology that you refuse to call a SIEM but that “looks like a SIEM, swims like a SIEM, and quacks like a SIEM” And if you call it “not SIEM”, well, let’s just agree to disagree :-)
  7. Hire an MDR or an MSSP

Did I miss anything? Probably nothing big, but there are perhaps hybrid / mixed answers too (see this discussion of SIEM alternatives too).

(BTW, I made a colossal number of snide remarks in my analyst days about people who confuse SIEM and log management. As a reminder, the “S” in SIEM stands for security, hence if your tool just collects logs and stores them, it is obviously not a SIEM. However, it is very possible that your particular problems are nicely solved by a log management tool and do not require a SIEM. This is OK, my rage was not aimed at SIEM or log management, but at people confusing the two)

[4] Can we refuse to solve them?

Frankly, it is very hard for a large, traditional organization to refuse to solve them. Both regulations and attackers will compel you to pay attention to these problems. While one can in theory organize your IT in a way that makes the broad problems never appear in the first place (e.g. be 100% “Chromebooks and SaaS”), it is probably not the choice a 200 year old bank in Belgium can take (but a Bay Area startup perhaps can).

Conclusion! So, why buy a SIEM in 2023? Well, it is the usual: detect, triage, investigate, respond, hunt. A modern SIEM remains a very useful tool for these very tasks and the tasks remain relevant, while true drop in replacements remains scarce. Also, it does not care if you don’t call it “SIEM” (well, maybe some future AGI-based SIEM can get mad at you for this, but I digress).

P.S. Ultimately, this post came out a bit less insightful and pithy than I hoped (and, no, I cannot blame Bard, this is all me). Still, there you have it. Maybe Part 3 would be better :-)

Related posts:


Originally published at Medium.

Monday, March 06, 2023

New Report “State of Cloud Threat Detection and Response”

One of the mysteries of detection and response (D&R) is about how companies really approach D&R in the public cloud. So we did a survey…


Cloud D&R Report (2023)

One of the mysteries of detection and response (D&R) is about how companies really approach D&R in the public cloud. So we did a survey focused on this, and we actually polled both leaders and technologists.

“Our State of Cloud Threat Detection and Response report summarizes the survey responses of 400 security leaders and SecOps practitioners in North America regarding the capabilities, practices, and behaviors of protecting against, identifying, and remediating cloud-based threats.“

Now, you have three options:

Before we go further, a quick reminder: this is a survey, thus it analyzes what people say they do, rather than what they actually do (so YMMV).

Now, let me introduce some of my favorites.

Cloud: Risk or Benefit?

Let’s address the elephant in the room: “The average security pro says cloud security is slightly more difficult than on-prem and involves a higher level of risk.“

Many respondents (more technologists than leaders, mind you) still think that “cloud is hard” and/or also believe in some form of “cloud is a risk” sentiment. However, my reading of the data is that they really say “cloud is a risk if you don’t know it” as these views strongly correlate with the view that their teams lack adequate cloud skills and knowledge. 82% (!) say their organization has to grow their public cloud skills and knowledge to thrive long-term.

This reminded me of this classic: “If I had my way, I would make it a crime to use automobiles on the public highways, because no man has a right to use a vehicle on the public highway that is dangerous to the safety of other people.” (Sen Joseph W. Bailey, 1909, quoted from this source). Whatever is new looks scary to people and more so to people who don’t understand it.

Despite all this, our report clearly shows that “Leaders see more opportunity in cloud, while SecOps recognize greater risk“

Image from cloud D&R report

Cloud: Same Approach or Different

Here is another elephant in the room (oh, yes, there are two!): “Most organizations utilize the same approach for cloud vs. on-premise security. “

Image from cloud D&R report

Say what? At first glance, this sounds, well, dangerous. We’ve ranted against “security lift and shift” on our podcast a lot, and so it seems like a surprise to me. Still, “the majority of survey participants (63%) believe they are using an approach that’s “mostly” or “exactly the same” in the cloud as compared to on-premise security.” However, in my mind this is probably correlated a bit with “… and it probably won’t work.”

Why do I say that? Look at the opposites: “Only 15% who apply a different detection and response approach to the cloud believe they are ill-equipped to safeguard their cloud presence.” Those practicing a different approach for cloud security seem more confident that it will work! I think they are also more right, not just more confident.

Still, if your cloud deployment is a straight lift/shift of your data center in the beginning, practicing security the same way may not be a mistake, as long as you plan to evolve it later.

Tools … But Who Made Them?

One question I wanted to ask in this survey is what type of provider is considered to be the “best” or primary source for cloud security tools for detection and response. The data is, frankly, inconclusive. Sure, cloud provider tools dominate, but ever so slightly.

Image from cloud D&R report

Now, go and read the report.

Finally, my informal and “only-partially data driven” (let’s call them “data inspired”) conclusions:

  1. Cloud is hard, especially if you don’t understand it? Learn cloud before complaining about it!
  2. Cloud is similar, and also different from on-premise (not “just” somebody else’s computer). Start with what you know, but evolve to the cloud native way over time! Specifically, if your IT and business become more “cloudy”, your on-premise security will fail and will be left behind.
  3. If your cloud use is similar to your on-premise IT, then your threats are similar. If your cloud usage looks nothing like a 1990s datacenter, I bet your threats are very different too. Assess your cloud threats!
  4. Cloud calls for more automation, and also makes automation easier. Kill toil, automate!

Now, go and watch this fun video of me talking about this report!


Originally published at Medium.

New Report “State of Cloud Threat Detection and Response”

One of the mysteries of detection and response (D&R) is about how companies really approach D&R in the public cloud. So we did a survey…


Cloud D&R Report (2023)

One of the mysteries of detection and response (D&R) is about how companies really approach D&R in the public cloud. So we did a survey focused on this, and we actually polled both leaders and technologists.

“Our State of Cloud Threat Detection and Response report summarizes the survey responses of 400 security leaders and SecOps practitioners in North America regarding the capabilities, practices, and behaviors of protecting against, identifying, and remediating cloud-based threats.“

Now, you have three options:

Before we go further, a quick reminder: this is a survey, thus it analyzes what people say they do, rather than what they actually do (so YMMV).

Now, let me introduce some of my favorites.

Cloud: Risk or Benefit?

Let’s address the elephant in the room: “The average security pro says cloud security is slightly more difficult than on-prem and involves a higher level of risk.“

Many respondents (more technologists than leaders, mind you) still think that “cloud is hard” and/or also believe in some form of “cloud is a risk” sentiment. However, my reading of the data is that they really say “cloud is a risk if you don’t know it” as these views strongly correlate with the view that their teams lack adequate cloud skills and knowledge. 82% (!) say their organization has to grow their public cloud skills and knowledge to thrive long-term.

This reminded me of this classic: “If I had my way, I would make it a crime to use automobiles on the public highways, because no man has a right to use a vehicle on the public highway that is dangerous to the safety of other people.” (Sen Joseph W. Bailey, 1909, quoted from this source). Whatever is new looks scary to people and more so to people who don’t understand it.

Despite all this, our report clearly shows that “Leaders see more opportunity in cloud, while SecOps recognize greater risk“

Image from cloud D&R report

Cloud: Same Approach or Different

Here is another elephant in the room (oh, yes, there are two!): “Most organizations utilize the same approach for cloud vs. on-premise security. “

Image from cloud D&R report

Say what? At first glance, this sounds, well, dangerous. We’ve ranted against “security lift and shift” on our podcast a lot, and so it seems like a surprise to me. Still, “the majority of survey participants (63%) believe they are using an approach that’s “mostly” or “exactly the same” in the cloud as compared to on-premise security.” However, in my mind this is probably correlated a bit with “… and it probably won’t work.”

Why do I say that? Look at the opposites: “Only 15% who apply a different detection and response approach to the cloud believe they are ill-equipped to safeguard their cloud presence.” Those practicing a different approach for cloud security seem more confident that it will work! I think they are also more right, not just more confident.

Still, if your cloud deployment is a straight lift/shift of your data center in the beginning, practicing security the same way may not be a mistake, as long as you plan to evolve it later.

Tools … But Who Made Them?

One question I wanted to ask in this survey is what type of provider is considered to be the “best” or primary source for cloud security tools for detection and response. The data is, frankly, inconclusive. Sure, cloud provider tools dominate, but ever so slightly.

Image from cloud D&R report

Now, go and read the report.

Finally, my informal and “only-partially data driven” (let’s call them “data inspired”) conclusions:

  1. Cloud is hard, especially if you don’t understand it? Learn cloud before complaining about it!
  2. Cloud is similar, and also different from on-premise (not “just” somebody else’s computer). Start with what you know, but evolve to the cloud native way over time! Specifically, if your IT and business become more “cloudy”, your on-premise security will fail and will be left behind.
  3. If your cloud use is similar to your on-premise IT, then your threats are similar. If your cloud usage looks nothing like a 1990s datacenter, I bet your threats are very different too. Assess your cloud threats!
  4. Cloud calls for more automation, and also makes automation easier. Kill toil, automate!

Now, go and watch this fun video of me talking about this report!


Originally published at Medium.

Wednesday, March 01, 2023

Debating SIEM in 2023, Part 1

Hey, it is 2023, let’s debate SIEM again!


Hey, it is 2023, let’s debate SIEM again!

Debate SIEM? In 2023?

This is so 1997! Or perhaps 2017. Anyhow, Security Information and Event Management (SIEM) is a growing $4+B market that is proving remarkably resilient, and, actually, interesting again.

Let’s start with an obligatory AI response:

(source: Bard)

Let’s proceed with a just-as-obligatory Gartner quote: “The SIEM market is maturing at a rapid pace and continues to be extremely competitive. The reality of what SIEM was just five years ago is starting to detach from what SIEM is and provides today.” (Obligatory Gartner quote from 2022 SIEM MQ)

Finally, let’s move to an obligatory Anton Twitter poll :-)

(source)

So, our mini-conclusion at this stage is that yes, SIEM is relevant for 2023.

Let’s see if anything threatens its relevance in the coming years. Question game time!

Q: Can XDR kill SIEM?

A: Can a dragon eat a duck? Well, sure, if dragons existed. Otherwise, no, sorry. So, can XDR kill SIEM? Well, it needs to exist as a consensus reality among the “market makers” and customers (security leaders and professionals) first. Otherwise, see “Your XDR? ‘Yeah, well, that’s just, like, your opinion, man.’”

Q: Can Security Data Lakes kill SIEM?

A: Can a transmission take over the car market? Eh, no, because it is a car part. You need the rest of the car to drive. The way I observe today’s market reality, there are two camps here.

One camp shows a general data lake lacking (or should I say “laking”?) any security features, content and knowledge (transmission, not a car), while the other camp builds a SIEM and then keeps insisting (to their own detriment of being excluded from SIEM evaluations … hilarity ensues!) that their SIEM is not a SIEM but a “security data lake.” Today’s SIEMs incorporate a modern data stack, and may resemble a data lake in many aspects, but the “SDL kills SIEM” argument is IMHO silly. Here is another great example.

Q: I’ve heard some organizations do D&R just fine without a SIEM?

A: Sure, of course, you can go “SIEM-less”! Some organizations built incredibly sophisticated log analysis platforms for security that they don’t call “SIEM.” Now imagine that these DIY tools appear on the open market. Guess what market that would be? Exactly, SIEM! So, not calling your SIEM a SIEM won’t make it not a SIEM, and the market will correct you if you try anyway. Or, you sink in your own data lake…

Some organizations run EDR-centric SOCs where a commercial SIEM tool is not present, while log analysis is less relevant (compared to endpoint activity analysis), but ultimately they do look at logs (or should, because EDR alone has obvious gaps).

Apart from that, there are many scenarios where “not buying a commercial SIEM” is the right choice (for example, many MSSP/MDR examples have you paying for SIEM value, rather than owning a SIEM product). In another case, if your entire IT stack is SaaS, you can perhaps end up with a “CASB as SIEM” scenario (rare, but plausible).

However, I don’t see a way to go without any security log analysis capability.

Q: What about the cloud, can the cloud kill SIEM?

A: Well, there are corner cases where this is the case, but in many cases cloud boosts, rather than kills a SIEM. My serious answer, however, is: organizations moving to cloud will change the SIEM space, will make SIEM less relevant for some clients (SMB in a single cloud, SaaS-heavy organizations), but more relevant for others (analyze logs across clouds, etc)

Q: So can SIEM really die?

A: In my “humble” opinion, the SIEM name may die, but the need to analyze logs for security cannot really die in the foreseeable future. Now, if you want to see a funny take on this, go here.

Q: OK, fine, SIEM cannot die, but can it be relegated to the “boring compliance technology box” while some new exciting tools deliver the security insights from various telemetry?

A: Sure, in theory, but this is not happening today. SIEM is a security capability that is also useful for some regulatory and framework compliance (PCI DSS, HIPAA, NIST CSF, etc).

(source: yet another Twitter poll)

Where do we go from here? I think that…

Next up, in Part 2, we will have a 2023 SIEM use case discussion! Fun!

Resources:


Originally published at Medium.

Debating SIEM in 2023, Part 1

Hey, it is 2023, let’s debate SIEM again!


Hey, it is 2023, let’s debate SIEM again!

Debate SIEM? In 2023?

This is so 1997! Or perhaps 2017. Anyhow, Security Information and Event Management (SIEM) is a growing $4+B market that is proving remarkably resilient, and, actually, interesting again.

Let’s start with an obligatory AI response:

(source: Bard)

Let’s proceed with a just-as-obligatory Gartner quote: “The SIEM market is maturing at a rapid pace and continues to be extremely competitive. The reality of what SIEM was just five years ago is starting to detach from what SIEM is and provides today.” (Obligatory Gartner quote from 2022 SIEM MQ)

Finally, let’s move to an obligatory Anton Twitter poll :-)

(source)

So, our mini-conclusion at this stage is that yes, SIEM is relevant for 2023.

Let’s see if anything threatens its relevance in the coming years. Question game time!

Q: Can XDR kill SIEM?

A: Can a dragon eat a duck? Well, sure, if dragons existed. Otherwise, no, sorry. So, can XDR kill SIEM? Well, it needs to exist as a consensus reality among the “market makers” and customers (security leaders and professionals) first. Otherwise, see “Your XDR? ‘Yeah, well, that’s just, like, your opinion, man.’”

Q: Can Security Data Lakes kill SIEM?

A: Can a transmission take over the car market? Eh, no, because it is a car part. You need the rest of the car to drive. The way I observe today’s market reality, there are two camps here.

One camp shows a general data lake lacking (or should I say “laking”?) any security features, content and knowledge (transmission, not a car), while the other camp builds a SIEM and then keeps insisting (to their own detriment of being excluded from SIEM evaluations … hilarity ensues!) that their SIEM is not a SIEM but a “security data lake.” Today’s SIEMs incorporate a modern data stack, and may resemble a data lake in many aspects, but the “SDL kills SIEM” argument is IMHO silly. Here is another great example.

Q: I’ve heard some organizations do D&R just fine without a SIEM?

A: Sure, of course, you can go “SIEM-less”! Some organizations built incredibly sophisticated log analysis platforms for security that they don’t call “SIEM.” Now imagine that these DIY tools appear on the open market. Guess what market that would be? Exactly, SIEM! So, not calling your SIEM a SIEM won’t make it not a SIEM, and the market will correct you if you try anyway. Or, you sink in your own data lake…

Some organizations run EDR-centric SOCs where a commercial SIEM tool is not present, while log analysis is less relevant (compared to endpoint activity analysis), but ultimately they do look at logs (or should, because EDR alone has obvious gaps).

Apart from that, there are many scenarios where “not buying a commercial SIEM” is the right choice (for example, many MSSP/MDR examples have you paying for SIEM value, rather than owning a SIEM product). In another case, if your entire IT stack is SaaS, you can perhaps end up with a “CASB as SIEM” scenario (rare, but plausible).

However, I don’t see a way to go without any security log analysis capability.

Q: What about the cloud, can the cloud kill SIEM?

A: Well, there are corner cases where this is the case, but in many cases cloud boosts, rather than kills a SIEM. My serious answer, however, is: organizations moving to cloud will change the SIEM space, will make SIEM less relevant for some clients (SMB in a single cloud, SaaS-heavy organizations), but more relevant for others (analyze logs across clouds, etc)

Q: So can SIEM really die?

A: In my “humble” opinion, the SIEM name may die, but the need to analyze logs for security cannot really die in the foreseeable future. Now, if you want to see a funny take on this, go here.

Q: OK, fine, SIEM cannot die, but can it be relegated to the “boring compliance technology box” while some new exciting tools deliver the security insights from various telemetry?

A: Sure, in theory, but this is not happening today. SIEM is a security capability that is also useful for some regulatory and framework compliance (PCI DSS, HIPAA, NIST CSF, etc).

(source: yet another Twitter poll)

Where do we go from here? I think that…

Next up, in Part 2, we will have a 2023 SIEM use case discussion! Fun!

Resources:


Originally published at Medium.

Tuesday, February 14, 2023

How to Solve the Mystery of Cloud Defense in Depth?

This post continues the discussion started in “Use Cloud Securely? What Does This Even Mean?!” and focuses on an area that should be easy…


This post continues the discussion started in “Use Cloud Securely? What Does This Even Mean?!” and focuses on an area that should be easy for every purported security professional — defense in depth.

So, before reading further, ask yourself two questions:

  1. Do you understand the concept of “defense in depth” (DiD) in security?
  2. Do you understand how DiD applies in public cloud environments?

BTW, my own answers to these would have been “Yes, I think so” and “No, not really.”

Next, if your answer to question #1 is anything but a yes, please read the superb post “Defense in Depth” by Phil Venables. Phil reminds us of a few commonly forgotten aspects of DiD:

  • “The goal of defense in depth is not just multiple layers of controls to collectively mitigate one or more risks, but rather multiple layers of interlocking or inter-linked controls.”
  • “Defense in depth should also be fractal in that you need to construct defense in depth across the following domains and in turn within each of these domains
  • “The defense of a system overall […] is about the interplay of layers of control at the organizational level, the human and technical component levels in those organizations as well as also having inter-locking layers of control in each one of the domains.

(and no, defense in depth does not mean “just use more than one security control”)

Now, onto the cloud. As I started looking into this, I’ve discovered 3 schools of thought:

  1. DiD in the cloud is not at all different from on-premise
  2. DiD in the cloud does not exist and does not matter
  3. There is “cloud-native DiD” for sure, you just need to discover it for yourself …

The first view is basically a “lift and shift DiD” view.” Let’s take a look at the classic DiD layers:

“The traditional security layers for defense-in-depth architecture are:
Network security: This includes firewalls, intrusion detection systems, and intrusion prevention systems. Network security controls are used to protect the network from attacks.
Host security: This includes anti-virus software, personal firewalls, and host-based intrusion detection systems. Host security controls are used to protect individual hosts from attacks.
Application security: This includes web application firewalls, application firewalls, and application-level intrusion detection systems. Application security controls are used to protect applications from attacks.
Data security: This includes encryption, access control, and data loss prevention. Data security controls are used to protect data from being accessed by unauthorized users or exfiltrated from the organization.
Security operations: This includes security information and event management (SIEM), vulnerability management, and security awareness training. Security operations controls are used to detect malicious activity, investigate security incidents, and educate users about security.” (source: Bard)

Now, let’s add the word “cloud” to each, and you have “defense in depth … in the cloud.” Uhu, yeah, right … This may be “correct” if you did indeed copy/paste your systems onto a cloud provider infrastructure, but it is almost certainly not the most defensible cloud architecture possible (and, no, I don’t know why the bot tossed security awareness into the SecOps bucket, mysterious ways of AI and all that, but IMHO the bot is correct in including security awareness as one of the DiD layers).

The second view is, I am guessing, popular with the “in the cloud, you are one IAM mistake away from a breach” crowd. Intuitively, but also rationally, I know this camp is just plain wrong. This is really not how a well-designed and well-architected cloud environment works (good example of a largely IAM-independent control). Furthermore, IAM mistakes are less likely in a well-architected cloud environment. So, “DiD does not apply in the cloud” is just being stupid.

Finally, the third view is a bit of a mystery. Let’s try to discover it together here!

Now for the fun part! Let’s check what we know for sure so far?

  1. DiD almost certainly matters in the cloud
  2. DiD is still about layers of controls and interlocking controls within each layer; this applies to technical and procedural controls across the cloud environment.
  3. In the cloud, DiD gets married to shared responsibility model where cloud provider controls some of the layers (and may get involved in client owned layers too)
  4. Some of the traditional control layers clearly survive (e.g. data security, application security, detection/response, etc)
  5. Some of the layers change a lot or vanish for some cloud usage models (e.g. endpoint/host security for SaaS)
  6. There are new defensive boundaries and perhaps even new layers (Is organization or project boundary a separate layer or a sublayer within, say, IAM?)
  7. Some of the popular DiD elements clearly matter less in the cloud (e.g. “firewall sandwich” or “multiple endpoint protection agents”)
  8. Cloud means a lot of “…as code”, so your DiD better be “… as code friendly” (and the place that delivers that code everywhere better be defended in depth!)
  9. IAM plays an oversized role as a layer. You also must have controls that are IAM-independent; otherwise, you DiD is again out of the window.

Finally, it is useful to think of public cloud defense in depth when thinking of both threats and configuration mistakes. If we just changed permissions on that storage bucket to ‘public’ by mistake and that automatically caused the data breach, this means DiD was absolutely missing in your environment…

Where to next? Perhaps to some DiD architectures?

Got any thoughts?

Related posts:


Originally published at Medium.

Friday, February 10, 2023

Anton’s Security Blog Quarterly Q1 2023

Great blog posts are sometimes hard to find (especially on Medium), so I decided to do a periodic list blog with my favorite posts of the…


Great blog posts are sometimes hard to find (especially on Medium), so I decided to do a periodic list blog with my favorite posts of the past quarter or so.

Here is the next one. The posts below are ranked by lifetime views. This covers both Anton on Security and my posts from Google Cloud blog, and our Cloud Security Podcast too (subscribe).

Top 5 most popular posts of all times (these ended up being the same as last quarter):

  1. “Security Correlation Then and Now: A Sad Truth About SIEM”
  2. “Can We Have “Detection as Code”?”
  3. “New Paper: “Future of the SOC: SOC People — Skills, Not Tiers”
  4. “Revisiting the Visibility Triad for 2020”
  5. “New Paper: “Future of the SOC: Forces shaping modern security operations”

Top 5 posts with the most Medium fans (these are also the same as last quarter):

  1. “Security Correlation Then and Now: A Sad Truth About SIEM”
  2. “Beware: Clown-grade SOCs Still Abound”
  3. “Can We Have “Detection as Code”?”
  4. “Why Is Threat Detection Hard?”
  5. “Stop Trying to Take Humans Out of SOC … Except … Wait… Wait… Wait…”

Top 5 Cloud Security Podcast by Google episodes:

  1. Episode 1“Confidentially Speaking”
  2. Episode 2 “Data Security in the Cloud”
  3. EP47 “Megatrends, Macro-changes, Microservices, Oh My! Changes in 2022 and Beyond in Cloud Security”
  4. EP75 How We Scale Detection and Response at Google: Automation, Metrics, Toil
  5. Zero Trust: Fast Forward from 2010 to 2021

Now, fun posts by topic.

Security operations / detection & response:

Data security:

Cloud security:

Enjoy!

Previous posts in this series:


Originally published at Medium.

Tuesday, January 03, 2023

Google Cybersecurity Action Team Threat Horizons Report #5 Is Out!

This is my completely informal, uncertified, unreviewed and otherwise completely unofficial blog inspired by my reading of our fifth Threat…


This is my completely informal, uncertified, unreviewed and otherwise completely unofficial blog inspired by my reading of our fifth Threat Horizons Report (full version) that we just released (the official blog for #1 report, my unofficial blogs for #2, #3 and #4).

My favorite quotes from the report follow below:

  • Identity and trust relationships in and between cloud environments will continue to get more complex, challenging visibility and enabling threat actors to have wider and deeper impact on organizations. We anticipate an increase in targeting of identities that allow cross-platform authentication as actors recognise the value in compromising identities rather than endpoints. ” [A.C. — this is one of our “intel-driven” predictions, and it just reminds everybody that even if you thought that ‘identity in the cloud is important’ than in reality it is even more important :-)]
  • The top malware used by short-term infections will still be cryptominers in 2023, but other forms of monetization, such as phishing or ransoming customer environments, could grow as well.” [A.C. — to me, this reminds the security teams and SOCs in particular that in the cloud they need to move at cloud speed… A short-term system compromise is still compromise — and you are still owned, even if you are owned 1000 times of 10 minutes each :-)]
  • “Threat actors diversified their initial access vectors. Weak passwords continued to be the most common factor at 41% of observed compromises. However, API key compromise [A.C. — take a look at this new resource!] played a role in nearly 20% of cases studied last quarter. […] In particular, the use of API compromise may suggest increased levels of automation by threat actors” [A.C. — while you talk about ‘security automation’ in general terms, attackers deploy new offensive automation…]
Source: Google Cloud Threat Horizons Report 5 https://services.google.com/fh/files/blogs/gcat_threathorizons_full_jan2023.pdf
  • “Mandiant estimated that 15 percent of their incident response investigations involved public cloud assets, demonstrating a shift in both enterprise planning and attacker operations against IT networks” [A.C. — this data point is from 2020, so treat this as a low boundary in 2023. This also reminds me that if you are owned, your cloud environment is probably also owned…]
  • “Mandiant research indicates that threat actors are increasingly targeting backups to inhibit reconstitution after an attack. In addition, targeting, and in some cases creating, backups allows threat actors to engage in reconnaissance of affected organizations, escalate privileges, and gather intelligence. ” [A.C. — not truly ‘new news’, but a useful reminder to those who assume, circa 2015, that ‘backups solve ransomware’. It also reminds us that an unauthorized backup run is a solid indicator of compromise.] BTW, our advice here includes this gem: “Create IAM permissions that segment the access and roles needed for creation, deletion, and changes to backups, thereby ensuring that account compromises do not create a direct pathway to move to the backups. Monitor for events on backups and create alerts for these”
  • While it sounds like an obvious tactic, it really is! And attackers do use it: “In Q3 Trust and Safety systems flagged free tier or trial accounts abusing Google Cloud resources by conducting outbound DDoS attacks. […] We observed the attackers creating cost-optimized GCE instances, and within 2 hours of creation 50% of these flagged projects triggered DDoS alerts.

Now, go and read the report!

Related posts:


Originally published at Medium.

Any interest in contributing these rules to our repo at Chronicle? Happy to chat about it.


Any interest in contributing these rules to our repo at Chronicle? Happy to chat about it.


Originally published at Medium.

Thursday, December 22, 2022

Cloud Security Podcast — Two Years Later or Our Year-End Reflections for 2022!

We have been running our Cloud Security Podcast by Google for almost 2 years (TWO YEARS!) and since we are on a break now, I wanted to…


We have been running our Cloud Security Podcast by Google for almost 2 years (TWO YEARS!) and since we are on a break now, I wanted to reflect a bit, while Tim is relaxing on a beach somewhere warm and “hammy” 🙂

So, we aired 102 episodes, but what was new in 2022?

Here is how 2022 word cloud of episode titles looks like

(src)

What to expect from us in 2023?

  • A weekly podcast episode and a few specials here and there — of course!!!
  • Perhaps a live video of our recording session — that will be fun! Should we post the audio to YouTube, BTW?
  • Some stuff that is coming in Q1 2023 includes episodes on BeyondProd, our security guardrail magic, security architecture (with more cloud migration challenges!) and a curious episode on our approach to vulnerability management. More “CISO meets cloud” episodes are planned as well!
  • The 2023 season opener on January 9 would be epic as well ... because Mandiant!

Now, let’s look at our basic metrics:

Top 5 episodes overall so far:

  1. “Confidentially Speaking“ (ep1)
  2. “Data Security in the Cloud“ (ep2)
  3. “Megatrends, Macro-changes, Microservices, Oh My! Changes in 2022 and Beyond in Cloud Security” (ep47)
  4. “Automate and/or Die” (ep3)
  5. “How We Scale Detection and Response at Google: Automation, Metrics, Toil“ (ep75)

Share your favorites in comments or on social media (LinkedIn, Twitter)?

We also understand that 102 episodes is a lot and that we cover many topics in a wide field of cloud security. So, if you want to cherry pick, here are some fun playlists (on Spotify):

So, a call to action:

P.S. Of course we asked the future AI overlords about what we should do next, here are the answers.

And of course, we are us, so here is what we did next:

:-)

Related:


Originally published at Medium.

Dr Anton Chuvakin