16 October 2024

SpyAgent Android Malware: A New Threat to Your Cryptocurrency Recovery Phrases

SpyAgent Android malware uses OCR technology to steal cryptocurrency wallet recovery phrases from images on mobile devices, posing a serious threat to users.

SpyAgent Android Malware: A New Threat to Your Cryptocurrency Recovery Phrases

A newly discovered Android malware, known as SpyAgent, poses a significant threat to cryptocurrency users by employing advanced optical character recognition (OCR) technology to extract sensitive recovery phrases from images stored on mobile devices.

Cryptocurrency recovery phrases, also referred to as seed phrases, are crucial for accessing cryptocurrency wallets. These phrases, typically consisting of 12 to 24 words, serve as a backup key, enabling users to restore their wallets and regain access to their funds in cases of device loss, data corruption, or when transferring wallets to new devices.

Due to their importance, these recovery phrases are prime targets for cybercriminals. If they manage to obtain these phrases, they can easily restore the wallet on their own devices and siphon off all the funds contained within.

Many users struggle to memorize these lengthy phrases, leading them to save or print them for safekeeping. Unfortunately, some individuals resort to taking screenshots of their recovery phrases and storing them as images on their mobile devices, which SpyAgent exploits.

According to a report by McAfee, this malware operation has been linked to at least 280 APKs that were distributed outside of the Google Play Store, often through SMS messages or malicious social media posts. SpyAgent's ability to utilize OCR technology to extract recovery phrases from images makes it a formidable threat to cryptocurrency holders.

The malware masquerades as legitimate applications, including those claiming to be associated with South Korean and UK government services, dating platforms, and adult content sites. While its primary targets have been in South Korea, McAfee has noted a potential expansion into the UK, along with indications that an iOS variant may be under development.

In July 2023, Trend Micro identified two other Android malware families, CherryBlos and FakeTrade, which also utilized OCR to pilfer cryptocurrency data from images. This trend suggests that such tactics are becoming increasingly popular among cybercriminals.

Once SpyAgent infiltrates a device, it begins transmitting sensitive information to its command and control (C2) server, including:

  • The victim's contact list, likely to facilitate the spread of the malware via trusted contacts.
  • Images stored on the device for OCR scanning.
  • Generic device information, which helps optimize the malware's attacks.

Additionally, SpyAgent can receive commands from the C2 server to alter sound settings or send SMS messages, potentially used to dispatch phishing texts aimed at further distributing the malware.

McAfee's investigation revealed that the operators of the SpyAgent campaign had not implemented adequate security measures for their servers, allowing researchers to access admin panel pages and files containing data stolen from victims. This accessibility confirmed that the malware had successfully compromised multiple users.

The stolen images are processed and scanned for OCR on the server side, with the results organized on the admin panel for efficient management and immediate use in wallet hijacking attacks.

To protect against this emerging threat on Android devices, users should refrain from installing applications from sources outside of the Google Play Store, as these are often used to distribute malware. Additionally, they should ignore SMS messages that direct them to APK download links and revoke permissions that appear unnecessary for the app's primary functions.

Regularly conducting Google Play Protect scans is also advisable to identify any apps flagged as malware.

Source: BleepingComputer