ms_office_product_spawning_exe_in_user_dir
Description
Detects an executable in the users directory started from Microsoft Word, Excel, Powerpoint, Publisher or Visio License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
((re.regex($selection.principal.process.file.full_path, `.*\\WINWORD\.EXE`) or re.regex($selection.principal.process.file.full_path, `.*\\EXCEL\.EXE`) or re.regex($selection.principal.process.file.full_path, `.*\\POWERPNT\.exe`) or re.regex($selection.principal.process.file.full_path, `.*\\MSPUB\.exe`) or re.regex($selection.principal.process.file.full_path, `.*\\VISIO\.exe`) or re.regex($selection.principal.process.file.full_path, `.*\\OUTLOOK\.EXE`)) and re.regex($selection.target.process.file.full_path, `C:\\users\\.*\.exe`) and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))
condition:
$selection