<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jason Keirstead on Medium]]></title>
        <description><![CDATA[Stories by Jason Keirstead on Medium]]></description>
        <link>https://medium.com/@jasonkeirstead?source=rss-270312700bd8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2iTOnaIvjSspqcd3eNVv1w.jpeg</url>
            <title>Stories by Jason Keirstead on Medium</title>
            <link>https://medium.com/@jasonkeirstead?source=rss-270312700bd8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:17:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jasonkeirstead/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Cybersecurity Data Model Proliferation Issue — Part 2 of 3, “How is XKCD so prescient”]]></title>
            <link>https://jasonkeirstead.medium.com/the-cybersecurity-data-model-proliferation-issue-part-2-of-3-how-is-xkcd-so-prescient-8d0fe288b88a?source=rss-270312700bd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d0fe288b88a</guid>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-management]]></category>
            <category><![CDATA[threat-detection]]></category>
            <dc:creator><![CDATA[Jason Keirstead]]></dc:creator>
            <pubDate>Wed, 23 Jun 2021 15:42:59 GMT</pubDate>
            <atom:updated>2021-06-23T15:51:15.317Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Cybersecurity Data Model Proliferation Issue — Part 2 of 3, “How is XKCD so prescient”</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*9nMBMt-OugnruBr_M-WuEQ.png" /><figcaption>Source: “Standards” — <a href="https://xkcd.com/927/">https://xkcd.com/927/</a></figcaption></figure><p><a href="https://jasonkeirstead.medium.com/the-cybersecurity-data-model-proliferation-issue-part-1-of-3-model-me-this-c8ae515404f?source=friends_link&amp;sk=94e75458c2b24bd154e80e32342e38c9">Previously I outlined</a> what a cybersecurity data model is and why it is foundational, not only to be able to execute mature cyber operations in your enterprise, but also in order to enable basic collaboration on intelligence and defense.</p><p>Today I am going to take you on a short walk through what data models exist in our industry, their history, and where they are typically used — with a main focus on community-oriented models.</p><p>This will lead into Part 3 of this series which is going to be an attempt at objective analysis of the problems we face due to data model proliferation, and how to solve them.</p><h3><strong>STIX 2 SCO</strong></h3><p>The STIX 2 SCO data model’s origin dates back to 2016 after development of STIX was migrated from MITRE to<a href="https://www.oasis-open.org/"> OASIS</a> in order to pursue a true international de-jure standard. During the work by the<a href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cti"> Cyber Threat Intelligence Technical Committee</a> (CTI TC), the TC decided that the CybOX standard should be merged with the STIX standard, and eventually became referred to as the STIX 2 Cyber Observable (SCO) data model.</p><p>STIX 2 SCO also comes with a patterning language called <a href="https://docs.oasis-open.org/cti/stix/v2.1/cs01/stix-v2.1-cs01.html#_e8slinrhxcc9">STIX 2 Patterning</a>. This language can be used to write detections that leverage the STIX 2 data model and is leveraged by projects like the <a href="https://github.com/opencybersecurityalliance/stix-shifter">STIX Shifter project</a> to enable portable hunting and detections.</p><p>STIX 2 SCO is rarely used natively for logging or events at the present time, however it is the native format used in threat intelligence sharing using the STIX 2 standard, and thus some form of support for its ingestion is actually quite widespread.</p><h3>Sigma</h3><p>The <a href="https://github.com/SigmaHQ/sigma">Sigma project</a> also dates to December 2016 when it was released by <a href="https://twitter.com/cyb3rops">Florian Roth (@cyb3rops)</a> in order to solve for the problem of being able to write portable alerts and correlation rules that can be used in multiple SIEM systems. The project rapidly grew beyond just SIEMs, and is now widely used throughout the detection engineering community, helping to enable collaboration across the industry without being tied to specific vendors or security stacks. Sigma contains as part of it a core data model called the <a href="https://github.com/SigmaHQ/sigma/wiki/Taxonomy">Sigma Taxonomy</a>, which is the data model that rules are usually* written against. Rules written using this taxonomy can be converted to the data models of other cybersecurity systems. Sigma is a very community-driven project, and not directly tied to any specific major commercial vendor, although some vendors are starting to natively support it.</p><p>While the Sigma Taxonomy is leveraged internally as a collaborative data model, it is extremely rare to have data actually ingested in this taxonomy natively, and I know of no commercial nor open source products that do that.</p><p><em>* It is worth noting that because usage of the taxonomy is optional due to how Sigma works, some Sigma rules are written directly against other data models — however these rules are not as portable as ones that leverage the taxonomy and thus use of the taxonomy is encouraged.</em></p><h3>MITRE CAR</h3><p>The <a href="https://car.mitre.org/">MITRE Cyber Analytics Repository</a> (CAR) project dates to 2016 as well, and is a community effort by MITRE to create a repository of detection analytics for<a href="https://attack.mitre.org/"> MITRE ATT&amp;CK</a> TTPs, in order to enable defenders to disrupt adversaires. The analytics in CAR are developed using a mixture of systems and data models depending on their origin — including Splunk, Sigma, Zeek, and others. CAR however <strong>also comes with</strong><a href="https://car.mitre.org/data_model/"><strong> its own data model</strong></a>,<strong> </strong>that every analytic is also encoded into along with pseudo-code.</p><p>The MITRE CAR data model is inspired by, <strong>but not identical to</strong>, the<a href="https://cyboxproject.github.io/"> CybOX data model</a>, which is what was used in both<a href="https://stixproject.github.io/"> STIX 1.x</a> as well as the<a href="https://maecproject.github.io/"> Malware Attribute Enumeration and Characterization format (MAEC) 4.x.</a> CybOX has since been retired, as it was superseded by STIX 2 SCO (which is also the basis for MAEC 5.x). MITRE CAR however has not yet aligned with STIX 2 SCO, and continues as an independent data model. MITRE continues to release new analytics into CAR on a fairly regular basis.</p><h3>OSSEM</h3><p>The <a href="https://ossemproject.com/intro.html">Open Source Security Events Metadata</a> (OSSEM) model is a community effort that is now part of the wider <a href="https://github.com/OTRF">Open Threat Research Forge</a> (OTRF) set of community projects. OSSEM was started in 2018 by <a href="https://twitter.com/Cyb3rWard0g">Roberto Rodriguez (@Cyb3rWard0g)</a> to create a community-led forum where information about security event logs could be shared, and hopefully <a href="https://cyberwardog.blogspot.com/2017/12/ready-to-hunt-first-show-me-your-data.html">lead to improved data quality</a> throughout the industry.</p><p>OTRF has grown and now has many contributors, and a wide community of threat hunters that leverage its projects — including things such as the Mordor datasets as well as the Hunting ELK (HELK) Elastic stack. Many of these projects leverage the OSSEM model in one way or another. Some commercial vendors are beginning to support this model as well, typically by providing mappings to/from OSSEM in their data model documentation.</p><h3>Elastic ECS</h3><p>The <a href="https://www.elastic.co/guide/en/ecs/current/index.html">Elastic Common Schema</a> (ECS) model was released by Elastic in 2019 as a model that Elastic could both normalize their own product lines to, as well as build enhanced cybersecurity capabilities around. While ECS is a model created by a vendor, it is worth inclusion in this list due both to the widespread usage of open-source Elastic tools in the community, as well as it’s community driven nature (<a href="https://github.com/elastic/ecs">it is open source under the Apache license</a>, and it also has many non-Elastic originating pull requests). The open source cybersecurity products that Elastic releases (including Elastic Beats) leverage ECS as their primary method of data normalization, which is a large driver toward its growth in the community.</p><h3>Azure ASIM</h3><p>The <a href="https://docs.microsoft.com/en-us/azure/sentinel/normalization">Azure Sentinel Information Model</a> (ASIM) was released in 2020 as part of Microsoft’s Azure Sentinel offering. ASIM is fairly new, and is thus under active development. However it is worth inclusion in this list due to its active effort to map to the OSSEM community model, which is definitely a positive step and something I very much want to encourage.</p><p>While ASIM claims to make an effort to align with the OSSEM data model, it is important to point out that <strong>the field naming schemes are actually slightly different </strong>when it comes to casing and format. This is very significant, because this means that detections that are written against the OSSEM model can not be used against ASIM data without some kind of manipulation. Simple mis-alignments like this, can greatly negate the value of leveraging a common data model at all.</p><h3>Takeaways</h3><p>There are <strong>many, many, MANY</strong> more product-specific data models that exist in addition to this list (<a href="https://docs.splunk.com/Documentation/CIM/4.19.0/User/Overview">Splunk CIM</a>, <a href="https://www.ibm.com/docs/en/dsm?topic=leef-overview">QRadar LEEF</a>, <a href="https://community.microfocus.com/cyberres/productdocs/w/connector-documentation/38809/arcsight-common-event-format-cef-implementation-standard">ArcSight CEF</a>, <a href="https://cloud.google.com/chronicle/docs/unified-data-model/udm-field-list">Google UDM</a>, etc…), and it is not meant to be comprehensive. The purpose is simply to illustrate that there are a plethora of cybersecurity data models in widespread use — and what’s more, several of them are mostly community driven and not tied to products. Yet, for the most part, these communities are not aligning, and are continuing to forge separate paths. Meanwhile, new vendors continue to invent their own data models at an alarming pace.</p><p>In the final part of this series, I am going to outline the challenges we face as a community and industry due to data model proliferation, and the path I would like to see taken on a journey to solve them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d0fe288b88a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Cybersecurity Data Model Proliferation Issue — Part 1 of 3, “Model me this…”]]></title>
            <link>https://jasonkeirstead.medium.com/the-cybersecurity-data-model-proliferation-issue-part-1-of-3-model-me-this-c8ae515404f?source=rss-270312700bd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8ae515404f</guid>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[threat-management]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Jason Keirstead]]></dc:creator>
            <pubDate>Mon, 21 Jun 2021 17:13:34 GMT</pubDate>
            <atom:updated>2021-06-23T15:52:20.376Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>The Cybersecurity Data Model Proliferation Issue — Part 1 of 3, “Model me this…”</strong></h3><p>This series of blog entries is going to be on a topic I am very passionate about, which is improving collaboration in the cybersecurity industry. However, I am not going to talk about sharing threat intelligence, or about standard APIs, or about collaborative detection engineering. Instead today I am going to talk about something even more fundamental, something that lies at the heart of all of those topics — and something that we, as an industry, continue to lack to make real progress on. That thing is a standard cybersecurity data model.</p><p>I have <a href="https://www.linkedin.com/pulse/ai-without-ia-especially-cybersecurity-operations-jason-keirstead/">written about this problem in the past</a>. <a href="https://www.youtube.com/watch?v=80kjs-sPZsg">I have done seminars on it at conferences</a>. I have seen <a href="https://www.mitre.org/sites/default/files/publications/pr-13-1028-mitre-10-strategies-cyber-ops-center.pdf">others write about it.</a> Yet we, as an industry, continue to not prioritize it as a real problem to be solved. I am writing this three part series in hopes to drive some conversation toward real, sustainable improvement on this issue. Maybe you will agree with me, maybe you won’t — regardless, let’s please engage and continue the conversation.</p><p>Originally I tried to fit all of these thoughts into one blog, but it was far too long and ungainly. So I decided to split it into three parts which I will publish this week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OStIImVqYazRHrWC" /><figcaption>Photo by <a href="https://unsplash.com/@goumbik?utm_source=medium&amp;utm_medium=referral">Lukas Blazek</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>What is a data model and why do I care?</strong></h3><p>A cybersecurity data model is a way to organize ingested log, alert, event, and finding information so that it can reliably support things such as findability, usability, and analytics — a Data model is what allows you to look for the “<em>source_ip</em>” field and have it match across many different data sources and products, who each may represent this data differently in their own native format (“<em>source_ip_address</em>” vs “<em>source-ip</em>” vs “<em>srcip</em>” vs “<em>sourceip</em>” etc.) Without a data model being applied to your data, basically all you can write detections around are string fields in logs. For a lot more detail on data models and why they are important, I will refer you to this great blog entry from way back in 2017 by <a href="https://twitter.com/Cyb3rWard0g">Roberto Rodriguez (@Cyb3rWard0g)</a> — “<a href="https://cyberwardog.blogspot.com/2017/12/ready-to-hunt-first-show-me-your-data.html">Ready to hunt? First Show Me Your Data</a>”</p><p>Common data models are vital in cybersecurity, most especially in detection engineering and threat hunting, for three key reasons.</p><p>The first is <strong>composability and maintainability</strong>. Detections &amp; analytics built upon a normalized data model are easier to combine and mix into new ones, because of the shared underlying data model they operate upon, as opposed to simply searching for strings in the data. They are also easier to maintain over time, because as new people come onto a project, they can all be “speaking the same language” when it comes to their detections.</p><p>Another benefit to common data models is <strong>portability</strong>. The ability to have your detections and hunting skills be able to migrate from data source to data source, and from tool to tool, is incredibly valuable, and can save you a lot of time. This portability is only achievable if you have a common data model that you are building your detections against, that somehow can be applied to all of your data sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jrwWH7bvf6a3frpP" /><figcaption>Photo by <a href="https://unsplash.com/@mimithian?utm_source=medium&amp;utm_medium=referral">Mimi Thian</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Finally, <strong>collaboration</strong>. We are starting to see an incredibly increased movement around community development of detections and analytics. Projects like <a href="https://attack.mitre.org/">MITRE ATT&amp;CK</a>, <a href="https://github.com/SigmaHQ/sigma">Sigma</a>, <a href="https://github.com/OTRF">OTRF</a> and others are galvanizing the community around common goals. However collaboration around analytics and detections in a community is very difficult as long as everyone in the community is not “speaking the same language” as it were, because if all of the community members can not equally participate, then the <a href="https://en.wikipedia.org/wiki/The_Wisdom_of_Crowds">wisdom of the crowd</a> is diminished.</p><h3>Takeaways</h3><p>Hopefully it has become a bit obvious why data models are so important to cybersecurity. So what’s the problem? Is there one?</p><p><a href="https://jasonkeirstead.medium.com/the-cybersecurity-data-model-proliferation-issue-part-2-of-3-how-is-xkcd-so-prescient-8d0fe288b88a?source=friends_link&amp;sk=811e890d322dcf76fdcf46620d282ecf">Later this week I will be publishing the next blog in this series</a>, where we will go on a bit of a journey through the landscape of what data models exist today in cybersecurity, their history, and why they exist.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8ae515404f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Unique Technical Challenges Inherent in Cybersecurity Observability]]></title>
            <link>https://jasonkeirstead.medium.com/the-unique-technical-challenges-inherent-in-cybersecurity-observability-e4282d6873dc?source=rss-270312700bd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4282d6873dc</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[threat]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Jason Keirstead]]></dc:creator>
            <pubDate>Fri, 28 May 2021 17:59:46 GMT</pubDate>
            <atom:updated>2021-06-08T14:49:20.967Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T2mSg0Y12QNya5Bd" /><figcaption>Photo by <a href="https://unsplash.com/@ansleycreative?utm_source=medium&amp;utm_medium=referral">Matthew Ansley</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A lot of great content has been written over the years on <a href="https://www.isaca.org/resources/isaca-journal/issues/2017/volume-6/the-practical-aspect-challenges-of-security-log-management">the challenges of logging</a> and <a href="https://blogs.gartner.com/anton-chuvakin/2017/04/11/why-your-security-data-lake-project-will-fail/">data lakes</a> in cybersecurity. However, most of the articles and material are coming at the challenge from the point of view of a cybersecurity practitioner, as opposed to a technologist who is actually trying to implement a solution that needs to solve for the data collection, logging, and observability problems in cybersecurity, and how you should choose an underlying technology stack for that solution.</p><p>As technologists, we often like to try to bake-off technology stacks and figure out what is the best way to solve a problem — that is not what I am going to do in this article, for a number of reasons. Instead, I am going to focus on what <strong>factors one needs to consider in this evaluation. </strong>I want to dive in on what makes the cybersecurity world especially challenging when evaluating observability stacks, and allow readers to arm themselves with this information when they are choosing technologies and building out their solutions.</p><p>Lets align on some key terminology first — when we talk about “<a href="https://www.ibm.com/cloud/instana"><strong>observability</strong></a>”, what we are referring to <strong>is the capability of centralized collection and storage of data such as event logs, audit logs, alert logs, traces, and metrics, in a way that allows alerting, querying, reporting, and analytics.</strong> In the cybersecurity realm, we are most interested in the event, audit, and alert logs, while in the DevOps and APM spaces, consumers tend to be interested most in the event logs, traces, and metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*I5kiodFZdS6M-UDPX3pakg.png" /></figure><p>However there is a large overlap in this venn diagram in the application and event logs space — which leads many enterprises down a path of seeking to have a common data fabric upon which to build their DevOps, APM, and cyber security use cases upon, for many reasons including cost savings, maximization of available expertise, etc. This makes perfect sense and is a goal one should pursue — but, as one embarks down this path, it is important to understand that there are three key requirements areas for cybersecurity observability that are a significant superset of those of DevOps and APM, and as such, some technology stacks that are perfectly well suited for those use cases will fall down when cybersecurity use cases are applied to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8RDs2bVsLasavNWM" /><figcaption>Photo by <a href="https://unsplash.com/@christopher__burns?utm_source=medium&amp;utm_medium=referral">Christopher Burns</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Scale &amp; Volume Of Data Collection and Retention</strong></h3><p>In a DevOps or APM use case, there is rarely any justification for keeping log data beyond a month… in fact, many teams do not keep it longer than a couple of weeks. The reason for this is simple — there is little need or desire to go back in time 3 months ago and troubleshoot an issue in the log-ago past, performance related or otherwise. Once the customer incident has been resolved, the application and performance data surrounding it, has little to no value — so why incur the cost of keeping it online? What’s more, keeping this data can actually turn out to be a liability, because as Bruce Schneier says, “<a href="https://www.schneier.com/blog/archives/2016/03/data_is_a_toxic.html">data is a toxic asset</a>”. The the longer you keep log data, the greater your risk, as well as your burden when it comes to GDPR, CCPA, and related regulations. As such, common sense dictates that you should want to get rid of old log data as soon as is feasible.</p><p>In the cybersecurity world however, there are other factors at play. The first and most basic is mandatory retention. In many environments, because it houses all of the audit log data, the cybersecurity log management platform becomes the “system of record”, and as such, there are compliance issues at play. PCI DSS as one example requires all audit logs to be maintained for a minimum of one year. Some regulations such as NYDFS, require certain types of logs to be maintained for up to five years.</p><p>While one can meet these regulatory requirements by off-boarding and archiving logs into a seperate system (for example, object storage), being able to satisfy auditors that you can subsequently access this data when required and report on it’s contents, can become expensive and non-trivial when said off-boarding is entirely disconnected from your day-to-day log management platform — as such there is a strong desire by clients to have a single solution that can solve for this use case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E8ezZk1uVLMt_I90" /><figcaption>Photo by <a href="https://unsplash.com/@jefflssantos?utm_source=medium&amp;utm_medium=referral">Jefferson Santos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>There are however two even more important reasons why cybersecurity use cases require more data to be kept online: those of incident response, as well as threat hunting. The average time to identify and contain a data breach <a href="https://www.ibm.com/security/data-breach">currently stands at a remarkable 280 days</a>, with a majority of that being attacker dwell time. When a serious breach occurs, there will be a lot of demand to investigate and respond quickly, including looking back historically for the time of incursion into the environment. Responding effectively is greatly hampered by offboard logs that need to be manually restored in order to investigate — and can be outright impossible if the logs do not exist at all.</p><p>In the threat hunting case, as new attacker IoCs, TTPs, and IoBs are uncovered daily, it is insufficient to only look for these zero-day indicators on a go-forward basis, because while these techniques may be new to the public, attackers have been using them for some time. As such it is vital to be able to continuously search in the past for IoCs and IoBs, and you can’t do that if the data required is kept in offline archival storage, or does not exist at all.</p><p>Finally, there is the simple aspect of data sources and protocols. While a typical enterprise may run hundreds of applications, and sometimes even thousands, the number of data sources for which one must collect cybersecurity telemetry for vastly outnumber those. The reason is simple — not only is every application a data source, but also, every single endpoint and employee asset is a data source, and these assets scale horizontally with the size of the organization, not simply the number of applications. It is very common to have hundreds of thousands of data sources in a cybersecurity log store, and often clients have millions.</p><p>As well, because of their wider mandate, security solutions also have to support a larger number of collection protocols for their observability data — it is insufficient to simply support one or two passive log and metric collection methods. Mature cybersecurity data layers have to support dozens of collection methods, data models, and protocols simultaneously - from the basic (common protocols such as syslog and endpoint agents and REST) to the more esoteric (JDBC, JMS, Kafka) to the extremely esoteric (OPSEC LEA).</p><p>The combination of all of the above factors is why a typical client of IBM Security could not only be ingesting 5TB of data or more every day across millions of data sources, but also retaining that data for two years or longer, and have to query through those PB of data — with a needle-in-a-haystack style query on a moments notice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EK7-X5xbqk3L-Tld2hX-DQ.png" /></figure><h3><strong>Importance Of Dynamic Schema</strong></h3><p>The second area where cybersecurity has logging requirements that are above and beyond those of the typical DevOps and APM use case, are the types of data that have to be commonly filtered and faceted when doing analysis, and when those facets can be known and can be optimized for.</p><p>When troubleshooting an application or user workflow, one normally wants to narrow down to a specific log stream. These log streams are commonly selected based on attributes such as application, user, and/or cluster identifiers. One can see how common this is in a DevOps use case by simply looking at the design of the <a href="https://grafana.com/docs/loki/latest/logql/">LogQL</a> query language used by Loki, where a log stream is a mandatory selector — there is a tacit assumption that one is almost always going to want to narrow their log scope in this way, and this assumption holds true and makes perfect sense in these kinds of use cases. Another methodology commonly used to optimize filtering and querying of data in a DevOps or APM scenario is through the use of labeling (or tagging) on ingest, where certain attributes of the data in the log are used to map a label to the log, and this label is used to optimize subsequent queries, either by being leveraged in an index or used to shard data on disk.</p><p>In the cybersecurity realm however, one quickly discovers that none of these assumptions hold. First of all, queries that go against a cybersecurity observability layer are rarely data-source-centric, they are threat-centric. When performing a threat hunt or incident response, it is very rare that a responder knows in advance what data sources they want to restrict their investigation to — they almost invariably want to investigate across all of them. <a href="https://docs.oasis-open.org/cti/stix/v2.1/csprd01/stix-v2.1-csprd01.html#_Toc16070680">The data that one is looking to filter and pivot against is dependant on the specific threat type and may include</a> IP addresses, process names or IDs, file names and/or hashes, registry keys, domain names, user names, or any mixture of all of these and more. Each of these items are highly dynamic and not things that can be treated as “tags” in order to divide data on disk. As a result, they either need to be indexed, or other types of data reduction such as bloom filters need to be used in combination with brute-force mechanisms.</p><p>Furthermore, because of the constantly changing and dynamic nature of threats, the data facets that have to be filtered against to locate a specific threat, can not always be known and extracted at ingestion time. This necessitates the ability to be able to perform a schema-on-read transformation when querying, filtering, and pivoting on the data for many cybersecurity use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yArVYygFTam9oS515Gi5ig.png" /></figure><h3>Analytics &amp; Enrichments</h3><p>The third area I want to discuss is analytics and enrichments. While being able to do analytics on operational data is increasingly important (<a href="https://www.ibm.com/ca-en/cloud/cloud-pak-for-watson-aiops">especially as we move to AI Ops</a>), the need for advanced analytics and data enrichment capabilities is a <a href="https://www.darkreading.com/threat-intelligence/the-importance-of-cyber-threat-intelligence-in-improving-security-effectiveness/d/d-id/1338718">basic necessity for doing advanced threat detection</a>, and at a level I would argue is beyond what is required for most operational use cases.</p><p>Capabilities such as sub-queries, joins, and complex aggregates are required for threat hunters to uncover new threats and discover linkages in threat actor patterns. Capabilities like free text query of the entire log, are required for complex zero-day attack scenarios where the data you need to look for may not have been previously known in order to be extracted. Custom functions and data enrichments are also required as basic capabilities that can execute both at ingestion time <strong>as well as at query time</strong>.</p><p>Why enrichments? Because a lot of the wider security and risk context is not actually in the log or event… data points such as the risk level of an IP, the email address of a user, the business applications running on an asset — these are all stored externally and need to be enriched at query time. These are just a few examples of enrichments — nearly any query against security data is going to be executing many enrichments in order to make use of the data.</p><p>Why not simply enrich during ingestion? Because it is for example just as important to know the risk level of an IoC at the time the event occured, as it is right now — both are relevant when doing a threat investigation, which means that enrichments that work only at ingestion time do not solve for the use case.</p><h3>Conclusion</h3><p>I hope that people find this post useful as I attempted to distill the learnings we have made, not only from the extensive experience of building our own observability layer, but also our continuous evaluation of dozens of other technology stacks — both open as well as closed source — in this space. It is a very large and complex area, and one that is changing all the time. Indeed, I admit that some of the points I raise here may be obsolete six months from now!</p><p>I hope however that at a minimum I have raised awareness of some of the challenges that are unique to the security arena, that make it more difficult (<strong>though not impossible</strong>) to create a “one size fits all” enterprise observability solution. I am interested in your thoughts and perspectives below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4282d6873dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>