T1574.008 · Path Interception by Search Order Hijacking

Windows Get-Variable.EXE Execution from WindowsApps Folder

  • Windows
  • Behavioral Signal

About this detection

An attacker can obtain persistence by hijacking the PowerShell cmdlet ‘Get-Variable’ by placing Get-Variable.exe in the WindowsApps folder, which is part of the PowerShell path. Whenever a PowerShell window is opened via a scheduled task, the malicious Get-Variable.exe will be run. This activity was first associated with the Colibri malware.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…