← Back to SOC feed Coverage →

New BgInfo.EXE Custom WMI Query Registry Configuration

sigma MEDIUM SigmaHQ
T1112
imRegistry
backdoorwmi
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-05-25T23:00:00Z · Confidence: medium

Hunt Hypothesis

Detects setting of a new registry value related to BgInfo configuration, which can be abused to execute custom WMI query via “BgInfo.exe”

Detection Rule

Sigma (Original)

title: New BgInfo.EXE Custom WMI Query Registry Configuration
id: cd277474-5c52-4423-a52b-ac2d7969902f
related:
    - id: 992dd79f-dde8-4bb0-9085-6350ba97cfb3
      type: similar
status: test
description: Detects setting of a new registry value related to BgInfo configuration, which can be abused to execute custom WMI query via "BgInfo.exe"
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-08-16
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: '\Software\Winternals\BGInfo\UserFields\'
        Details|startswith: '6' # WMI
    condition: selection
falsepositives:
    - Legitimate WMI query
level: medium

KQL (Azure Sentinel)

imRegistry
| where RegistryKey endswith "\\Software\\Winternals\\BGInfo\\UserFields*" and RegistryValueData startswith "6"

KQL (Microsoft 365 Defender)

DeviceRegistryEvents
| where RegistryKey endswith "\\Software\\Winternals\\BGInfo\\UserFields*" and RegistryValueData startswith "6"

Required Data Sources

Sentinel TableNotes
imRegistryEnsure this data connector is enabled

False Positive Guidance

MITRE ATT&CK Context

References

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/registry/registry_set/registry_set_bginfo_custom_wmi_query.yml