CVE-2021-36934
HIGH(7.8)KEV — Aktiv ausgenutztCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 7.8 — Hoch
- EPSS 67%
- Im CISA KEV-Katalog (aktiv ausgenutzt)
CISA KEV
Bestätigt ausgenutzt
EPSS-Score
67.3%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
7.8
Technische Schwere
SecBoard-Einordnung
CVE-2021-36934 ist eine Schwachstelle zur Privilegienerhöhung in Microsoft Windows, die durch übermäßig freizügige Zugriffssteuerungslisten (ACLs) auf mehreren Systemdateien, einschließlich der Security Accounts Manager (SAM)-Datenbank, verursacht wird. Ein Angreifer, der diese Schwachstelle erfolgreich ausnutzt, kann beliebigen Code mit SYSTEM-Privilegien ausführen. Dies ermöglicht die Installation von Programmen, das Anzeigen, Ändern oder Löschen von Daten sowie das Erstellen neuer Benutzerkonten mit vollen Rechten. Die Schwachstelle wird aktiv ausgenutzt und ist im CISA KEV-Katalog gelistet, was auf eine hohe Bedrohung hinweist. Mit einem CVSS-Score von 7.8 (HIGH) und einer EPSS-Wahrscheinlichkeit von 67% für eine Ausnutzung ist die Kritikalität als hoch einzustufen. Ein Angreifer benötigt die Fähigkeit zur Codeausführung auf dem Zielsystem, um diese Schwachstelle auszunutzen. Security-Teams sollten umgehend die entsprechenden Sicherheitsupdates für betroffene Windows 10 Versionen installieren. Es ist zwingend erforderlich, nach der Installation des Updates manuell alle Schattenkopien von Systemdateien, einschließlich der SAM-Datenbank, zu löschen, um die Schwachstelle vollständig zu mitigieren. Das bloße Installieren des Updates reicht nicht aus.
KI-gestützte Einordnung auf Basis der NVD-Daten.
Beschreibung
An elevation of privilege vulnerability exists because of overly permissive Access Control Lists (ACLs) on multiple system files, including the Security Accounts Manager (SAM) database. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker must have the ability to execute code on a victim system to exploit this vulnerability. After installing this security update, you must manually delete all shadow copies of system files, including the SAM database, to fully mitigate this vulnerabilty. Simply installing this security update will not fully mitigate this vulnerability. See KB5005357- Delete Volume Shadow Copies.
Erkennung & Indikatoren
Ausnutzung
Aktiv ausgenutzt (CISA KEV). Ein Angreifer muss in der Lage sein, Code auf einem Opfersystem auszuführen, um diese Schwachstelle auszunutzen. Wenn eine VSS-Schattenkopie des Systemlaufwerks verfügbar ist, können nicht-privilegierte Benutzer auf Dateien im Verzeichnis %windir%\system32\config zugreifen, um eine lokale Privilegieneskalation (LPE) zu erreichen. Dies kann das Extrahieren von Kontopass
Threat-Hunting-Queries
Erkennung von übermäßig permissiven ACLs auf Systemdateien, insbesondere im %windir%\system32\config-Verzeichnis, und der Existenz von VSS-Schattenkopien. Die Abfragen prüfen auf die Berechtigung 'BUILTIN\Users:(I)(RX)' auf der Datei 'sam' und die Existenz von VSS-Schattenkopien.
Sentinel/Defender KQL
DeviceFileEvents
| where FolderPath contains "\\Windows\\system32\\config" and FileName == "sam"
| where InitiatingProcessCommandLine contains "icacls" and InitiatingProcessCommandLine contains "BUILTIN\\Users:(I)(RX)"
| project Timestamp, DeviceName, InitiatingProcessCommandLine, FileName, FolderPath
// Ergänzend: Überprüfung auf VSS-Schattenkopien (falls Logs verfügbar)
// DeviceProcessEvents
// | where FileName == "vssadmin.exe" and ProcessCommandLine contains "list shadows"
// | where ReportId contains "Original Volume: (C:)"Splunk SPL
index=* (sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational OR sourcetype=WinEventLog:Security) EventCode=1 OR EventCode=4663
| search (TargetFilename="*\\Windows\\system32\\config\\sam" AND Access_Mask="0x120089" AND User="BUILTIN\\Users")
| table _time, host, Image, CommandLine, TargetFilename, Access_Mask, User
// Ergänzend: Überprüfung auf VSS-Schattenkopien (falls Logs verfügbar)
// index=* sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=1
// | search CommandLine="*vssadmin list shadows*"
// | search Output="*Original Volume: (C:)*"Sigma
title: CVE-2021-36934 HiveNightmare/SeriousSAM Detection
status: experimental
description: Detects attempts to check for or exploit CVE-2021-36934 (HiveNightmare/SeriousSAM) by checking ACLs on SAM file or listing VSS shadow copies.
references:
- https://www.kb.cert.org/vuls/id/506989
- http://packetstormsecurity.com/files/164006/HiveNightmare-AKA-SeriousSAM.html
logsource:
category: process_creation
product: windows
detection:
selection_icacls:
Image|endswith:
- '\icacls.exe'
CommandLine|contains:
- '%windir%\system32\config\sam'
- 'BUILTIN\Users:(I)(RX)'
selection_vssadmin:
Image|endswith:
- '\vssadmin.exe'
CommandLine|contains:
- 'list shadows'
condition: selection_icacls or selection_vssadmin
falsepositives:
- Legitimate administrative actions (e.g., security audits, troubleshooting)
level: highElastic ES|QL
from process where process.executable : ("*\\icacls.exe", "*\\vssadmin.exe") and (process.args : ("%windir%\\system32\\config\\sam", "BUILTIN\\Users:(I)(RX)") or process.args : "list shadows")
// Ergänzend: Überprüfung auf VSS-Schattenkopien (falls Output verfügbar)
// from process where process.executable : "*\\vssadmin.exe" and process.args : "list shadows" and process.output : "*Original Volume: (C:)*"SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_1909:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_2004:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_21h1:*:*:*:*:*:*:*:*
Referenzen
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36934
- http://packetstormsecurity.com/files/164006/HiveNightmare-AKA-SeriousSAM.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-3693...
- https://www.kb.cert.org/vuls/id/506989
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-...