mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
68 lines
2.4 KiB
YAML
68 lines
2.4 KiB
YAML
name: SLUI RunAs Elevated
|
|
id: 8d124810-b3e4-11eb-96c7-acde48001122
|
|
version: 1
|
|
date: '2021-05-13'
|
|
author: Michael Haag, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic identifies the Microsoft Software Licensing User
|
|
Interface Tool, `slui.exe`, elevating access using the `-verb runas` function. This
|
|
particular bypass utilizes a registry key/value. Identified by two sources, the
|
|
registry keys are `HKCU\Software\Classes\exefile\shell` and `HKCU\Software\Classes\launcher.Systemsettings\Shell\open\command`.
|
|
To simulate this behavior, multiple POC are available. The analytic identifies the
|
|
use of `runas` by `slui.exe`.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
Image|endswith: slui.exe
|
|
selection2:
|
|
CommandLine: '*runas*'
|
|
selection3:
|
|
CommandLine: '*-verb*'
|
|
condition: selection1 and selection2 and selection3
|
|
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.
|
|
known_false_positives: Limited false positives should be present as this is not commonly
|
|
used by legitimate applications.
|
|
references:
|
|
- https://www.exploit-db.com/exploits/46998
|
|
- https://mattharr0ey.medium.com/privilege-escalation-uac-bypass-in-changepk-c40b92818d1b
|
|
- https://gist.github.com/r00t-3xp10it/0c92cd554d3156fd74f6c25660ccc466
|
|
- https://www.rapid7.com/db/modules/exploit/windows/local/bypassuac_sluihijack/
|
|
- https://www.mandiant.com/resources/shining-a-light-on-darkside-ransomware-operations
|
|
tags:
|
|
analytic_story:
|
|
- DarkSide Ransomware
|
|
- Windows Defense Evasion Tactics
|
|
asset_type: Endpoint
|
|
confidence: 90
|
|
impact: 70
|
|
message: A slui process $process_name$ with elevated commandline $process$ in host
|
|
$dest$
|
|
mitre_attack_id:
|
|
- T1548.002
|
|
- T1548
|
|
observable:
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: user
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 63
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1548.002/slui/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|