Hyper-V Virtual Machine Hardening: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== Setup == | == Setup == | ||
Hyper-V is used for the virtualization. This is because it is a Type 1, bare-metal, Hypervisor, which runs directly on the host's hardware to control the hardware and to manage guest operating systems. | |||
* Host OS: Windows 11 | * Host OS: Windows 11 | ||
| Line 9: | Line 10: | ||
Three tools are used for the VM detection. They are all open-source and can be found on GitHub: | Three tools are used for the VM detection. They are all open-source and can be found on GitHub: | ||
* Pafish (Paranoid Fish) | * [https://github.com/a0rtega/pafish Pafish (Paranoid Fish)] | ||
* VMAware | * [https://github.com/kernelwernel/VMAware VMAware] | ||
* Al-Khaser | * [https://github.com/ayoubfaouzi/al-khaser Al-Khaser] | ||
Revision as of 15:01, 20 January 2025
This article shows how a virtual machin(VM) can be modified to evade detection from malware. This process is also called VM hardening. In dynamic malware analysis, researchers use virtual machines to execute malware in a safe and isolated environment in order to monitor and investigate its behavior. This is why malware author started to use Anit-VM techniques to detect if their programs are running inside a virtual environment and subsequently evade the analysis process. In this article a virtual machine is set up and a number of open-source VM-detection tools is executed to see how the VM can be detected by malware. Afterwards countermeasures are implemented to mitigate the detection rate of the tools.
Setup
Hyper-V is used for the virtualization. This is because it is a Type 1, bare-metal, Hypervisor, which runs directly on the host's hardware to control the hardware and to manage guest operating systems.
- Host OS: Windows 11
- Hypervisor: Microsoft Hyper-V
- Guest OS (VM OS): Windows 10
Three tools are used for the VM detection. They are all open-source and can be found on GitHub: