diff --git a/rules/windows/process_creation/win_regini.yml b/rules/windows/process_creation/win_regini.yml new file mode 100644 index 000000000..51ab7d7f9 --- /dev/null +++ b/rules/windows/process_creation/win_regini.yml @@ -0,0 +1,28 @@ +title: Modifies the Registry From a File +id: 5f60740a-f57b-4e76-82a1-15b6ff2cb134 +status: experimental +description: Detects the execution of regini.exe which can be used to modify registry keys, the changes are imported from one or more text files. +references: + - https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSBinaries/Regini.yml + - https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f + - https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/regini +tags: + - attack.t1112 + - attack.defense_evasion +author: Eli Salem, Sander Wiebing, oscd.community +date: 2020/10/08 +logsource: + category: process_creation + product: windows +detection: + selection: + Image|endswith: '\regini.exe' + filter: + CommandLine|re: ':[^ \\]' # to avoid intersection with ADS rule + condition: selection and not filter +fieds: + - ParentImage + - CommandLine +falsepositives: + - Legitimate modification of keys +level: low \ No newline at end of file diff --git a/rules/windows/process_creation/win_regini_ads.yml b/rules/windows/process_creation/win_regini_ads.yml new file mode 100644 index 000000000..f6a238593 --- /dev/null +++ b/rules/windows/process_creation/win_regini_ads.yml @@ -0,0 +1,27 @@ +title: Modifies the Registry From a ADS +id: 77946e79-97f1-45a2-84b4-f37b5c0d8682 +status: experimental +description: Detects the import of an alternate data stream with regini.exe, regini.exe can be used to modify registry keys. +references: + - https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSBinaries/Regini.yml + - https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f + - https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/regini +tags: + - attack.t1112 + - attack.defense_evasion +author: Eli Salem, Sander Wiebing, oscd.community +date: 2020/10/12 +logsource: + category: process_creation + product: windows +detection: + selection: + Image|endswith: '\regini.exe' + CommandLine|re: ':[^ \\]' + condition: selection +fieds: + - ParentImage + - CommandLine +falsepositives: + - Unknown +level: high \ No newline at end of file