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.
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.
Techniques & procedures
23 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Execution
7 techniques
Execution
“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.”
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.
Matryoshka is capable of providing Meterpreter shell access. Mustang Panda has utilized meterpreter shellcode.
Persistence
4 techniques
Persistence
“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.”
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.
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
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
Privilege Escalation
“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.”
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.
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
Stealth
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.
APT-C-36 has used a macro function to set scheduled tasks, disguised as those used by Google.
Defense Impairment
1 technique
Defense Impairment
Credential Access
4 techniques
Credential Access
"then falls back to displaying fake system dialogs that repeatedly request passwords until victims comply."
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.
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
Collection
"then falls back to displaying fake system dialogs that repeatedly request passwords until victims comply."
"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"
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A macOS-focused multi-stage stealer/loader delivered via social engineering (ClickFix-style) and typosquatting. It tricks users into pasting a malicious Terminal command that fetches an encoded shell script, decodes/decompresses payloads in-memory, then retrieves an AppleScript payload to steal browser credentials and target crypto wallet apps (e.g., Trezor Suite, Ledger Live), including via fake password prompts.
A ClickFix variant referred to as “Matryoshka” that is delivered via a typosquatting campaign and results in a macOS stealer payload.
Backdoor that establishes persistence via a named scheduled task.
Malware capable of stealing Microsoft Outlook passwords.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.