Lucene search
K

Altiris Deployment Server Detection

🗓️ 15 Aug 2007 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 29 Views

Altiris Deployment Server component of Altiris Deployment Solution is running on the remote host

Refs
Code
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include("compat.inc");

if (description)
{
  script_id(25897);
  script_version("1.16");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_name(english:"Altiris Deployment Server Detection");

  script_set_attribute(attribute:"synopsis", value:
"A deployment service is listening on the remote host.");
  script_set_attribute(attribute:"description", value:
"The remote service is running the Deployment Server component of
Altiris Deployment Solution, a product for centralized management of
computer systems throughout an enterprise.");
  script_set_attribute(attribute:"see_also", value:"http://www.altiris.com/Products/DeploymentSolution.aspx");
  script_set_attribute(attribute:"solution", value:
"Limit incoming traffic to this port if desired.");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2007/08/15");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:altiris:deployment_server_extension_for_ibm_director");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_DESTRUCTIVE_ATTACK);
  script_family(english:"Service detection");

  script_copyright(english:"This script is Copyright (C) 2007-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("find_service1.nasl");
  script_require_ports("Services/unknown", 402);

  exit(0);
}


include("byte_func.inc");
include("global_settings.inc");
include("misc_func.inc");


if (thorough_tests && !get_kb_item("global_settings/disable_service_discovery") )
{
  port = get_unknown_svc(402);
  if (!port) exit(0);
}
else port = 402;
if (known_service(port:port)) exit(0);
if (!get_tcp_port_state(port)) exit(0);


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


# Send a request.
name = SCRIPT_NAME;
req = 
  'Request=SmartUpdate\n' +
    'ID=1\n' +
    'MAC-Address=00132003bd94\n' +
    'Name=' + name + '\n' +
    'Domain-Member=No\n' +
    'IP-Address=' + compat::this_host() + '\n' +
    'Computer-Name=NESSUS\n' +
  mkbyte(0);
send(socket:soc, data:req);
res = recv(socket:soc, length:1024);
close(soc);


# If it looks like a valid reply...
if (
  "Reply=SmartUpdate" >< res &&
  "Result=" >< res
)
{
  # Extract some interesting info for the report.
  info = "";
  # - server name.
  if ("Server-Name=" >< res)
  {
    name = strstr(res, "Server-Name=") - "Server-Name=";
    name = name - strstr(name, '\n');
    if (strlen(name))
    {
      info += "  Server name : " + name + '\n';
    }
  }
  # - Deployment Server version.
  if ("DSVersion=" >< res)
  {
    ver = strstr(res, "DSVersion=") - "DSVersion=";
    ver = ver - strstr(ver, '\n');
    if (ver =~ "^[0-9][0-9.]+$")
    {
      set_kb_item(name:"Altiris/DSVersion/"+port, value:ver);
      info += "  Version     : " + ver + '\n';
    }
  }

  # Register and report the service.
  register_service(port:port, ipproto:"tcp", proto:"axengine");

  if (info)
    report = string(
      "Nessus was able to gather the following information from the remote\n",
      "Altiris Deployment Server :\n",
      "\n",
      info
    );
  else report = NULL;
  security_note(port:port, extra:report);
}

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

11 Apr 2022 00:00Current
5.5Medium risk
Vulners AI Score5.5
29