name: Uninstall App Using MsiExec id: 1fca2b28-f922-11eb-b2dd-acde48001122 version: 1 date: '2021-08-09' author: Teoderick Contreras, Splunk status: production type: TTP description: This search is to detect a suspicious un-installation of application using msiexec. This technique was seen in conti leak tool and script where it tries to uninstall AV product using this commandline. This commandline to uninstall product is not a common practice in enterprise network. data_source: - Sysmon Event ID 1 search: selection1: CommandLine: '* /qn *' Image|endswith: msiexec.exe selection2: CommandLine: '*/X*' selection3: CommandLine: '*REBOOT=' condition: selection1 and selection2 and selection3 how_to_implement: To successfully implement this search, you need to be ingesting logs with the process name, parent process, and command-line executions from your endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA. known_false_positives: unknown. references: - https://threadreaderapp.com/thread/1423361119926816776.html tags: analytic_story: - Ransomware asset_type: Endpoint confidence: 60 impact: 50 message: process $process_name$ with a cmdline $process$ in host $dest$ mitre_attack_id: - T1218.007 - T1218 observable: - name: dest type: Hostname role: - Victim - name: process_name type: Process role: - Attacker product: - Splunk Enterprise - Splunk Enterprise Security - Splunk Cloud risk_score: 30 security_domain: endpoint tests: - name: True Positive Test attack_data: - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/conti/conti_leak/windows-sysmon.log source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational sourcetype: xmlwineventlog