Skip to main content

Service and Application Layer

The Service and Application Layer focuses on securing the software components and runtime environment of BioStar X.

Apply principle of least privilege to services

  • Run BioStar X services under dedicated service accounts instead of Local System or Administrator.

  • Grant only the minimal rights required (logon as a service, read/write specific directories).

  • Use separate accounts for each BioStar X service component where possible.

Step-by-step

  1. Create a dedicated local user account for BioStar X services.

  2. Open Services.msc → Right-click the BioStar X service → PropertiesLog On tab.

  3. Assign the dedicated account.

  4. Apply file system ACLs so the account can only access necessary directories.

  5. Deny interactive logon rights for these accounts.

Caution

Using shared accounts between multiple services makes it harder to audit breaches.

Secure application configuration files

  • Restrict access to configuration files that contain secrets (e.g., database connection strings, API keys).

  • Use Windows Data Protection API (DPAPI) or Key Vault solutions if supported.

  • Store secrets separately from binaries; avoid hard-coding.

Protect encryption key files (util/ directory)

  • Restrict NTFS permissions so only the BioStar X service account has read access.

  • Deny access to standard users and interactive logins.

  • Back up the util/ directory securely before upgrades (offline storage recommended).

Caution

Loss or compromise of these files may result in data loss or unauthorized decryption.

Best Practice

Rotate stored secrets (DB passwords, API keys) periodically.

Maintain application runtime components

  • Keep BioStar X and its dependent runtime components (e.g., Visual C++ Redistributables) up to date.

  • Subscribe to vendor advisories for patches.

  • Document update procedures to avoid downtime.

Application whitelisting

  • Use Windows Defender Application Control (WDAC) or AppLocker to allow only trusted binaries.

  • Block execution from temporary directories (e.g., %TEMP%, %APPDATA%).

Step-by-step

  1. Open Local Security Policy → Application Control Policies → AppLocker.

  2. Define rules for executable, script, and DLL paths.

  3. Allow signed BioStar X binaries.

  4. Deny execution from user-writable directories.

  5. Deploy in Audit Mode first to test, then enforce.

Was this page helpful?