Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: registry_set
product: windows
detection:
selection:
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\Explorer\MyComputer'
TargetObject|endswith: 'path\(Default)'
filter_main_default:
Details|startswith:
- '%%SystemRoot%%\'
- '%%Windir%%\'
- '%SystemRoot%\'
- '%Windir%\'
- 'C:\Windows\'
filter_main_path_backup:
TargetObject|endswith: '\MyComputer\BackupPath\(Default)'
Details|endswith:
- '\System32\sdclt.exe'
- '\SysWOW64\sdclt.exe'
filter_main_path_cleanup:
TargetObject|endswith: '\MyComputer\cleanuppath\(Default)'
Details|endswith:
- '\System32\cleanmgr.exe /D %c'
- '\SysWOW64\cleanmgr.exe /D %c'
- '\System32\cleanmgr.exe /D %%c'
- '\SysWOW64\cleanmgr.exe /D %%c'
filter_main_path_defrag:
TargetObject|endswith: '\MyComputer\DefragPath\(Default)'
Details|endswith:
- '\System32\dfrgui.exe'
- '\SysWOW64\dfrgui.exe'
condition: selection and not (filter_main_default and 1 of filter_main_path_*)
falsepositives:
- Unlikely but if you experience FPs add specific processes and locations you would like to monitor for