PowerShell Classic: ModuleContents-Based RemoteFXvGPUDisablement.EXE Load Order Hijack Indicators
Alerts on PowerShell module creation embedding Get-VMRemoteFXPhysicalVideoAdapter, a potential precursor to RemoteFXvGPUDisablement.exe abuse.
FreeUnreviewedSigmahighv1
powershell-classic-modulecontents-based-remotefxvgpudisablement-exe-load-order-h-f65e22f9
title: "PowerShell Classic: ModuleContents-Based RemoteFXvGPUDisablement.EXE Load Order Hijack Indicators"
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 module creation where the module contents include a function named Get-VMRemoteFXPhysicalVideoAdapter. Such module contents can indicate preparation for load-order hijacking against the RemoteFXvGPUDisablement.exe workflow. It relies on telemetry capturing PowerShell Classic module creation details, specifically the Data field containing the expected ModuleContents text pattern.
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
What it detects
This rule flags PowerShell module creation where the module contents include a function named Get-VMRemoteFXPhysicalVideoAdapter. Such module contents can indicate preparation for load-order hijacking against the RemoteFXvGPUDisablement.exe workflow. It relies on telemetry capturing PowerShell Classic module creation details, specifically the Data field containing the expected ModuleContents text pattern.
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.