Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1

Windows Management Instrumentation (WMI) is an industry-standard technology for accessing management information in an enterprise environment. It provides users with information about the status of local and remote Windows computer systems. 

In Lumeta Enterprise Edition 3.3.4, WMI augments Lumeta discovery, profiling, and reporting with values retrieved from WMI-enabled devices. Some WMI features are in development; these are called out in the descriptions ahead.

Relatedly, Lumeta recommends that your Active Directory credentials be read only, unique, and non-expiring. 

The return values from WMI-enabled devices enhance the following aspects of Lumeta:

  1. Discovery (census counts) (in Lumeta 3.3.4)
  2. Profiling (for Windows 10 and other versions) (in Lumeta 3.3.4)
  3. Services - Identifies installed/running services such as Windows Defender, HBSS/McAfee Agent, and Tanium Agent
    1. Install status (in Lumeta 3.3.4)
    2. Enabled/disabled status (in Lumeta 3.3.4)
    3. Last scan time (post-Lumeta 3.3.4)
    4. Version (post-Lumeta 3.3.4)

Device attributes discovered through WMI Discovery will augment that device's profile. Also, notifications pertaining to the profiling of WMI-responsive Windows devices are expected to be made available at about the same time.

About WMI

Some basics on WMI Discovery in Lumeta Enterprise Edition:

  1. WMI Discovery relies on port 135 to function; port 135 must be responsive in order to generate targets for WMI.  When your company's Active Directory administrator is asked to create a new user with WMI permissions (or give WMI permissions to an existing user), the admin will need to enable port 135 in the company's Active Directory Firewall Rules Group Policy
     
  2. WMI access is credentialed. This means that your system administrator will need to manually input or import WMI credentials to a collector's WMI configuration. It also means that every device in the WMI-configured zone will be tested using every credential. Lumeta WMI Discovery tries credentials in the order they are provided and uses the first one that works.

  3.  The overhead on the Lumeta system of testing many credentials against each device may be significant. WMI queries take ~ 800ms per WMI responsive device (per credential). Lumeta runs 10 threads at a time so, in aggregate, the Lumeta system can handle approximately 10 WMI responders per second.

  4. Lumeta recommends that WMI credentials be read-only, unique to Lumeta, and non-expiring.

  5. The Lumeta system prioritizes the testing of WMI credentials in the top-down order in which they are listed. Lumeta encrypts the WMI credentials before storing them in its database. Cloud and SNMP credentials are encrypted in the same way. 

Considerations

In configuring WMI Discovery, following are some recommendations and things to keep in mind:

  1. FireMon recommends that you create one collector for each set of WMI credentials and set the CIDR range in Discovery Spaces to contain only devices that will respond successfully to those credentials. This will minimize the amount of time it will take to scan the network. This will also enable you to optimize the rescan interval for WMI.

  2. FireMon recommends that you setup a specific Active Directory account for use with Lumeta and WMI Discovery. This will enable you to tailor the permissions and settings of the account to minimize access and make it read-only.

  3. Expiry of Windows credentials: Be aware that if the Windows credentials expire, the Lumeta system won't be able to retrieve data.

  4. WMI attributes expire after 14 days; all other device attributes expire after 2 days.

WMI Dashboards

On the Lumeta main menu, in Dashboards, the are two WMI dashboards available: WMI Summary and WMI Troubleshooting


Following is a summary of the widgets on these dashboards:

  1. Browse to Dashboards > WMI and select an option:
    1. WMI Summary

      WMI Summary Dashboard Widgets

      Type

      Description

      WMI Responders by OS 

      Summary chart 

      Count of WMI Operating Systems across all zones  

      WMI Responders 

      Detail table 

      Devices across all zones that responded to WMI Discovery 

      Non-Responding WMI Device Summary 

      Summary chart 

      Count of device-types across all zones that were unresponsive to WMI Discovery 

      Non-Responding WMI Devices 

      Detail table 

      Devices across all zones that were unresponsive to WMI Discovery 

      WMI Devices without Security Services Summary 

      Summary chart 

      Count of WMI-responsive device-types across all zones that did not report any WMI services 

      WMI Devices without Security Services 

      Detail table 

      WMI-responsive device-types across all zones that did not report any WMI services 

    2. WMI Troubleshooting

      WMI Troubleshooting Dashboard Widgets

      Type

      Description

      Windows Devices with WMI Port Closed Summary 

      Summary chart 

      Count of device-types across all zones that were profiled as Windows, yet did not have port 135 open 

      Windows Devices with WMI Port Closed 

      Detail table 

      Devices across all zones that were profiled as Windows, yet did not have port 135 open 

      WMI Devices with No WMI Services Summary 

      Summary chart 

      Count of device-types across all zones that were WMI-service responsive, yet did not report any WMI security services 

      WMI Devices with No WMI Services 

      Detail table 

      Devices across all zones that that were WMI-service responsive, yet did not report any WMI security services 

WMI Summary Dashboard Widgets

You can click a pie slice to filter the adjacent table to show only records associated with that attribute––in this case, the table would filter to a particular Windows operating system. You can also click a link in the table to drill down to Device Details for that device. These dashboard widgets show devices across all zones that responded to WMI Discovery.


These dashboard widgets show devices across all zones that were unresponsive to WMI Discovery. This means that port 135 was open, yet there was no response to WMI discovery. 

These dashboard widgets show WMI-responsive device-types across all zones that did not report any WMI services.

WMI Troubleshooting Dashboard Widgets

These dashboard widgets show devices across all zones that were profiled as Windows, yet did not have port 135 open.

These dashboard widgets show devices across all zones that that were WMI-service responsive, yet did not report any WMI services. This could be an indication that your credentials do not have the proper permissions. 

See What Services are Running 

You can input the IP address of any WMI-responsive device in a selected zone (or click a link in a WMI dashboard widget) to display a comprehensive list of all services running on the box (e.g., Windows Defender and Tanium status information.)

  1. On the Lumeta GUI, browse to Search > Device Details.

  2. Input an IP address and zone name.

  3. Click Search and the WMI Services tab.

    All services running on the box display.  You can see the total number of records that were returned below the table.

Search the Services

You can use the control at the bottom of the results table to page through the results or use the Search bar to filter out all the records that don't match your criteria.

A description of each of the table columns follows:

  • Name: Unique identifier of the service that provides an indication of the functionality that is managed.
  • Started: Indicates whether or not the service is started.
  • State: Current state of the base service.

The values are:
* Stopped
* Start Pending
* Stop Pending
* Running 
* Continue Pending 
* Pause Pending 
* Paused
* Unknown

  • Status: Current status of the object. Various operational and non-operational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Non-operational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service," could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. 

The values are:
* OK
* Error 
* Degraded 
* Unknown
* Pred Fail 
* Starting 
* Stopping
* Service 
* Stressed 
* NonRecover 
* No Contact 
* Lost Comm 

See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-service  for information from Microsoft on their Win32_Service class.

Accurately Identify All Windows Devices

Use the Attributes tab to check security compliance. You could check, for example, to ensure that  all Windows systems are Windows 10 or later.

Run WMI Discovery

This new discovery type in Settings > Zones uses credentials you supply and input manually or import. You can supply WMI credentials. 

WMI Queries

A description of each WMI query is available in the lower right-hand corner of the Properties panel, under Comment.


Features in Development

  1. All WMI Responders Report - In development
    A real-time report listing all WMI-responding devices. The table will include: IP address, MAC, Device Profile, Windows defender status information (installed, version, enable/disable, last run time ). Table columns can be sorted and filtered.  

  2. WMI Map Highlighting - In development
    Lumeta 3.3.4 is currently able to highlight WMI_OS, WMI_OS_Version, and WMI_OS_ServicePack on its maps. The capability to highlight on a Lumeta zone map all nodes that have specific services (e.g., Windows Defender, McAfee, Tanium) installed and/or running is planned for development.



  3. WMI Logging- In development
    1. At log level "info" system logs a successful poll (or error message) and time-of-poll
    2. At log level "debug" system logs a successful  poll (or error message), time-of-poll, and response size in bytes
  • No labels