CVE-2021-27065
HIGH(7.8)KEV — Aktiv ausgenutztCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 7.8 — Hoch
- EPSS 100% — sehr wahrscheinlich ausgenutzt
- Im CISA KEV-Katalog (aktiv ausgenutzt)
CISA KEV
Bestätigt ausgenutzt
EPSS-Score
99.9%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
7.8
Technische Schwere
SecBoard-Einordnung
CVE-2021-27065 ist eine Remote Code Execution (RCE) Schwachstelle, die Microsoft Exchange Server betrifft. Ein erfolgreicher Exploit ermöglicht es einem Angreifer, beliebigen Code auf dem verwundbaren Server auszuführen. Dies kann zu einer vollständigen Kompromittierung des Systems und der darauf befindlichen Daten führen.
KI-gestützte Einordnung auf Basis der NVD-Daten.
Beschreibung
Microsoft Exchange Server Remote Code Execution Vulnerability
Erkennung & Indikatoren
Ausnutzung
Aktiv ausgenutzt (CISA KEV), Teil der ProxyLogon-Exploit-Kette, bekannt für den Einsatz in Ransomware-Kampagnen.
Threat-Hunting-Queries
Die Schwachstelle ist eine Remote Code Execution (RCE) in Microsoft Exchange Server. Die Detektion sollte sich auf ungewöhnliche Prozessstarts, Dateierstellung oder Netzwerkverbindungen konzentrieren, die von Exchange-Prozessen ausgehen und auf eine Kompromittierung hindeuten könnten. Da es sich um eine RCE handelt, ist die Ausführung beliebigen Codes möglich, daher sind generische Verhaltensmuste
Sentinel/Defender KQL
DeviceProcessEvents
| where InitiatingProcessFileName has_any ("w3wp.exe", "powershell.exe", "cmd.exe")
| where FileName has_any ("powershell.exe", "cmd.exe", "mshta.exe", "certutil.exe", "bitsadmin.exe")
| where FolderPath !startswith "C:\Program Files\Microsoft\Exchange Server"
| project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, FolderPath, InitiatingProcessParentFileNameSplunk SPL
index=* (sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational OR sourcetype=WinEventLog:Security) EventCode=1 (ParentImage="*\\w3wp.exe" OR ParentImage="*\\powershell.exe" OR ParentImage="*\\cmd.exe") (Image="*\\powershell.exe" OR Image="*\\cmd.exe" OR Image="*\\mshta.exe" OR Image="*\\certutil.exe" OR Image="*\\bitsadmin.exe") NOT Image="C:\Program Files\Microsoft\Exchange Server*" | table _time, host, ParentImage, Image, CommandLineSigma
title: Exchange Server RCE - Suspicious Process Creation
author: SecBoard
date: 2024/07/30
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith:
- '\w3wp.exe'
- '\powershell.exe'
- '\cmd.exe'
Image|endswith:
- '\powershell.exe'
- '\cmd.exe'
- '\mshta.exe'
- '\certutil.exe'
- '\bitsadmin.exe'
filter:
Image|startswith: 'C:\Program Files\Microsoft\Exchange Server'
condition: selection and not filter
level: highElastic ES|QL
from process where event.category == "process" and event.type == "start" and (process.parent.executable.endswith("w3wp.exe") or process.parent.executable.endswith("powershell.exe") or process.parent.executable.endswith("cmd.exe")) and (process.executable.endswith("powershell.exe") or process.executable.endswith("cmd.exe") or process.executable.endswith("mshta.exe") or process.executable.endswith("certutil.exe") or process.executable.endswith("bitsadmin.exe")) and not process.executable.startswith("C:\\Program Files\\Microsoft\\Exchange Server")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:a:microsoft:exchange_server:2013:cumulative_update_21:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2013:cumulative_update_22:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2013:cumulative_update_23:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2013:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_10:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_11:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_12:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_13:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_14:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_15:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_16:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_17:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_18:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_19:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_8:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:-:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_4:*:*:*:*:*:*
Referenzen
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-27065
- http://packetstormsecurity.com/files/161938/Microsoft-Exchange-ProxyLogon-Remote...
- http://packetstormsecurity.com/files/162736/Microsoft-Exchange-ProxyLogon-Collec...
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-2706...
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-...