Lucene search
K

Microsoft Windows SMB Registry : XP Service Pack Detection

🗓️ 12 Sep 2002 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 62 Views

Detects Windows XP Service Pack by checking registry key for version info.

Code
#
# This script was written by Georges Dagousset <[email protected]>
# Modified by David Maciejak <david dot maciejak at kyxar dot fr> to add check for Service Pack 2
#
# See the Nessus Scripts License for details
#

# Changes by Tenable:
# - Updated to use compat.inc, updated security_note to use 'extra' arg (11/20/09)
# - Updated title (12/17/09)
# - Updated title (3/2/11)
# - Updated to account for POSReady 2009 (5/16/16)

include("compat.inc");

if (description)
{
 script_id(11119);
 script_version("1.36");
 script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/01");

 script_bugtraq_id(10897);
 
 script_name(english:"Microsoft Windows SMB Registry : XP Service Pack Detection");
 script_summary(english:"Determines the remote SP.");
 
 script_set_attribute(attribute:"synopsis", value:
"It was possible to determine the service pack installed on the remote
system.");
 script_set_attribute(attribute:"description", value:
"Nessus was able to determine the Service Pack version of the Windows
XP system by reading the following registry key :

HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\CSDVersion");
 script_set_attribute(attribute:"solution", value:"n/a");
 script_set_attribute(attribute:"risk_factor", value:"None");
 
 script_set_attribute(attribute:"plugin_publication_date", value:"2002/09/12");

 script_set_attribute(attribute:"plugin_type", value:"local");
 script_set_attribute(attribute:"asset_inventory", value:"True");
 script_set_attribute(attribute:"agent", value:"windows");
 script_end_attributes();
 
 script_category(ACT_GATHER_INFO);
 script_family(english:"Windows");

 script_copyright(english:"This script is Copyright (C) 2002-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

 script_dependencies("smb_reg_service_pack.nasl");
 script_require_keys("SMB/WindowsVersion");
 script_require_ports(139, 445);

 exit(0);
}

#

if ( get_kb_item("SMB/RegOverSSH") ) exit(0);

port = get_kb_item("SMB/transport");
if(!port)port = 139;

win = get_kb_item("SMB/WindowsVersion"); 
if (!win) exit(0);

sp = get_kb_item("SMB/CSDVersion");

name = tolower(get_kb_item("SMB/ProductName"));

if(win == "5.1" && "embedded" >!< name)
{
 if (sp)
   set_kb_item(name:"SMB/WinXP/ServicePack", value:sp);

  report = string ("\n",
		"The remote Windows XP system has ", sp , " applied.\n");

  security_note(extra:report, port:port);
}

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

01 Feb 2022 00:00Current
5.4Medium risk
Vulners AI Score5.4
62