28 August 2005

Nessus plugin for Checkpoint

#
# Body of a script
#


if (description)
{
script_id(987654);
script_version ("$Revision: 1.00 $");
name["english"] = "Checkpoint Firewall-1 Ica_Services Detection";
script_name(english:name["english"]);
script_description(english:
"A Firewall-1 Isa_Services running on this port.

An attacker can understand your firewall vendor name
and the IP addresses of the firewall by scanning this service remotly.

Solution : if you do not use this service, disable it.
Risk factor : Low");
summary["english"] = "Checks for the presence of Checkpoint Firewall Ica_Services ";
script_summary(english:summary["english"]);
script_category(ACT_GATHER_INFO);
script_family(english:"Firewalls");
script_copyright(english:"This script is Copyright (C) 2005 Anil Pazvant ");
script_dependencie("find_service.nes", "http_version.nasl" , "httpver.nasl");
script_require_ports("Services/www",18264);
exit(0);

}

#
# the code
#
include("http_func.inc");
include ("http_keepalive.inc");

port = get_http_port(default:18264)

if (!get_port_state(port))exit(0);
req = http_get(item:"/", port:port);
x = http_keepalive_send_recv(port:port, data:req, bodyonly:1);
if (x==NULL)exit(0);

if (egrep(pattern:"Server: Check Point SVN foundation", string:x))
{
security_hole(port);
}
exit(0);

No comments: