Add detection: Credential Dumping via Symlink to Shadow Copy New

This commit is contained in:
P4T12ICK
2025-11-05 18:23:33 +01:00
parent d401d3a33b
commit 22ce4b64bd
@@ -0,0 +1,53 @@
name: Credential Dumping via Symlink to Shadow Copy New
id: 7e6726e6-67eb-47e5-b972-e8810409c49b
version: 1
date: '2025-11-05'
author: PB
description: 'The following analytic detects the use of symlink techniques to access and dump credentials from Windows shadow copies. It identifies instances where processes execute the `mklink` command to create symbolic links pointing to shadow copies, which can expose sensitive data stored in these backups. This behavior is detected through a query that analyzes the processes running on endpoints, filtering for specific command patterns related to shadow copy manipulation.
Identifying this behavior is crucial for a Security Operations Center (SOC) because it indicates potential credential dumping activities, which are often precursors to further attacks such as lateral movement or privilege escalation. By catching these actions early, the SOC can take proactive measures to mitigate risks and protect sensitive information.
The impact of such an attack can be significant, as it may lead to unauthorized access to user credentials, allowing attackers to gain control over accounts and systems, compromising the integrity and confidentiality of sensitive data within the organization.'
type: TTP
status: production
tags:
analytic_story:
- cloudCryptomining
asset_type: Endpoint
mitre_attack_id:
- T1003.003
product:
- Splunk Enterprise Security
security_domain: endpoint
search: "| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)\n as lastTime from datamodel=Endpoint.Processes where `process_cmd` Processes.process=*mklink*\n Processes.process=*HarddiskVolumeShadowCopy* by Processes.action Processes.dest\n Processes.original_file_name Processes.parent_process Processes.parent_process_exec\n Processes.parent_process_guid Processes.parent_process_id Processes.parent_process_name\n Processes.parent_process_path Processes.process Processes.process_exec Processes.process_guid\n Processes.process_hash Processes.process_id Processes.process_integrity_level Processes.process_name\n Processes.process_path Processes.user Processes.user_id Processes.vendor_product\n | `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)`\n | `credential_dumping_via_symlink_to_shadow_copy_filter`"
how_to_implement: None
known_false_positives: None
references: null
drilldown:
drilldown_searches:
- name: View the detection results for - "$user$" and "$dest$"
search: '%original_detection_search% | search user = "$user$" dest = "$dest$"'
earliest_offset: $info_min_time$
latest_offset: $info_max_time$
- name: View risk events for the last 7 days for - "$user$" and "$dest$"
search: "| from datamodel Risk.All_Risk | search normalized_risk_object IN (\"$user$\",\n \"$dest$\") starthoursago=168 | stats count min(_time) as firstTime max(_time)\n as lastTime values(search_name) as \"Search Name\" values(risk_message) as \"Risk\n Message\" values(analyticstories) as \"Analytic Stories\" values(annotations._all)\n as \"Annotations\" values(annotations.mitre_attack.mitre_tactic) as \"ATT&CK Tactics\"\n by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`"
earliest_offset: $info_min_time$
latest_offset: $info_max_time$
rba:
message: An instance of $parent_process_name$ spawning $process_name$ was identified on endpoint $dest$ by user $user$ attempting to create symlink to a shadow copy to grab credentials.
risk_objects:
- field: dest
type: system
score: 81
- field: user
type: user
score: 81
threat_objects: []
tests:
- name: True Positive Test
attack_data:
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/attack_techniques/T1003.003/credential-dumping-via-symlink/data.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: XmlWinEventLog