CurrentControlSet Autorun Keys Modification

Detects modification of autostart extensibility point (ASEP) in registry.

Sigma rule (View on GitHub)

 1title: CurrentControlSet Autorun Keys Modification
 2id: f674e36a-4b91-431e-8aef-f8a96c2aca35
 3related:
 4    - id: 17f878b8-9968-4578-b814-c4217fc5768c
 5      type: obsolete
 6status: test
 7description: Detects modification of autostart extensibility point (ASEP) in registry.
 8references:
 9    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1547.001/T1547.001.md
10    - https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
11    - https://gist.github.com/GlebSukhodolskiy/0fc5fa5f482903064b448890db1eaf9d # a list with registry keys
12author: Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
13date: 2019-10-25
14modified: 2023-08-17
15tags:
16    - attack.persistence
17    - attack.t1547.001
18logsource:
19    category: registry_set
20    product: windows
21detection:
22    system_control_base:
23        TargetObject|contains: '\SYSTEM\CurrentControlSet\Control'
24    system_control_keys:
25        TargetObject|contains:
26            - '\Terminal Server\WinStations\RDP-Tcp\InitialProgram'
27            - '\Terminal Server\Wds\rdpwd\StartupPrograms'
28            - '\SecurityProviders\SecurityProviders'
29            - '\SafeBoot\AlternateShell'
30            - '\Print\Providers'
31            - '\Print\Monitors'
32            - '\NetworkProvider\Order'
33            - '\Lsa\Notification Packages'
34            - '\Lsa\Authentication Packages'
35            - '\BootVerificationProgram\ImagePath'
36    filter_empty:
37        Details: '(Empty)'
38    filter_cutepdf:
39        Image: 'C:\Windows\System32\spoolsv.exe'
40        TargetObject|contains: '\Print\Monitors\CutePDF Writer Monitor'
41        Details:
42            - 'cpwmon64_v40.dll'
43            - 'CutePDF Writer'
44    filter_onenote:
45        Image: C:\Windows\System32\spoolsv.exe
46        TargetObject|contains: 'Print\Monitors\Appmon\Ports\Microsoft.Office.OneNote_'
47        User|contains: # covers many language settings
48            - 'AUTHORI'
49            - 'AUTORI'
50    filter_poqexec:
51        Image: 'C:\Windows\System32\poqexec.exe'
52        TargetObject|endswith: '\NetworkProvider\Order\ProviderOrder'
53    filter_realvnc:
54        Image: 'C:\Windows\System32\spoolsv.exe'
55        TargetObject|endswith: '\Print\Monitors\MONVNC\Driver'
56        Details: 'VNCpm.dll'
57    condition: all of system_control_* and not 1 of filter_*
58fields:
59    - SecurityID
60    - ObjectName
61    - OldValueType
62    - NewValueType
63falsepositives:
64    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
65    - Legitimate administrator sets up autorun keys for legitimate reason
66level: medium

References

Related rules

to-top