Windows: Detect unregmp2.exe used to proxy-launch wmpnscfg.exe with /HideWMP

Flags Windows executions of unregmp2.exe with /HideWMP, indicating proxy-style launching behavior.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-12-29
Updated
2026-07-31
title: "Windows: Detect unregmp2.exe used to proxy-launch wmpnscfg.exe with /HideWMP"
id: d14f2bb7-2154-4a0b-988c-408d41475597
status: test
description: This rule flags process creation where the executable unregmp2.exe is launched and the command line includes /HideWMP. Adversaries can use this proxy-style execution to run a customized wmpnscfg.exe instance while hiding its window, helping to evade user visibility. The detection relies on Windows process creation telemetry, specifically the image path, OriginalFileName, and command-line content.
references:
  - https://lolbas-project.github.io/lolbas/Binaries/Unregmp2/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_lolbin_unregmp2.yml
author: frack113, Huntrule Team
date: 2022-12-29
modified: 2024-06-04
tags:
  - attack.stealth
  - attack.t1218
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|endswith: \unregmp2.exe
    - OriginalFileName: unregmp2.exe
  selection_cmd:
    CommandLine|contains|windash: " /HideWMP"
  condition: all of selection_*
falsepositives:
  - Unknown
level: medium
license: DRL-1.1
related:
  - id: 727454c0-d851-48b0-8b89-385611ab0704
    type: derived