Detection rules › Sigma

WinSock2 Autorun Keys Modification

Severity
medium
Author
Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
Source
upstream

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

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Privilege EscalationT1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: winsock_parameters_base

TargetObject|contains: '\System\CurrentControlSet\Services\WinSock2\Parameters'

Stage 2: winsock_parameters

or:
TargetObject|contains: '\NameSpace_Catalog5\Catalog_Entries'
TargetObject|contains: '\Protocol_Catalog9\Catalog_Entries'

Stage 3: not filter

or:
Details: '(Empty)'
Image: 'C:\Windows\System32\MsiExec.exe'
Image: 'C:\Windows\syswow64\MsiExec.exe'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Detailseq
  • (Empty) corpus 24 (sigma 24)
Imageeq
  • C:\Windows\System32\MsiExec.exe
  • C:\Windows\syswow64\MsiExec.exe corpus 2 (sigma 2)
TargetObjectmatch
  • \NameSpace_Catalog5\Catalog_Entries
  • \Protocol_Catalog9\Catalog_Entries
  • \System\CurrentControlSet\Services\WinSock2\Parameters