Carbanak
- Type
- Backdoor
- Capabilities
- Credential theftKeyloggingExfiltrationPersistenceReconnaissanceDefense evasion
- Delivery
- PhishingSpearphishing
- Platforms
- Windows
Carbanak, also known as Anunak and Sekur RAT, is a Windows backdoor initially based on Carberp. It is associated with financially motivated intrusions into banks and other commercial organizations. The malware was used by the Carbanak group and is strongly associated with FIN7, but is not exclusive to that actor. The malware family and the similarly named threat group are distinct entities.
Carbanak supports remote access and surveillance through concurrent Remote Desktop Protocol sessions, local Windows account creation, Windows logon credential theft, and enumeration of running processes. It can log keystrokes from configured processes, capture screenshots, record desktop video, and transmit collected information to command-and-control servers. These capabilities allow operators to observe employee activity and obtain information useful for follow-on intrusion activity.
Carbanak maintains persistence through startup-folder configuration files that automatically execute commands after reboot. Its HTTP communications use Base64 encoding and RC2 encryption in CBC mode, with XOR using random keys also employed for communications. It additionally supports operator-directed file deletion. POWERTRASH has been used to execute Carbanak payloads.
Associated vulnerabilities
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
8 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Carbanak bank-network thefts (estimated $1B+ across financial institutions).
CTU researchers assess with moderate confidence that GOLD KINGSWOOD is associated with, and may be a progression of the group referred to as Carbanak that has targeted banks in Russia and Ukraine since early 2014.
An alleged FIN7 campaign, tracked as UNC4536 and UNC3319 by Mandiant, that distributed NetSupport RAT, possibly followed by DiceLoader or Carbanak.
An alleged FIN7 campaign, tracked as UNC4536 and UNC3319 by Mandiant, that distributed NetSupport RAT, possibly followed by DiceLoader or Carbanak.
Evil Corp aurait, d’après Blueliv, propagé d’autres codes malveillants ... mais aussi Carbanak.
+2 more in the app. View in Mallory
Techniques & procedures
55 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
FIN7 carefully crafted email messages that would appear legitimate to a business’s employees and accompanied emails with telephone calls intended to further legitimize the emails.
Resource Development
3 techniques
Resource Development
Victims are typically lured through malicious advertising or SEO poisoning campaigns, believing they are downloading legitimate software such as Grammarly, Microsoft Teams, Notion, or Zoom.
Once an attached file was opened and activated, FIN7 would use an adapted version of the Carbanak malware, in addition to an arsenal of other tools, to access and steal payment card data for the business’s customers.
Victims are typically lured through malicious advertising or SEO poisoning campaigns, believing they are downloading legitimate software such as Grammarly, Microsoft Teams, Notion, or Zoom.
Initial Access
2 techniques
Initial Access
Le vecteur d’infection principalement employé par FIN7 est le courriel d’hameçonnage. Il contient une pièce jointe malveillante et plus rarement une URL pointant vers des sites compromis ou des services légitimes tels que Google Docs.
FIN7 carefully crafted email messages that would appear legitimate to a business’s employees and accompanied emails with telephone calls intended to further legitimize the emails. Once an attached file was opened and activated...
Execution
6 techniques
Execution
When victims open these MSIX packages, the StartingScriptWrapper.ps1 component launches embedded PowerShell scripts that employ process injection to execute POWERTRASH and Carbanak malware... The third identified threat, the FakeBat cluster, also uses Advanced Installer but executes malicious PowerShell scripts via StartingScriptWrapper.ps1.
[Carbanak](https://attack.mitre.org/software/S0030) has a command to create a reverse shell.(Citation: FireEye CARBANAK June 2017)
The lure documents exploited known Office vulnerabilities to run code on the operator’s machine.
Once a file attached to a fraudulent email was opened and activated, FIN7 would use an adapted version of the Carbanak malware...
Since mid-2023, multiple threat actors have been observed abusing MSIX files to deliver various malware payloads... When victims open these MSIX packages...
Adversaries may use this behavior to cause the program to load a malicious DLL, a technique known as DLL search order hijacking (or binary planting).
Persistence
4 techniques
Persistence
APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.
[Carbanak](https://attack.mitre.org/software/S0030) can create a Windows account.(Citation: FireEye CARBANAK June 2017)
C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
[Carbanak](https://attack.mitre.org/software/S0030) stores a configuration files in the startup directory to automatically execute commands in order to persist across reboots.(Citation: FireEye CARBANAK June 2017)
Privilege Escalation
4 techniques
Privilege Escalation
A majority (95%) of samples of Carbanak obfuscate their internal data by hiding their network activity through code injection...
[Carbanak](https://attack.mitre.org/software/S0030) downloads an executable and injects it directly into a new process.(Citation: FireEye CARBANAK June 2017)
C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
[Carbanak](https://attack.mitre.org/software/S0030) stores a configuration files in the startup directory to automatically execute commands in order to persist across reboots.(Citation: FireEye CARBANAK June 2017)
Stealth
11 techniques
Stealth
[Carbanak](https://attack.mitre.org/software/S0030) encrypts strings to make analysis more difficult.(Citation: FireEye CARBANAK June 2017)
...la dissimulation du caractère malveillant des codes sous une apparence légitime... la version 3.7.4 de la porte dérobée Carbanak être référencée comme Check Point Software Technology...
Akira has used legitimate names and locations for files to evade defenses.
A majority (95%) of samples of Carbanak obfuscate their internal data by hiding their network activity through code injection...
[Carbanak](https://attack.mitre.org/software/S0030) downloads an executable and injects it directly into a new process.(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) has a command to delete files.(Citation: FireEye CARBANAK June 2017)
Adversaries may abuse rundll32.exe to proxy execution of malicious code. Using rundll32.exe, vice executing directly (i.e. Shared Modules), may avoid triggering security tools that may not monitor execution of the rundll32.exe process because of allowlists or false positives from normal operations.
Environmental awareness allows malware samples to detect the underlying runtime environment of the system it is trying to infect... search for differences between a virtualized and bare metal environment... about one in five (17%) samples of the Carbanak malware samples analyzed by Lastline tried to detect a virtual sandbox before executing.
"Some of these variants are programmed to sleep until a configured activation date when they will become active."
Adversaries may use this behavior to cause the program to load a malicious DLL, a technique known as DLL search order hijacking (or binary planting).
The worker process loads and executes the payload DLL in-memory.
Defense Impairment
1 technique
Defense Impairment
"FIN7 has consistently utilized legally purchased code signing certificates to sign their CARBANAK payloads."
Credential Access
2 techniques
Credential Access
[Carbanak](https://attack.mitre.org/software/S0030) obtains Windows logon password details.(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) logs key strokes for configured processes and sends them back to the C2 server.(Citation: Kaspersky Carbanak)(Citation: FireEye CARBANAK June 2017)
Discovery
4 techniques
Discovery
[Carbanak](https://attack.mitre.org/software/S0030) checks the Registry key <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings</code> for proxy configurations information.(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) lists running processes.(Citation: FireEye CARBANAK June 2017)
Environmental awareness allows malware samples to detect the underlying runtime environment of the system it is trying to infect... search for differences between a virtualized and bare metal environment... about one in five (17%) samples of the Carbanak malware samples analyzed by Lastline tried to detect a virtual sandbox before executing.
"Some of these variants are programmed to sleep until a configured activation date when they will become active."
Lateral Movement
4 techniques
Lateral Movement
The group moved laterally to reach payment, card-processing and ATM-management systems.
[Carbanak](https://attack.mitre.org/software/S0030) enables concurrent Remote Desktop Protocol (RDP) sessions.(Citation: FireEye CARBANAK June 2017)
"...the use of Power Admin PAExec for lateral movement."
...des outils d’intrusion sont fournis... / PsExec ... Pivot ... / PAExec ... Latéralisation.
Collection
7 techniques
Collection
Once an attached file was opened and activated, FIN7 would use an adapted version of the Carbanak malware, in addition to an arsenal of other tools, to access and steal payment card data for the business’s customers.
[Carbanak](https://attack.mitre.org/software/S0030) logs key strokes for configured processes and sends them back to the C2 server.(Citation: Kaspersky Carbanak)(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) performs desktop video recording and captures screenshots of the desktop and sends it to the C2 server.(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) searches recursively for Outlook personal storage tables (PST) files within user directories and sends them back to the C2 server.(Citation: FireEye CARBANAK June 2017)
Operators recorded video of employees’ screens to learn each bank’s internal procedures.
FIN7 hacked into thousands of computer systems and stole millions of customer credit and debit card numbers that were then used or sold for profit.
Carbanak exfiltrates data in compressed chunks if a message is larger than 4096 bytes.
Command and Control
10 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
Par exemple Bellhop et Carbanak peuvent communiquer via HTTP. / Par exemple Domenus VBS peut communiquer via HTTPS.
The [Carbanak](https://attack.mitre.org/software/S0030) malware communicates to its command server using HTTP with an encrypted payload.(Citation: Kaspersky Carbanak)
"...as well as the tunnel command to proxy connections into isolated portions of the victim environment."
À l’issue du processus de recrutement, des outils d’intrusion sont fournis au candidat, parmi lesquels... Carbanak et Lizar...
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[Carbanak](https://attack.mitre.org/software/S0030) encodes the message body of HTTP traffic with Base64.(Citation: Kaspersky Carbanak)(Citation: FireEye CARBANAK June 2017)
[Carbanak](https://attack.mitre.org/software/S0030) has a plugin for VNC and Ammyy Admin Tool.(Citation: FireEye CARBANAK June 2017)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Carbanak](https://attack.mitre.org/software/S0030) encrypts the message body of HTTP traffic with RC2 (in CBC mode). [Carbanak](https://attack.mitre.org/software/S0030) also uses XOR with random keys for its communications.(Citation: Kaspersky Carbanak)(Citation: FireEye CARBANAK June 2017)
Exfiltration
3 techniques
Exfiltration
In the United States alone, FIN7 successfully breached the computer networks of businesses in all 50 states and the District of Columbia, stealing more than 20 million customer card records from over 6,500 individual point-of-sale terminals at more than 3,600 separate business locations.
[Carbanak](https://attack.mitre.org/software/S0030) exfiltrates data in compressed chunks if a message is larger than 4096 bytes .(Citation: FireEye CARBANAK June 2017)
[T1041] Communication C2 via HTTP ... HTTPS ... Adresses IP codées en dur ... Lizar est un outil d’exfiltration de données.
Impact
1 technique
Impact
ATM jackpotting, fraudulent interbank transfers and inflated account balances converted access into cash.
Observables
61 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
125 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.