Matroyshka
- Type
- Backdoor
- Capabilities
- KeyloggingPersistencePost exploitationDefense evasion
- Platforms
- Windows
Matroyshka is a Windows malware family with remote-access and surveillance functionality. Observed capabilities include keylogging, screen capture, and provision of Meterpreter shell access, indicating use for interactive post-compromise control and victim monitoring. It establishes persistence through multiple Windows mechanisms, including a Registry Run key that launches code via rundll32.exe and a scheduled task masquerading as a legitimate Microsoft component. The use of rundll32.exe suggests an effort to blend malicious execution with trusted Windows binaries and reduce detection. The combination of credential-collection-adjacent monitoring, screenshot capture, remote shell enablement, and durable persistence is consistent with a backdoor or RAT used after initial compromise to maintain access and support follow-on operations against Windows hosts.
Techniques & procedures
6 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
Examples throughout the content include: "APT29 used named and hijacked scheduled tasks to establish persistence"; "APT3 downloader creates persistence by creating the following scheduled task: schtasks /create ... /sc ONLOGON"; "Shamoon ... scheduling an unnamed task to execute the malware"; "menuPass ... execute a command on a target machine via Task Scheduler."
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
Persistence
2 techniques
Persistence
Examples throughout the content include: "APT29 used named and hijacked scheduled tasks to establish persistence"; "APT3 downloader creates persistence by creating the following scheduled task: schtasks /create ... /sc ONLOGON"; "Shamoon ... scheduling an unnamed task to execute the malware"; "menuPass ... execute a command on a target machine via Task Scheduler."
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Privilege Escalation
2 techniques
Privilege Escalation
Examples throughout the content include: "APT29 used named and hijacked scheduled tasks to establish persistence"; "APT3 downloader creates persistence by creating the following scheduled task: schtasks /create ... /sc ONLOGON"; "Shamoon ... scheduling an unnamed task to execute the malware"; "menuPass ... execute a command on a target machine via Task Scheduler."
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Stealth
1 technique
Stealth
Adversaries may abuse rundll32.exe to proxy execution of malicious code. Using rundll32.exe, vice executing directly (i.e. Shared Modules), may avoid triggering security tools that may not monitor execution of the rundll32.exe process because of allowlists or false positives from normal operations.
Credential Access
1 technique
Credential Access
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
Collection
2 techniques
Collection
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
Agent Tesla can capture screenshots of the victim’s desktop. APT28 has used tools to take screenshots from victims. APT39 has used a screen capture utility to take screenshots on a compromised host.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.