Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Source Code of New ‘CodeRAT’ Backdoor Published Online

The developer of the new ‘CodeRAT’ backdoor has released their malware’s source code online after being confronted by security researchers, cybersecurity firm SafeBreach reports.

The new remote access trojan (RAT) was seen being deployed via a malicious Word document carrying a Dynamic Data Exchange (DDE) exploit.  

The developer of the new ‘CodeRAT’ backdoor has released their malware’s source code online after being confronted by security researchers, cybersecurity firm SafeBreach reports.

The new remote access trojan (RAT) was seen being deployed via a malicious Word document carrying a Dynamic Data Exchange (DDE) exploit.  

Packing support for roughly 50 commands, CodeRAT is designed to monitor a victim’s activity on a local machine (documents, databases, integrated development environments (IDEs)) and online (social networks, games, and pornographic sites), and appears targeted at Iranian users.

“This type of monitoring—specifically of pornographic sites, use of anonymous browsing tools, and social network activities—leads us to believe CodeRAT is an intelligence tool used by a threat actor tied to a government,” SafeBreach says.

The lure document and the targeting of applications specifically designed for Farsi-speaking users suggest that the RAT might be used by Iran’s Islamic regime for the monitoring of illegal/immoral activities of their citizens.

CodeRAT can communicate over Telegram and uses an anonymous, public uploading site instead of a dedicated command and control (C&C) server.

“CodeRAT supports approximately 50 different commands relevant to files, process actions, and stealing capabilities of screen captures, clipboards, files, and environmental info. It also supports commands for upgrading or installing other malware binaries,” SafeBreach notes.

The malware has five modes of operation, generates a unique ID for each victim, and can receive commands via a local file (command.txt, under myPictures folder), via the main user interface, and via the Telegram bot API.

Advertisement. Scroll to continue reading.

The RAT continuously checks if a boss.txt file exists under the myPictures folder. If the file exists, the malware unhides its main window, allowing the user to perform manual operations. The threat also has a second hidden UI form, which runs if the ‘data’ and ‘zn’ directories exist in its working directory.

According to SafeBreach, evidence suggests that CodeRAT is currently being used to target Iranian developers. Lure documents in Farsi, the targeting of specific applications (Visual Studio, Python, PhpStorm, and Verilog), and the targeting of the sensitive window Digikala, an Iranian e-commerce company based in Tehran, support this belief.

Moreover, the security firm believes that the threat actors behind CodeRAT might be named Mohsen and Siavahsh, both Persian names.

SafeBreach was able to identify the developer of CodeRAT as (who uses the moniker of ‘Mr Moded’) the individual behind RoboThief, a Telegram session stealer. After being confronted about the malware, the developer published CodeRAT’s source code to their GitHub account.

Related: Organizations in Europe Targeted With New ‘Nerbian’ RAT

Related: DarkCrystal RAT Offers Many Capabilities for Very Low Price

Related: Newly Detected “StrifeWater” RAT Linked to Iranian APT

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

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 the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

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

Cybercrime

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...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Cybercrime

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