CVE-2020-0796
CRITICAL(10.0)KEV — Aktiv ausgenutztCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 10 — Kritisch
- EPSS 100% — sehr wahrscheinlich ausgenutzt
- Im CISA KEV-Katalog (aktiv ausgenutzt)
CISA KEV
Bestätigt ausgenutzt
EPSS-Score
99.8%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
10
Technische Schwere
SecBoard-Einordnung
CVE-2020-0796 ist eine kritische Remote Code Execution (RCE) Schwachstelle im Microsoft Server Message Block 3.1.1 (SMBv3) Protokoll. Sie ermöglicht es einem nicht authentifizierten Angreifer, speziell gestaltete Netzwerkpakete an einen anfälligen SMBv3-Server zu senden oder einen anfälligen SMBv3-Client dazu zu bringen, sich mit einem bösartigen SMBv3-Server zu verbinden. Eine erfolgreiche Ausnutzung kann zur Ausführung von beliebigem Code mit Systemrechten führen.
KI-gestützte Einordnung auf Basis der NVD-Daten.
Beschreibung
A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests, aka 'Windows SMBv3 Client/Server Remote Code Execution Vulnerability'.
Erkennung & Indikatoren
Ausnutzung
Aktiv ausgenutzt (CISA KEV). Es existieren Proof-of-Concepts für Remote Code Execution und Local Privilege Escalation.
Threat-Hunting-Queries
Die Schwachstelle betrifft das SMBv3-Protokoll. Eine Erkennung sollte sich auf ungewöhnliche oder bösartige SMB-Kommunikation konzentrieren, insbesondere auf Port 445. Da die Schwachstelle in der Handhabung bestimmter Anfragen liegt, könnten Anomalien in der SMB-Paketgröße, -Struktur oder -Frequenz Indikatoren sein. Eine präzise IOC-basierte Erkennung ist ohne konkrete Angreifer-IOCs nicht möglich
Sentinel/Defender KQL
let smb_port = 445;
NetworkCommunicationEvents
| where RemotePort == smb_port or LocalPort == smb_port
| where InitiatingProcessName has_any ("smb", "svchost", "System") // Oder andere relevante Prozesse
| summarize count() by bin(5m), RemoteIP, RemotePort, LocalIP, LocalPort, InitiatingProcessName
| where count_ > 100 // Beispiel: Hohe Anzahl von SMB-Verbindungen in kurzer Zeit
| project StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), RemoteIP, RemotePort, LocalIP, LocalPort, InitiatingProcessName, ConnectionCount = count_
| extend Description = 'Potentially anomalous SMB traffic related to CVE-2020-0796'Splunk SPL
index=* (sourcetype=WinEventLog:Microsoft-Windows-SMBServer/Operational OR sourcetype=WinEventLog:System) EventCode=*
| where DstPort=445 OR SrcPort=445
| stats count by _time, src_ip, dest_ip, DstPort, SrcPort
| where count > 100
| rename count as ConnectionCount
| eval Description = "Potentially anomalous SMB traffic related to CVE-2020-0796"Sigma
title: SMBv3 RCE (CVE-2020-0796) Anomaly Detection
author: SecBoard Operations
date: 2023/10/27
logsource:
category: network_connection
product: windows
detection:
selection:
DestinationPort: 445
timeframe: 5m
condition: selection | count() > 100
fields:
- SourceIp
- DestinationIp
- DestinationPort
falsepositives:
- Legitimate high SMB traffic
level: highElastic ES|QL
from network_traffic
| where destination.port == 445 or source.port == 445
| where process.name : ("smb", "svchost", "System")
| summarize connection_count = count() by span(timestamp, 5m), source.ip, destination.ip, destination.port, source.port, process.name
| where connection_count > 100
| project timestamp, source.ip, destination.ip, destination.port, source.port, process.name, connection_count
| append { 'Description': 'Potentially anomalous SMB traffic related to CVE-2020-0796' }SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Ausgewertete Quellen
- http://packetstormsecurity.com/files/156731/CoronaBlue-SMBGhost-Microsoft-Windows-10-SMB-3.1.1-Proof-Of-Concept.html
- http://packetstormsecurity.com/files/156732/Microsoft-Windows-SMB-3.1.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156980/Microsoft-Windows-10-SMB-3.1.1-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/157110/SMBv3-Compression-Buffer-Overflow.html
- http://packetstormsecurity.com/files/157901/Microsoft-Windows-SMBGhost-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/158054/SMBleed-SMBGhost-Pre-Authentication-Remote-Code-Execution-Proof-Of-Concept.html
Betroffene Produkte
- cpe:2.3:o:microsoft:windows_10_1903:-:*:*:*:*:*:arm64:*
- cpe:2.3:o:microsoft:windows_10_1903:-:*:*:*:*:*:x64:*
- cpe:2.3:o:microsoft:windows_10_1903:-:*:*:*:*:*:x86:*
- cpe:2.3:o:microsoft:windows_10_1909:-:*:*:*:*:*:arm64:*
- cpe:2.3:o:microsoft:windows_10_1909:-:*:*:*:*:*:x64:*
- cpe:2.3:o:microsoft:windows_10_1909:-:*:*:*:*:*:x86:*
- cpe:2.3:o:microsoft:windows_server_1903:-:*:*:*:*:*:x64:*
- cpe:2.3:o:microsoft:windows_server_1909:-:*:*:*:*:*:x64:*
Referenzen
- http://packetstormsecurity.com/files/156731/CoronaBlue-SMBGhost-Microsoft-Window...
- http://packetstormsecurity.com/files/156732/Microsoft-Windows-SMB-3.1.1-Remote-C...
- http://packetstormsecurity.com/files/156980/Microsoft-Windows-10-SMB-3.1.1-Local...
- http://packetstormsecurity.com/files/157110/SMBv3-Compression-Buffer-Overflow.ht...
- http://packetstormsecurity.com/files/157901/Microsoft-Windows-SMBGhost-Remote-Co...
- http://packetstormsecurity.com/files/158054/SMBleed-SMBGhost-Pre-Authentication-...
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0796
- http://packetstormsecurity.com/files/156731/CoronaBlue-SMBGhost-Microsoft-Window...
- http://packetstormsecurity.com/files/156732/Microsoft-Windows-SMB-3.1.1-Remote-C...
- http://packetstormsecurity.com/files/156980/Microsoft-Windows-10-SMB-3.1.1-Local...