Files
hayabusa/rules/Sigma/win_regedit_export_keys.yml
T
2021-11-14 11:00:56 +09:00

46 lines
1.3 KiB
YAML

title: Exports Registry Key To a File
author: Oddvar Moe, Sander Wiebing, oscd.community
date: 2020/10/07
description: Detects the export of the target Registry key to a file.
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
Image: '*\regedit.exe'
SELECTION_3:
CommandLine: '* /E *'
SELECTION_4:
EventID: 1
SELECTION_5:
CommandLine: '*hklm*'
SELECTION_6:
CommandLine: '*hkey_local_machine*'
SELECTION_7:
CommandLine: '*\system'
SELECTION_8:
CommandLine: '*\sam'
SELECTION_9:
CommandLine: '*\security'
condition: (SELECTION_1 and (SELECTION_2 and SELECTION_3) and not ((SELECTION_4
and (SELECTION_5 or SELECTION_6) and (SELECTION_7 or SELECTION_8 or SELECTION_9))))
falsepositives:
- Legitimate export of keys
fields:
- ParentImage
- CommandLine
id: f0e53e89-8d22-46ea-9db5-9d4796ee2f8a
level: low
logsource:
category: process_creation
product: windows
references:
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSBinaries/Regedit.yml
- https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
status: experimental
tags:
- attack.exfiltration
- attack.t1012
yml_filename: win_regedit_export_keys.yml
yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/process_creation