| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if(description)
{
script_id(18367);
script_version ("$Revision: 1.19 $");
script_name(english: "Kibuv Worm Detection");
script_set_attribute(attribute:"synopsis", value:
"The remote host may be compromised." );
script_set_attribute(attribute:"description", value:
"The welcome message on this port matches the banner of a known
backdoor. This is highly suspicious. The host is probably infected
by a backdoor and is probably under the control of malicious
attackers." );
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?19420d0e" );
script_set_attribute(attribute:"solution", value:
"Patch the affected system and run an antivirus." );
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: "2005/05/25");
script_cvs_date("$Date: 2013/01/25 01:19:08 $");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_summary(english: "Detect some backdoors FTP banner (KIBUV, Agobot...)");
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2005-2013 Tenable Network Security, Inc.");
script_family(english: "Backdoors");
# WARNING! ftpserver_detect_type_nd_version.nasl depends on this script!
script_dependencie("find_service1.nasl");
# Trend says that KIBUV.B is on 7955 but I saw it on 14920 and 42260
script_require_ports("Services/three_digits", 7955);
exit(0);
}
#
include("global_settings.inc");
include("misc_func.inc");
banners = make_array(
"220 StnyFtpd 0wns j0", "KIBUV.B",
"220 fuckFtpd 0wns j0", "KIBUV.B" ,
"220 NzmxFtpd 0wns j0", "KIBUV" ,
"220 Reptile welcomes you", "Reptile",
"220 Bot Server (Win32)", "Agobot",
"220 *Ftpd 0wns j0", "KIBUV unknown variant" );
global_var desc, port;
function test(port)
{
local_var b, ban, report, trojan;
if (! get_port_state(port)) return 0;
b = get_unknown_banner(port: port);
if (! b) return 0;
foreach ban (keys(banners))
{
if (match(string: b, pattern: ban+'*'))
{
trojan=banners[ban];
set_kb_item(name: 'ftp/'+port+'/backdoor', value: trojan);
set_kb_item(name: 'backdoor/TCP/'+port, value: TRUE);
set_kb_item(name: 'ftp/backdoor', value: trojan);
report = string(
"Backdoor : ", trojan, "\n",
"Banner : ", b, "\n"
);
security_hole(port:port, extra:report);
return 1;
}
}
return 0;
}
# Trend says that KIBUV.B is on 7955 but I saw it on 14920 and 42260
ports = make_service_list(7955, 'Services/three_digits', 'Services/agobot.fo', 'Services/ftp');
foreach port (ports) test(port: port);
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