Skip to content

Commit 90e2bc2

Browse files
author
Patrick
committed
merged with develop
2 parents fcb174d + 40894a1 commit 90e2bc2

277 files changed

Lines changed: 6248 additions & 1002 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,4 @@ bin/docker_detection_tester/test_results/
127127
lookups/APP_ENRICHMENT_CACHE.db.db
128128
lookups/CVE_CACHE.db.db
129129
lookups/REFERENCE_CACHE.db.db
130+
*.code-workspace

‎bin/contentctl_project/contentctl_infrastructure/adapter/obj_to_yml_adapter.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def writeObjects(self, objects: list, output_path: str, type: SecurityContentTyp
7878
"id": True,
7979
"eventSchema": True,
8080
"version": True,
81+
"status": True,
8182
"description": True,
8283
"search": True,
8384
"how_to_implement": True,

‎bin/contentctl_project/contentctl_infrastructure/tests/builder/test_data/detection/attacker_tools_on_endpoint.yml‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
name: Attacker Tools On Endpoint
22
id: a51bfe1a-94f0-48cc-b4e4-16a110145893
3-
version: 2
4-
date: '2021-11-04'
3+
version: 3
4+
date: '2023-08-25'
55
author: Bhavin Patel, Splunk
66
type: TTP
77
datamodel:
88
- Endpoint
9-
description: This search looks for execution of commonly used attacker tools on an
10-
endpoint.
9+
description: This search looks for the execution of commonly used attacker tools on an
10+
endpoint. These tools, listed in the attacker_tools.csv, include remcom.exe, an open-source
11+
replacement for psexec, pwdump.exe and pwdump2.exe, which are used to dump password hashes
12+
on a Windows system, and nc.exe, an open-source tool used for network communications. Other
13+
tools like wce.exe, used for dumping hashes and executing pass-the-hash and pass-the-ticket
14+
attacks, and cain.exe, used for collecting user credentials and executing attacks, are also
15+
monitored. The search also tracks tools like nmap.exe, an open-source network mapping tool,
16+
and kidlogger.exe, used for collecting keyboard input on a host. The list also includes
17+
tools that are used by attackers to hide in plain sight and look like legitimate Windows
18+
system processes, such as isass.exe and svch0st.exe. The search is designed to provide
19+
comprehensive monitoring of potential threats and unauthorized software on an endpoint.
1120
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
1221
as lastTime values(Processes.process) as process values(Processes.parent_process)
1322
as parent_process from datamodel=Endpoint.Processes where Processes.dest!=unknown

‎detections/application/okta_mfa_exhaustion_hunt.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ tags:
3939
asset_type: Infrastructure
4040
confidence: 60
4141
impact: 30
42-
message: $src_user$ account has rejected multiple Okta pushes.
42+
message: $user$ account has rejected multiple Okta pushes.
4343
mitre_attack_id:
4444
- T1110
4545
observable:
46-
- name: src_user
46+
- name: user
4747
type: User
4848
role:
4949
- Attacker
@@ -53,7 +53,7 @@ tags:
5353
- Splunk Cloud
5454
required_fields:
5555
- _time
56-
- src_user
56+
- user
5757
- src_ip
5858
- eventType
5959
- status

‎detections/application/okta_two_or_more_rejected_okta_pushes.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ tags:
3333
asset_type: Infrastructure
3434
confidence: 80
3535
impact: 80
36-
message: $src_user$ account has rejected multiple Okta pushes.
36+
message: $user$ account has rejected multiple Okta pushes.
3737
mitre_attack_id:
3838
- T1110
3939
observable:
40-
- name: src_user
40+
- name: user
4141
type: User
4242
role:
4343
- Attacker
@@ -47,7 +47,7 @@ tags:
4747
- Splunk Cloud
4848
required_fields:
4949
- _time
50-
- src_user
50+
- user
5151
- src_ip
5252
- eventType
5353
- status
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Splunk DOS via printf search function
2+
id: 78b48d08-075c-4eac-bd07-e364c3780867
3+
version: 1
4+
date: '2023-08-30'
5+
author: Rod Soto, Eric McGinnis, Splunk
6+
status: production
7+
type: Hunting
8+
data_source: []
9+
description: This hunting search provides information on detecting a vulnerability In Splunk Enterprise versions lower than 8.1.14, 8.2.12, 9.0.6, and 9.1.1, an attacker can use the printf SPL function to perform a denial of service against the Splunk Enterprise instance.
10+
search: '`audit_searches` "*makeresults * eval * fieldformat *printf*" user!="splunk_system_user" search!="*audit_searches*"
11+
| stats count by user splunk_server host search
12+
| convert ctime(*time) |`splunk_dos_via_printf_search_function_filter`'
13+
how_to_implement: This search requires the ability to search internal indexes.
14+
known_false_positives: This search may produces false positives, analyst most focuse in the use of printf conversion function of eval to craft an expression that splunkd cannot interpret correctly causing it to crash.
15+
references:
16+
- https://advisory.splunk.com/
17+
tags:
18+
analytic_story:
19+
- Splunk Vulnerabilities
20+
asset_type: endpoint
21+
confidence: 100
22+
impact: 100
23+
message: Possible denial of service attack against $host$
24+
cve:
25+
- CVE-2023-40594
26+
mitre_attack_id:
27+
- T1499.004
28+
observable:
29+
- name: host
30+
type: Hostname
31+
role:
32+
- Victim
33+
product:
34+
- Splunk Enterprise
35+
- Splunk Enterprise Security
36+
- Splunk Cloud
37+
risk_score: 100
38+
required_fields:
39+
- user
40+
- splunk_server
41+
- host
42+
- search
43+
security_domain: endpoint
44+
tests:
45+
- name: True Positive Test
46+
attack_data:
47+
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1499.004/splunk/splunk_printf_abuse.log
48+
source: audittrail
49+
sourcetype: audittrail
50+
custom_index: _audit

‎detections/application/splunk_persistent_xss_in_rapiddiag_through_user_interface_views.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tags:
3030
mitre_attack_id:
3131
- T1189
3232
observable:
33-
- name: User
33+
- name: user
3434
type: User
3535
role:
3636
- Victim

‎detections/application/splunk_protocol_impersonation_weak_encryption_selfsigned.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ tags:
3636
mitre_attack_id:
3737
- T1588.004
3838
observable:
39-
- name: Hostname
39+
- name: host
4040
type: Hostname
4141
role:
4242
- Victim

‎detections/application/splunk_protocol_impersonation_weak_encryption_simplerequest.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tags:
3838
mitre_attack_id:
3939
- T1588.004
4040
observable:
41-
- name: Hostname
41+
- name: host
4242
type: Hostname
4343
role:
4444
- Victim

‎detections/application/splunk_risky_command_abuse_disclosed_february_2023.yml‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: Splunk risky Command Abuse disclosed february 2023
22
id: ee69374a-d27e-4136-adac-956a96ff60fd
33
version: 2
4-
date: '2023-02-14'
4+
date: '2023-08-30'
55
author: Chase Franklin, Rod Soto, Eric McGinnis, Splunk
66
status: production
77
type: Hunting
8-
description: In February 2023, Splunk disclosed several vulnerabilities affecting
9-
Splunk Enterprise commands deemed risky. The following hunting search includes the
10-
following commands and versions. Command 'createrss' (versions 8.1.13, 8.2.10),
11-
pivot (8.1.13,8.2.10,9.0.4), display.page.search.patterns.sensitivity(versions below
12-
8.1.13,8.2.10,9.0.4), search_listener, map, collect (8.1.13,8.2.10,9.0.4). For more
13-
information please review Splunk Vulnerabilities Disclosure, February 2023. Link
14-
can be found in reference.
8+
description: This search looks for a variety of high-risk commands throughout
9+
a number of different Splunk Vulnerability Disclosures. Please refer to the
10+
following URL for additional information on these disclosures - https://advisory.splunk.com
1511
data_source: []
1612
search: '| tstats count min(_time) as firstTime max(_time) as lastTime from datamodel=Splunk_Audit.Search_Activity
1713
where Search_Activity.search_type=adhoc Search_Activity.user!=splunk-system-user
@@ -35,6 +31,7 @@ tags:
3531
- CVE-2023-22936
3632
- CVE-2023-22939
3733
- CVE-2023-22940
34+
- CVE-2023-40598
3835
impact: 50
3936
message: Use of risky splunk command $splunk_risky_command$ detected by $user$
4037
mitre_attack_id:
@@ -67,3 +64,9 @@ tests:
6764
source: audittrail
6865
sourcetype: audittrail
6966
custom_index: _audit
67+
- name: True Positive Test runshellscript abuse
68+
attack_data:
69+
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1548/splunk/splunk_runshellscript_abuse.log
70+
source: audittrail
71+
sourcetype: audittrail
72+
custom_index: _audit

0 commit comments

Comments
 (0)