Connect with us

Hi, what are you looking for?


Application Security

‘Serpent’ Backdoor Used in Malware Attacks on French Entities

French organizations in the construction, government, and real estate sectors have been targeted with a new backdoor in a string of malware attacks, according to a warning from Proofpoint.

French organizations in the construction, government, and real estate sectors have been targeted with a new backdoor in a string of malware attacks, according to a warning from Proofpoint.

Dubbed Serpent and deployed as a Python script, the backdoor allows the attackers to remotely control the infected systems, exfiltrate data, and download and execute additional payloads.

As part of the observed attacks, Proofpoint saw the use of the open source package manager Chocolatey to install Serpent and other tools needed to successfully perform the intrusion.

According to Proofpoint documentation, the attacks start with phishing emails that carry macro-enabled Microsoft Word documents meant to deploy Chocolatey on the victim’s machine.

Several European Union’s General Data Protection Regulations (GDPR) themes and lures are employed to trick the intended victims into opening the documents and enabling the macros.

When executed, the macro would reach out to an image containing a PowerShell script hidden within it using steganography. The script was designed to install and update the Chocolatey installer package and repository script.

[ READ: ‘White Tur’ Hacking Group Borrows Techniques From Multiple APTs ]

Advertisement. Scroll to continue reading.

Chocolatey has been abused to install Python and the pip Python package installer, which is then leveraged to install various dependencies, including a Python based reverse proxy client.

Next, a Python script is downloaded – from another image file – and saved as, and a .bat file is created and executed, to run the Python script, which is none other than the Serpent backdoor itself.

As part of the attacks, the threat actor also used schtasks.exe to run portable executable files, a technique that Proofpoint said it had not previously observed.

Proofpoint identified additional payloads being served from the server hosting the two image files, and also observed unique behaviors and targeting suggesting that an advanced persistent threat (APT) actor is behind these incidents. However, the security firm hasn’t attributed the incidents to a known group.

Multiple entities in the construction, government, and real estate sectors were among the victims but Proofpoint said the purpose of the attacks remain unclear.

“The ultimate objectives of the threat actor are presently unknown. Successful compromise would enable a threat actor to conduct a variety of activities, including stealing information, obtaining control of an infected host, or installing additional payloads,” Proofpoint said.

Related: Hotels in Macau Targeted in Attacks Linked to South Korea’s DarkHotel APT

Related: Newly Detected “StrifeWater” RAT Linked to Iranian APT

Related: Prolific Chinese APT Caught Using ‘MoonBounce’ UEFI Firmware Implant

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

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.


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


WASHINGTON - Cyberattacks are the most serious threat facing the United States, even more so than terrorism, according to American defense experts. Almost half...

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

Data Protection

The cryptopocalypse is the point at which quantum computing becomes powerful enough to use Shor’s algorithm to crack PKI encryption.


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

Artificial Intelligence

The CRYSTALS-Kyber public-key encryption and key encapsulation mechanism recommended by NIST for post-quantum cryptography has been broken using AI combined with side channel attacks.

Identity & Access

Zero trust is not a replacement for identity and access management (IAM), but is the extension of IAM principles from people to everyone and...