What is HZ RAT

HZ RAT is a sophisticated backdoor malware targeting macOS users, particularly those using DingTalk and WeChat applications. Upon execution, it connects to a command-and-control server to receive commands that allow remote control of the affected system. These commands enable attackers to execute shell commands, manage files, and even monitor the system, thereby posing significant privacy and security risks. The malware can collect extensive information, including IP addresses, hardware specifications, and user data from WeChat and DingTalk, such as email addresses and phone numbers. This collected data can be used for identity theft, espionage, or further cyber-attacks. Additionally, HZ RAT may serve as a gateway for deploying other malicious software like ransomware or cryptocurrency miners, further compromising the infected system. Its silent infiltration and data collection capabilities make it a severe threat that necessitates immediate removal.

HZ RAT

How HZ RAT infected your system

HZ RAT primarily infiltrates computers through deceptive installation packages that masquerade as legitimate applications, such as OpenVPN Connect. Once a user downloads and executes these seemingly benign installers, hidden malicious files activate, establishing the HZ RAT backdoor. This malware also spreads through other common vectors, including pirated software, malicious email attachments or links, and vulnerabilities in outdated software. Malicious advertisements and technical support scams are additional methods used to distribute HZ RAT. Once installed, HZ RAT connects to a command-and-control server to receive instructions, allowing attackers to execute commands, manage files, and collect sensitive data from the infected system.

Download Removal Tool for Mac

Download Spyhunter for Mac

To remove HZ RAT completely, we recommend you to use Spyhunter for Mac. It can help you remove files, folders, malicious profiles from Mac and uninstall add-ons from the Safari browser. The trial version of Spyhunter for Mac offers virus scan and 1-time removal for FREE.

Alternative Removal Tool

Download CleanMyMac

To remove HZ RAT completely, we recommend you to use CleanMyMac. It can help you remove files, folders, malicious profiles of HZ RAT, and get rid of unwanted add-ons from the Safari browser.

Remove HZ RAT from macOS manually

Removing HZ RAT from macOS requires a systematic approach that involves a combination of built-in tools, safe computing practices, and sometimes third-party software. Here’s a comprehensive guide to identifying and removing viruses from your Mac, ensuring your system’s integrity and security.

Step 1: Disconnect from the Internet

  1. Disconnect your Mac from the Internet. This prevents the virus from sending data to its creator or downloading more malicious software. Turn off Wi-Fi and unplug any Ethernet cables.

Step 2: Enter Safe Mode

  1. Restart your Mac in Safe Mode. Safe Mode performs a check of your startup disk and restricts certain software from automatically loading or opening.
    • For Intel-based Macs: Restart your Mac and immediately press and hold the Shift key until you see the login window.
    • For Apple Silicon Macs: Turn off your Mac, press and hold the power button until you see the startup options window, select your startup disk, press and hold the Shift key, then click Continue in Safe Mode.

Step 3: Use Built-in Tools for Malware Removal

  1. Use Finder to identify and remove suspicious applications.
    • Open Finder, go to the Applications folder, and look for any applications you don’t recognize or didn’t intentionally download.
    • Right-click the suspicious application and select Move to Trash, then empty the Trash.
  2. Use macOS built-in malware removal tool (MRT). macOS automatically runs MRT in the background, but you can manually run a malware scan by updating your software.
    • Go to System Preferences > Software Update.
    • Install any available updates, as these often include the latest security improvements and malware definitions.

Step 4: Check and remove HZ RAT from Login Items

Note: HZ RAT may set up to start on macOS startup. Therefore, before starting the removal, perform these steps:

  1. Open System Preferences, choose Users & Groups.
  2. Choose your account (set up as Current User).
  3. Click Login Items tab.
  4. Find suspicious entries. Select it, and click the “-“ (minus) button to remove them.

Step 5: Check and remove HZ RAT Malicious Device Profile

Important update: HZ RAT can install malicious Device Profile called AdminPrefs or similarly on MacOS, that won’t allow users to make changes to browser search engine and homepage settings. Follow instructions below to remove this profile.

Remove HZ RAT profile

  1. Go to System Preferences and click on Profiles.
  2. In the list of profiles on the left side, choose AdminPrefs or other profile and click on “-” button to remove it.
  3. In your case it can be named differently, in this case remove all visible profiles. Check the picture below to see how it looks like.
  4. remove HZ RAT profile from system preferences

Step 6: Reset Your Web Browsers

Reset Safari:

  1. Start Safari on your Mac, click Safari to open drop-down menu and choose Preferences
  2. Go to the Privacy section of Safari’s preferences.
  3. Click Remove All Website Data button.
  4. In the opened window, click Remove Now button to remove data stored by websites in Safari.
  5. Go to the Advanced section of Safari’s preferences.
  6. Click the Show Develop menu in menu bar option.
  7. In the menu, click Develop and select Empty Caches from this menu.
  8. Again, go to Safari menu and choose Clear History….
  9. Choose to clear all history and click Clear History button.

Reset Google Chrome:

  1. Start Google Chrome browser
  2. In address box type (or copy-paste) chrome://settings.
  3. Scroll down and find Show advanced settings link.
  4. Click on it and scroll down to the bottom again.
  5. Click Reset settings button and click Reset to confirm.

Reset Mozilla Firefox:

  1. Start Mozilla Firefox browser.
  2. In address box type (or copy-paste) about:support.
  3. Click Refresh Firefox… button.
  4. Click Refresh Firefox to confirm.

Step 7: Restore from a Backup

  1. If the issue persists, consider restoring your Mac from a backup.
    • Use Time Machine or another backup system to restore your Mac to a state before it was infected.
    • Ensure the backup you choose predates the malware infection.

Prevention Tips

  • Keep your macOS updated. Regularly check for and install macOS updates to ensure you have the latest security patches.
  • Be cautious with downloads and attachments. Only download software from trusted sources like the Mac App Store or official websites.
  • Use strong passwords and enable two-factor authentication (2FA) where possible.
  • Consider enabling the macOS firewall in System Preferences > Security & Privacy.
  • Regularly back up your Mac using Time Machine or another backup solution to ensure you can recover your system if needed.

Following these steps should help you remove most viruses from your Mac. If you continue to experience issues, consider seeking help from Apple Support or a professional cybersecurity service.

Previous articleHow to remove Search-secured.com
Next articleHow to remove Search-more.com
James Kramer
Hello, I'm James. My website Bugsfighter.com, a culmination of a decade's journey in the realms of computer troubleshooting, software testing, and development. My mission here is to offer you comprehensive, yet user-friendly guides across a spectrum of topics in this niche. Should you encounter any challenges with the software or the methodologies I endorse, please know that I am readily accessible for assistance. For any inquiries or further communication, feel free to reach out through the 'Contacts' page. Your journey towards seamless computing starts here