Detection rules › Sigma

Disable Windows Event Logging Via Registry

Severity
high
Author
frack113, Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects tampering with the "Enabled" registry key in order to disable Windows logging of a Windows event channel

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1562.002 Impair Defenses: Disable Windows Event Logging

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

Details: 'DWORD (0x00000000)'
TargetObject|endswith: '\Enabled'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\'

Stage 2: not 1 of filter_main_*

or:
or:
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-ASN1\'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-CAPI2/Operational\'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-FileInfoMinifilter'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Kernel-AppCompat\'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Runtime\Error\'
Image: 'C:\Windows\System32\svchost.exe'
Image|endswith: '\TiWorker.exe'
Image|startswith: 'C:\Windows\winsxs\'
Image: 'C:\Windows\servicing\TrustedInstaller.exe'
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Compat-Appraiser'
Image: 'C:\Windows\system32\wevtutil.exe'

Stage 3: not 1 of filter_optional_*

or:
Image: ''
Image: null

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
  • DWORD (0x00000000) corpus 38 (sigma 38)
Imageends_with
  • \TiWorker.exe corpus 7 (sigma 7)
Imageeq
  • C:\Windows\System32\svchost.exe corpus 4 (sigma 4)
  • C:\Windows\servicing\TrustedInstaller.exe corpus 3 (sigma 3)
  • C:\Windows\system32\wevtutil.exe corpus 2 (sigma 2)
Imagestarts_with
  • C:\Windows\winsxs\
TargetObjectends_with
  • \Enabled corpus 2 (sigma 2)
TargetObjectmatch
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\ corpus 2 (sigma 2)
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-ASN1\
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-CAPI2/Operational\
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Compat-Appraiser
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-FileInfoMinifilter
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Kernel-AppCompat\
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Runtime\Error\