2021-08-03 08:30:26 +02:00
title : Powershell Detect Virtualization Environment
id : d93129cd-1ee0-479f-bc03-ca6f129882e3
status : experimental
author : frack113
date : 2021 /08/03
2021-10-16 08:18:49 +02:00
modified : 2021 /10/16
2021-08-05 15:47:29 +02:00
description : Adversaries may employ various system checks to detect and avoid virtualization and analysis environments. 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
2021-08-03 08:30:26 +02:00
references :
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1497.001/T1497.001.md
- https://techgenix.com/malicious-powershell-scripts-evade-detection/
tags :
- attack.defense_evasion
- attack.t1497.001
logsource :
product : windows
2021-10-16 08:18:49 +02:00
category : ps_script
2021-08-03 08:30:26 +02:00
definition : EnableScriptBlockLogging must be set to enable
detection :
selection_action :
ScriptBlockText|contains : Get-WmiObject
selection_module :
ScriptBlockText|contains :
- MSAcpi_ThermalZoneTemperature
- Win32_ComputerSystem
2021-10-10 10:17:24 +02:00
condition : all of them
2021-08-03 08:30:26 +02:00
falsepositives :
- Unknown
2021-08-05 15:47:29 +02:00
level : medium