Lucene search
K

Microsoft System Center Operations Manager Component Installed

🗓️ 09 Jan 2013 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 62 Views

Checks if Microsoft System Center Operations Manager (SCOM) component is installed on the remote Windows host

Refs
Code
SourceLink
nessuswww.nessus.org/u
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(63418);
  script_version("1.11");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/01/21");

  script_name(english:"Microsoft System Center Operations Manager Component Installed");
  script_summary(english:"Checks registry and FS for SCOM");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A data center management system component is installed on the remote
Windows host."
  );
  script_set_attribute(
    attribute:"description",
    value:
"Microsoft System Center Operations Manager (SCOM, formerly known as
Microsoft Operations Manager) is a data center management system.  A
component of the SCOM system is installed on the remote host."
  );
   # https://azure.microsoft.com/en-us/?ocid=cloudplat_hp
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?76f71a39");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/09");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:system_center_operations_manager");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"asset_inventory_category", value:"software_enumeration");
  script_set_attribute(attribute:"agent", value:"windows");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

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

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}

include("smb_func.inc");
include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("smb_reg_query.inc");
include("install_func.inc");

var appname = 'System Center Operations Manager';

registry_init();
var hklm = registry_hive_connect(hive:HKEY_LOCAL_MACHINE, exit_on_fail:TRUE);
var key = "SOFTWARE\Microsoft\Microsoft Operations Manager";
var subkeys = get_registry_subkeys(handle:hklm, key:key);
var paths = make_array(); # key = path, value = product name
var subkey, names, values, path, product, exe;

foreach subkey (subkeys)
{
  if (subkey =~ '^[0-9\\.]+$')
  {
    subkey = key + "\" + subkey + "\Setup";
    names = make_list('InstallDirectory', 'Product');
    values = get_values_from_key(handle:hklm, key:subkey, entries:names);
    path = values['InstallDirectory'];

    if (!isnull(path))
    {
      product = values['Product'];
      if (isnull(product))
        product = 'n/a';

      paths[path] = product;
    }
  }
}

RegCloseKey(handle:hklm);

if (max_index(keys(paths)) == 0)
{
  close_registry();
  audit(AUDIT_NOT_INST, appname);
}
close_registry(close:FALSE);

var installs = make_array(); # key = path, value = product name
foreach path (keys(paths))
{
  exe = path + "\HealthService.exe";
  if (hotfix_file_exists(path:exe))
  {
    product = paths[path];
    installs[path] = product;
  }
}

if (max_index(keys(installs)) == 0)
{
  hotfix_check_fversion_end();
  audit(AUDIT_UNINST, appname);
}

set_kb_item(name:'SMB/System Center Operations Manager/Installed', value:TRUE);

var port = kb_smb_transport();

foreach path (keys(installs))
{
  var version, omversion_path, console_path;
  var om_version, om_fver, console_fver, console_version;
  var om_dll = 'Eula\\OMVersion.dll';
  var console_exe = 'Console\\Microsoft.EnterpriseManagement.Monitoring.Console.exe';

  product = installs[path];
  set_kb_item(name:'SMB/System Center Operations Manager/Install/' + product, value:path);

  omversion_path = hotfix_append_path(path:path, value:om_dll);
  console_path = path - 'Server\\';
  console_path = hotfix_append_path(path:console_path, value:console_exe);

  # Retrieve and compare the OMVersion and Console version
  om_fver = hotfix_get_fversion(path:omversion_path);
  if(om_fver['error'] == HCF_OK && !empty_or_null(om_fver['value']))
  {
    om_version = join(sep:'.', om_fver['value']);
    dbg::detailed_log(lvl:2, msg:'Version found from OMVersion.dll: ' + om_version);
  }
  console_fver = hotfix_get_fversion(path:console_path);
  if(console_fver['error'] == HCF_OK && !empty_or_null(console_fver['value']))
  {
    console_version = join(sep:'.', console_fver['value']);
    dbg::detailed_log(lvl:2, msg:'Version found from Console.exe: ' + console_version);
  }

  if((ver_compare(ver:om_version, fix:console_version, strict:FALSE)) >= 0)
    version = om_version;
  else version = console_version;

  register_install(
    app_name:product,
    vendor : 'Microsoft',
    product : 'System Center Operations Manager',
    path:path,
    version:version,
    cpe:"cpe:/a:microsoft:system_center_operations_manager");
}

hotfix_check_fversion_end();

report_installs(app_name:product , port:port);

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