Skip to main content
Mallory
← Back to News
remote-access-implantcommand-and-control-methoddata-exfiltration-methodinitial-access-method

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

Android RATs TeleRAT and HeroRat Abuse Telegram Bot API to Spy on Iranian Users

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
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Jun 19, 2017 – Jun 18, 2018
  1. Jun 18, 20188y ago

    ESET discloses HeroRat as a distinct Telegram-abusing Android RAT

    ESET disclosed a new Android RAT family distinct from IRRAT and TeleRAT that used Telegram for command-and-control and data exfiltration. The company said one commercialized variant was marketed on Telegram under the name HeroRat and had not been observed on Google Play.

    HeroRat: The new kid on the block of Android RATs
  2. Mar 20, 20189y ago

    Palo Alto Networks documents TeleRAT targeting Iranian users

    Palo Alto Networks Unit 42 reported a newly identified Android RAT family called TeleRAT that used Telegram's Bot API for both command-and-control and data exfiltration, alongside ongoing IRRAT activity. The report said the campaign had 2,293 identified victims at the time of analysis, about 82% tied to Iranian phone numbers.

    TeleRAT: Another Android Trojan Leveraging Telegram’s Bot API to Target Iranian Users
  3. Mar 2018

    HeroRat source code leaks on Telegram channels

    The source code for the Android RAT family was made available for free on Telegram hacking channels in March 2018, which ESET said led to hundreds of parallel variants circulating in the wild.

    HeroRat: The new kid on the block of Android RATs
  4. Aug 2017

    HeroRat malware family begins spreading

    ESET assessed that the Android RAT family later associated with HeroRat had been spreading in the wild since at least August 2017, primarily via third-party app stores, social media, and messaging apps.

    HeroRat: The new kid on the block of Android RATs
  5. Jun 19, 20179y ago

    Doctor Web reports Telegram-controlled Android RAT targeting Iranians

    Doctor Web disclosed Android.Spy.377.origin, an Android remote access Trojan distributed as benign-looking apps such as Insta Plus, Profile Checker, and Cleaner Pro that targeted Iranian users. The company said it was the first Android Trojan it had seen using Telegram for command-and-control, with capabilities including SMS, contact, account, photo, and location theft plus remote device commands.

    Doctor Web: Android Trojan controlled via Telegram spies on Iranian users
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

32 linked

Indicator values are masked on this page. View all 32 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.