# # (C) Tenable Network Security # if(description) { script_id(11691); script_version ("$Revision$"); name["english"] = "Desktop Orbiter Server Detection"; script_name(english:name["english"]); desc["english"] = " The remote host is running a Desktop Orbiter Satellite This service could be used by an attacker to partially take control of the remote system, as it is not password protected. Solution : Disable this service Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Checks for the presence Desktop Orbiter"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2003 Tenable Network Security"); family["english"] = "Backdoors"; family["francais"] = "Backdoors"; script_family(english:family["english"], francais:family["francais"]); script_dependencie("nmap_osfingerprint.nes", "find_service.nes"); script_require_ports("Services/unknown", 51051); exit(0); } include("misc_func.inc"); os = get_kb_item("Host/OS"); if(os) { if(!("indows" >< os))exit(0); } function probe(port) { if(get_port_state(port) == 0 ) return(0); soc = open_sock_tcp(port); if(!soc)return(0); send(socket:soc, data:raw_string(0xA0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); req = '\r\n\r \r '; send(socket:soc, data:req); r = recv(socket:soc, length:8); if(strlen(r) != 8 )exit(0); len = ord(r[0]); r = recv(socket:soc, length:len); if("Reply version" >< r) { security_hole(port); register_service(port:port, proto:"desktop-orbiter"); } } ports = add_port_in_list(list:get_kb_list("Services/unknown"), port:51051); foreach port (ports) { probe(port:port); }