Files
hayabusa/rules/sigma/registry_event/sysmon_runonce_persistence.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

35 lines
1.0 KiB
YAML

title: Run Once Task Configuration in Registry
ruletype: Sigma
author: Avneet Singh @v3t0_, oscd.community
date: 2020/11/15
description: Rule to detect the configuration of Run Once registry key. Configured
payload can be run by runonce.exe /AlternateShellStartup
detection:
SELECTION_1:
EventID: 12
SELECTION_2:
EventID: 13
SELECTION_3:
EventID: 14
SELECTION_4:
TargetObject: HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components*
SELECTION_5:
TargetObject: '*\StubPath'
condition: ((SELECTION_1 or SELECTION_2 or SELECTION_3) and SELECTION_4 and SELECTION_5)
falsepositives:
- Legitimate modification of the registry key by legitimate program
id: c74d7efc-8826-45d9-b8bb-f04fac9e4eff
level: medium
logsource:
category: registry_event
product: windows
modified: 2021/11/27
references:
- https://twitter.com/pabraeken/status/990717080805789697
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSBinaries/Runonce.yml
status: test
tags:
- attack.defense_evasion
- attack.t1112