Skip to main content
Mallory
Malware1 associated actor

Matryoshka

Tracked since Dec 5, 2025 · 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
Actors1Associated
ATT&CK45Techniques
IOCs7Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasionReconnaissanceDLL sideloadingProcess injection
Delivery
SpearphishingLure
Platforms
Windows

Matryoshka is a name used for Windows remote-access malware, including a Rust-based backdoor family deployed alongside the Go-based HollowFrame loader. The Rust family has two documented variants: an HTTP-based implant supporting remote command execution and additional tooling delivery, and a GitHub-based implant using a private repository for victim-specific beaconing, tasking, command results, file transfer, and secondary payload retrieval. Its reconnaissance functionality includes identifying domain controllers, enumerating domain computers and privileged groups, and collecting network configuration, token privileges, and installed software information.

The Rust backdoors were deployed in a spear-phishing intrusion affecting two endpoints at a law firm. A legal-document lure led recipients to an encrypted archive containing a malicious Windows shortcut, which initiated staged PowerShell execution and payload retrieval. HollowFrame subsequently deployed Matryoshka through DLL sideloading involving a legitimate Microsoft OneDrive updater. The HTTP implant executed operator commands inside the trusted process, while the GitHub implant used a proxy DLL exposing Windows Terminal Services functions. The campaign's operators have not been identified.

The Matryoshka name also identifies the Windows remote-access trojan tracked as S0167. Its documented capabilities include stealing Microsoft Outlook passwords, capturing screenshots, providing Meterpreter shell access, and using reflective DLL injection to execute its malicious library. It can maintain persistence through scheduled tasks and Registry-based logon autostart entries. These older capabilities are distinct from the documented functionality of the Rust backdoor variants.

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
Threat actors

Associated threat actors

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

View more details →
CopyKittens

(Citation: ClearSky Wilted Tulip July 2017)

via mitre attack structuredgithub.com
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1583.001DomainsEvidence1

"The campaign leverages typosquatting domains... observing typosquatted domains like comparisions[.]org, which mimics the legitimate comparisons.org website by adding an extra letter."

Initial Access

1 technique
T1566.002Spearphishing LinkEvidence6

The chain began with a spear phishing email sent to several staff. A link routed recipients through an attacker-controlled redirector to an encrypted archive hosted on Mega, containing a shortcut file named Case Documents.lnk.

Execution

8 techniques
T1053Scheduled Task/JobEvidence2

Persistence is achieved through scheduled tasks.

T1053.005Scheduled TaskEvidence8

[Matryoshka](https://attack.mitre.org/software/S0167) can establish persistence by adding a Scheduled Task named "Microsoft Boost Kernel Optimization".(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1059Command and Scripting InterpreterEvidence7

[Matryoshka](https://attack.mitre.org/software/S0167) is capable of providing Meterpreter shell access.(Citation: ClearSky Wilted Tulip July 2017)

T1059.001PowerShellEvidence3

Executing it wrote Base64 content to a temporary file, rebuilt a script using the built-in certutil utility, then launched an obfuscated PowerShell chain that prompted the user for administrator rights.

T1059.002AppleScriptEvidence1

"After successful execution, the loader retrieves an AppleScript payload specifically designed to harvest browser credentials..."

T1059.003Windows Command ShellEvidence2

Running it launched a command chain that wrote Base64 content into %TEMP%\sgrfm.b64 , created %TEMP%\sgrfm.cmd...

T1059.004Unix ShellEvidence1

"When victims paste the malicious Terminal command, it retrieves a shell script..."

T1204.002Malicious FileEvidence5

The LNK file mimicked to be Case Documents to lure the victim into opening and triggering a command sequence

Persistence

5 techniques
T1053Scheduled Task/JobEvidence2

Persistence is achieved through scheduled tasks.

T1053.005Scheduled TaskEvidence8

[Matryoshka](https://attack.mitre.org/software/S0167) can establish persistence by adding a Scheduled Task named "Microsoft Boost Kernel Optimization".(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1112Modify RegistryEvidence1

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

T1547.001Registry Run Keys / Startup FolderEvidence8

[Matryoshka](https://attack.mitre.org/software/S0167) can establish persistence by adding Registry Run keys.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1547.009Shortcut ModificationEvidence1

A link routed recipients through an attacker-controlled redirector to an encrypted archive hosted on Mega, containing a shortcut file named Case Documents.lnk. Executing it wrote Base64 content to a temporary file, rebuilt a script using the built-in certutil utility, then launched an obfuscated PowerShell chain

Privilege Escalation

8 techniques
T1053Scheduled Task/JobEvidence2

Persistence is achieved through scheduled tasks.

T1053.005Scheduled TaskEvidence8

[Matryoshka](https://attack.mitre.org/software/S0167) can establish persistence by adding a Scheduled Task named "Microsoft Boost Kernel Optimization".(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1055Process InjectionEvidence1

Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.

T1055.001Dynamic-link Library InjectionEvidence3

[Matryoshka](https://attack.mitre.org/software/S0167) uses reflective DLL injection to inject the malicious library and execute the RAT.(Citation: CopyKittens Nov 2015)

T1055.012Process HollowingEvidence1

Matryoshka ... After downloading the first-stage payload, it runs the second-stage malware via its dropper and installs the real payload. It uses the process hollowing technique to evade defenses.

T1547.001Registry Run Keys / Startup FolderEvidence8

[Matryoshka](https://attack.mitre.org/software/S0167) can establish persistence by adding Registry Run keys.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1547.009Shortcut ModificationEvidence1

A link routed recipients through an attacker-controlled redirector to an encrypted archive hosted on Mega, containing a shortcut file named Case Documents.lnk. Executing it wrote Base64 content to a temporary file, rebuilt a script using the built-in certutil utility, then launched an obfuscated PowerShell chain

T1548.002Bypass User Account ControlEvidence2

then launched an obfuscated PowerShell chain that prompted the user for administrator rights. Once elevated, that stage created Defender exclusions

Stealth

10 techniques
T1027Obfuscated Files or InformationEvidence10

[Matryoshka](https://attack.mitre.org/software/S0167) obfuscates API function names using a substitute cipher combined with Base64 encoding.(Citation: CopyKittens Nov 2015)

T1036MasqueradingEvidence3

The archive it retrieved was named to resemble an official Python embedded distribution, though the filename read amd96 rather than amd64.

T1055Process InjectionEvidence1

Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.

T1055.001Dynamic-link Library InjectionEvidence3

[Matryoshka](https://attack.mitre.org/software/S0167) uses reflective DLL injection to inject the malicious library and execute the RAT.(Citation: CopyKittens Nov 2015)

T1055.012Process HollowingEvidence1

Matryoshka ... After downloading the first-stage payload, it runs the second-stage malware via its dropper and installs the real payload. It uses the process hollowing technique to evade defenses.

T1218System Binary Proxy ExecutionEvidence1

The campaign distributed malicious activity across scripts, signed binaries, proxy DLLs, and trusted cloud services.

T1218.010Regsvr32Evidence1

Running it launched a command chain that wrote Base64 content into %TEMP%\sgrfm.b64 , created %TEMP%\sgrfm.cmd , used certutil.exe -decode...

T1218.011Rundll32Evidence3

[Matryoshka](https://attack.mitre.org/software/S0167) uses rundll32.exe in a Registry Run key value for execution as part of its persistence mechanism.(Citation: CopyKittens Nov 2015)

T1564Hide ArtifactsEvidence1

"It detaches its main routine to the background and exits quickly... redirects standard input, output, and error streams to suppress visible artifacts in the terminal session."

T1620Reflective Code LoadingEvidence2

Cobalt Strike has the ability to load DLLs via reflective injection... Lazarus Group malware sample performs reflective DLL injection... Matryoshka uses reflective DLL injection... Netwalker DLL has been injected reflectively into the memory of a legitimate running process.

Defense Impairment

3 techniques
T1112Modify RegistryEvidence1

Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.

T1222File and Directory Permissions ModificationEvidence1

Once elevated, that stage created Defender exclusions covering both a staging directory and the process name python.exe

T1685Disable or Modify ToolsEvidence4

Once elevated, that stage created Defender exclusions covering both a staging directory and the process name python.exe, and only then began downloading executable content.

Credential Access

4 techniques
T1056Input CaptureEvidence1

"then falls back to displaying fake system dialogs that repeatedly request passwords until victims comply."

T1056.001KeyloggingEvidence3

[Matryoshka](https://attack.mitre.org/software/S0167) is capable of keylogging.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1555Credentials from Password StoresEvidence7

[Matryoshka](https://attack.mitre.org/software/S0167) is capable of stealing Outlook passwords.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1555.005Password ManagersEvidence1

Evilnum can collect email credentials from victims... Malteiro has obtained credentials from mail clients via NirSoft MailPassView... MgBot includes modules for stealing stored credentials from Outlook and Foxmail email client software... PLEAD has the ability to steal saved passwords from Microsoft Outlook.

Discovery

8 techniques
T1016System Network Configuration DiscoveryEvidence1

and inventory network configuration, local privileges and installed software.

T1018Remote System DiscoveryEvidence3

Beyond shell access, the variant could identify domain controllers, enumerate domain computers and privileged group membership

T1033System Owner/User DiscoveryEvidence1

and inventory network configuration, local privileges and installed software.

T1069.002Domain GroupsEvidence1

Beyond shell access, the variant could identify domain controllers, enumerate domain computers and privileged group membership

T1082System Information DiscoveryEvidence1

another leveraging a private GitHub repository for C2 communication, tasking, reconnaissance, and file transfer.

T1083File and Directory DiscoveryEvidence2

These capabilities could support credential theft, lateral movement, and broader domain compromise

T1482Domain Trust DiscoveryEvidence1

Beyond shell access, the variant could identify domain controllers, enumerate domain computers and privileged group membership

T1518Software DiscoveryEvidence1

and inventory network configuration, local privileges and installed software.

Collection

4 techniques
T1056Input CaptureEvidence1

"then falls back to displaying fake system dialogs that repeatedly request passwords until victims comply."

T1056.001KeyloggingEvidence3

[Matryoshka](https://attack.mitre.org/software/S0167) is capable of keylogging.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1113Screen CaptureEvidence5

[Matryoshka](https://attack.mitre.org/software/S0167) is capable of performing screen captures.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1560Archive Collected DataEvidence1

The intrusion began with a spear phishing chain that delivered an encrypted archive containing a malicious Windows shortcut.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence2

another that uses GitHub for command-and-control (C2), including beaconing, tasking, reconnaissance, file transfer, and secondary payload delivery

T1071.001Web ProtocolsEvidence4

Each victim was assigned a directory in a private repository holding beacon, command and result files, giving the operator tasking and file transfer without a custom C2 server.

T1071.004DNSEvidence3

[Matryoshka](https://attack.mitre.org/software/S0167) uses DNS for C2.(Citation: ClearSky Wilted Tulip July 2017)(Citation: CopyKittens Nov 2015)

T1105Ingress Tool TransferEvidence6

Each victim was assigned a directory in a private repository holding beacon, command and result files, giving the operator tasking and file transfer without a custom C2 server.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

uses a private GitHub repository for polling target-specific commands, submitting results, and fetching payloads

Indicators of compromise

Observables

7 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

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

View more in app →
infosecurity magazine newsNews · Aug 3, 2026HollowFrame Loader Uses Fake Python DLL to Evade Defender - Infosecurity MagazineA pair of Rust backdoor variants delivered by HollowFrame. One variant is sideloaded through a malicious version.dll beside a legitimate OneDrive updater to hide execution in a trusted Microsoft process. Another variant uses a wtsapi32.dll proxy and GitHub as a dead-drop C2 channel with per-victim directories for beaconing, commands, results, and file transfer. It supports shell access, domain controller discovery, domain and privilege enumeration, and host/network inventory.Read more ↗cysecurity newsNews · Aug 2, 2026HollowFrame Loader and Matryoshka Malware Used in Spear-Phishing Attack - CySecurity News - Latest Information Security and Hacking IncidentsA Rust-based backdoor with two observed variants: one using HTTP C2 and another using a private GitHub repository for C2. It enables remote command execution, beaconing, reconnaissance, file transfer, shell spawning, and delivery of secondary payloads.Read more ↗trojan killer newsNews · Aug 1, 2026HollowFrame and Matryoshka Backdoor: Check Python DLL SideloadingA Windows backdoor in the reported intrusion chain, associated with document-lure phishing, PowerShell staging, Defender exclusion changes, staged Python files, and persistent remote-access behavior.Read more ↗scworldNews · Jul 31, 2026New HollowFrame loader and Matryoshka malware family discovered | brief | SC MediaA Rust-based backdoor malware family with at least two variants. It supports C2 over HTTP or via a private GitHub repository and is used for tasking, reconnaissance, and file transfer as part of a modular, multi-stage attack chain.Read more ↗
+29 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 matching7Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups 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 mapping45Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.