Sigma rule: Exploiting SetupComplete.cmd CVE-2019-1378

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4fea2588a1e9, updated 2021-11-27T00:00:00.000Z.

Rule

Title
Exploiting SetupComplete.cmd CVE-2019-1378
Status
test
Level
high
Author
Florian Roth (Nextron Systems), oscd.community, Jonhnathan Ribeiro
Date
2019-11-15
Modified
2021-11-27
File
rules-emerging-threats/2019/Exploits/CVE-2019-1378/proc_creation_win_exploit_cve_2019_1378.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects exploitation attempt of privilege escalation vulnerability via SetupComplete.cmd and PartnerSetupComplete.cmd described in CVE-2019-1378

Log source

product
windows
category
process_creation

Detection

selection:
    ParentCommandLine|contains|all:
        - '\cmd.exe'
        - '/c'
        - 'C:\Windows\Setup\Scripts\'
    ParentCommandLine|endswith:
        - 'SetupComplete.cmd'
        - 'PartnerSetupComplete.cmd'
filter:
    Image|startswith:
        - 'C:\Windows\System32\'
        - 'C:\Windows\SysWOW64\'
        - 'C:\Windows\WinSxS\'
        - 'C:\Windows\Setup\'
condition: selection and not filter

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.persistence
  • attack.privilege-escalation
  • attack.stealth
  • attack.t1068
  • attack.execution
  • attack.t1059.003
  • attack.t1574
  • cve.2019-1378
  • detection.emerging-threats

CVEs this rule names

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2019/Exploits/CVE-2019-1378/proc_creation_win_exploit_cve_2019_1378.yml

Sources and licences

  • SigmaHQ

    "Exploiting SetupComplete.cmd CVE-2019-1378" by Florian Roth (Nextron Systems), oscd.community, Jonhnathan Ribeiro (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2019/Exploits/CVE-2019-1378/proc_creation_win_exploit_cve_2019_1378.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Exploiting SetupComplete.cmd CVE-2019-1378",
entity page, dataset version ref-4fea2588a1e9, updated 2021-11-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1c373b6d-76ce-4553-997d-8c1da9a6b5f5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1c373b6d-76ce-4553-997d-8c1da9a6b5f5, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.