Android RATs TeleRAT and HeroRat Abuse Telegram Bot API to Spy on Iranian Users
Malware Intelligence · 3 sources · Updated 4mo ago · First seen Jun 18, 2018

Researchers reported multiple Android remote access trojans using Telegram’s Bot API for command-and-control and data exfiltration, with TeleRAT, IRRAT, and the later HeroRat targeting users primarily in Iran. The malware hid its activity within legitimate Telegram communications while giving operators broad surveillance and device-control capabilities, including theft of SMS, contacts, account data, files, photos, location, and clipboard contents, as well as support for calls, texting, audio recording, picture capture, screen recording, and device settings manipulation. Palo Alto Networks identified 2,293 victims, about 82% tied to Iranian phone numbers, and said the activity likely involved several actors rather than a single group.
The malware was distributed through third-party Android app stores, Telegram channels, social media, and messaging apps using lures such as fake VPN tools, profile-viewer apps, Telegram Finder, free bitcoins, free internet, and social-media follower offers. ESET said HeroRat emerged as a distinct family after source code leaked on Telegram channels, leading to many variants and a commercialized version marketed under that name; once installed, it displayed a fake uninstall message while remaining active. Researchers also found repeated operational security failures around the ecosystem, including exposed bot histories, hardcoded API keys, accessible webhooks, and public advertising of malware code and bot-control libraries, while noting the malware was not observed on Google Play.
Why it matters
Impact assessment
Android users who sideload apps from third-party stores, Telegram channels, social media, and messaging platforms are affected, with the victim base concentrated in Iran. The malware families TeleRAT, IRRAT, and HeroRat provide full surveillance and device-control capability, creating high risk of privacy loss, account compromise, fraud, and operational disruption for individuals and organizations using infected devices for business communications.
The exposure is targeted but broad within the Iranian Android ecosystem rather than globally indiscriminate. Researchers documented active exploitation in the wild, including 2,293 identified victims, about 82% tied to Iranian phone numbers, and evidence that multiple actors were operating or reusing leaked code.
Supporting facts
- Primary targets: Android users, mostly in Iran.
- Distribution channels: third-party Android app stores, Telegram channels, social media, and messaging apps.
- Lures observed: fake VPN tools, Telegram Finder, profile-viewer apps, free bitcoins, free internet, and social-media follower offers.
- Known victim count from analyzed infrastructure: 2,293.
- Geographic breakdown reported: 1,894 in Iran, 227 in India, 109 in Afghanistan, 53 in the United Kingdom, and 10 in Pakistan.
- Exploitation status: active in the wild since at least August 2017.
- Threat ecosystem: several actors likely involved; HeroRat variants proliferated after source code leaked on Telegram channels.
- Business impact on infected users and enterprises:
- Theft of SMS, contacts, account lists, files, photos, location, clipboard contents, and call logs
- Unauthorized calls and SMS sending
- Audio recording, picture capture, and screen recording
- Device settings manipulation and stealth persistence via fake uninstall behavior


