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.privilege-escalation
17    - attack.persistence
18    - attack.t1547.001
19logsource:
20    category: registry_set
21    product: windows
22detection:
23    system_control_base:
24        TargetObject|contains: '\SYSTEM\CurrentControlSet\Control'
25    system_control_keys:
26        TargetObject|contains:
27            - '\Terminal Server\WinStations\RDP-Tcp\InitialProgram'
28            - '\Terminal Server\Wds\rdpwd\StartupPrograms'
29            - '\SecurityProviders\SecurityProviders'
30            - '\SafeBoot\AlternateShell'
31            - '\Print\Providers'
32            - '\Print\Monitors'
33            - '\NetworkProvider\Order'
34            - '\Lsa\Notification Packages'
35            - '\Lsa\Authentication Packages'
36            - '\BootVerificationProgram\ImagePath'
37    filter_empty:
38        Details: '(Empty)'
39    filter_cutepdf:
40        Image: 'C:\Windows\System32\spoolsv.exe'
41        TargetObject|contains: '\Print\Monitors\CutePDF Writer Monitor'
42        Details:
43            - 'cpwmon64_v40.dll'
44            - 'CutePDF Writer'
45    filter_onenote:
46        Image: C:\Windows\System32\spoolsv.exe
47        TargetObject|contains: 'Print\Monitors\Appmon\Ports\Microsoft.Office.OneNote_'
48        User|contains: # covers many language settings
49            - 'AUTHORI'
50            - 'AUTORI'
51    filter_poqexec:
52        Image: 'C:\Windows\System32\poqexec.exe'
53        TargetObject|endswith: '\NetworkProvider\Order\ProviderOrder'
54    filter_realvnc:
55        Image: 'C:\Windows\System32\spoolsv.exe'
56        TargetObject|endswith: '\Print\Monitors\MONVNC\Driver'
57        Details: 'VNCpm.dll'
58    condition: all of system_control_* and not 1 of filter_*
59fields:
60    - SecurityID
61    - ObjectName
62    - OldValueType
63    - NewValueType
64falsepositives:
65    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
66    - Legitimate administrator sets up autorun keys for legitimate reason
67level: medium

References

Related rules

to-top