title: Office Applications Spawning Wmi Cli
id: 518643ba-7d9c-4fa5-9f37-baed36059f6a
description: Initial execution of malicious document calls wmic to execute the file with regsvr32
references:
    - https://thedfirreport.com/2021/03/29/sodinokibi-aka-revil-ransomware/
    - https://github.com/vadim-hunter/Detection-Ideas-Rules/blob/main/Threat%20Intelligence/The%20DFIR%20Report/20210329_Sodinokibi_(aka_REvil)_Ransomware.yaml
author: 'Vadim Khrykov (ThreatIntel), Cyb3rEng (Rule)'
tags:
    - attack.t1204.002
    - attack.t1047
    - attack.t1218.010
    - attack.execution
    - attack.defense_evasion
status: experimental
date: 2021/08/23
modified: 2021/11/10
logsource:
  product: windows
  category: process_creation
detection:
  #useful_information: Add more office applications to the rule logic of choice
  selection1:
    - Image: '\wbem\WMIC.exe'
    - CommandLine|contains: 'wmic '
    - OriginalFileName: 'wmic.exe'
    - Description: 'WMI Commandline Utility'
  selection2:
    ParentImage|endswith:
      - winword.exe
      - excel.exe
      - powerpnt.exe
  condition: selection1 and selection2
falsepositives:
  - Unknown
level: high
