Skip to main content
Mallory
Malware2 associated actors2 associated CVEs

MASEPIE

Tracked since Dec 2, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns2Associated
Actors2Associated
ATT&CK23Techniques
IOCs6Tracked
Type
Backdoor
Capabilities
ExfiltrationPost exploitation
Delivery
PhishingSpearphishingLanding pageLure
Platforms
Windows

MASEPIE is a Python backdoor used by APT28, also known as Fancy Bear and Forest Blizzard, a Russian cyberespionage group attributed to GRU military unit 26165. Documented in December 2023, it enables arbitrary shell-command execution and bidirectional file transfer on compromised Windows systems, supporting payload deployment and data exfiltration. It has been used against Ukrainian government entities and Polish organizations, and in espionage campaigns targeting Western logistics and technology companies supporting aid delivery to Ukraine. MASEPIE has also been used to load STEELHOOK PowerShell scripts for browser-data theft; that collection functionality belongs to the accompanying tool rather than MASEPIE itself.

Delivery chains use spearphishing links and document-themed landing pages that abuse Windows search URI handling to expose remotely hosted WebDAV content. Victims are induced to open malicious Windows shortcuts disguised as documents, which launch a Python interpreter and execute the backdoor while displaying a decoy document. MASEPIE communicates over raw TCP channels and supports file uploads, downloads, and operator-issued shell commands. Its communications use AES-128-CBC encryption with a randomly generated 16-character key transmitted in cleartext at session initialization. APT28 has repeatedly used compromised Ubiquiti EdgeRouters as MASEPIE command-and-control infrastructure; the backdoor runs on victim endpoints rather than on those routers.

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
Associated CVEs

Associated vulnerabilities

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2023-23397via thecyberexpress com vulnerabilitiesZero-click NTLM credential disclosure in Microsoft Outlook for WindowsThe Russian GRU cyber campaign also involves malware such as HEADLACE and MASEPIE, which are used for persistence and data exfiltration.View vulnerability →Source ↗
CVE-2023-38831via thecyberexpress com vulnerabilitiesArbitrary Code Execution in WinRAR Before 6.23 via Crafted ArchivesThe Russian GRU cyber campaign also involves malware such as HEADLACE and MASEPIE, which are used for persistence and data exfiltration.View vulnerability →Source ↗
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT28

In December 2023, APT28 actors wrote MASEPIE, a small Python backdoor capable of executing arbitrary commands on victim machines.

via ic3 alertsic3.gov
GRU Unit 26165

The Russian GRU cyber campaign also involves malware such as HEADLACE and MASEPIE, which are used for persistence and data exfiltration.

via thecyberexpress com vulnerabilitiesthecyberexpress.com
MITRE ATT&CK

Techniques & procedures

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

Resource Development

2 techniques
T1587Develop CapabilitiesEvidence1

In early 2023, APT28 actors authored custom Python scripts to collect account credentials for specifically targeted webmail users.

T1587.001MalwareEvidence1

For example, in January 2022, GRU Unit 29155 launched WhisperGate, a wiper malware attack that overwrote the master boot records of Ukrainian government systems.

Initial Access

6 techniques
T1133External Remote ServicesEvidence1

"those protocol handlers can be leveraged to trigger the display of remote files made available through a WebDAV server"

T1190Exploit Public-Facing ApplicationEvidence1

A significant aspect of the campaign involves the exploitation of known vulnerabilities. The actors have weaponized multiple CVEs, including: CVE-2023-23397 in Microsoft Outlook to harvest credentials Roundcube vulnerabilities for email server access CVE-2023-38831 in WinRAR for remote code execution

T1566PhishingEvidence4

The Russia-linked threat actor known as APT28 has been linked to multiple ongoing phishing campaigns that employ lure documents imitating government and non-governmental organizations (NGOs) in Europe, the South Caucasus, Central Asia, and North and South America.

T1566.001Spearphishing AttachmentEvidence1

The phishing attacks impersonate entities from several countries such as Argentina, Ukraine, Georgia, Belarus, Kazakhstan, Poland, Armenia, Azerbaijan, and the U.S., putting to use a mix of authentic publicly available government and non-government lure documents to activate the infection chains.

T1566.002Spearphishing LinkEvidence1

"The phishing emails contained links to malicious webpages (e.g. e-wody.firstcloudit[.]com )"

T1566.003Spearphishing via ServiceEvidence1

"The threat actor sent phishing emails to targeted recipients using previously compromised email accounts."

Execution

7 techniques
T1059Command and Scripting InterpreterEvidence2

The climax of APT28's elaborate scheme ends with the execution of MASEPIE, OCEANMAP, and STEELHOOK, which are designed to exfiltrate files, run arbitrary commands, and steal browser data.

T1059.001PowerShellEvidence2

APT28 used MASEPIE to load PowerShell scripts called Steelhook...

T1059.006PythonEvidence1

"a Python interpreter and a malicious payload script (MASEPIE) would be downloaded and executed"

T1203Exploitation for Client ExecutionEvidence1

The actors have weaponized multiple CVEs, including: CVE-2023-23397 in Microsoft Outlook to harvest credentials ... CVE-2023-38831 in WinRAR for remote code execution

T1204.001Malicious LinkEvidence1

"following the click on a link in a phishing email and then on the landing page"

T1204.002Malicious FileEvidence2

The latest campaigns observed by IBM X-Force between late November 2023 and February 2024 take advantage of the "search-ms:" URI protocol handler in Microsoft Windows to trick victims into downloading malware hosted on actor-controlled WebDAV servers.

T1559.001Component Object ModelEvidence1

"the JavaScript execution will ... [do] a page location redirection to a URI of type search:"

Persistence

1 technique
T1133External Remote ServicesEvidence1

"those protocol handlers can be leveraged to trigger the display of remote files made available through a WebDAV server"

Credential Access

1 technique
T1555.003Credentials from Web BrowsersEvidence2

The climax of APT28's elaborate scheme ends with the execution of MASEPIE, OCEANMAP, and STEELHOOK, which are designed to exfiltrate files, run arbitrary commands, and steal browser data.

Collection

2 techniques
T1005Data from Local SystemEvidence1

The climax of APT28's elaborate scheme ends with the execution of MASEPIE, OCEANMAP, and STEELHOOK, which are designed to exfiltrate files, run arbitrary commands, and steal browser data.

T1213Data from Information RepositoriesEvidence1

APT28 used MASEPIE to load PowerShell scripts called Steelhook to steal Chrome browser-based data, which APT28 sent to its C2 server.

Command and Control

5 techniques
T1071.001Web ProtocolsEvidence2

The latest campaigns observed by IBM X-Force between late November 2023 and February 2024 take advantage of the "search-ms:" URI protocol handler in Microsoft Windows to trick victims into downloading malware hosted on actor-controlled WebDAV servers.

T1090ProxyEvidence1

"Ubiquiti networks devices are being used as malicious infrastructure to stage infection files, and as command and control servers or reverse-proxies."

T1095Non-Application Layer ProtocolEvidence1

"MASEPIE uses two raw TCP connections to a command and control (C2) server on non-standard and high TCP ports"

T1105Ingress Tool TransferEvidence2

The latest campaigns observed by IBM X-Force between late November 2023 and February 2024 take advantage of the "search-ms:" URI protocol handler in Microsoft Windows to trick victims into downloading malware hosted on actor-controlled WebDAV servers.

T1573Encrypted ChannelEvidence1

"Data over TCP connections is further encrypted (AES-128 with CBC mode)"

Indicators of compromise

Observables

6 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
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 matching6Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs 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 mapping23Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.