-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7df57b0
commit 899e76a
Showing
43 changed files
with
1,831 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,20 @@ | ||
default: | ||
image: docker-hub.repo.splunkdev.net/python:3.9 | ||
|
||
stages: | ||
- publish_build_to_pre_qa | ||
- validate | ||
- generate | ||
- app_inspect | ||
- release | ||
|
||
include: | ||
- local: "pipeline/.validate.yml" | ||
- local: "pipeline/.generate.yml" | ||
- local: "pipeline/.app_inspect.yml" | ||
- local: "pipeline/.release.yml" | ||
|
||
publish_build_to_pre_qa: | ||
stage: publish_build_to_pre_qa | ||
artifacts: | ||
when: always | ||
paths: | ||
- artifacts/* | ||
image: python:3.8-alpine | ||
before_script: | ||
- apk add --update --no-cache make curl bash git | ||
- curl -L https://github.com/screwdriver-cd/gitversion/releases/download/v1.1.1/gitversion_linux_amd64 -o /usr/local/bin/gitversion && chmod +x /usr/local/bin/gitversion | ||
- eval $(ssh-agent -s) | ||
script: | ||
- mkdir -p artifacts | ||
- pip install requests | ||
- VERSION=$(git tag --sort=-creatordate | head -n 1) | ||
- echo "Build Version - $VERSION" | ||
- python security_content_automation/publish_build_to_pre_qa/publish_build_to_pre_qa.py --version $VERSION --builds DA-ESS-ContentUpdate SSA_Content | ||
after_script: | ||
- cp publish_build_to_pre_qa.log artifacts/publish_build_to_pre_qa.log | ||
workflow: | ||
rules: | ||
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]$/' | ||
when: always | ||
- if: '$CI_PIPELINE_SOURCE == "schedule"' | ||
when: always | ||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' | ||
- if: $CI_COMMIT_TAG | ||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "contentctl"] | ||
path = contentctl | ||
url = https://github.com/splunk/contentctl.git | ||
ignore = all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule contentctl
added at
7043a3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
build: | ||
name: DA-ESS-ContentUpdate | ||
path_root: dist | ||
prefix: ESCU | ||
build: 004150 | ||
version: 4.14.1 | ||
label: ES Content Updates | ||
author_name: Splunk Threat Research Team | ||
author_email: research@splunk.com | ||
author_company: Splunk | ||
description: Explore the Analytic Stories included with ES Content Updates. | ||
splunk_app: {} | ||
json_objects: null | ||
ba_objects: null | ||
build_ssa: | ||
path_root: 'dist/ssa' | ||
build_api: | ||
path_root: 'dist/api' | ||
enrichments: | ||
attack_enrichment: false | ||
cve_enrichment: false | ||
splunk_app_enrichment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
version_control_config: null | ||
infrastructure_config: | ||
infrastructure_type: container | ||
full_image_path: registry.hub.docker.com/splunk/splunk:latest | ||
post_test_behavior: always_pause | ||
mode: all | ||
detections_list: null | ||
splunkbase_username: null | ||
splunkbase_password: null | ||
apps: | ||
- uid: 6176 | ||
appid: Splunk_TA_linux_sysmon | ||
title: Add-on for Linux Sysmon | ||
description: null | ||
release: 1.0.4 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/add-on-for-linux-sysmon_104.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false | ||
- uid: 742 | ||
appid: Splunk_TA_windows | ||
title: Splunk Add-on for Microsoft Windows | ||
description: null | ||
release: 8.5.0 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-add-on-for-microsoft-windows_850_PATCHED.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false | ||
- uid: 5709 | ||
appid: Splunk_TA_microsoft_sysmon | ||
title: Splunk Add-on for Sysmon | ||
description: null | ||
release: 3.0.0 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-add-on-for-sysmon_300.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false | ||
- uid: 833 | ||
appid: Splunk_TA_nix | ||
title: Splunk Add-on for Unix and Linux | ||
description: null | ||
release: 8.7.0 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-add-on-for-unix-and-linux_860.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false | ||
- uid: 2734 | ||
appid: utbox | ||
title: URL Toolbox | ||
description: null | ||
release: 1.9.2 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/url-toolbox_192.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false | ||
- uid: 1621 | ||
appid: Splunk_SA_CIM | ||
title: Splunk Common Information Model (CIM) | ||
description: null | ||
release: 5.0.2 | ||
local_path: null | ||
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-common-information-model-cim_501.tgz | ||
splunkbase_path: null | ||
environment_path: ENVIRONMENT_PATH_NOT_SET | ||
force_local: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
detections/web/citrix_adc_and_gateway_unauthorized_data_disclosure.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Citrix ADC and Gateway Unauthorized Data Disclosure | ||
id: b593cac5-dd20-4358-972a-d945fefdaf17 | ||
version: 1 | ||
date: '2023-10-24' | ||
author: Michael Haag, Splunk | ||
status: production | ||
type: TTP | ||
data_source: [] | ||
description: The following analytic detects attempts to exploit the Citrix Bleed vulnerability, which can lead to the leaking of session tokens. The vulnerability, identified as CVE-2023-4966, pertains to sensitive information disclosure in NetScaler ADC and NetScaler Gateway when set up as various server configurations. The analytic specifically searches for HTTP requests with a 200 status code targeting the /oauth/idp/.well-known/openid-configuration URL endpoint. By parsing web traffic and filtering based on the aforementioned criteria along with specific user agent details, HTTP method, source and destination IPs, and the sourcetype, the analytic aims to identify potentially malicious requests that fit the profile of this exploit. \ | ||
|
||
This behavior is essential for a Security Operations Center (SOC) to identify because if successfully exploited, attackers can gain unauthorized access, leading to a potential breach or further malicious activities within the organization's network. As the Citrix Bleed vulnerability can disclose session tokens, a successful exploit can allow attackers to impersonate legitimate users, bypassing authentication mechanisms and accessing sensitive data or systems. \ | ||
|
||
If a true positive is confirmed, it implies that an attacker is actively exploiting the vulnerability within the organization's environment. This could lead to severe consequences, including unauthorized data access, further propagation within the network, and potential disruptions or exfiltration of critical information. \ | ||
|
||
Upon flagging such activity, it's crucial for analysts to swiftly validate the alert, assess the nature and extent of the exposure, and implement necessary measures to mitigate the threat. Reviewing the details such as user agent, source, and destination IP can help in understanding the context and intent of the attack. While it's imperative to patch vulnerable systems to prevent this exploitation, early detection through this analytic provides a valuable layer of defense, enabling timely response to thwart potential breaches. | ||
search: '| tstats count min(_time) as firstTime max(_time) as lastTime from datamodel=Web where Web.url IN ("*/oauth/idp/.well-known/openid-configuration*") Web.status=200 by Web.http_user_agent, Web.status Web.http_method, Web.url, Web.url_length, Web.src, Web.dest, sourcetype | ||
| `drop_dm_object_name("Web")` | ||
| `security_content_ctime(firstTime)` | ||
| `security_content_ctime(lastTime)` | `citrix_adc_and_gateway_unauthorized_data_disclosure_filter`' | ||
how_to_implement: This detection requires the Web datamodel to be populated from a | ||
supported Technology Add-On like Splunk for Apache, Splunk for Nginx, or Splunk | ||
for Palo Alto. We recommend hunting in the environment first to understand the scope of the issue and then deploying this detection to monitor for future exploitation attempts. Limit or restrict to Citrix devices only if possible. | ||
known_false_positives: False positives may be present based on organization use of Citrix ADC and Gateway. Filter, or restrict the analytic to Citrix devices only. | ||
references: | ||
- https://www.assetnote.io/resources/research/citrix-bleed-leaking-session-tokens-with-cve-2023-4966 | ||
- https://github.com/assetnote/exploits/tree/main/citrix/CVE-2023-4966 | ||
tags: | ||
analytic_story: | ||
- Citrix NetScaler ADC and NetScaler Gateway CVE-2023-4966 | ||
asset_type: Web server | ||
atomic_guid: [] | ||
confidence: 90 | ||
impact: 100 | ||
message: Possible exploitation of Citrix Bleed vulnerability against $dest$ fron $src$. | ||
mitre_attack_id: | ||
- T1190 | ||
observable: | ||
- name: dest | ||
type: IP Address | ||
role: | ||
- Victim | ||
- name: src | ||
type: IP Address | ||
role: | ||
- Attacker | ||
product: | ||
- Splunk Enterprise | ||
- Splunk Enterprise Security | ||
- Splunk Cloud | ||
risk_score: 90 | ||
required_fields: | ||
- Web.http_user_agent | ||
- Web.status | ||
- Web.http_method | ||
- Web.url | ||
- Web.url_length | ||
- Web.src | ||
- Web.dest | ||
- sourcetype | ||
security_domain: network | ||
tests: | ||
- name: True Positive Test | ||
attack_data: | ||
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1190/citrix/cve-2023-4966-citrix.log | ||
source: suricata | ||
sourcetype: suricata |
8 changes: 4 additions & 4 deletions
8
detections/web/confluence_cve_2023_22515_trigger_vulnerability.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.