Potential Persistence Attempt Via Run Keys Using Reg.EXE

Detects suspicious command line reg.exe tool adding key to RUN key in Registry

Sigma rule (View on GitHub)

 1title: Potential Persistence Attempt Via Run Keys Using Reg.EXE
 2id: de587dce-915e-4218-aac4-835ca6af6f70
 3status: test
 4description: Detects suspicious command line reg.exe tool adding key to RUN key in Registry
 5references:
 6    - https://app.any.run/tasks/9c0f37bc-867a-4314-b685-e101566766d7/
 7    - https://learn.microsoft.com/en-us/windows/win32/setupapi/run-and-runonce-registry-keys
 8author: Florian Roth (Nextron Systems)
 9date: 2021-06-28
10modified: 2023-01-30
11tags:
12    - attack.persistence
13    - attack.t1547.001
14logsource:
15    category: process_creation
16    product: windows
17detection:
18    selection:
19        CommandLine|contains|all:
20            - 'reg'
21            - ' ADD '
22            - 'Software\Microsoft\Windows\CurrentVersion\Run'
23    condition: selection
24falsepositives:
25    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reasons.
26    - Legitimate administrator sets up autorun keys for legitimate reasons.
27    - Discord
28level: medium

References

Related rules

to-top