Merge pull request #1093 from SanWieb/OSCD_regini

[OSCD] regini LOLBAS
This commit is contained in:
Thomas Patzke
2020-10-13 21:44:32 +02:00
committed by GitHub
2 changed files with 55 additions and 0 deletions
@@ -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
@@ -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