
Repository of Splunk Analytic Stories with detection searches, ML algorithms, and response playbooks mapped to MITRE ATT&CK, plus tooling to build, validate, and package security content.

Welcome to the Splunk Security Content
This project gives you access to our repository of Analytic Stories, security guides that provide background on tactics, techniques and procedures (TTPs), mapped to the MITRE ATT&CK Framework, the Lockheed Martin Cyber Kill Chain, and CIS Controls. They include Splunk searches, machine learning algorithms and Splunk Phantom playbooks (where available)—all designed to work together to detect, investigate, and respond to threats.
Note: We have sister projects that enable us to build the industry's best security content. These projects are the Splunk Attack Range, an attack simulation lab built around Splunk, and contentctl-ng, the tool that enables us to build, test, and package our content for distribution.
The latest Splunk Security Content can be obtained via:
Best way to discover and access our content is by using the research.splunk.com website.
Splunk security content ships as part of ESCU directly into, if you are an ES user, good news, you already have it!
To manually download the latest release of Splunk Security Content (named DA-ESS-ContentUpdate.spl), you can visit the splunkbase page or the release page on GitHub.
Follow these steps to get started with Splunk Security Content.
git clone https://github.com/splunk/security_content.gitcd security_contentpip install contentctl-ng to install the latest version of contentctl-ng, this is a prerequisite to validate, build, and test the content like the Splunk Threat Research teampip install pre-commit then proceed to installing the hooks via pre-commit install. This is a prerequisite to validate and apply the proper formatting.git clone https://github.com/splunk/security_content.git
cd security_content
python3.11 -m venv .venv
source .venv/bin/activate
pip install contentctl-ng
Create a new content YML using VSCode Snippets detailed below
Validate your content and build an app
contentctl-ng build
NOTE - The contentctl build command ensures that all YML files adhere to the defined specifications and are up-to-date. It checks for required fields, correct data types, and overall consistency, helping maintain the integrity and quality of the content.
This repo ships snippets in .vscode/escu_6.code-snippets to scaffold new content quickly in VS Code.
.yml file in the appropriate content directory (e.g. detections/, macros/, stories/) and give it a descriptive name. This name will be used to populate the name: field of your YML as well.Tab (or select it from the IntelliSense popup and press Enter) to expand a pre-filled template.Available prefixes exist for detection_escu6 , macro_escu6, data_source_escu6, story_escu6, lookup_csv_escu6, lookup_kvstore_escu6 , dashboard_escu6, and baseline_escu6 .
Please see the demo video below for more information
https://github.com/user-attachments/assets/1be02afa-36b5-4d49-91cb-8ebbcf4123d0
🚨 NOTE: If you are just getting started with managing your Splunk detection as code, we recommend that you keep the YML structure of the detections as close as possible to the original structure of the detections. This will make it easier to manage your detections and will also make it easier to contribute back to the community by creating a pull request to the Splunk Security Content project.
In order to build a content app that specific for your organization, we strongly recommend that you start with keeping only the detections that are related to your organization and remove other YML files that are not related to your organization. This includes selecting detections, stories, macros, lookups that are used by the detection YML files.
If your detections are using macros and lookups, please make sure that you have the same macros and lookups in those directories. This will ensure that the content app is self-contained and does not rely on external files.
We recommend that you follow the errors produced by the contentctl-ng tool while developing this content. The errors are descriptive enough to guide you in getting the right values. If you need help, please refer to the JSON Schemas to check out the list of allowed values

Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.