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.

Expert Insights

Related Content

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Cloud Security

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

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Email Security

Microsoft is urging customers to install the latest Exchange Server updates and harden their environments to prevent malicious attacks.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Application Security

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


Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.