pcAnywhere

2005-11-03T00:00:00
ID OPENVAS:136141256231010006
Type openvas
Reporter This script is Copyright (C) 1999 Mathieu Perrin
Modified 2017-12-22T00:00:00

Description

pcAnywhere is running on this port.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: PC_anywhere.nasl 8236 2017-12-22 10:28:23Z cfischer $
#
# pcAnywhere
#
# Authors:
# Mathieu Perrin <mathieu@tpfh.org>
# modded by John Jackson <jjackson@attrition.org> to pull hostname
# changes by rd : more verbose report on hostname
# changes by Tenable Network Security: new detection code
#
# Copyright:
# Copyright (C) 1999 Mathieu Perrin
#
# 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10006");
  script_version("$Revision: 8236 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-22 11:28:23 +0100 (Fri, 22 Dec 2017) $");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_tag(name:"cvss_base", value:"0.0");
  script_name("pcAnywhere");
  script_category(ACT_GATHER_INFO);
  script_copyright("This script is Copyright (C) 1999 Mathieu Perrin");
  script_family("Service detection");
  script_require_udp_ports(5632);

  tag_summary = "pcAnywhere is running on this port.";

  tag_solution = "Disable this service if you do not use it.";

  script_tag(name:"solution", value:tag_solution);
  script_tag(name:"summary", value:tag_summary);

  script_tag(name:"qod_type", value:"remote_analysis");

  exit(0);
}

port = 5632;
if( ! get_udp_port_state( port ) ) exit( 0 );

soc = open_sock_udp( port );
if( ! soc ) exit( 0 );

send( socket:soc, data:"ST" );
buf = recv( socket:soc, length:2 );
close( soc );

if( "ST" >< buf ) log_message( port:port, protocol:"udp" );