| Source | Link |
|---|---|
| update | www.update.microsoft.com/microsoftupdate/v6/default.aspx |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(50346);
script_version("1.8");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/01");
# it's called "Microsoft Update" not "Microsoft Windows Update"
# Microsoft Update and Microsoft Windows Update are two different things
script_name(english:"Microsoft Update Installed");
script_summary(english:"Checks for muweb.dll");
script_set_attribute(attribute:"synopsis", value:"A software updating service is installed.");
script_set_attribute(attribute:"description", value:
"Microsoft Update, an expanded version of Windows Update, is installed
on the remote Windows host. This service provides updates for the
operating system and Internet Explorer as well as other Windows
software such as Microsoft Office, Exchange, and SQL Server.");
script_set_attribute(attribute:"see_also", value:"http://update.microsoft.com/microsoftupdate/v6/default.aspx");
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/10/26");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:microsoft_update");
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) 2010-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("smb_hotfixes.nasl");
script_require_keys("SMB/transport", "SMB/name", "SMB/login", "SMB/password");
script_require_ports(139, 445);
exit(0);
}
include("audit.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
login = kb_smb_login();
pass = kb_smb_password();
domain = kb_smb_domain();
port = kb_smb_transport();
if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');
ret = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$");
if (ret != 1)
{
NetUseDel();
audit(AUDIT_SHARE_FAIL,"IPC$");
}
# Connect to remote registry.
hklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);
if (isnull(hklm))
{
NetUseDel();
audit(AUDIT_REG_FAIL);
}
service = NULL;
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services";
key_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED);
if (!isnull(key_h))
{
item = RegQueryValue(handle:key_h, item:"DefaultService");
if (item) service = item[1];
RegCloseKey(handle:key_h);
}
RegCloseKey(handle:hklm);
NetUseDel();
if (service == '7971f918-a847-4430-9279-4a52d1efe18d')
security_note(port);
else if (isnull(service))
exit(0, 'The registry entry '+key+'\\DefaultService not found');
else
exit(0, 'Unknown service GUID : '+service);
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