Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: file_event
detection:
#useful_information: Please add more file extensions and magic bytes to the logic of your choice.
selection1:
Image|endswith:
- '\winword.exe'
- '\excel.exe'
- '\powerpnt.exe'
- '\outlook.exe'
selection2:
FileName|endswith:
- ".exe"
- ".dll"
- ".ocx"
- ".com"
- ".ps1"
- ".vbs"
- ".sys"
- ".bat"
- ".scr"
- ".proj"
selection3:
FileMagicBytes|startswith:
- "4D5A"
condition: selection1 and (selection2 or selection3)
falsepositives:
- Unknown