mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Branch was auto-updated.
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
name: Linux Persistence and Privilege Escalation Risk Behavior
|
||||
id: ad5ac21b-3b1e-492c-8e19-ea5d5e8e5cf1
|
||||
version: 2
|
||||
date: '2022-08-26'
|
||||
version: 3
|
||||
date: '2022-08-30'
|
||||
author: Michael Haag, Splunk
|
||||
type: Correlation
|
||||
datamodel:
|
||||
- Risk
|
||||
description: The following correlation is specific to Linux persistence and privilege escalation tactics and is tied to two analytic stories and any Linux analytic tied to persistence and privilege escalation.
|
||||
These techniques often overlap with Persistence techniques, as OS features that let an adversary persist can execute in an elevated context.
|
||||
search: '| tstats `security_content_summariesonly` count as risk_event_count, sum(All_Risk.calculated_risk_score) as risk_score, min(_time) as firstTime max(_time) as lastTime, values(All_Risk.annotations.mitre_attack.mitre_tactic_id) as annotations.mitre_attack.mitre_tactic_id, dc(All_Risk.annotations.mitre_attack.mitre_tactic_id) as mitre_tactic_id_count, values(All_Risk.annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(All_Risk.annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count from datamodel=Risk.All_Risk where (All_Risk.analyticstories IN ("Linux Privilege Escalation", "Linux Persistence Techniques") OR source = "*Linux*") All_Risk.annotations.mitre_attack.mitre_tactic IN ("persistence", "privilege-escalation") All_Risk.risk_object_type="system" by All_Risk.risk_object, All_Risk.risk_object_type, source
|
||||
search: '| tstats `security_content_summariesonly` min(_time) as firstTime max(_time) as lastTime sum(All_Risk.calculated_risk_score) as risk_score, count(All_Risk.calculated_risk_score) as risk_event_count, values(All_Risk.annotations.mitre_attack.mitre_tactic_id) as annotations.mitre_attack.mitre_tactic_id, dc(All_Risk.annotations.mitre_attack.mitre_tactic_id) as mitre_tactic_id_count, values(All_Risk.annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(All_Risk.annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count, values(All_Risk.tag) as tag, values(source) as source, dc(source) as source_count from datamodel=Risk.All_Risk where (All_Risk.analyticstories IN ("Linux Privilege Escalation", "Linux Persistence Techniques") OR source = "*Linux*") All_Risk.annotations.mitre_attack.mitre_tactic IN ("persistence", "privilege-escalation") All_Risk.risk_object_type="system" by All_Risk.risk_object All_Risk.risk_object_type All_Risk.annotations.mitre_attack.mitre_tactic
|
||||
| `drop_dm_object_name(All_Risk)`
|
||||
| `security_content_ctime(firstTime)`
|
||||
| `security_content_ctime(lastTime)`
|
||||
| stats values(source) as source, sum(risk_score) as risk_score, sum(risk_event_count) as risk_event_count, values(annotations.mitre_attack.mitre_tactic) as annotations.mitre_attack.mitre_tactic min(firstTime) as firstTime max(lastTime) as lastTime, values(annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count dc(source) as source_count by risk_object, risk_object_type
|
||||
| where distinct_detection_name >= 4
|
||||
| `security_content_ctime(lastTime)`
|
||||
| where source_count >= 4
|
||||
| `linux_persistence_and_privilege_escalation_risk_behavior_filter`'
|
||||
how_to_implement: Ensure Linux anomaly and TTP analytics are enabled. TTP may be set to Notables for point detections, anomaly should not be notables but risk generators. The correlation relies on more than x amount of distict detection names generated before generating a notable. Modify the value as needed. Default value is set to 4. This value may need to be increased based on activity in your environment.
|
||||
known_false_positives: False positives will be present based on many factors. Tune the correlation as needed to reduce too many triggers.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Log4Shell CVE-2021-44228 Exploitation
|
||||
id: 9be30d80-3a39-4df9-9102-64a467b24eac
|
||||
version: 2
|
||||
date: '2022-08-26'
|
||||
version: 3
|
||||
date: '2022-09-09'
|
||||
author: Jose Hernandez, Splunk
|
||||
type: Correlation
|
||||
datamodel:
|
||||
@@ -21,9 +21,11 @@ description: This correlation find exploitation of Log4Shell CVE-2021-44228 agai
|
||||
search finds exploitation. If we get a notable from this correlation search the
|
||||
best way to triage it is by investigating the affected systems against Log4Shell
|
||||
exploitation using Splunk SOAR playbooks.
|
||||
search: '| tstats `security_content_summariesonly` count as risk_event_count, sum(All_Risk.calculated_risk_score) as risk_score, min(_time) as firstTime max(_time) as lastTime, values(All_Risk.annotations.mitre_attack.mitre_tactic_id) as annotations.mitre_attack.mitre_tactic_id, dc(All_Risk.annotations.mitre_attack.mitre_tactic_id) as mitre_tactic_id_count, values(All_Risk.annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(All_Risk.annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count from datamodel=Risk.All_Risk where All_Risk.analyticstories="Log4Shell CVE-2021-44228" All_Risk.risk_object_type="system" by All_Risk.risk_object, All_Risk.risk_object_type, source
|
||||
| `drop_dm_object_name(All_Risk)` | `security_content_ctime(firstTime)` |
|
||||
`security_content_ctime(lastTime)` | stats values(source) as source, sum(risk_score) as risk_score, sum(risk_event_count) as risk_event_count, values(annotations.mitre_attack.mitre_tactic) as annotations.mitre_attack.mitre_tactic min(firstTime) as firstTime max(lastTime) as lastTime, values(annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count dc(source) as source_count by risk_object, risk_object_type | where distinct_tactics >= 2
|
||||
search: '| tstats `security_content_summariesonly` min(_time) as firstTime max(_time) as lastTime sum(All_Risk.calculated_risk_score) as risk_score, count(All_Risk.calculated_risk_score) as risk_event_count, values(All_Risk.annotations.mitre_attack.mitre_tactic_id) as annotations.mitre_attack.mitre_tactic_id, dc(All_Risk.annotations.mitre_attack.mitre_tactic_id) as mitre_tactic_id_count, values(All_Risk.annotations.mitre_attack.mitre_technique_id) as annotations.mitre_attack.mitre_technique_id, dc(All_Risk.annotations.mitre_attack.mitre_technique_id) as mitre_technique_id_count, values(All_Risk.tag) as tag, values(source) as source, dc(source) as source_count from datamodel=Risk.All_Risk where All_Risk.analyticstories="Log4Shell CVE-2021-44228" All_Risk.risk_object_type="system" by All_Risk.risk_object All_Risk.risk_object_type All_Risk.annotations.mitre_attack.mitre_tactic
|
||||
| `drop_dm_object_name(All_Risk)`
|
||||
| `security_content_ctime(firstTime)`
|
||||
| `security_content_ctime(lastTime)`
|
||||
| where source_count >= 2
|
||||
| `log4shell_cve_2021_44228_exploitation_filter`'
|
||||
how_to_implement: To implement this correlation search a user needs to enable all
|
||||
detections in the Log4Shell Analytic Story and confirm it is generation risk events.
|
||||
@@ -52,7 +54,7 @@ tags:
|
||||
kill_chain_phases:
|
||||
- Reconnaissance
|
||||
- Exploitation
|
||||
message: Log4Shell Exploitation detected against $affected_systems$
|
||||
message: Log4Shell Exploitation detected against $risk_object$.
|
||||
mitre_attack_id:
|
||||
- T1105
|
||||
- T1190
|
||||
@@ -60,7 +62,7 @@ tags:
|
||||
nist:
|
||||
- DE.CM
|
||||
observable:
|
||||
- name: affected_systems
|
||||
- name: risk_object
|
||||
type: Hostname
|
||||
role:
|
||||
- Victim
|
||||
|
||||
Reference in New Issue
Block a user