Security Experts:

Connect with us

Hi, what are you looking for?


Malware & Threats

Source Code of Android RAT Dendroid Leaked Online

The complete source code for the Android remote access Trojan (RAT) called Dendroid has been leaked online, which researchers have found contains several vulnerabilities.

The complete source code for the Android remote access Trojan (RAT) called Dendroid has been leaked online, which researchers have found contains several vulnerabilities.

The existence of Dendroid (Android.Dendoroid) was first reported by Symantec in March when the threat was causing a buzz on underground forums. Dendroid is a HTTP RAT that has a complex control panel and an APK binder that allows cybercriminals to repackage and trojanize legitimate Android apps with the malware.

Android MalwareThe Trojan was sold for a one-time fee of $300, for which customers got features that enabled them to delete call logs, call specified phone numbers, open websites, record calls and audio, intercept messages, open applications, initiate denial-of-service (DoS) attacks, take pictures and record video. In addition, the seller promised 24/7 support.

The source code for Dendroid, its control panel, the APK binder and updates for bug fixes were put up for sale on hacker forums in late July. It was initially sold for 1 Bitcoin, but the seller later made a 50% discount. The code was then leaked on Friday to GitHub and is accompanied by a “readme” file that provides a list of requirements needed to run the threat, along with instructions on how to set it up.

After examining the source code, researchers from PhishLabs found multiple vulnerabilities caused by the lack of user input validation. They have identified cross-site scripting (XSS), SQL injection, arbitrary file upload, and PHP code execution flaws. 

“The lack of user input validation in Dendroid’s control panel is severe, especially when you consider the level of operational security needed in even smaller crimeware campaigns,” PhishLabs Threat Analyst Paul Burbage explained in a blog post.

One of the vulnerabilities, for which PhishLabs has published a proof-of-concept, is an unsanitized user input written to a file called Panel/config.php via a POST request to Panel/applysettings.php. By rewriting the configuration file, an attacker can inject and execute arbitrary PHP code, and even make the control panel inoperable.

This isn’t the only piece of malware which had its source code was put up for sale recently. In May, malware authors began advertising the source code for version 2.0 of the information-stealing Trojan Pony Loader (Fareit).

“In the past, malware source code leaks have spawned several variants and led to more widespread use of the crimeware features that made the original malware desirable,” Burbage explained. “When the source code for Zeus Trojan was leaked in 2011, for example, it accelerated the proliferation of features designed to bypass online banking security measures.”

While Dendroid is in a different league than Zeus, the expert believes that the leaked code will most likely result in the widespread use of the Android RAT and its future variants.


Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.