SecBoard
Zurück zur CVE-Übersicht

CVE-2017-0145

HIGH(8.8)KEV — Aktiv ausgenutzt

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Risk Signal Score79/100 — KRITISCH
  • CVSS 8.8 — Hoch
  • EPSS 90% — sehr wahrscheinlich ausgenutzt
  • Im CISA KEV-Katalog (aktiv ausgenutzt)

CISA KEV

Bestätigt ausgenutzt

EPSS-Score

89.8%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

8.8

Technische Schwere

SecBoard-Einordnung

CVE-2017-0145 ist eine ()-Schwachstelle im SMBv1-Server von Microsoft Windows. Angreifer können durch speziell präparierte Pakete beliebigen Code ausführen. Diese Schwachstelle betrifft verschiedene Windows-Versionen sowie spezifische Siemens Acuson Firmware-Produkte, die SMBv1 nutzen.

KI-gestützte Einordnung auf Basis der NVD-Daten.

Beschreibung

The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; and Windows 10 Gold, 1511, and 1607; and Windows Server 2016 allows remote attackers to execute arbitrary code via crafted packets, aka "Windows SMB Remote Code Execution Vulnerability." This vulnerability is different from those described in CVE-2017-0143, CVE-2017-0144, CVE-2017-0146, and CVE-2017-0148.

Erkennung & Indikatoren

Ausnutzung

Aktiv ausgenutzt (CISA KEV). Exploits, die einige Schwachstellen betreffen, sind öffentlich verfügbar.

Threat-Hunting-Queries

Die Schwachstelle betrifft den SMBv1-Server. Die Detektion konzentriert sich auf ungewöhnliche oder bösartige Aktivitäten im Zusammenhang mit SMBv1, insbesondere Remote Code Execution (RCE) und die Bereitstellung von Payloads wie DOUBLEPULSAR. Da SMBv1 als veraltet und unsicher gilt, sollte seine Nutzung generell minimiert oder deaktiviert werden. Die Queries suchen nach Prozessen, die über SMBv1

Sentinel/Defender KQL

DeviceProcessEvents
| where InitiatingProcessCommandLine contains "smb" and FileName in ("powershell.exe", "cmd.exe", "wmic.exe")
| where ProcessCommandLine contains "DOUBLEPULSAR" or ProcessCommandLine contains "EternalBlue"
| project Timestamp, DeviceName, InitiatingProcessCommandLine, ProcessCommandLine, FileName, FolderPath, SHA256
| join kind=leftouter (
    DeviceNetworkEvents
    | where RemotePort == 445 and InitiatingProcessCommandLine contains "smb"
    | summarize count() by DeviceName, RemoteIP
) on DeviceName
| extend Detection = "Potential SMBv1 RCE (CVE-2017-0145) via DOUBLEPULSAR/EternalBlue related activity"

Splunk SPL

index=windows (sourcetype=WinEventLog:Security OR sourcetype=WinEventLog:System OR sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational)
| (EventCode=4688 OR EventCode=1) ProcessCommandLine=*smb* (Process="powershell.exe" OR Process="cmd.exe" OR Process="wmic.exe")
| search ProcessCommandLine=*DOUBLEPULSAR* OR ProcessCommandLine=*EternalBlue*
| table _time, host, Process, ProcessCommandLine, ParentProcessName, ParentProcessCommandLine, Image, Hashes
| join type=left (
    index=windows sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=3 DestPort=445
    | stats count by host, DestIp
) using host
| eval Detection = "Potential SMBv1 RCE (CVE-2017-0145) via DOUBLEPULSAR/EternalBlue related activity"

Sigma

title: SMBv1 RCE CVE-2017-0145 Detection
author: SecBoard
description: Detects potential exploitation of CVE-2017-0145 (SMBv1 RCE) by looking for suspicious process creation or network activity related to SMBv1 and known exploit tools like DOUBLEPULSAR or EternalBlue.
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    ParentImage|endswith: '\smb.sys'
    Image|endswith:
      - '\powershell.exe'
      - '\cmd.exe'
      - '\wmic.exe'
    CommandLine|contains:
      - 'DOUBLEPULSAR'
      - 'EternalBlue'
  selection_network:
    EventID: 3 # Sysmon Network Connection
    DestinationPort: 445
    Initiated: 'true'
    Image|contains:
      - 'smb'
  condition: selection_process or selection_network
fields:
  - Image
  - CommandLine
  - ParentImage
  - DestinationIp
  - DestinationPort
level: high

Elastic ES|QL

from process where event.category == "process" and event.type == "start" and 
  (process.parent.executable.full_path : "*\\smb.sys" or process.parent.name : "smb.sys") and 
  (process.executable.name : ("powershell.exe", "cmd.exe", "wmic.exe")) and 
  (process.args : ("*DOUBLEPULSAR*", "*EternalBlue*"))
| append (
  from network where event.category == "network" and destination.port == 445 and 
  (process.executable.name : "*smb*" or process.name : "smb.sys")
)
| project @timestamp, host.name, process.executable.name, process.command_line, process.parent.executable.name, destination.ip, destination.port
| set detection.note = "Potential SMBv1 RCE (CVE-2017-0145) via DOUBLEPULSAR/EternalBlue related activity"

SecBoard-generated · behavioral · requires customizationVon SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.

Betroffene Produkte

  • cpe:2.3:a:microsoft:server_message_block:1.0:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p300_firmware:13.02:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p300_firmware:13.03:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p300_firmware:13.20:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p300_firmware:13.21:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p500_firmware:va10:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_p500_firmware:vb10:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_sc2000_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_sc2000_firmware:5.0a:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_x700_firmware:1.0:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:acuson_x700_firmware:1.1:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:syngo_sc2000_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:syngo_sc2000_firmware:5.0a:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:tissue_preparation_system_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:versant_kpcr_molecular_system_firmware:*:*:*:*:*:*:*:*
  • cpe:2.3:o:siemens:versant_kpcr_sample_prep_firmware:*:*:*:*:*:*:*:*

Referenzen