mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
73 lines
2.4 KiB
YAML
73 lines
2.4 KiB
YAML
name: Wmic NonInteractive App Uninstallation
|
|
id: bff0e7a0-317f-11ec-ab4e-acde48001122
|
|
version: 2
|
|
date: '2022-07-19'
|
|
author: Teoderick Contreras, Splunk
|
|
status: production
|
|
type: Hunting
|
|
description: This analytic indentifies WMIC command-line attempting to uninstall application
|
|
non-interactively. This technique was seen in IcedID to uninstall AV products on
|
|
the compromised host to evade detection. This Hunting query maybe a good indicator
|
|
that some process tries to uninstall application using wmic which is not a common
|
|
behavior. This approach may seen in some script or third part appication to uninstall
|
|
their application but it is a good thing to check what it uninstall and why.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
CommandLine: '* product *'
|
|
Image|endswith: wmic.exe
|
|
selection2:
|
|
CommandLine: '*where name*'
|
|
selection3:
|
|
CommandLine: '*call uninstall*'
|
|
selection4:
|
|
CommandLine: '*/nointeractive*'
|
|
condition: selection1 and selection2 and selection3 and selection4
|
|
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: Third party application may use this approach to uninstall
|
|
applications.
|
|
references:
|
|
- https://thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/
|
|
tags:
|
|
analytic_story:
|
|
- IcedID
|
|
- Azorult
|
|
asset_type: Endpoint
|
|
confidence: 50
|
|
impact: 50
|
|
message: Wmic $process_name$ with command-line $process$ on $dest$ attempting to
|
|
uninstall software.
|
|
mitre_attack_id:
|
|
- T1562.001
|
|
- T1562
|
|
observable:
|
|
- name: dest
|
|
type: Endpoint
|
|
role:
|
|
- Victim
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: process_name
|
|
type: Process
|
|
role:
|
|
- Target
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 25
|
|
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
|