Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
# Uncomment this section and remove the filter if you want the rule to be more specific to processes
# selection_img:
# Image|endswith:
# - '\rundll32.exe'
selection_folder:
CommandLine|contains:
# Add more suspicious or unexpected paths
- '\AppData\Roaming\'
- '\AppData\Local\Temp\' # This could generate some FP with some installers creating folders with GUID
selection_guid:
CommandLine|contains|all:
- '\{'
- '}\'
filter_main_image_guid:
Image|contains|all:
- '\{'
- '}\'
filter_main_null:
Image: null
filter_main_driver_inst: # DrvInst.exe "4" "0" "C:\Users\venom\AppData\Local\Temp\{a0753cc2-fcea-4d49-a787-2290b564b06f}\nvvhci.inf" "9" "43a2fa8e7" "00000000000001C0" "WinSta0\Default" "00000000000001C4" "208" "c:\program files\nvidia corporation\installer2\nvvhci.{eb7b4460-7ec9-42d6-b73f-d487d4550526}"
Image: 'C:\Windows\System32\drvinst.exe'
filter_main_msiexec:
Image:
- 'C:\Windows\System32\msiexec.exe'
- 'C:\Windows\SysWOW64\msiexec.exe'
condition: all of selection_* and not 1 of filter*
falsepositives:
- Installers are sometimes known for creating temporary folders with GUID like names. Add appropriate filters accordingly