title: Possible InstallerFileTakeOver LPE CVE-2021-41379 
id: af8bbce4-f751-46b4-8d91-82a33a736f61
status: experimental
description: Detects signs of the exploitation of LPE CVE-2021-41379 to spawn a cmd.exe with LOCAL_SYSTEM rights
author: Florian Roth
date: 2021/11/22
references:
    - https://github.com/klinix5/InstallerFileTakeOver
    - https://www.zerodayinitiative.com/advisories/ZDI-21-1308/
tags:
    - attack.privilege_escalation
    - attack.t1068
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\cmd.exe'
        ParentImage|endswith: '\elevation_service.exe'
        IntegrityLevel: 'System'
    condition: selection
falsepositives:
    - Unknown
level: critical
