Classes Autorun Keys Modification

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

Sigma rule (View on GitHub)

 1title: Classes Autorun Keys Modification
 2id: 9df5f547-c86a-433e-b533-f2794357e242
 3related:
 4    - id: 17f878b8-9968-4578-b814-c4217fc5768c
 5      type: obsoletes
 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    selection_classes_base:
23        TargetObject|contains: '\Software\Classes'
24    selection_classes_target:
25        TargetObject|contains:
26            - '\Folder\ShellEx\ExtShellFolderViews'
27            - '\Folder\ShellEx\DragDropHandlers'
28            - '\Folder\Shellex\ColumnHandlers'
29            - '\Filter'
30            - '\Exefile\Shell\Open\Command\(Default)'
31            - '\Directory\Shellex\DragDropHandlers'
32            - '\Directory\Shellex\CopyHookHandlers'
33            - '\CLSID\{AC757296-3522-4E11-9862-C17BE5A1767E}\Instance'
34            - '\CLSID\{ABE3B9A4-257D-4B97-BD1A-294AF496222E}\Instance'
35            - '\CLSID\{7ED96837-96F0-4812-B211-F13C24117ED3}\Instance'
36            - '\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance'
37            - '\Classes\AllFileSystemObjects\ShellEx\DragDropHandlers'
38            - '\.exe'
39            - '\.cmd'
40            - '\ShellEx\PropertySheetHandlers'
41            - '\ShellEx\ContextMenuHandlers'
42    filter_empty:
43        Details: '(Empty)'
44    filter_msoffice:
45        Details: '{807583E5-5146-11D5-A672-00B0D022E945}'
46    filter_drivers:
47        Image: 'C:\Windows\System32\drvinst.exe'
48    filter_svchost:
49        Image: 'C:\Windows\System32\svchost.exe'
50        # If more targets are found from "svchost". Please exclude the whole image
51        TargetObject|contains: '\lnkfile\shellex\ContextMenuHandlers\'
52    condition: all of selection_* and not 1 of filter_*
53fields:
54    - SecurityID
55    - ObjectName
56    - OldValueType
57    - NewValueType
58falsepositives:
59    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
60    - Legitimate administrator sets up autorun keys for legitimate reason
61level: medium

References

Related rules

to-top