| Source | Link |
|---|---|
| totaldefense | www.totaldefense.com/ |
#
# (C) Tenable Network Security, Inc.
#
#
include( 'compat.inc' );
if (description)
{
script_id(12017);
script_version("1.14");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/02/01");
script_name(english:"NCASE Software Detection");
script_summary(english:"NCASE detection");
script_set_attribute(attribute:'synopsis', value:"The remote host contains software that is considered spyware.");
script_set_attribute(attribute:'description', value:
"The remote host is using the NCASE program. You should ensure that:\n
- the user intended to install NCASE (it is sometimes silently
installed) - the use of NCASE matches your corporate mandates and
security policies.
Running an anti-spyware application will typically remove this
software.");
script_set_attribute(attribute:'solution', value:"NCASE is considered spyware, it should be uninstalled.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_attribute(attribute:'see_also', value:"https://www.totaldefense.com/?id=453060842");
script_set_attribute(attribute:"plugin_publication_date", value:"2004/01/15");
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_copyright(english:"This script is Copyright (C) 2004-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Backdoors");
script_dependencies("smb_hotfixes.nasl");
script_require_keys("SMB/Registry/Enumerated");
script_require_ports(139, 445);
exit(0);
}
#
include("audit.inc");
include("smb_func.inc");
if ( ! get_kb_item("SMB/Registry/Enumerated") ) exit(1);
path[0] = "clsid\{2bc43670-c0bd-4794-bb11-f60f3e001dc5}";
path[1] = "clsid\{6eb5b540-1e74-4d91-a7f0-5b758d333702}";
path[2] = "software\microsoft\code store database\distribution units\{6eb5b540-1e74-4d91-a7f0-5b758d333702}";
path[3] = "software\microsoft\windows\currentversion\uninstall\msbb";
path[4] = "software\microsoft\windows\currentversion\uninstall\ncase";
path[5] = "typelib\{6eb5b540-1e74-4d91-a7f0-5b758d333702}";
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 )
{
NetUseDel();
audit(AUDIT_SHARE_FAIL,"IPC$");
}
handle = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);
if ( isnull(handle) )
{
NetUseDel();
audit(AUDIT_REG_FAIL);
}
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