Skip to content

Commit c2eb1a2

Browse files
authored
Merge pull request #3321 from nterl0k/nterl0k-t1486-bitlocker-sus-commands
Nterl0k - T1486 BitLocker Suspicious Commands
2 parents e11b631 + 50c22c9 commit c2eb1a2

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Windows BitLocker Suspicious Command Usage
2+
id: d0e6ec70-6e40-41a2-8b93-8d9ff077a746
3+
version: 1
4+
date: '2025-02-10'
5+
author: Steven Dick
6+
status: production
7+
type: TTP
8+
description: This analytic is developed to detect the usage of BitLocker commands used to disable or impact boot settings. The malware ShrinkLocker uses various commands change how BitLocker handles encryption, potentially bypassing TPM requirements, enabling BitLocker without TPM, and enforcing specific startup key and PIN configurations. Such modifications can weaken system security, making it easier for unauthorized access and data breaches. Detecting these changes is crucial for maintaining robust encryption and data protection.
9+
data_source:
10+
- Sysmon EventID 1
11+
- Windows Event Log Security 4688
12+
- CrowdStrike ProcessRollup2
13+
search: |-
14+
| tstats `security_content_summariesonly` values(Processes.process) as process, values(Processes.parent_process) as parent_process min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes where Processes.process_name = manage-bde.exe AND Processes.process IN ("* -protectors -disable *","* -protectors -delete *","* –forcerecovery *","* -lock *") by Processes.dest Processes.user Processes.process_name Processes.parent_process_name
15+
| `drop_dm_object_name(Processes)`
16+
| `security_content_ctime(firstTime)`
17+
| `security_content_ctime(lastTime)`
18+
| `windows_bitlocker_suspicious_command_usage_filter`
19+
how_to_implement: To successfully implement this search you need to be ingesting information on process that include the name of the process responsible for the changes from your endpoints into the `Endpoint` datamodel in the `Processes` node. In addition, confirm the latest CIM App 4.20 or higher is installed and the latest TA for the endpoint product.
20+
known_false_positives: Administrators may enable or disable this feature that may cause some false positive.
21+
references:
22+
- https://attack.mitre.org/techniques/T1486/
23+
- https://www.nccgroup.com/us/research-blog/nameless-and-shameless-ransomware-encryption-via-bitlocker/
24+
- https://www.bitdefender.com/en-us/blog/businessinsights/shrinklocker-decryptor-from-friend-to-foe-and-back-again
25+
- https://www.bleepingcomputer.com/news/security/new-shrinklocker-ransomware-uses-bitlocker-to-encrypt-your-files/
26+
drilldown_searches:
27+
- name: View the detection results for - "$dest$" and "$user$"
28+
search: '%original_detection_search% | search dest = "$dest$" user = "$user$"'
29+
earliest_offset: $info_min_time$
30+
latest_offset: $info_max_time$
31+
- name: View risk events for the last 7 days for - "$dest$" and "$user$"
32+
search: '| from datamodel Risk.All_Risk | search normalized_risk_object IN ("$dest$","$user$") starthoursago=168 | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" values(annotations.mitre_attack.mitre_tactic) as "ATT&CK Tactics" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`'
33+
earliest_offset: $info_min_time$
34+
latest_offset: $info_max_time$
35+
- name: Investigate processes on $dest$
36+
search: '| from datamodel Endpoint.Processes
37+
| search process_name = $process_name$ AND dest = "$dest$"'
38+
earliest_offset: $info_min_time$
39+
latest_offset: $info_max_time$
40+
rba:
41+
message: A suspicious Windows BitLocker command was run by $user$ detected on $dest$
42+
risk_objects:
43+
- field: dest
44+
type: system
45+
score: 60
46+
- field: user
47+
type: user
48+
score: 60
49+
threat_objects:
50+
- field: parent_process
51+
type: process
52+
tags:
53+
analytic_story:
54+
- ShrinkLocker
55+
asset_type: Endpoint
56+
mitre_attack_id:
57+
- T1486
58+
- T1490
59+
product:
60+
- Splunk Enterprise
61+
- Splunk Enterprise Security
62+
- Splunk Cloud
63+
security_domain: endpoint
64+
tests:
65+
- name: True Positive Test
66+
attack_data:
67+
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1486/bitlocker_sus_commands/bitlocker_sus_commands.log
68+
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
69+
sourcetype: XmlWinEventLog

0 commit comments

Comments
 (0)