How to remove RustBucket from your Mac

Mac Virus

Also Known As: RustBucket macOS malware

(updated)

Damage level:

Get free scan and check if your device is infected.

Remove it now

To use full-featured product, you have to purchase a license for Combo Cleaner. Seven days free trial available. Combo Cleaner is owned and operated by RCS LT, the parent company of PCRisk.com.

What kind of malware is RustBucket?

RustBucket is a type of macOS malware that has the ability to retrieve further payloads from a Command-and-Control (C&C) server. The malware has the capability to collect system data and whether it is operating in a virtual environment. RustBucket allows the attacker to carry out malicious actions on compromised devices.

RustBucket malware detections

More about RustBucket

RustBucket is a type of malware that enables an attacker to perform various actions on infected machines. Some of the possible actions that can be taken with RustBucket include stealing sensitive information, deleting or modifying files, installing additional malware, and taking remote control of the compromised system.

Once the malware infects a device, it can gather system information, such as the list of running processes, the current time, and whether it is running in a virtual machine. The attacker can use this information to determine how to proceed with the attack.

The malware may also enable the attacker to steal sensitive information from the infected device, such as login credentials, banking information, and personal data. This information can be used for identity theft, financial fraud, and other malicious purposes.

In addition to stealing information, RustBucket may be used to delete or modify files on the infected device. This can cause damage to the system, disrupt operations, and cause data loss. The malware may also be used to install additional malware on the device, such as ransomware, which can encrypt files and demand payment in exchange for the decryption key.

Overall, RustBucket is a dangerous malware that may cause significant harm to an infected device and its users.

Threat Summary:
Name RustBucket macOS malware
Threat Type Mac malware, Mac virus
Detection Names (RustBucket) Avast (Other:Malware-gen [Trj]), Combo Cleaner (Trojan.MAC.Generic.111990), ESET-NOD32 (OSX/NukeSped.R), Kaspersky (Trojan-Downloader.OSX.Lazarus.c), Full List Of Detections (VirusTotal)
Detection Names (Fake PDF) TrendMicro (HEUR_PDFEXP.E), Full List Of Detections (VirusTotal)
Symptoms Malicious programs are usually designed to stealthily infiltrate the victim's computer and remain silent, and thus no particular symptoms are clearly visible on an infected machine.
Distribution Methods Social engineering, trojanized application, fake PDF document
Damage Monetary loss, identity theft, data loss, additional infections, and more
Malware Removal (Windows)

To eliminate possible malware infections, scan your computer with legitimate antivirus software. Our security researchers recommend using Combo Cleaner.

Download Combo Cleaner

To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by RCS LT, the parent company of PCRisk.com.

Threat actors behind RustBucket

It is believed that RustBucket can be attributed to a state-sponsored threat actor from North Korea. The Advanced Persistent Threat (APT) group known as BlueNoroff, which is thought to operate as a sub-group of the notorious Lazarus Group, is believed to be responsible for the creation and distribution of RustBucket.

How did RustBucket install on my computer?

The distribution of RustBucket by cybercriminals is a multi-stage process that involves social engineering tactics to trick victims into initiating the infection chain. The malware is contained within an unsigned application called "Internal PDF Viewer.app", which is programmed to fetch and execute the second-stage payload on the system.

To execute the first-stage malware, the user must manually override Gatekeeper. Once the first stage is executed, the second stage, which is a signed application masquerading as a legitimate Apple bundle identifier, is launched. It displays a fake PDF to the victim, featuring information from a legitimate venture capital firm.

Following the launch of the second stage, the malware contacts the command-and-control (C&C) server to obtain the third-stage payload. The third-stage payload is a signed trojan written in Rust programming language and capable of running on ARM and x86 architectures.

The distribution method used by cybercriminals for RustBucket involves the use of various decoys to deceive victims into executing the malware.

How to avoid installation of malware

To avoid malware, keep your software and operating system up to date with the latest security patches. Avoid clicking on suspicious links or downloading files from unknown sources (including attachments in suspicious emails), and use reputable antivirus software to scan your system regularly.

Additionally, avoid clicking advertisements and pop-ups on dubious websites. Download software solely from official pages and verified stores. If your computer is already infected, we recommend running a scan with Combo Cleaner Antivirus for Windows to automatically eliminate all threats.

Unsigned application ("Internal PDF Viewer.app") used to distribute RustBucket:

RustBucket malware malicious Internal PDF Viewer.app

Fake PDF document used to distribute RustBucket:

RustBucket malware malicious PDF

Update July 3, 2023 – new version of RustBucket malware has been discovered. The variant sports sophisticated anti-detection and persistence-ensuring capabilities. Recent research strongly suggests that RustBucket is used by the Lazarus Group, a North Korean state-sponsored threat actor. This malware has been used in a cryptocurrency-targeting attack against a company headquartered in the European Union, which provides crypto-payment services. More information on these developments can be found in an article on the Elastic Security Labs website.

Instant automatic malware removal:

Manual threat removal might be a lengthy and complicated process that requires advanced IT skills. Combo Cleaner is a professional automatic malware removal tool that is recommended to get rid of malware. Download it by clicking the button below:

DOWNLOAD Combo Cleaner

By downloading any software listed on this website you agree to our Privacy Policy and Terms of Use. To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by RCS LT, the parent company of PCRisk.com.

Quick menu:

Video showing how to remove adware and browser hijackers from a Mac computer:

Potentially unwanted applications removal:

Remove potentially unwanted applications from your "Applications" folder:

Manual removal of malicious Mac applications

Click the Finder icon. In the Finder window, select "Applications". In the applications folder, look for "MPlayerX","NicePlayer", or other suspicious applications and drag them to the Trash. After removing the potentially unwanted application(s) that cause online ads, scan your Mac for any remaining unwanted components.

DOWNLOAD remover for malware infections

Combo Cleaner checks if your computer is infected with malware. To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by RCS LT, the parent company of PCRisk.com.

Mac malware removal and recovery procedure

If unfamiliar processes are running, browser searches are being redirected, fans are spinning loudly for no reason, or fake "Update Safari" prompts have appeared, your Mac is likely infected. Run a full scan with Combo Cleaner for Mac to remove the infection. The full manual procedure below covers cases where automatic removal failed, where you want to verify a scan caught everything, or where the malware has multiple persistence points across LaunchAgents, LaunchDaemons, and Configuration Profiles.

Common Mac malware behaviors

VisibleAdware injection - browser hijackers and fake search engines

The most common Mac malware. Replaces your default search engine, homepage, or new-tab page with a lookalike domain that funnels every query through ad networks before passing it to a real provider. Often arrives bundled with cracked apps, fake Flash Player updates, or "free media player" downloads (MPlayerX, NicePlayer).

Browser showing redirected search results from a hijacked search engine
HiddenLaunchAgent / LaunchDaemon persistence

The standard way Mac malware survives reboots. A small .plist file in /Library/LaunchAgents/, /Library/LaunchDaemons/, or ~/Library/LaunchAgents/ tells launchd to run the malware at every login or boot. The .plist often picks a generic-looking name like com.apple.AdobeFlash.plist or com.system.helper.plist to blend in among legitimate Apple files.

Finder window showing suspicious .plist files in LaunchAgents folder
HiddenConfiguration Profile abuse

Configuration Profiles are an enterprise feature - they let an IT department enforce policy on managed Macs (homepage, DNS, certificates, password rules). Adware abuses this by silently installing a Profile that locks the browser homepage, default search, or DNS server at the OS level. Manual browser reset doesn't help - the Profile reapplies the hijack. Check System Settings → General → Device Management (or "Profiles" on older macOS).

System Settings Device Management showing a malicious Configuration Profile
VisibleFake update prompts (FlashPlayer.dmg variants)

"Your Flash Player is out of date" or "Update your browser to view this content." Adobe killed Flash in 2020 - any current "Flash update" prompt is malware. The Atomic macOS Stealer (AMOS) family heavily uses this trick to deliver info-stealers that grab browser passwords, keychain items, and crypto wallet seed phrases. Apple's Software Update never appears as a browser pop-up.

Browser showing fake Adobe Flash Player update prompt
SymptomCryptominer CPU usage

Fans spin loudly, the Mac runs hot, battery drains fast, Activity Monitor shows a process near 100% CPU. Cryptominers run silently in the background to mint cryptocurrency for the attacker. Often delivered via cracked apps from torrent sites, browser extensions, or supply-chain compromises in legitimate Mac software.

Activity Monitor showing a process consuming high CPU
HiddenInfo stealing - AMOS, Banshee, Cthulhu, RustDoor

Modern Mac stealer families - AMOS (Atomic macOS Stealer), Banshee, Cthulhu, and RustDoor are the most active - read browser-saved passwords, cookies, autofill data, the macOS Keychain, crypto wallet seed phrases (Exodus, Electrum, Trezor Suite, MetaMask, etc.), and Apple Notes. AMOS is the most prolific overall, distributed via fake software installers, cracked apps, and fake "Spotlight" or "ChatGPT" sites. Once data is exfiltrated, the malware often deletes itself, leaving little trace - which is why credential rotation in Step 10 is critical even after the infection appears gone.

Tools you'll need
Combo Cleaner for Mac 7-days free trial available
Recommended primary scanner. Detects adware, info-stealers, cryptominers, and the persistence files they install.
Activity Monitor Free · built-in
Built into macOS. Shows running processes with full file paths, CPU, memory, and network usage.
By Objective-See (Patrick Wardle). Lists every place macOS malware can persist - LaunchAgents, LaunchDaemons, Login Items, Cron, Browser Extensions, Kernel Extensions, more.
Console.app Free · built-in
Built into macOS (Applications → Utilities). Shows system logs - useful for finding what process is launching a suspicious child.
Contain - limit the damage
~5 min
1
Disconnect from the network
30 secNo tool needed

Click the Wi-Fi icon in the menu bar (or open Control Center) and turn Wi-Fi off. If you're on Ethernet, unplug the cable. This stops any active info-stealer or backdoor from sending data out or accepting commands. Keep the network off until you've booted into Safe Mode (next step) - you'll reconnect there briefly to download the scanner.

Why this mattersAMOS-family stealers exfiltrate browser passwords, keychain entries, and crypto wallet seeds within seconds of running. Cutting the network is the only way to stop ongoing exfiltration immediately.
2
Boot into Safe Mode and download Combo Cleaner
5 min

macOS Safe Mode loads only Apple-trusted kernel extensions and skips most third-party LaunchAgents and user login items, so persistent Mac malware doesn't auto-run while you set up the scanner. Network access works normally in Safe Mode.

Apple Silicon (M1, M2, M3, M4)
  1. Choose Apple menu → Shut Down
  2. Wait until the Mac is fully off
  3. Press and hold the Power button until "Loading startup options" appears
  4. Select your startup disk (usually "Macintosh HD")
  5. Hold Shift, then click Continue in Safe Mode
  6. Log in - the menu bar will show "Safe Boot" in red
Intel-based Mac
  1. Choose Apple menu → Restart
  2. Immediately press and hold the Shift key as the Mac begins to boot
  3. Release Shift when the login window appears
  4. Log in - the menu bar will show "Safe Boot" in red

Once Safe Mode has loaded, turn Wi-Fi back on and download Combo Cleaner for Mac. Save the .dmg to your Desktop. You can disconnect Wi-Fi again before scanning if you want extra caution.

Identify - find what's hiding
~15 min
3
Inspect running processes with Activity Monitor
Tool: Activity Monitor5 min

Open Activity Monitor (Applications → Utilities → Activity Monitor, or Cmd+Space and type "Activity Monitor"). Sort by CPU usage to spot cryptominers and runaway processes.

Click each unfamiliar process and choose View → Inspect Process (Cmd+I) to see:

  • Path - anything in /private/tmp/, ~/Library/Application Support/<random-name>/, or with a generic-looking bundle ID is suspicious
  • Code signing - Apple's processes are signed by "Apple" or "Software Signing." Adhoc-signed or unsigned binaries from third parties warrant investigation
  • Open Files and Ports - shows what the process is touching on disk and network
Why this mattersMac malware often picks process names like "CoreServicesAgent" or "WindowServer" that look legit at a glance. The Inspect view shows the actual file path, which is what tells you it's not Apple's.
Activity Monitor showing the Inspect Process panel for a suspicious process
4
Map persistence with KnockKnock and inspect the launch paths
Tool: KnockKnock + Finder7 min

Download KnockKnock by Objective-See (Patrick Wardle's free tool, the Mac equivalent of Sysinternals Autoruns). It lists every place macOS malware can persist in a single window: LaunchAgents, LaunchDaemons, Login Items, Cron Jobs, Browser Extensions, Kernel Extensions, Authorization Plug-ins, Mail Plug-ins, Quicklook, Spotlight, and more.

Run KnockKnock and toggle "Filter Signed Items" to focus on unsigned or non-Apple-signed entries. Click any suspicious item to see its file path and code-signing status.

If you'd rather check manually, open Finder → Go → Go to Folder (Shift+Cmd+G) and visit each path:

  • /Library/LaunchAgents/ - system-wide, runs at login for any user
  • /Library/LaunchDaemons/ - system-wide, runs at boot before login
  • ~/Library/LaunchAgents/ - user-level, runs at this user's login
  • ~/Library/Application Support/ - where adware drops its data folder, often with a random or app-mimicking name

Then check additional persistence locations in System Settings:

  • Login Items & Extensions - System Settings → General → Login Items & Extensions. Click anything you don't recognize and remove it
  • Background Items - same panel, "Allow in the Background" section. Mac malware often shows up as a background item with an obscure name
  • Configuration Profiles - System Settings → General → Device Management (or "Profiles" on older macOS). Remove any Profile you didn't install yourself
Pro tipRight-click any suspicious .plist → Open With → TextEdit. The <key>Program</key> and <key>ProgramArguments</key> values tell you exactly what executable runs and from where. Don't delete yet - write down the file paths and entry names. We'll remove them after the Combo Cleaner scan in Step 7.
KnockKnock main window showing categorized persistence list
5
Check /etc/hosts and DNS settings
3 minBuilt into macOS

Mac malware sometimes redirects bank, Apple, antivirus, and update domains to attacker-controlled servers via the hosts file or DNS settings.

Hosts file: Open Terminal (Applications → Utilities → Terminal) and run:

sudo nano /etc/hosts

Legitimate entries are commented with #. Any uncommented IP-to-domain mapping is suspicious - especially redirects for apple.com, icloud.com, your bank, or your password manager. Press Ctrl+X to exit nano without saving.

DNS settings: System Settings → Network → click your active connection (Wi-Fi or Ethernet) → DetailsDNS. Confirm DNS servers point to your ISP, your router, or a known public resolver (Cloudflare 1.1.1.1, Google 8.8.8.8). Anything else has been hijacked.

Why this mattersA clean Mac with hijacked DNS is still a compromised Mac. You'll think you're at chase.com and you'll be at the attacker's clone.
Remove - scan and clean up
~30 min
Recommended antivirus: Combo Cleaner for MacDetects adware, info-stealers, cryptominers, and the LaunchAgent / LaunchDaemon persistence files they install. The 7-day free trial is available.
Download Combo Cleaner
6
Run a full Combo Cleaner for Mac scan
Tool: Combo Cleaner20–30 min

Open the .dmg you downloaded in Step 2. Drag the Combo Cleaner icon to the Applications folder. Open it from Launchpad (or Applications), allow it to update its threat database, then click Start Combo Scan and let it complete fully. Review what it found and apply the recommended actions.

Why this comes before manual cleanupCombo Cleaner removes known adware, info-stealers, cryptominers, and the LaunchAgent persistence files they installed in one pass. Manual cleanup in Step 7 is for anything still left over.
Combo Cleaner for Mac scan results
7
Manually remove anything still present
10 minTool: Finder

Reopen KnockKnock (or revisit the Finder paths from Step 4). Anything you flagged that's still present hasn't been caught by the automated scan. For each remaining suspicious entry:

  1. Note the executable path the .plist references (right-click the .plist → Open With → TextEdit, look at <key>Program</key>)
  2. Move the .plist to Trash
  3. Move the executable file at the referenced path to Trash
  4. Empty the Trash

Then go to /Applications and remove any unwanted apps the malware installed. Common adware-installed app names: MPlayerX, NicePlayer, MyShopcoupon, Advanced Mac Cleaner, Mac Cleanup Pro. Drag them to Trash, then check ~/Library/Application Support/ for any folder with the same name and delete it too.

ImportantSome malware files reappear after deletion because something else on the system recreates them. If a file returns within minutes, you have a remaining persistence point KnockKnock didn't show. Re-run Combo Cleaner or proceed to a macOS reinstall (see end of guide).
Recover - restore browsers and security
~15 min
8
Reset browsers and clear notification permissions
5 min

Mac adware persists in browser extensions, search engine settings, homepage, and notification permissions. Reset each browser you use:

  • Safari: Safari → Settings → Extensions - uninstall anything you don't recognize. Then Safari → Settings → Search - restore your preferred default search engine. Then Safari → Settings → Websites → Notifications - remove all unfamiliar sites. For a deep reset: Safari → History → Clear History → "all history."
  • Chrome: visit chrome://settings/reset → "Restore settings to their original defaults." Then chrome://settings/content/notifications and remove unfamiliar sites.
  • Firefox: open about:supportRefresh Firefox. Then check Settings → Privacy & Security → Permissions → Notifications.

Review installed extensions in each browser and remove anything you don't recognize, especially extensions you didn't install yourself.

9
Re-verify Gatekeeper, FileVault, and System Integrity Protection
10 min

Some Mac malware tries to weaken built-in security to make persistence easier. Verify each is on:

  • Gatekeeper (blocks unsigned apps): System Settings → Privacy & Security → scroll to Allow applications downloaded from → confirm "App Store and identified developers" is selected (not "Anywhere"). If the malware added itself to the allow-list, the entry appears in the same panel - remove it.
  • FileVault (full-disk encryption): System Settings → Privacy & Security → FileVault → confirm "FileVault is on for this disk." If it was disabled by malware, turn it back on.
  • System Integrity Protection (SIP): open Terminal and run csrutil status. Output should be "System Integrity Protection status: enabled." If disabled, you'll need to reboot into Recovery Mode and run csrutil enable from there.

Then run macOS Software Update (System Settings → General → Software Update) to apply the latest security patches.

Verify & secure
~15 min + 7 days
10
Change passwords from a clean device
20 mincritical for AMOS family

If the malware was an info-stealer (AMOS, Banshee, Cthulhu, or RustDoor families are extremely common on Mac), assume every password saved in your browser is compromised. So is your iCloud Keychain if it was unlocked while the malware ran. Change passwords from a different, known-clean device - your iPhone is fine if it's not infected.

Recommended order:

  1. Apple ID first - it controls iCloud, Find My, Apple Pay, and the App Store
  2. Primary email - the recovery hub for everything else
  3. Banking and financial accounts
  4. Password manager master password (if you use one)
  5. Crypto wallet seed phrases - if you store any seed phrase or private key on the Mac, AMOS specifically targets these. Move funds to a fresh wallet from a clean device immediately, before changing other passwords
  6. Social media, shopping, and remaining accounts

Where available, enable phishing-resistant multi-factor authentication (passkeys / hardware keys / authenticator apps) - SMS-based MFA is bypassable.

11
Verify the clean and monitor for 7 days
5 min + 1 week monitoring

Reconnect to the network and run one final full scan with Combo Cleaner. Open System Settings → General → Login Items & Extensions and confirm nothing suspicious has reappeared. Open Activity Monitor and verify no unfamiliar process is using significant CPU.

Over the next 7 days, watch for symptom recurrence: high CPU when the Mac is idle, browser redirects returning, fake update prompts, or unfamiliar Login Items reappearing. If anything returns, you missed a persistence point and the procedure needs to be repeated - or you may have a deeper compromise that requires a clean macOS reinstall.

System Settings Login Items showing a clean list

When to reinstall macOS instead

Manual removal isn't always the right answer. Reinstalling macOS from scratch is the only way to be 100% certain when:

  • The malware reappears after every removal attempt
  • A kernel extension or system-level component was modified
  • Confirmed credential-theft malware ran with admin rights - the system likely has multiple unknown payloads
  • The Mac is used for online banking, crypto wallets, business email, or anything where partial doubt isn't acceptable

macOS reinstall is straightforward: shut down → boot to Recovery (Apple Silicon: hold the Power button → Options; Intel: Cmd+R during boot) → Erase MacReinstall macOS. Back up documents to external storage first, scan the backup with Combo Cleaner before restoring it, and reinstall apps fresh - never restore them from a backup of the infected system.

Important: Manual removal of Mac malware requires care - deleting the wrong .plist or system app can prevent macOS from booting normally. If you're not confident identifying system files from malicious files, run an automated scan with Combo Cleaner for Mac and stop there - that path catches the vast majority of consumer Mac malware without the risk of breaking macOS.

Frequently Asked Questions (FAQ)

My computer is infected with RustBucket malware, should I format my storage device to get rid of it?

If your computer is infected with RustBucket malware, formatting may be an effective solution for removing the malware. However, it is recommended to try using antivirus software for the removal first.

What are the biggest issues that malware can cause?

The negative effects of malware can vary depending on its type. Some types of malware can lead to serious issues such as identity theft, financial losses, and decreased computer performance. Additionally, malware can sometimes lead to further infections.

What is the purpose of RustBucket malware?

The purpose of RustBucket malware is to gain unauthorized access to a victim's computer system and allow the attacker to carry out various actions on the infected machines. This includes collecting various information and downloading additional malware payloads from the Command-and-Control server.

How did RustBucket malware infiltrate my computer?

RustBucket malware infiltrates computers through a multi-stage process that involves social engineering tactics to trick victims into initiating the infection chain. It is contained within an unsigned application called "Internal PDF Viewer.app" and requires a manual override of Gatekeeper to execute. The malware communicates with a C2 server to obtain a third-stage payload, a Trojan written in Rust programming language.

Will Combo Cleaner protect me from malware?

Combo Cleaner has the ability to detect and eliminate nearly all known malware infections, although it is important to note that sophisticated malware may be deeply hidden within the system. Therefore, it is crucial to perform a complete system scan to ensure effective detection and removal.

Share:

facebook
X (Twitter)
linkedin
copy link
Tomas Meskauskas

Tomas Meskauskas

Expert security researcher, professional malware analyst

I am passionate about computer security and technology. I have an experience of over 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an author and editor for pcrisk.com since 2010. Follow me on Twitter and LinkedIn to stay informed about the latest online security threats.

▼ Show Discussion

PCrisk security portal is brought by a company RCS LT.

Joined forces of security researchers help educate computer users about the latest online security threats. More information about the company RCS LT.

Our malware removal guides are free. However, if you want to support us you can send us a donation.

Donate