Lucene search
K

Server Message Block (SMB) Protocol Version 1 Enabled (uncredentialed check)

🗓️ 03 Feb 2017 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 1758 Views

Server Message Block (SMB) Protocol Version 1 Enable

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(96982);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/08/13");

  script_xref(name:"IAVT", value:"0001-T-0710");

  script_name(english:"Server Message Block (SMB) Protocol Version 1 Enabled (uncredentialed check)");
  script_summary(english:"Checks if SMBv1 is enabled via network.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host supports the SMBv1 protocol.");
  script_set_attribute(attribute:"description", value:
"The remote host (Windows and/or Samba server) supports Server Message Block Protocol
version 1 (SMBv1). Microsoft recommends that users discontinue the use
of SMBv1 due to the lack of security features that were included in
later SMB versions. Additionally, most security and compliance agencies 
recommend that users disable SMBv1 per SMB best practices.");
  # https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?59bfc3ef");
  # https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b9d9ebf9");
  # https://www.us-cert.gov/ncas/current-activity/2017/01/16/SMB-Security-Best-Practices
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8dcab5e4");
  # https://www.theregister.co.uk/2017/01/18/uscert_warns_admins_to_kill_smb_after_shadow_brokers_dump/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?234f8ef8");
  # https://www.riskbasedsecurity.com/2016/08/the-shadow-brokers-lifting-the-shadows-of-the-nsas-equation-group/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4c7e0cf3");
  script_set_attribute(attribute:"solution", value:
"Disable SMBv1 according to the vendor instructions in Microsoft
KB2696547. Additionally, block SMB directly by blocking TCP port 445
on all network boundary devices. For SMB over the NetBIOS API, block
TCP ports 137 / 139 and UDP ports 137 / 138 on all network boundary
devices.");
  script_set_attribute(attribute:"risk_factor", value: "None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2017/02/03");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"in_the_news", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2017-2025 Tenable Network Security, Inc.");
  script_family(english:"Misc.");

  script_dependencies("smb_nativelanman.nasl");
  script_require_keys("SMB/SMBv1_is_supported");
  script_require_ports(139, 445);
  exit(0);
}

var smbv1_is_supported = get_kb_item_or_exit("SMB/SMBv1_is_supported");
var port = get_kb_item("SMB/transport");
var report;

if (!port) port = 445;

if (smbv1_is_supported)
{
  report = '\n' +
           'The remote host supports SMBv1.' +
           '\n';
  security_report_v4(port:port, severity:SECURITY_NOTE, extra:report);
}
else audit(AUDIT_HOST_NOT, 'affected');

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Aug 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
1758