SecurityBrief New Zealand - Technology news for CISOs & cybersecurity decision-makers
Story image
Trojanised WhatsApp and Telegram applications stealing crypto funds
Mon, 20th Mar 2023
FYI, this story is more than a year old

ESET Research has found the first instance of clippers built into instant messaging apps. 

The cyber security research firm says threat actors are going after victims’ cryptocurrency funds using trojanised Telegram and WhatsApp applications for Android and Windows. 

The malware can switch the cryptocurrency wallet addresses the victim sends in chat messages to addresses belonging to the attacker. Some of the clippers abuse optical character recognition to extract text from screenshots and steal cryptocurrency wallet recovery phrases. In addition to clippers, ESET also found remote access trojans bundled with malicious Windows versions of WhatsApp and Telegram.

Clippers are a type of malware that steals or modifies the contents of the clipboard. All of them are after victims’ cryptocurrency funds, with several targeting cryptocurrency wallets. 

This was the first time ESET Research had seen Android clippers focusing specifically on instant messaging. Moreover, some of these apps use optical character recognition (OCR) to recognise text from screenshots stored on the compromised devices, which is another first for Android malware. 

Based on the language used in the copycat applications, it seems that the operators behind them mainly target Chinese-speaking users. Because both Telegram and WhatsApp have been blocked in China for several years now, with Telegram being blocked since 2015 and WhatsApp since 2017, people who wish to use these services have to resort to indirect means of obtaining them. 

The threat actors first set up Google Ads leading to fraudulent YouTube channels, which then redirected the viewers to copycat Telegram and WhatsApp websites. ESET Research immediately reported the fraudulent ads and related YouTube channels to Google, which promptly shuttered them all.

“The main purpose of the clippers we discovered is to intercept the victim’s messaging communications and replace any sent and received cryptocurrency wallet addresses with addresses belonging to the attackers," says ESET researcher Luk tefanko, who discovered the trojanised apps.

"In addition to the trojanised WhatsApp and Telegram Android apps, we also found trojanised Windows versions of the same apps,” he says. 

Despite serving the same general purpose, the trojanised versions of these apps contain various additional functionalities. The analysed Android clippers constitute the first instance of Android malware using OCR to read text from screenshots and photos stored on the victim’s device. OCR is deployed in order to find and steal a seed phrase, which is a mnemonic code composed of a series of words used for recovering cryptocurrency wallets. Once the malicious actors get hold of a seed phrase, they are free to steal all the cryptocurrency directly from the associated wallet.

In another instance, the malware simply switches the victim’s cryptocurrency wallet address for the attacker’s address in chat communication, with the addresses being either hardcoded or dynamically retrieved from the attacker’s server. In yet another instance, the malware monitors Telegram communication for certain keywords related to cryptocurrencies. Once such a keyword is recognised, the malware sends the full message to the attacker’s server.

ESET Research also found Windows versions of the wallet-switching clippers, as well as Telegram and WhatsApp installers for Windows bundled with remote access trojans (RATs). In a departure from the established pattern, one of the Windows-related malware bundles is not composed of clippers, but of RATs that enable full control of the victim’s system. This way, the RATs are able to steal cryptocurrency wallets without intercepting the application flow.

“Install apps only from trustworthy and reliable sources, such as the Google Play store, and do not store unencrypted pictures or screenshots containing sensitive information on your device. If you believe you have a trojanised version of Telegram or WhatsApp, manually remove it from your device and download the app either from Google Play or directly from the legitimate website,” advises tefanko. 

“For Windows, if you suspect that your Telegram app is malicious, use a security solution to detect the threat and remove it for you. The only official version of WhatsApp for Windows is currently available in the Microsoft store.”