Potential Suspicious Execution From GUID Like Folder Names
Description
Detects potential suspicious execution of a GUID like folder name located in a suspicious location such as %TEMP% as seen being used in IcedID attacks. Use this rule to hunt for potentially suspicious activity stemming from uncommon folders.
Query · sigma
selection_folder:
CommandLine|contains:
- \AppData\Roaming\
- \AppData\Local\Temp\
selection_guid:
CommandLine|contains|all:
- \{
- '}\'
filter_main_image_guid:
Image|contains|all:
- \{
- '}\'
filter_main_null:
Image: null
filter_main_driver_inst:
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*
Known false positives
- Installers are sometimes known for creating temporary folders with GUID like names. Add appropriate filters accordingly