Detection rules › Sigma

Windows Event Log Access Tampering Via Registry

Severity
high
Author
X__Junior
Source
upstream

Detects changes to the Windows EventLog channel permission values. It focuses on changes to the Security Descriptor Definition Language (SDDL) string, as modifications to these values can restrict access to specific users or groups, potentially aiding in defense evasion by controlling who can view or modify a event log channel. Upon execution, the user shouldn't be able to access the event log channel via the event viewer or via utilities such as "Get-EventLog" or "wevtutil".

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry, T1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Privilege EscalationT1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Defense EvasionT1112 Modify Registry

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: 1 of selection_key_1

TargetObject|endswith: '\CustomSD'
TargetObject|contains: '\SYSTEM\CurrentControlSet\Services\EventLog\'

Stage 2: 1 of selection_key_2

or:
TargetObject|contains: '\Microsoft\Windows\CurrentVersion\WINEVT\Channels'
TargetObject|contains: '\Policies\Microsoft\Windows\EventLog\'
TargetObject|endswith: '\ChannelAccess'

Stage 3: selection_details

or:
Details|contains: ')(D;'
Details|contains: 'D:('
Details|contains: 'D:(D;'

Stage 4: not 1 of filter_main_*

or:
Image|endswith: '\TiWorker.exe'
Image|startswith: 'C:\Windows\WinSxS\'
Image: 'C:\Windows\servicing\TrustedInstaller.exe'

Stage 5: 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
Detailsmatch
  • )(D;
  • D:(
  • D:(D;
Imageends_with
  • \TiWorker.exe corpus 7 (sigma 7)
Imageeq
  • C:\Windows\servicing\TrustedInstaller.exe corpus 3 (sigma 3)
Imagestarts_with
  • C:\Windows\WinSxS\ corpus 13 (sigma 13)
TargetObjectends_with
  • \ChannelAccess corpus 2 (sigma 2)
  • \CustomSD
TargetObjectmatch
  • \Microsoft\Windows\CurrentVersion\WINEVT\Channels
  • \Policies\Microsoft\Windows\EventLog\
  • \SYSTEM\CurrentControlSet\Services\EventLog\ corpus 2 (sigma 2)