HEAVYGRAM Spyware Uses Telegram Bots for Command and Control Against Iranian Targets

Researchers at Group-IB have published a detailed analysis of HEAVYGRAM, a spyware family that abuses the Telegram messaging platform as its command-and-control infrastructure. The malware family was first observed in the second half of 2023 and has since been linked with moderate confidence to the Handala Hack group. Instead of operating dedicated servers, the operators rely on Telegram bots, accounts, and groups to register infected hosts, receive commands, exfiltrate stolen data, and deliver additional payloads. Once active, HEAVYGRAM captures screenshots, records audio, harvests cached files, and steals data from Telegram Desktop installed on the victim machine. The campaign primarily targets Iranian journalists, dissidents, and individuals opposed to the Iranian government. Infection vectors include malicious files distributed via messengers, disguised as legitimate applications such as Pictory, KeePass, or Telegram-related tools, sometimes delivered as HTML applications or scripts.

BoletimSecTranslated from Portuguese

Read at source

Researchers from Group-IB have published a detailed technical analysis of HEAVYGRAM, a spyware strain that uses the legitimate Telegram messaging service as its command-and-control infrastructure.

The investigation identified 29 additional samples, including loaders and final-stage payloads. Instead of maintaining their own servers that could be taken down, the operators route all communications through the Telegram Bot API. In the observed models, one or two bots handle victim registration, log storage, and delivery of subsequent stages.

Once installed, HEAVYGRAM performs several surveillance functions: it captures screenshots, records audio from the microphone, collects cached data, and steals information from Telegram Desktop installed on the compromised system. The malware can also execute arbitrary commands, deploy additional payloads, and delete files to cover its tracks.

Distribution occurs primarily through messaging platforms. Attackers send files disguised as well-known applications or services, including Pictory, KeePass, and various Telegram-related programs. Some samples arrive as HTML applications or scripts.

The campaign has been active since the second half of 2023 and focuses on Iranian journalists, dissidents, and individuals opposed to the Iranian government. Group-IB attributes the operation to the Handala Hack group with moderate confidence, describing the link as probable rather than definitive.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Malware & Botnets

Yoba Campaign Uses Signed ChatGPT and Claude Binaries for DLL Sideloading and XMRig Deployment
uCreator Spyware Infiltrates Modified Telegram, WeChat and GCash Builds on Android
Researchers Deploy Cowrie Honeypot Disguised as NVIDIA H100 Server to Study SSH Botnet Tactics