Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: process_creation
definition: Works only if Enrich Sysmon events with additional information about process in ParentOfParentImage check enrichment section
detection:
parent_image:
ParentImage|endswith:
- '\cmd.exe'
- '\powershell.exe'
parent_of_parent_image:
ParentOfParentImage|contains|all:
- '\Windows\Installer\'
- 'msi'
ParentOfParentImage|endswith:
- 'tmp'
condition: parent_image and parent_of_parent_image
falsepositives:
- Unknown