Security Experts:

Connect with us

Hi, what are you looking for?



Carbanak Source Code Discovered on VirusTotal

The source code of a backdoor associated with the prolific FIN7 threat actor has emerged on VirusTotal alongside builders and other tools from the group, FireEye security researchers reveal. 

The source code of a backdoor associated with the prolific FIN7 threat actor has emerged on VirusTotal alongside builders and other tools from the group, FireEye security researchers reveal. 

Also referred to as Carbanak, or Anunak, the financially-motivated actor has been active since at least 2015, mainly focused on targeting businesses worldwide to steal credit card information. The group is believed to have hit over 100 US companies, mainly in the restaurant, gaming, and hospitality industries.

Three Ukrainian nationals were arrested last year for allegedly being members of the group, with one of them a supervisor, but the FIN7 activity did not cease, and a recent report revealed the use of a new malware family in recent attacks. 

Carbanak, the group’s full-featured backdoor, which has been used to perpetrate millions of dollars, has been analyzed multiple times before. Now, the security researchers have a new perspective on the malware, courtesy of two RAR archives containing the full Carbanak source code. 

The code was 20MB is size, comprising 755 files, with 39 binaries and 100,000 lines of code, FireEye says in a series of blogs detailing the analysis of the source code and its findings. 

To analyze the code, which is in Russian, a script that would create a prioritized vocabulary list was used (available on GitHub), which resulted in a 3,400+ word vocabulary list. This allowed the researchers to read comments in the code and helped with the translating of the Carbanak graphical user interfaces found in the source code dump. 

In one of the RAR archives, the researchers discovered an operator’s manual explaining the semantics of all the backdoor commands. 

The source code analysis revealed that, while in simpler backdoors a single function is in charge with receiving commands from the command and control (C&C) server and passing them to the correct function, Carbanak is completely different. It uses the Windows mechanism called named pipes to control threads, processes, and plugins. 

“When the CARBANAK tasking component receives a command, it forwards the command over a named pipe where it travels through several different functions that process the message, possibly writing it to one or more additional named pipes, until it arrives at its destination where the specified command is finally handled,” FireEye explains. 

This mechanism allows the malware to control both inherent command handlers and plugins, and is also flexible enough to allow for a local client to dispatch commands to Carbanak without the use of a network. One such client was also present in the dump. 

The malware authors used an obfuscated import resolution several hundred times throughout their backdoor, FireEye discovered. 

“The CARBANAK source code is illustrative of how these malware authors addressed some of the practical concerns of obfuscation. Both the tasking code and the Windows API resolution system represent significant investments in throwing malware analysts off the scent of this backdoor,” FireEye concluded. 

Related: FIN7 Hackers Use New Malware in Recent Attacks

Related: Source Code of Iran-Linked Hacking Tools Posted Online

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

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


Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.


Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.


The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.


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

Application Security

PayPal is alerting roughly 35,000 individuals that their accounts have been targeted in a credential stuffing campaign.


As it evolves, web3 will contain and increase all the security issues of web2 – and perhaps add a few more.


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


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