Carberp is a modular banking Trojan first observed in 2010, primarily targeting Microsoft Windows systems. It supports financial fraud against banking websites, executable banking clients, and Java-based banking applications through man-in-the-browser attacks, form grabbing, web injections, and application modification. Its banking components can collect account and balance information and manipulate payment documents and transaction details. Credential-stealing plugins recover passwords from major browsers, messaging applications, email services, and FTP, VNC, and VPN clients. Other modules capture screenshots and provide remote access through concealed VNC desktops, RDP, and an Ammyy-based backdoor.
Carberp combines user-level persistence with advanced concealment and execution techniques. It has persisted through the current user's Startup folder, hidden files and directories using native API hooks, masqueraded as Windows system components, enumerated running processes, and inspected the registry for installed antivirus products. Its Rovnix bootkit component operates at the Volume Boot Record level and can inject malicious DLLs into running processes. Carberp has exploited multiple Windows privilege-escalation vulnerabilities, including CVE-2010-2743, CVE-2010-3338, CVE-2010-4398, and CVE-2008-1084. An Ammyy-based module uses DLL preloading to run remote-administration software without a visible interface. Optional modules provide HTTP-based distributed denial-of-service attacks and Bitcoin mining. Command-and-control communications use encrypted HTTP requests.
Carberp was operated by financially motivated cybercriminal groups. Arrests disrupted its two principal branches in 2012 and 2013, and its source code leaked in June 2013, facilitating reuse of its components. Sofacy, also known as APT28, subsequently used Carberp-derived backdoors; those espionage tools are distinct from the original banking Trojan. An associated Android component, Citmo, extended Carberp-related banking fraud to mobile devices and multifactor authentication.
4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Carberp. This malware first emerged in 2009. Its purpose was to steal banking credentials.
Our presentation starts with a consideration of the evolution of the Carberp family of banking malware... Hodprot, the latest Carberp cybercrime group, switched to using RDPdoor v4.2.x
Both the "btecache.dll" and "svchost.dll" files contain code from the leaked Carberp source code, specifically the API resolution functions, as well as the RC2 key.
50 distinct techniques documented for this family, organized by ATT&CK tactic.
Sitnikov was allegedly charged for posting the source code of the Anubis banking trojan on Freedom F0x, a Telegram channel where Sitnikov often posted data leaks and malware source code
On the day before the conference I tracked blackhat SEO poisoning on the Russian Google search results page for requests relating to Eurovision 2012 in the Russian language.
"malicious capabilities which include self-spreading through USB and network shares"
[Carberp](https://attack.mitre.org/software/S0484) has used the NtQueryDirectoryFile and ZwQueryDirectoryFile functions to hide files and directories.(Citation: Trusteer Carberp October 2010)
つまり攻撃者がマルウェアをユーザーのPCに感染させ、そのマルウェアを利用してそのユーザーのPCに新しいデスクトップを作成し、そのデスクトップの上で悪事を働いても、その間ユーザーに気づく術はありません。
Based on our analysis, adding a path to a DLL to this registry key would load the DLL each time a Microsoft Office application was opened... the legitimate “wwlib.dll” library loading the malicious DLL from the registry key.
the document create the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Office test\Special\Perf ... adding a path to a DLL to this registry key would load the DLL each time a Microsoft Office application was opened.
[Carberp](https://attack.mitre.org/software/S0484) has installed a bootkit on the system to maintain persistence.(Citation: ESET Carberp March 2012)
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
[Carberp](https://attack.mitre.org/software/S0484) has maintained persistence by placing itself inside the current user's startup folder.(Citation: Prevx Carberp March 2011)
Most antiviruses don’t treat all processes the same... the goal of malware is to inject code into one of these “trusted” processes... In the case of PowerLoader, the trusted process targeted is explorer.
[Carberp](https://attack.mitre.org/software/S0484)'s bootkit can inject a malicious DLL into the address space of running processes.(Citation: ESET Carberp March 2012)
[Carberp](https://attack.mitre.org/software/S0484) has queued an APC routine to explorer.exe by calling ZwQueueApcThread.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484) has exploited multiple Windows vulnerabilities (CVE-2010-2743, CVE-2010-3338, CVE-2010-4398, CVE-2008-1084) and a .NET Runtime Optimization vulnerability for privilege escalation.(Citation: ESET Carberp March 2012)(Citation: Prevx Carberp March 2011)
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
[Carberp](https://attack.mitre.org/software/S0484) has maintained persistence by placing itself inside the current user's startup folder.(Citation: Prevx Carberp March 2011)
The source code shows the malware bypassing User Account Control (UAC) via a DLL hijack of sysprep.exe... it was found to be vulnerable to a DLL hijacking attack and would load a maliciously planted DLL (named cryptbase.dll) into its elevated process context.
[Carberp](https://attack.mitre.org/software/S0484) has used user mode rootkit techniques to remain hidden on the system.(Citation: Prevx Carberp March 2011)
we discovered that the author of of TeslaCrypt borrowed code from the Carberp malware family in order to obfuscate strings
Carberp has removed various hooks before installing the trojan or bootkit to evade sandbox analysis or other analysis software.
the author has also implemented dynamic library and function loading.
[Carberp](https://attack.mitre.org/software/S0484) has used XOR-based encryption to mask C2 server locations within the trojan.(Citation: Prevx Carberp March 2011)
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[Carberp](https://attack.mitre.org/software/S0484) has masqueraded as Windows system file names, as well as "chkntfs.exe" and "syscron.exe".(Citation: Prevx Carberp March 2011)(Citation: Trusteer Carberp October 2010)
Most antiviruses don’t treat all processes the same... the goal of malware is to inject code into one of these “trusted” processes... In the case of PowerLoader, the trusted process targeted is explorer.
[Carberp](https://attack.mitre.org/software/S0484)'s bootkit can inject a malicious DLL into the address space of running processes.(Citation: ESET Carberp March 2012)
[Carberp](https://attack.mitre.org/software/S0484) has queued an APC routine to explorer.exe by calling ZwQueueApcThread.(Citation: Prevx Carberp March 2011)
Carberp 'inject[ed] code to delete antivirus core files when the process is resumed.'
[Carberp](https://attack.mitre.org/software/S0484) has removed various hooks before installing the trojan or bootkit to evade sandbox analysis or other analysis software.(Citation: ESET Carberp March 2012)
[Carberp](https://attack.mitre.org/software/S0484) has installed a bootkit on the system to maintain persistence.(Citation: ESET Carberp March 2012)
この仕組みを利用してユーザーには見ることのできない隠されたデスクトップを作成し悪用する脅威が存在します。
[Carberp](https://attack.mitre.org/software/S0484) has created a hidden file in the Startup folder of the current user.(Citation: Trusteer Carberp October 2010)
Based on our analysis, adding a path to a DLL to this registry key would load the DLL each time a Microsoft Office application was opened... the legitimate “wwlib.dll” library loading the malicious DLL from the registry key.
the document create the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Office test\Special\Perf ... adding a path to a DLL to this registry key would load the DLL each time a Microsoft Office application was opened.
[Carberp](https://attack.mitre.org/software/S0484) has attempted to disable security software by creating a suspended process for the security software and injecting code to delete antivirus core files when the process is resumed.(Citation: Prevx Carberp March 2011)
Carberp works like many other banking trojans by logging keystrokes, spoofing websites, and hiding instances of itself in specific locations.
It is a set of JavaScript web injects performing an attack to various internet banking systems in Russia and Ukraine. Injects are triggered by particular masks in a web browser
[Carberp](https://attack.mitre.org/software/S0484) has hooked several Windows API functions to steal credentials.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484)'s passw.plug plugin can gather account information from multiple instant messaging, email, and social media services, as well as FTP, VNC, and VPN clients.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484)'s passw.plug plugin can gather passwords saved in Opera, Internet Explorer, Safari, Firefox, and Chrome.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484) has searched the Image File Execution Options registry key for "Debugger" within every subkey.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484) has collected a list of running processes.(Citation: Trusteer Carberp October 2010)
[Carberp](https://attack.mitre.org/software/S0484) has collected the operating system version from the infected system.(Citation: Prevx Carberp March 2011)
Carberp has used the NtQueryDirectoryFile and ZwQueryDirectoryFile functions to hide files and directories.
[Carberp](https://attack.mitre.org/software/S0484) has removed various hooks before installing the trojan or bootkit to evade sandbox analysis or other analysis software.(Citation: ESET Carberp March 2012)
[Carberp](https://attack.mitre.org/software/S0484) has queried the infected system's registry searching for specific registry keys associated with antivirus products.(Citation: Prevx Carberp March 2011)
... rdp.plug ... vnc.plug ... File vnc.plug is an executable that enables remote access to an infected computer via remote framebuffer protocol (RFB).
[Carberp](https://attack.mitre.org/software/S0484) can start a remote VNC session by downloading a new plugin.(Citation: Prevx Carberp March 2011)
"malicious capabilities which include self-spreading through USB and network shares"
"malicious capabilities which include self-spreading through USB and network shares"
Carberp works like many other banking trojans by logging keystrokes, spoofing websites, and hiding instances of itself in specific locations.
It is a set of JavaScript web injects performing an attack to various internet banking systems in Russia and Ukraine. Injects are triggered by particular masks in a web browser
[Carberp](https://attack.mitre.org/software/S0484) has hooked several Windows API functions to steal credentials.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484) can capture display screenshots with the screens_dll.dll plugin.(Citation: Prevx Carberp March 2011)
[Carberp](https://attack.mitre.org/software/S0484) has captured credentials when a user performs login through a SSL session.(Citation: Prevx Carberp March 2011)(Citation: Trusteer Carberp October 2010)
The Spamhaus Botnet C&C (BGPCC) is designed to protect networks and their users from botnet traffic. It can be used to block traffic from/to servers on the internet that are operated by cybercriminals and used to control infected computers (bots) or exfiltrate data.
[Carberp](https://attack.mitre.org/software/S0484) has connected to C2 servers via HTTP.(Citation: Trusteer Carberp October 2010)
"malicious capabilities which include self-spreading through USB and network shares, TOR network access"
[Carberp](https://attack.mitre.org/software/S0484) can download and execute new plugins from the C2 server. (Citation: Prevx Carberp March 2011)(Citation: Trusteer Carberp October 2010)
File vnc.plug is an executable that enables remote access to an infected computer via remote framebuffer protocol (RFB).
"uses asymmetric cryptography to secure network communications"
[Carberp](https://attack.mitre.org/software/S0484) has exfiltrated data via HTTP to already established C2 servers.(Citation: Prevx Carberp March 2011)(Citation: Trusteer Carberp October 2010)
File ddos.plug exports the only function called ‘StartHTTP’ and contains a list of various HTTP referrers and domain names. The name of plugin indicates it's potential in a distributed denial-of-service attack
22 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
103 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.