#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if(description)
{
script_id(48942);
script_version("1.9");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/01");
script_name(english:"Microsoft Windows SMB Registry : OS Version and Processor Architecture");
script_set_attribute(attribute:"synopsis", value:
"It was possible to determine the processor architecture, build lab
strings, and Windows OS version installed on the remote system.");
script_set_attribute(attribute:"description", value:
"Nessus was able to determine the processor architecture, build lab
strings, and the Windows OS version installed on the remote system by
connecting to the remote registry with the supplied credentials.");
script_set_attribute(attribute:"solution", value:"n/a" );
script_set_attribute(attribute:"risk_factor", value:"None" );
script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/31");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"os_identification", value:"True");
script_set_attribute(attribute:"agent", value:"windows");
script_end_attributes();
script_summary(english:"Reports Windows OS version and processor architecture");
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2010-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Windows");
script_dependencies("smb_hotfixes.nasl","smb_reg_service_pack.nasl");
script_require_ports("SMB/WindowsVersion", "SMB/WindowsVersionBuild", "SMB/ARCH");
exit(0);
}
port = get_kb_item("SMB/transport");
os_version = get_kb_item("SMB/WindowsVersion");
os_build = get_kb_item("SMB/WindowsVersionBuild");
os_arch = get_kb_item("SMB/ARCH");
os_labex = get_kb_item("SMB/BuildLabEx");
os = '';
report = '';
if(os_version)
{
os = os_version;
if(os_build)
os += "." + os_build;
report += 'Operating system version = ' + os + '\n';
}
if(os_arch)
report += 'Architecture = '+ os_arch + '\n';
if(os_labex)
report += 'Build lab extended = '+ os_labex + '\n';
# Always report
if (strlen(report) > 0)
security_note(port:port,extra:report);
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