Lucene search
K

Microsoft SMB Signing Enabled and Not Required At Server

🗓️ 28 Feb 2012 00:00:00Reported by Copyright (C) 2012 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

Microsoft SMB Signing Enabled and Not Required At Serve

Refs
Code
SourceLink
mccltdwww.mccltd.net/blog/
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms_smb_signing_enabled_not_req_at_server.nasl 5940 2017-04-12 09:02:05Z teissa $
#
# Microsoft SMB Signing Enabled and Not Required At Server
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2012 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_summary = "This script finds the SMB Signing is enabled and not required at
  the server.";

if(description)
{
  script_id(902798);
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
 script_version("$Revision: 5940 $");
  script_tag(name:"last_modification", value:"$Date: 2017-04-12 11:02:05 +0200 (Wed, 12 Apr 2017) $");
  script_tag(name:"creation_date", value:"2012-02-28 10:56:55 +0530 (Tue, 28 Feb 2012)");
  script_tag(name:"cvss_base", value:"0.0");
  script_name("Microsoft SMB Signing Enabled and Not Required At Server");
  script_xref(name : "URL" , value : "http://mccltd.net/blog/?p=1252");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 SecPod");
  script_family("Windows");
  script_dependencies("smb_login.nasl");
  script_require_ports(139, 445);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("smb_nt.inc");

## Variable Initialization
name = "";
port = "";
soc = "";
response = "";
prot = "";

## Get name and port
name = kb_smb_name();
port = kb_smb_transport();

## Open the socket
soc = open_sock_tcp(port);
if(!soc){
  exit(0);
}

response = smb_session_request(soc:soc, remote:name);
if(!response)
{
  close(soc);
  exit(0);
}

## SMB Negotiate Protocol Response
## If SMB Signing is enabled and not required at the server,
## then Security Mode: 0x07
prot = smb_neg_prot(soc:soc);
if(prot && ord(prot[39]) == 7){
  log_message(data:"SMB Signing is enabled and not required at the server");
}

## Close the socket
close(soc);

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

12 Apr 2017 00:00Current
16