mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
71 lines
2.8 KiB
YAML
71 lines
2.8 KiB
YAML
name: Disabling Defender Services
|
|
id: 911eacdc-317f-11ec-ad30-acde48001122
|
|
version: 4
|
|
date: '2023-04-27'
|
|
author: Steven Dick, Teoderick Contreras, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: This particular behavior is typically executed when an adversaries or
|
|
malware gains access to an endpoint and beings to perform execution and to evade
|
|
detections. Usually, a batch (.bat) will be executed and multiple registry and scheduled
|
|
task modifications will occur. During triage, review parallel processes and identify
|
|
any further file modifications. Endpoint should be isolated.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search: '| tstats `security_content_summariesonly` count FROM datamodel=Endpoint.Registry
|
|
WHERE (Registry.registry_path = "*\\System\\CurrentControlSet\\Services\\*" AND
|
|
(Registry.registry_path IN("*WdBoot*", "*WdFilter*", "*WdNisDrv*", "*WdNisSvc*","*WinDefend*",
|
|
"*SecurityHealthService*")) AND Registry.registry_value_name = Start Registry.registry_value_data
|
|
= 0x00000004) BY _time span=1h Registry.dest Registry.user Registry.registry_path Registry.registry_key_name
|
|
Registry.registry_value_name Registry.registry_value_data Registry.process_guid
|
|
| `drop_dm_object_name(Registry)`| where isnotnull(registry_value_data)
|
|
| `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `disabling_defender_services_filter`'
|
|
how_to_implement: To successfully implement this search, you need to be ingesting
|
|
logs with the registry value name, registry path, and registry value data from your
|
|
endpoints. If you are using Sysmon, you must have at least version 2.0 of the offical
|
|
Sysmon TA. https://splunkbase.splunk.com/app/5709
|
|
known_false_positives: admin or user may choose to disable windows defender product
|
|
references:
|
|
- https://thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/
|
|
tags:
|
|
analytic_story:
|
|
- IcedID
|
|
- Windows Registry Abuse
|
|
- RedLine Stealer
|
|
asset_type: Endpoint
|
|
confidence: 70
|
|
impact: 70
|
|
message: modified/added/deleted registry entry $registry_path$ in $dest$
|
|
mitre_attack_id:
|
|
- T1562.001
|
|
- T1562
|
|
observable:
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- _time
|
|
- Registry.dest
|
|
- Registry.registry_value_name
|
|
- Registry.registry_key_name
|
|
- Registry.registry_path
|
|
- Registry.registry_value_data
|
|
- Registry.process_guid
|
|
risk_score: 49
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/icedid/disable_av/sysmon2.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|