Sigma rule: WinSock2 Autorun Keys Modification
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e9e518d7ea96, updated 2023-08-17T00:00:00.000Z.
Rule
- Title
- WinSock2 Autorun Keys Modification
- Status
- test
- Level
- medium
- Author
- Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
- Date
- 2019-10-25
- Modified
- 2023-08-17
- File
- rules/windows/registry/registry_set/registry_set_asep_reg_keys_modification_winsock2.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects modification of autostart extensibility point (ASEP) in registry.
Log source
- product
- windows
- category
- registry_set
Detection
winsock_parameters_base:
TargetObject|contains: '\System\CurrentControlSet\Services\WinSock2\Parameters'
winsock_parameters:
TargetObject|contains:
- '\Protocol_Catalog9\Catalog_Entries'
- '\NameSpace_Catalog5\Catalog_Entries'
filter:
- Details: '(Empty)'
- Image: 'C:\Windows\System32\MsiExec.exe'
- Image: 'C:\Windows\syswow64\MsiExec.exe'
condition: winsock_parameters_base and winsock_parameters and not filterFalse positives (as the rule lists them)
- Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reason
- Legitimate administrator sets up autorun keys for legitimate reason
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1547.001
MITRE ATT&CK ids this rule names
Related rules
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1547.001/T1547.001.md
- https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
- https://gist.github.com/GlebSukhodolskiy/0fc5fa5f482903064b448890db1eaf9d
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_asep_reg_keys_modification_winsock2.yml
Sources and licences
SigmaHQ
"WinSock2 Autorun Keys Modification" by Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_asep_reg_keys_modification_winsock2.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: WinSock2 Autorun Keys Modification",
entity page, dataset version ref-e9e518d7ea96, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d6c2ce7e-afb5-4337-9ca4-4b5254ed0565 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d6c2ce7e-afb5-4337-9ca4-4b5254ed0565, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.