diff --git a/rules/windows/sysmon/sysmon_susp_run_key_img_folder.yml b/rules/windows/sysmon/sysmon_susp_run_key_img_folder.yml index ec697a11..449e98ec 100644 --- a/rules/windows/sysmon/sysmon_susp_run_key_img_folder.yml +++ b/rules/windows/sysmon/sysmon_susp_run_key_img_folder.yml @@ -12,9 +12,11 @@ logsource: product: windows service: sysmon detection: - selection1: + selection: EventID: 13 - TargetObject: '\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\*' + TargetObject: + - '*\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\*' + - '*\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\*' Details: - 'C:\Windows\Temp\*' - '*\AppData\*' @@ -23,18 +25,7 @@ detection: - 'C:\Users\Public\*' - 'C:\Users\Default\*' - 'C:\Users\Desktop\*' - selection2: - EventID: 13 - TargetObject: '\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\*' - Details: - - 'C:\Windows\Temp\*' - - '*\AppData\*' - - 'C:\$Recycle.bin\*' - - 'C:\Temp\*' - - 'C:\Users\Public\*' - - 'C:\Users\Default\*' - - 'C:\Users\Desktop\*' - condition: selection1 or selection2 + condition: selection fields: - Image falsepositives: