Bugbear.B web backdoor

2005-11-03T00:00:00
ID OPENVAS:136141256231011707
Type openvas
Reporter This script is Copyright (C) 2003 StrongHoldNet
Modified 2019-11-22T00:00:00

Description

Your system seems to be infected by the Bugbear.B virus (its backdoor has been detected on port 81).

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# Bugbear.B web backdoor
#
# Authors:
# StrongHoldNet
# Modifications by rd:
#  -> Try every web server, not just port 81
#
# Copyright:
# Copyright (C) 2003 StrongHoldNet
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

# Ref: http://www.f-secure.com/v-descs/bugbear_b.shtml

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11707");
  script_version("2019-11-22T13:51:04+0000");
  script_tag(name:"last_modification", value:"2019-11-22 13:51:04 +0000 (Fri, 22 Nov 2019)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_name("Bugbear.B web backdoor");
  script_category(ACT_GATHER_INFO);
  script_family("Malware");
  script_copyright("This script is Copyright (C) 2003 StrongHoldNet");
  script_dependencies("find_service.nasl", "http_version.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 81);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_xref(name:"URL", value:"ftp://ftp.f-secure.com/anti-virus/tools/f-bugbr.zip");
  script_xref(name:"URL", value:"http://www.f-secure.com/v-descs/bugbear_b.shtml");

  script_tag(name:"solution", value:"Use your favorite antivirus to disinfect your
  system. Standalone disinfection tools also exist and is linked in the references.");

  script_tag(name:"summary", value:"Your system seems to be infected by the Bugbear.B virus
  (its backdoor has been detected on port 81).");

  script_tag(name:"solution_type", value:"Workaround");
  script_tag(name:"qod_type", value:"remote_vul");

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");

port = get_http_port(default:81);

url = string('/%NETHOOD%/');
req = http_get(item:url, port:port);
buf = http_keepalive_send_recv(port:port, data:req);
if(!buf) exit(0);
if(ereg(pattern:"^HTTP/[0-9]\.[0-9] 200 ", string:buf) && "Microsoft Windows Network" >< buf)
  security_message(port:port);