Documentation Index

Fetch the complete documentation index at: https://docs.safe.security/llms.txt

Use this file to discover all available pages before exploring further.

Release Notes - May 2025

Prev Next

Enhanced Detection of Embedded Software Libraries via InstallLocation Scanning

Release Date: May 23, 2025
Product: Balbix Windows Host Analyzer (HA)
Category: Vulnerability Detection Enhancement
Impact: Improved coverage of critical embedded libraries (e.g., OpenSSL) without impacting system performance


Overview

Balbix has introduced a focused enhancement to the Windows Host Analyzer (HA) that improves detection of software components—such as OpenSSL—that may not be installed through conventional methods or registered in the Windows registry in a standard way.

This enhancement expands coverage by leveraging structured application metadata while maintaining minimal endpoint resource usage and fast response times.

Outcome Highlight

This enhancement enables Balbix to infer vulnerabilities for embedded libraries and components (such as OpenSSL) even when they are not explicitly installed via standard packages or reflected in the system registry. By scanning the InstallLocation directories of installed applications and inspecting file metadata, Balbix can now:

  • Identify the presence of critical libraries bundled within larger applications

  • Accurately associate known vulnerabilities with these libraries based on version metadata

  • Deliver broader software risk coverage across non-standard and developer-oriented deployments


Enhancement Summary

Balbix HA now inspects the InstallLocation registry value of installed applications and scans the corresponding directories for .exe and .dll files. The InstallLocation is a field in the Windows registry that specifies the file path where the application is installed.

By extracting embedded metadata (e.g., ProductName, ProductVersion) from binaries found in these directories, HA can identify and report commonly embedded or bundled software libraries that may otherwise go untracked.

This approach enables visibility into components like OpenSSL, which are often bundled with software such as Apache, PHP, or developer tools, and reside deep within subdirectories.

Balbix HA now inspects the InstallLocation directory of installed applications and scans for .exe and .dll files. By extracting embedded metadata (e.g., ProductName, ProductVersion), HA can identify and report commonly embedded or bundled software libraries that may otherwise go untracked.

This approach enables visibility into components like OpenSSL, which are often bundled with software such as Apache, PHP, or developer tools, and reside deep within subdirectories.


Example Detection Entry

{

  "Date": "2025-05-23",

  "Location": "c:\\xampp\\php",

  "Name": "The OpenSSL Toolkit",

  "Publisher": "The OpenSSL Project, http://www.openssl.org/",

  "Version": "0.9.8e",

  "User": "all",

  "Dependencies": []

}


Key Highlights

Feature

Details

Detection Scope

Scans the InstallLocation and its subdirectories for executables and libraries (.exe, .dll)

Software Identification

Uses file metadata (e.g., ProductName, Version) for accurate detection

Performance Optimization

CPU usage stays below 3%

Scan Frequency

Every 6 hours (4x daily)

No Full Disk Scans

Targeted scanning only; no impact from brute-force directory sweeps


Use Case Spotlight: Bundled Libraries in Developer Tools

Software like XAMPP packages web servers and interpreters (e.g., Apache, PHP) with embedded OpenSSL libraries. These components often exist in subdirectories like C:\xampp\php or C:\xampp\apache.

With this enhancement, HA will now:

  • Identify InstallLocation entries such as C:\xampp

  • Traverse subdirectories to locate files like libeay32.dll or ssleay32.dll

  • Report them based on embedded metadata (e.g., OpenSSL version 0.9.8e)

This approach provides robust detection coverage for critical libraries, even when traditional inventory tools rely solely on registry or package-based installation markers.


Limitations

  • InstallLocation Dependency: Only applications with a valid InstallLocation entry will be scanned. Portable or custom installations without this registry entry will remain out of scope.

  • No Banner Parsing: This enhancement does not include banner-based parsing (e.g., HTTP response headers). Detection is based solely on file presence and metadata.

  • Dormant or Unused Files: Detected files may not be actively used or exposed at runtime, yet may still be flagged based on static metadata.

  • Incomplete Metadata: Some binaries may lack accurate metadata, affecting confidence in identification.


Why Banner-Based Detection Is Not Used

Balbix does not rely on banner-based detection methods (e.g., parsing HTTP or service banners such as Apache/2.2.6 OpenSSL/0.9.8e) for identifying software versions or associated vulnerabilities. This is an intentional design decision based on the inherent unreliability and low confidence of banner-derived data.

Key Reasons:

  • High False Positive Risk: Banners can be manually configured, outdated, or misleading. A service may advertise an older or default version string even when a patched or different version is actually in use.

  • Lack of Verification: There is no guarantee that the banner content corresponds to the actual binaries or libraries being executed. This disconnect makes it unsuitable for trustworthy vulnerability attribution.

  • Security Hardening Practices: Many production environments mask or suppress banners for security reasons. In such cases, banner-based detection fails altogether.

  • Inconsistent Standards: Banner formats vary widely across software vendors and versions, making normalization and accurate parsing difficult at scale.

Balbix Approach:

Instead of relying on ephemeral and potentially misleading indicators, Balbix uses a file metadata-based approach tied to known install locations. This ensures more consistent, structured, and evidence-backed detection, especially for embedded libraries such as OpenSSL.

While banner analysis might identify certain vulnerabilities sooner in edge cases, it does not provide sufficient fidelity or operational reliability for continuous risk-based security posture management.


Impact and Benefits

  • Expanded Vulnerability Coverage: Enhanced visibility into embedded components and libraries across user-deployed applications

  • Operational Efficiency: Maintains endpoint responsiveness with minimal CPU and disk utilization

  • Use-Case Alignment: Particularly valuable for organizations using developer stacks or self-contained runtime environments


Conclusion

This enhancement reflects Balbix's continued focus on maximizing detection coverage while maintaining high standards of performance and endpoint stability. It equips organizations with deeper visibility into software risk, especially where traditional registry- or package-based methods fall short.

This feature can be enabled on demand for all customers that use the Balbix SBOM module. Please contact your Balbix Customer Success Manager for additional details or support.