Windows Registry Set: New BgInfo Database Path Value

Detects registry writes under BgInfo database configuration that set a new external database path.

FreeUnreviewedSigmamediumv1
title: "Windows Registry Set: New BgInfo Database Path Value"
id: 2e1195b0-5216-481d-a954-7269541f9791
status: test
description: This rule flags registry writes targeting the BgInfo database configuration path under \Software\Winternals\BGInfo\Database. Attackers may modify this value to redirect where BgInfo stores command output, supporting discovery, persistence-style behavior, or potential defense impairment and data collection. It relies on Windows registry set telemetry that records the affected TargetObject path and matches the specified registry location.
references:
  - Internal Research
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/registry/registry_set/registry_set_bginfo_custom_db.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2023-08-16
tags:
  - attack.persistence
  - attack.defense-impairment
  - attack.t1112
logsource:
  category: registry_set
  product: windows
detection:
  selection:
    TargetObject|endswith: \Software\Winternals\BGInfo\Database
  condition: selection
falsepositives:
  - Legitimate use of external DB to save the results
level: medium
license: DRL-1.1
related:
  - id: 53330955-dc52-487f-a3a2-da24dcff99b5
    type: derived

What it detects

This rule flags registry writes targeting the BgInfo database configuration path under \Software\Winternals\BGInfo\Database. Attackers may modify this value to redirect where BgInfo stores command output, supporting discovery, persistence-style behavior, or potential defense impairment and data collection. It relies on Windows registry set telemetry that records the affected TargetObject path and matches the specified registry location.

Known false positives

  • Legitimate use of external DB to save the results

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.