title: Exploiting SetupComplete.cmd CVE-2019-1378
id: 1c373b6d-76ce-4553-997d-8c1da9a6b5f5
status: experimental
description: Detects exploitation attempt of privilege escalation vulnerability via SetupComplete.cmd and PartnerSetupComplete.cmd decribed in CVE-2019-1378 
references:
    - https://www.embercybersecurity.com/blog/cve-2019-1378-exploiting-an-access-control-privilege-escalation-vulnerability-in-windows-10-update-assistant-wua
author: Florian Roth
date: 2019/11/15
modified: 2020/08/29
tags:
  - attack.privilege_escalation
  - attack.t1068
  - attack.execution
  - attack.t1059.003
  - attack.t1059  # an old one
  - attack.t1574
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentCommandLine: 
            - '*\cmd.exe /c C:\Windows\Setup\Scripts\SetupComplete.cmd'
            - '*\cmd.exe /c C:\Windows\Setup\Scripts\PartnerSetupComplete.cmd'
    filter:
        Image: 
            - 'C:\Windows\System32\\*'
            - 'C:\Windows\SysWOW64\\*'
            - 'C:\Windows\WinSxS\\*'
            - 'C:\Windows\Setup\\*'
    condition: selection and not filter
falsepositives:
    - Unknown
level: high
