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.”

Advertisement. Scroll to continue reading.

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

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.


Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.


Luxury retailer Neiman Marcus Group informed some customers last week that their online accounts had been breached by hackers.


As it evolves, web3 will contain and increase all the security issues of web2 – and perhaps add a few more.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.


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