FIRST HAKER 👁 [NEWS]

FIRST HAKER 👁 [NEWS]

@xakep_one

HZ Rat macOS backdoor targets Chinese DingTalk and WeChat users

Kaspersky Lab experts have discovered a new version of the HZ Rat backdoor designed for macOS. This version attacks users of corporate messengers DingTalk and WeChat. A feature of some versions of the backdoor is the use of local IP addresses to connect to control servers, which may indicate targeted attacks.


HZ Rat was first discovered in November 2022 by DCSO experts and initially targeted Windows systems. In that version of the backdoor, commands were passed through PowerShell scripts. The new macOS version functions similarly, but uses shell scripts to execute commands.


The distribution path of the new HZ Rat remains unclear, but experts have identified an installation package called OpenVPNConnect.pkg, which was uploaded to VirusTotal in July 2023 and was not detected by antiviruses. The file was downloaded from a domain owned by Chinese game developer miHoYo, raising questions about a possible company hack or other compromise.


Once installed, HZ Rat connects to the control server via specified IP addresses, often using port 8081. In some cases, the connection is made through private IP addresses, which may indicate that the attacks are taking place on local networks with an already-infected computer that acts as a proxy to redirect traffic.

The backdoor supports four basic commands: execute a shell command, write a file to disk, send a file to a server, and check the victim's availability. During the investigation, experts were able to intercept commands from the control server that are aimed at gathering the following information:


- System Integrity Protection (SIP) feature status.

- System and device information, including local IP address, Bluetooth device data, available Wi-Fi networks, and connections, as well as hardware and storage characteristics.

- List of installed applications.

- User information from WeChat, including WeChatID, mail, and phone number.

- User and organization information from DingTalk, including organization name, department, username, corporate email address, and phone number.

- Data from Google password manager.


To extract data from WeChat and DingTalk, the malware uses files that are stored insecurely. In WeChat, the data of interest is stored in the userinfo.data file, while in DingTalk it is stored in the orgEmployeeModel, sAlimailLoginEmail and <date>.holmes.mapping files.

The researchers found four active control servers, most of which were located in China, except for two in the United States and the Netherlands. Some IP addresses were linked to previous HZ Rat attacks on Windows systems, indicating a possible connection between those campaigns.


Experts believe that the information collected could be used by attackers to track victims and prepare future targeted attacks, although their ultimate intentions are to

📢All the information is generated and filtered by artificial intelligence:

https://t.me/xakep_one

Report Page