Sigma rule: Suspicious Get-Variable.exe Creation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b3f851439519, updated 2022-04-23T00:00:00.000Z.
Rule
- Title
- Suspicious Get-Variable.exe Creation
- Status
- test
- Level
- high
- Author
- frack113
- Date
- 2022-04-23
- File
- rules/windows/file/file_event/file_event_win_susp_get_variable.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
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.
Log source
- product
- windows
- category
- file_event
Detection
selection:
TargetFilename|endswith: 'Local\Microsoft\WindowsApps\Get-Variable.exe'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.persistence
- attack.stealth
- attack.t1546
- attack.t1027
MITRE ATT&CK ids this rule names
References
- https://blog.malwarebytes.com/threat-intelligence/2022/04/colibri-loader-combines-task-scheduler-and-powershell-in-clever-persistence-technique/
- https://www.joesandbox.com/analysis/465533/0/html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_get_variable.yml
Sources and licences
SigmaHQ
"Suspicious Get-Variable.exe Creation" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_get_variable.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Get-Variable.exe Creation",
entity page, dataset version ref-b3f851439519, updated 2022-04-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0c3fac91-5627-46e8-a6a8-a0d7b9b8ae1b (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0c3fac91-5627-46e8-a6a8-a0d7b9b8ae1b, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.