#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(12266);
script_version("1.14");
script_cvs_date("Date: 2018/11/15 20:50:16");
script_name(english:"W32.Dabber Worm Detection");
script_summary(english:"W32.Dabber worm detection");
script_set_attribute(attribute:"synopsis", value:"The remote host has been compromised.");
script_set_attribute(attribute:"description", value:
"The W32.Dabber worm is listening on this port. W32.Dabber propagates
by exploiting a vulnerability in the FTP server component of
W32.Sasser.Worm and its variants.
It installs a backdoor on infected hosts and tries to listen on port
9898. If the attempt fails, it tries to listen on ports 9899 through
9999 in sequence until it finds an open port.");
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?839c7128");
script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2004/ms04-011");
script_set_attribute(attribute:"solution", value:
"- Disable access to port 445 and Dabber remote shell by
using a firewall.
- Apply Microsoft MS04-011 patch.
- Update your virus definitions.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_attribute(attribute:"plugin_publication_date", value:"2004/06/10");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
script_family(english:"Backdoors");
script_dependencies("find_service2.nasl");
script_require_keys("Settings/ParanoidReport");
script_require_ports(5554);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
#
# The script code starts here
#
sasser_port = 5554;
dabber_ports = make_list();
for ( port = 9898 ; port <= 9999 ; port ++ )
{
dabber_ports = make_list(dabber_ports, port);
}
if (get_port_state(sasser_port))
{
if (open_sock_tcp(sasser_port))
{
foreach port (dabber_ports)
{
if (get_port_state(port))
{
soc=open_sock_tcp(port);
if (soc)
{
buf = string("C");
send(socket:soc, data:buf);
data_root = recv(socket:soc, length:2048);
close(soc);
if(data_root)
{
security_hole(port);
}
}
}
}
}
}
exit(0);
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