Techniques
Sample rules
Potential Persistence Via MyComputer Registry Keys
- source: sigma
- technicques:
Description
Detects modification to the “Default” value of the “MyComputer” key and subkeys to point to a custom binary that will be launched whenever the associated action is executed (see reference section for example)
Detection logic
condition: selection and not (filter_main_default and 1 of filter_main_path_*)
filter_main_default:
Details|startswith:
- '%%SystemRoot%%\'
- '%%Windir%%\'
- '%SystemRoot%\'
- '%Windir%\'
- C:\Windows\
filter_main_path_backup:
Details|endswith:
- \System32\sdclt.exe
- \SysWOW64\sdclt.exe
TargetObject|endswith: \MyComputer\BackupPath\(Default)
filter_main_path_cleanup:
Details|endswith:
- \System32\cleanmgr.exe /D %c
- \SysWOW64\cleanmgr.exe /D %c
- \System32\cleanmgr.exe /D %%c
- \SysWOW64\cleanmgr.exe /D %%c
TargetObject|endswith: \MyComputer\cleanuppath\(Default)
filter_main_path_defrag:
Details|endswith:
- \System32\dfrgui.exe
- \SysWOW64\dfrgui.exe
TargetObject|endswith: \MyComputer\DefragPath\(Default)
selection:
TargetObject|contains: \Microsoft\Windows\CurrentVersion\Explorer\MyComputer
TargetObject|endswith: path\(Default)