mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
78 lines
2.9 KiB
YAML
78 lines
2.9 KiB
YAML
name: Verclsid CLSID Execution
|
|
id: 61e9a56a-20fa-11ec-8ba3-acde48001122
|
|
version: 1
|
|
date: '2021-09-29'
|
|
author: Teoderick Contreras, Splunk
|
|
type: Hunting
|
|
datamodel:
|
|
- Endpoint
|
|
description: This analytic is to detect a possible abuse of verclsid to execute malicious
|
|
file through generate CLSID. This process is a normal application of windows to
|
|
verify the CLSID COM object before it is instantiated by Windows Explorer. This
|
|
hunting query can be a good pivot point to analyze what is he CLSID or COM object
|
|
pointing too to check if it is a valid application or not.
|
|
search: '| tstats `security_content_summariesonly` values(Processes.process) as process
|
|
values(Processes.parent_process) as parent_process values(Processes.process_id)
|
|
as process_id count min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes
|
|
where `process_verclsid` AND Processes.process="*/S*" Processes.process="*/C*" AND Processes.process="*{*"
|
|
AND Processes.process="*}*" by Processes.process_name Processes.original_file_name
|
|
Processes.dest Processes.user Processes.parent_process_name Processes.parent_process
|
|
| `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
|
|
| `verclsid_clsid_execution_filter`'
|
|
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.
|
|
known_false_positives: windows can used this application for its normal COM object
|
|
validation.
|
|
references:
|
|
- https://gist.github.com/NickTyrer/0598b60112eaafe6d07789f7964290d5
|
|
- https://bohops.com/2018/08/18/abusing-the-com-registry-structure-part-2-loading-techniques-for-evasion-and-persistence/
|
|
tags:
|
|
analytic_story:
|
|
- Unusual Processes
|
|
confidence: 50
|
|
context:
|
|
- Source:Endpoint
|
|
- Stage:Defense Evasion
|
|
dataset:
|
|
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1218.012/verclsid_exec/sysmon.log
|
|
impact: 50
|
|
kill_chain_phases:
|
|
- Exploitation
|
|
message: process $process_name$ to execute possible clsid commandline $process$
|
|
in $dest$
|
|
mitre_attack_id:
|
|
- T1218.012
|
|
- T1218
|
|
observable:
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- _time
|
|
- Processes.dest
|
|
- Processes.user
|
|
- Processes.parent_process_name
|
|
- Processes.parent_process
|
|
- Processes.original_file_name
|
|
- Processes.process_name
|
|
- Processes.process
|
|
- Processes.process_id
|
|
- Processes.parent_process_path
|
|
- Processes.process_path
|
|
- Processes.parent_process_id
|
|
risk_score: 25
|
|
security_domain: endpoint
|
|
asset_type: Endpoint
|