hackers escape virtual machines (is that possible?)


sup hacker.

its no secret that people all over the world use virtual machines, a small sandboxed operating system, as a way of segmenting code.

a virtual machine is often an easy way to make sure that, whether your analyzing malware, or divvying up compute resources, that each piece of code remains separate from the others. this helps keep nefarious actors away from your sensitive data.

but can hackers escape a virtual machine?

huntress, a cybersecurity firm and EDR provider, recently caught a threat actor escaping from ESXi virtual machines.

the threat actor exploited a variety of vulnerabilities in ESXi to escape from the virtual machine and get code execution on the hypervisor.

but how can a hypervisor have vulnerabilities?

like anything else, a hypervisor is just code, some of which is exposed to the guest: the guest being anyone with any code they want.

this line between the guest and hypervisor constitutes a security boundary where, if a vulnerability exists, an attacker can exploit it to increase their privileges within the context of the hypervisor.

CVE-2025-22225 is a vulnerability in ESXi, just one of many exploited by this threat actor. The bug is an arbitrary write in the VMX process in ESXi that allowed a malicious guest to get code execution in the context of the hypervisor.

not great.

at the end of the day, even security platforms themselves, like hypervisors, antivirus or EDR, are just code. and like any other code, it can have vulnerabilities. vulnerabilities here are a big deal.

anyway, thats it for today, happy hacking!

lowlevel

p.s. if any of this is interesting and you want to learn more about vulnerabilities like overflows, out-of-bounds-reads, out-of-bounds-writes, and how hackers exploit them, stacksmash is now live. we already have hundreds of members learning about these hacks.

Subscribe to the most significant bit