Suspicious Get-Variable.exe Creation

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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 executes the malicious binary instead of looking for the PowerShell cmdlet.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "File Created or Modified" AND FILENAME endswith "Local\Microsoft\WindowsApps\Get-Variable.exe" OR OBJECTNAME endswith "Local\Microsoft\WindowsApps\Get-Variable.exe" select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113