Lucene search
K

SaveNOW Detection

🗓️ 15 Jan 2004 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 24 Views

Detects SaveNOW installation, review user intent and compliance with security policies.

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

include("compat.inc");

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

 script_name(english:"SaveNOW Detection");
 script_summary(english:"SaveNOW detection");

 script_set_attribute(attribute:"synopsis", value:"SaveNOW is installed.");
 script_set_attribute(attribute:"description", value:
"The remote host is using the SaveNOW program. You should ensure that:
- the user intended to install SaveNOW (it is sometimes silently
installed) - the use of SaveNOW matches your corporate mandates and
security policies.

To remove this sort of software, you may wish to check out ad-aware or
spybot.");
 script_set_attribute(attribute:"solution", value:"Uninstall this software.");
 script_set_attribute(attribute:"risk_factor", value:"High");

 script_set_attribute(attribute:"plugin_publication_date", value:"2004/01/15");

script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"x-cpe:/a:savenow:savenow");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"agent", value:"windows");
script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2004-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
 script_family(english:"Windows");
 script_dependencies("smb_hotfixes.nasl");
 script_require_keys("SMB/Registry/Enumerated");
 script_require_ports(139, 445);
 exit(0);
}


include("smb_func.inc");
include("audit.inc");


if ( ! get_kb_item("SMB/Registry/Enumerated") ) exit(1);

path[0] = "software\whenusave";
path[1] = "software\Microsoft\Windows\CurrentVersion\WhenUSave";
path[2] = "software\classes\clsid\{08351226-6472-43bd-8a40-d9221ff1c4ce}";
path[3] = "software\classes\clsid\{9f95f736-0f62-4214-a4b4-caa6738d4c07}";
path[4] = "software\classes\interface\{c285d18d-43a2-4aef-83fb-bf280e660a97}";
path[5] = "software\microsoft\windows\currentversion\uninstall\savenow";


port = kb_smb_transport();


login = kb_smb_login();
pass  = kb_smb_password();
domain = kb_smb_domain();



if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');
r = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$");
if ( r != 1 ) exit(0);

handle = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);
if ( isnull(handle) )
{
 NetUseDel();
 exit(0);
}


for (i=0; path[i]; i++) {
       key_h = RegOpenKey(handle:handle, key:path[i], mode:MAXIMUM_ALLOWED);
       if ( !isnull(key_h) )
       {
         RegCloseKey(handle:key_h);
         RegCloseKey(handle:handle);
	 security_hole(kb_smb_transport());
	 NetUseDel();
	 exit(0);
       }
}


RegCloseKey(handle:handle);
NetUseDel();

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