Skip to main content
Mallory
Malware

Serpent

Tracked since Jan 23, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK14Techniques
IOCs63Tracked
Type
Backdoor
Capabilities
ExfiltrationPost exploitationDefense evasion
Delivery
PhishingSpearphishingLure
Platforms
Windows

Serpent is a Python-based Windows backdoor used in targeted phishing attacks against French government, construction, and real estate organizations. It provides remote command execution, supports reverse shells and additional payload delivery, and exfiltrates command output. The activity has not been attributed to a known threat actor.

Its infection chain begins with French-language phishing emails carrying macro-enabled Microsoft Word attachments and using recruitment or GDPR-themed lures. Enabling macros initiates a multistage chain that extracts PowerShell code hidden in images through steganography. The code installs the legitimate Chocolatey package manager, then uses it to install Python, pip, and required dependencies before retrieving the backdoor from another steganographic image. This abuse of legitimate software and concealed payloads helps evade detection.

Serpent repeatedly polls attacker-controlled command infrastructure through a Tor proxy and executes commands addressed to the infected computer's hostname. It uploads command output to the Termbin text-sharing service and returns the resulting reference and hostname to a separate response endpoint. Associated campaign payloads have also used temporary, event-triggered Windows scheduled tasks for signed binary proxy execution, launching malicious code beneath a legitimate Windows task-host process and deleting the task afterward.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1133External Remote ServicesEvidence1

MITRE ATT&CK TIDs ... T1133 Persistence External Remote Services

T1566PhishingEvidence1

The multi-step attack starts with a phishing email impersonating the European Union's General Data Protection Regulations agency (GDPR). This email includes a Word document attachment document containing malicious macro code.

T1566.001Spearphishing AttachmentEvidence3

This email includes a Word document attachment document containing malicious macro code.

Execution

5 techniques
T1047Windows Management InstrumentationEvidence1

TeslaCrypt 4.1b ... used WMIC to delete Shadow Volume Copies from an infected PC... One of [WannaCry's] commands invoked WMIC to delete shadow copies.

T1059Command and Scripting InterpreterEvidence1

Proofpoint says that the backdoor can execute any command sent by the attacks, allowing the threat actors to download further malware, open reverse shells, and gain complete access to the device. | Once loaded, the Serpent backdoor malware will communicate with the attacker's command and control server to receive commands to execute on the infected device.

T1059.001PowerShellEvidence3

The PowerShell script will first download and install the Chocolatey Windows package manager, which is then used to install the Python programming language and the PIP package installer

T1059.005Visual BasicEvidence3

If opened and content is enabled, the malicious macro fetches an image of Swiper the Fox from the cartoon series Dora the Explorer.

T1059.006PythonEvidence2

The Python script (the Serpent backdoor) is as follows...

Persistence

1 technique
T1133External Remote ServicesEvidence1

MITRE ATT&CK TIDs ... T1133 Persistence External Remote Services

Stealth

2 techniques
T1027.003SteganographyEvidence3

However, this image is not entirely harmless, as it uses Steganography to hide a PowerShell script that the macros will execute.

T1218System Binary Proxy ExecutionEvidence1

Proofpoint also noticed a novel application of signed binary proxy execution using schtrasks.exe, essentially a new detection bypass technique.

Discovery

1 technique
T1082System Information DiscoveryEvidence1

hostname = socket.gethostname() ... If <hostname> matches the hostname of the infected computer, the infected host runs the command provided by the order server.

Command and Control

2 techniques
T1090.003Multi-hop ProxyEvidence1

The threat actor uses a Tor proxy for command and control (C2) infrastructure.

T1105Ingress Tool TransferEvidence2

Proofpoint says that the backdoor can execute any command sent by the attacks, allowing the threat actors to download further malware

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

The malware then uses PySocks to connect to the command line pastebin tool Termbin... Finally, the malware sends a request to the “answer” server, including the hostname and bin URL in the header.

Indicators of compromise

Observables

63 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching63Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.