Suspicious Get-Variable.exe Creation (via file_event)

This rule detects Get-Variable is a valid PowerShell cmdlet WindowsApps is by default in the path where PowerShell is executed. So when the Get-Variable command is issued on PowerShell execution, the system first looks for the Get-Variable executable in the path and runs the hostile binary instead of looking for the PowerShell cmdlet.

SigmahighWindowsv1
Full detection rule

Unlock this rule to view and copy it

Rule logic is available with an unlock credit. The public page keeps its context, mappings and implementation details visible.

Sign in to unlock

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.