Windows PowerShell ModuleContents Set to Get-VMRemoteFXPhysicalVideoAdapter

Alerts on PowerShell module creation embedding Get-VMRemoteFXPhysicalVideoAdapter, a potential precursor to RemoteFXvGPUDisablement.exe abuse.

FreeReviewedSigma · High · v2
Product
windows
Service
powershell-classic
Author
frack113, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-07-13
Updated
2026-07-31
title: Windows PowerShell ModuleContents Set to Get-VMRemoteFXPhysicalVideoAdapter
id: e7dfcd31-8c08-4a90-9b8b-46a861ccf23c
related:
  - id: a6fc3c46-23b8-4996-9ea2-573f4c4d88c5
    type: similar
  - id: 38a7625e-b2cb-485d-b83d-aff137d859f4
    type: similar
  - id: cacef8fc-9d3d-41f7-956d-455c6e881bc5
    type: similar
  - id: f65e22f9-819e-4f96-9c7b-498364ae7a25
    type: derived
status: test
description: This rule flags PowerShell classic module creation when the created module content contains a function definition for Get-VMRemoteFXPhysicalVideoAdapter. Attackers can use signed or pre-existing binaries with hijacked module loading behavior to execute malicious code in trusted contexts. The detection relies on PowerShell telemetry capturing the module contents text during module creation.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md
  - https://github.com/redcanaryco/AtomicTestHarnesses/blob/7e1e4da116801e3d6fcc6bedb207064577e40572/TestHarnesses/T1218_SignedBinaryProxyExecution/InvokeRemoteFXvGPUDisablementCommand.ps1
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/powershell/powershell_classic/posh_pc_remotefxvgpudisablement_abuse.yml
author: frack113, Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2021-07-13
modified: 2023-05-09
tags:
  - attack.stealth
  - attack.t1218
logsource:
  product: windows
  service: powershell-classic
  definition: fields have to be extract from event
detection:
  selection:
    Data|contains: ModuleContents=function Get-VMRemoteFXPhysicalVideoAdapter {
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1