Hacker controls DISGOMOJI malware using emojis in Discord

Analysts Volexity discovered the Linux malware DISGOMOJI, which uses emoji to execute commands on infected devices and mainly attacks government agencies in India.

Experts believe that this malware is associated with Pakistani hackers known under the identifier UTA0137.

“Volexity strongly suggests that UTA0137 has espionage-related objectives targeting government organizations in India. Based on our analysis, the UTA0137 campaigns appear to have been successful,” the experts say.

Overall, DISGOMOJI is similar to many other backdoors, allowing attackers to execute commands, take screenshots, steal files, deploy additional payloads, and search for specific files. However, what distinguishes this malware from other threats is its use of Discord as a control server and emoji, which allows it to bypass security systems that usually respond to text commands.

The malware was discovered after researchers noticed an ELF executable file packaged using UPX in a ZIP archive. It is believed that this archive was distributed through phishing emails.

Volexity believes the malware is targeting a custom Linux distribution called BOSS, which is widely used by Indian government agencies. However, malware can be used just as effectively to attack other distributions.

When launched, the malware downloads and displays a fake PDF document that is related to the death benefit of an officer and purportedly written by the Indian Defense Officers' Provident Fund. This loads additional payloads in the background, including DISGOMOJI and a shell script under uevent_seqnum.sh, which is used to search for USB drives and steal data from them.

Once launched, DISGOMOJI collects system information about the infected machine, including IP address, username, hostname, operating system data, which is transmitted to the attackers. In addition, the malware attaches itself to the infected Linux device by using the @reboot cron command to execute at boot.

To control the malware, attackers use an open source project discord-c2, which uses Discord and emoji to communicate with infected devices and execute commands. Thus, the malware connects to a Discord server controlled by attackers and waits for the attackers to post emojis to the channel.

“DISGOMOJI is listening for new messages in the control channel on the Discord server. C2 communications are carried out over an emoji-based protocol, where the attacker sends commands to the malware by sending emojis into the command channel (with additional parameters if necessary). While DISGOMOJI is processing the command, it displays a “Clock” emoji in the message to inform the attacker that the command is being processed. When the command is fully processed, the “Clock” emoji reaction is removed and the “Check Button” emoji is added to confirm that the command was completed,” the researchers said.

A total of nine emojis are used to represent different commands executed on the infected device.

After a successful attack, attackers use semi-credentialed access to lateral move through the victim's network, steal data, and also try to steal additional credentials.