{"id":"0c3fac91-5627-46e8-a6a8-a0d7b9b8ae1b","title":"Suspicious Get-Variable.exe Creation","description":"Get-Variable is a valid PowerShell cmdlet\nWindowsApps is by default in the path where PowerShell is executed.\nSo 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.\n","author":"frack113","status":"test","level":"high","date":"2022-04-23","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.stealth","attack.t1546","attack.t1027"],"technique_ids":["T1027","T1546"],"logsource":{"product":"windows","category":"file_event"},"falsepositives":["Unknown"],"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"],"source_path":"rules/windows/file/file_event/file_event_win_susp_get_variable.yml","source_sha256":"5bb56d431ea95b81cc0e1e4dfc682d21753e6e265d565babfcbb7af4e6b77aa5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_event/file_event_win_susp_get_variable.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Get-Variable.exe Creation\nid: 0c3fac91-5627-46e8-a6a8-a0d7b9b8ae1b\nstatus: test\ndescription: |\n    Get-Variable is a valid PowerShell cmdlet\n    WindowsApps is by default in the path where PowerShell is executed.\n    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.\nreferences:\n    - https://blog.malwarebytes.com/threat-intelligence/2022/04/colibri-loader-combines-task-scheduler-and-powershell-in-clever-persistence-technique/\n    - https://www.joesandbox.com/analysis/465533/0/html\nauthor: frack113\ndate: 2022-04-23\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.stealth\n    - attack.t1546\n    - attack.t1027\nlogsource:\n    product: windows\n    category: file_event\ndetection:\n    selection:\n        TargetFilename|endswith: 'Local\\Microsoft\\WindowsApps\\Get-Variable.exe'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1027","id":"T1027","name":"Obfuscated Files or Information","page":"techniques/enterprise/T1027/"},{"key":"enterprise/T1546","id":"T1546","name":"Event Triggered Execution","page":"techniques/enterprise/T1546/"}],"data_path":"data/detection-rules/0c3fac91-5627-46e8-a6a8-a0d7b9b8ae1b.json","kind":"sigma"}
