WinSock2 Autorun Keys Modification

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

Sigma rule (View on GitHub)

 1title: WinSock2 Autorun Keys Modification
 2id: d6c2ce7e-afb5-4337-9ca4-4b5254ed0565
 3related:
 4    - id: 17f878b8-9968-4578-b814-c4217fc5768c
 5      type: derived
 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    winsock_parameters_base:
23        TargetObject|contains: '\System\CurrentControlSet\Services\WinSock2\Parameters'
24    winsock_parameters:
25        TargetObject|contains:
26            - '\Protocol_Catalog9\Catalog_Entries'
27            - '\NameSpace_Catalog5\Catalog_Entries'
28    filter:
29        - Details: '(Empty)'
30        - Image: 'C:\Windows\System32\MsiExec.exe'
31        - Image: 'C:\Windows\syswow64\MsiExec.exe'
32    condition: winsock_parameters_base and winsock_parameters and not filter
33fields:
34    - SecurityID
35    - ObjectName
36    - OldValueType
37    - NewValueType
38falsepositives:
39    - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
40    - Legitimate administrator sets up autorun keys for legitimate reason
41level: medium

References

Related rules

to-top