Detection rules › Sigma

Vulnerable WinRing0 Driver Load

Status
test
Severity
high
Log source
product windows, category driver_load
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the load of a signed WinRing0 driver often used by threat actors, crypto miners (XMRIG) or malware for privilege escalation

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 6Driver loaded

Rule body yaml

title: Vulnerable WinRing0 Driver Load
id: 1a42dfa6-6cb2-4df9-9b48-295be477e835
status: test
description: Detects the load of a signed WinRing0 driver often used by threat actors, crypto miners (XMRIG) or malware for privilege escalation
references:
    - https://github.com/xmrig/xmrig/tree/master/bin/WinRing0
    - https://www.rapid7.com/blog/post/2021/12/13/driver-based-attacks-past-and-present/
author: Florian Roth (Nextron Systems)
date: 2022-07-26
modified: 2024-11-23
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543.003
logsource:
    product: windows
    category: driver_load
detection:
    selection:
        - Hashes|contains: 'IMPHASH=D41FA95D4642DC981F10DE36F4DC8CD7'
        - ImageLoaded|endswith:
              - '\WinRing0x64.sys'
              - '\WinRing0.sys'
              - '\WinRing0.dll'
              - '\WinRing0x64.dll'
              - '\winring00x64.sys'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Hashes|contains: 'IMPHASH=D41FA95D4642DC981F10DE36F4DC8CD7'
    - ImageLoaded|endswith:
          - '\WinRing0x64.sys'
          - '\WinRing0.sys'
          - '\WinRing0.dll'
          - '\WinRing0x64.dll'
          - '\winring00x64.sys'

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
Hashesmatch
  • IMPHASH=D41FA95D4642DC981F10DE36F4DC8CD7 corpus 2 (sigma 2)
ImageLoadedends_with
  • \WinRing0.dll
  • \WinRing0.sys corpus 2 (sigma 2)
  • \WinRing0x64.dll
  • \WinRing0x64.sys
  • \winring00x64.sys