Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Malware

Matryoshka

Matryoshka is malware referenced in two distinct contexts in the provided content. In ATT&CK-style reporting, Matryoshka is described as a Windows malware family capable of providing Meterpreter shell access, stealing Outlook passwords, performing screen captures, keylogging, using reflective DLL injection to load and execute its RAT component, establishing persistence via a Scheduled Task named "Microsoft Boost Kernel Optimization," and using rundll32.exe in a Registry Run key value for persistence/execution. Separately, the content also describes a newer "Matryoshka" ClickFix variant targeting macOS users in a typosquatting-based social engineering campaign. In that activity, victims are redirected from typosquatted domains to fraudulent pages that instruct them to paste a supposed fix command into Terminal. The variant uses nested obfuscation layers, keeps payloads encoded and compressed until execution, expands primarily in memory, retrieves an AppleScript payload, harvests browser credentials, and targets cryptocurrency wallet applications including Trezor Suite and Ledger Live. It also suppresses visible Terminal artifacts, backgrounds execution to reduce suspicion, and uses command-and-control infrastructure that requires specific custom headers and returns generic errors to unauthenticated scanners. A cited domain in the campaign is comparisions[.]org.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

MITRE ATT&CK

Techniques & procedures

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

Execution

7 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence3

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1059Command and Scripting InterpreterEvidence1
T1059.001PowerShellEvidence1

Matryoshka is capable of providing Meterpreter shell access. Mustang Panda has utilized meterpreter shellcode.

T1059.002AppleScriptEvidence1

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

T1059.003Windows Command ShellEvidence1

Matryoshka is capable of providing Meterpreter shell access.

T1059.004Unix ShellEvidence1

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

Persistence

4 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence3

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

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 FolderEvidence4

The content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder.

Privilege Escalation

4 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence3

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1055.001Dynamic-link Library InjectionEvidence1
T1547.001Registry Run Keys / Startup FolderEvidence4

The content repeatedly describes malware and threat actors establishing persistence by adding values under HKCU/HKLM\Software\Microsoft\Windows\CurrentVersion\Run or RunOnce, and by placing executables, scripts, or .lnk files in the Startup folder.

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence6

The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.

T1036MasqueradingEvidence1

APT-C-36 has used a macro function to set scheduled tasks, disguised as those used by Google.

T1055.001Dynamic-link Library InjectionEvidence1
T1218.011Rundll32Evidence1
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 LoadingEvidence1

"exploding only in memory rather than writing clean script files to disk... undergoes decoding and decompression without creating easily detectable file artifacts."

Defense Impairment

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

Credential Access

4 techniques
T1056Input CaptureEvidence1

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

T1056.001KeyloggingEvidence1
T1555Credentials from Password StoresEvidence5

Agent Tesla has the ability to steal credentials from FTP clients and wireless profiles... APT33 has used a variety of publicly available tools like LaZagne to gather credentials... Mimikatz performs credential dumping to obtain account and password information useful in gaining access to additional systems and enterprise network resources. It contains functionality to acquire information about credentials in many ways, including from the credential vault and DPAPI.

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.

Collection

3 techniques
T1056Input CaptureEvidence1

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

T1056.001KeyloggingEvidence1
T1113Screen CaptureEvidence2

"Agent Tesla can capture screenshots of the victim’s desktop"; "AppleSeed can take screenshots on a compromised host"; "APT28 has used tools to take screenshots from victims"; "Cobalt Strike's Beacon payload is capable of capturing screenshots"; "PowerSploit's Get-TimedScreenshot Exfiltration module can take screenshots at regular intervals"; "Hydraq includes a component based on the code of VNC that can stream a live feed of the desktop"

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence1

"the command-and-control infrastructure requires specific custom headers in requests, responding with generic errors to automated scanners lacking proper credentials."

T1071.004DNSEvidence1
What this page doesn’t show

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 matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping23

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.