Detection rules › Sigma

Wdigest authentication enabled (registry)

Status
experimental
Severity
high
Log source
product windows, category registry_set
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker attempts to enable Wdgiest authention so passwords are stored in clear text and can be dumped.

MITRE ATT&CK coverage

TacticTechniques
StealthT1562 Impair Defenses
Credential AccessT1003 OS Credential Dumping

Event coverage

ProviderEventTitle
SysmonEvent ID 13RegistryEvent (Value Set)

Rule body yaml

title: Wdigest authentication enabled (registry)
description: Detects scenarios where an attacker attempts to enable Wdgiest authention so passwords are stored in clear text and can be dumped.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/ 
- https://thedfirreport.com/2021/08/16/trickbot-leads-up-to-fake-1password-installation/
- https://www.ired.team/offensive-security/credential-access-and-credential-dumping/forcing-wdigest-to-store-credentials-in-plaintext
- https://www.hackingarticles.in/credential-dumping-wdigest/
- https://stealthbits.com/blog/wdigest-clear-text-passwords-stealing-more-than-a-hash/
- https://github.com/HarmJ0y/Misc-PowerShell/blob/master/Invoke-WdigestDowngrade.ps1
- https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/
tags:
- attack.credential_access
- attack.t1003
- attack.defense_evasion
- attack.t1562
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: registry_set
detection: # reg add HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest /v UseLogonCredential /t REG_DWORD /d 1
  selection:
    TargetObject|endswith: '\System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential'
    Details|contains: '0x00000001'
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  TargetObject|endswith: '\System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential'
  Details|contains: '0x00000001'

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
  • 0x00000001 corpus 4 (sigma 4)
TargetObjectends_with
  • \System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential