{"id":"d93129cd-1ee0-479f-bc03-ca6f129882e3","title":"Powershell Detect Virtualization Environment","description":"Adversaries may employ various system checks to detect and avoid virtualization and analysis environments.\nThis may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox\n","author":"frack113, Duc.Le-GTSC","status":"test","level":"medium","date":"2021-08-03","modified":"2022-03-03","tags":["attack.discovery","attack.stealth","attack.t1497.001"],"technique_ids":["T1497.001"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1497.001/T1497.001.md","https://techgenix.com/malicious-powershell-scripts-evade-detection/"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_detect_vm_env.yml","source_sha256":"492cb8ada7eb45b5886abb9a1b6c229b62af9fb7ed5d46dd2330da4285735f56","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_detect_vm_env.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Powershell Detect Virtualization Environment\nid: d93129cd-1ee0-479f-bc03-ca6f129882e3\nstatus: test\ndescription: |\n    Adversaries may employ various system checks to detect and avoid virtualization and analysis environments.\n    This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1497.001/T1497.001.md\n    - https://techgenix.com/malicious-powershell-scripts-evade-detection/\nauthor: frack113, Duc.Le-GTSC\ndate: 2021-08-03\nmodified: 2022-03-03\ntags:\n    - attack.discovery\n    - attack.stealth\n    - attack.t1497.001\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_action:\n        ScriptBlockText|contains:\n            - Get-WmiObject\n            - gwmi\n    selection_module:\n        ScriptBlockText|contains:\n            - MSAcpi_ThermalZoneTemperature\n            - Win32_ComputerSystem\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1497.001","id":"T1497.001","name":"System Checks","page":"techniques/enterprise/T1497.001/"}],"data_path":"data/detection-rules/d93129cd-1ee0-479f-bc03-ca6f129882e3.json","kind":"sigma"}
