Security Experts:

Connect with us

Hi, what are you looking for?



New Python-Based Backdoor Targeting VMware ESXi Servers

Security researchers with Juniper Networks’ Threat Labs warn of a new Python-based backdoor targeting VMware ESXi virtualization servers.

Security researchers with Juniper Networks’ Threat Labs warn of a new Python-based backdoor targeting VMware ESXi virtualization servers.

The targeted servers were impacted by known security defects (such as CVE-2019-5544 and CVE-2020-3992) that were likely used for initial compromise, but what caught the researchers’ attention was the simplicity, persistence, and capabilities of the deployed backdoor.

As part of the attack, the threat actor modified a total of four files on the target, which the system backs up and restores after reboot, to ensure the persistent execution of a Python script at startup.

The attackers also attempted to hide the backdoor’s presence on the system by modifying file timestamps and by choosing specific files that would raise little suspicion on a virtualization host.

According to Juniper Threat Labs, the Python script can be used on Linux and other UNIX-like systems as well, but it appears to have been designed to target ESXi specifically.

The Python script was designed to launch a simple webserver that can execute remote commands or launch a reverse shell on the host, based on received password-protected POST requests.

The reverse shell, which can bypass firewall restrictions and can be used even if the infected system is not connected to the internet, supports a sequence of piped commands that is meant “to work around limitations in the netcat version available on ESXi.”

According to Juniper Threat Labs, the attackers also modified the configuration of the ESXi reverse HTTP proxy, so that a reverse proxy is instructed to forward to port 8307 specific external requests, which provides the attackers with access to the malicious webserver.

The same as the Python script, the reverse proxy configuration is persistent.

To stay protected, organizations are advised to ensure that their appliances are properly patched and that incoming network connections are restricted to trusted hosts. VMware ESXi users are also advised to check the contents of the four targeted files and to check all persistent system files for any signs of unauthorized modifications.

Related: Hackers Possibly From China Using New Method to Deploy Persistent ESXi Backdoors

Related: VMware Plugs Security Holes in Workstation, Fusion and ESXi

Related: Patch for Critical VMware ESXi Vulnerability Incomplete

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Expert Insights

Related Content


Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.


The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.


A new study by McAfee and the Center for Strategic and International Studies (CSIS) named a staggering figure as the true annual cost of...


The FBI dismantled the network of the prolific Hive ransomware gang and seized infrastructure in Los Angeles that was used for the operation.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.