Tinba
- Type
- Banking trojan
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasionProcess injection
- Delivery
- MalspamDrive byExploit kit
- Platforms
- Windows
Tinba, also known as Tiny Banker, TinyBanker, and Zusy, is a Windows banking Trojan discovered in 2012. It is notable for the compact size of its early implementations, approximately 18–20 KB. It targets online banking customers through geographically focused campaigns and steals login credentials, banking information, and other sensitive browsing data, including information from webmail and social media services.
Tinba injects code into Windows system processes and browsers, including Internet Explorer, Chrome, Firefox, and Opera. Browser hooks, network-traffic interception, and man-in-the-browser webinjects enable it to capture credentials and alter banking pages. These modifications can solicit additional financial information and transaction authorization codes, helping attackers circumvent authentication workflows and conduct fraud. The malware retrieves updated configurations and targeting rules from command-and-control infrastructure and can fall back to embedded targeting information.
Distribution mechanisms include malicious spam attachments, drive-by downloads, and the Angler exploit kit. Analyzed variants establish persistence through a hidden local copy and a Windows startup registry entry. Later variants employ custom packing and anti-debugging checks, while some use a domain generation algorithm and fast-flux DNS for command-and-control discovery and infrastructure resilience. Tinba transmits encrypted information to its operators, with implementation and communication details varying across versions.
Techniques & procedures
32 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
It will then create a pop-up page informing the user of updates to the system, and requesting additional information, such as social security numbers.
Resource Development
1 technique
Resource Development
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
Initial Access
2 techniques
Initial Access
Tinba has been known to arrive via spammed e-mail attachments and drive-by downloads. Recently, Angler Exploit Kit instances were also found to be serving Tinba banking Trojan.
Tinba has been known to arrive via spammed e-mail attachments and drive-by downloads.
Execution
2 techniques
Execution
a great deal of fraud business logic is now implemented in JavaScript and sold to malware authors.
A trojan is any type of malicious program disguised as a legitimate one.
Persistence
2 techniques
Persistence
A remote thread is created inside Explorer process that is responsible for creating a copy of Tinba Binary in %APPDATA% & auto start registry entry in Registry hive.
It also creates an auto-run registry entry to execute Tinba binary during every windows start-up as shown below
Privilege Escalation
4 techniques
Privilege Escalation
Caphaw avoids local detection by injecting itself into legitimate processes such as explorer.exe or iexplore.exe... Further evidence of this being Caphaw exists in the banking information that it is listening for once it is injected into key Windows Processes.
The general procedure is to get access to the target process using OpenProcess , allocating memory in the process using VirtualAlloc , writing malicious code to the allocated memory with WriteProcessMemory and finally having this code execute using CreateRemoteThread .
A remote thread is created inside Explorer process that is responsible for creating a copy of Tinba Binary in %APPDATA% & auto start registry entry in Registry hive.
It also creates an auto-run registry entry to execute Tinba binary during every windows start-up as shown below
Stealth
6 techniques
Stealth
Backswap loads functions from libraries by comparing simple hash of the name of the function with table of hashes stored inside the binary.
injects itself into the newly created process “winver.exe” (Version Reporter Applet) dropped into the windows system folder.
Caphaw avoids local detection by injecting itself into legitimate processes such as explorer.exe or iexplore.exe... Further evidence of this being Caphaw exists in the banking information that it is listening for once it is injected into key Windows Processes.
The general procedure is to get access to the target process using OpenProcess , allocating memory in the process using VirtualAlloc , writing malicious code to the allocated memory with WriteProcessMemory and finally having this code execute using CreateRemoteThread .
The Tinba binary is stored in a hidden folder which is created under %APPDATA% directory
Tinba is packed with a custom packer and uses well known anti-debugging technique using the WinAPI function “IsDebuggerPresent” to hinder reverse engineering of the binary image.
Credential Access
7 techniques
Credential Access
Tinba operates using packet sniffing, a method of reading network traffic, to determine when a user navigates to a banking website.
Backswap carries out multiple harmful activities. Big ones are: injecting Webinjects and stealing credentials. | TinBa in 2015... was using various techniques: ... Form grabbing to steal users credentials
Formbook ... can retrieve authorization and login credentials from a web data form before the information reaches a secure server, bypassing HTTPS encryption. ... Formgrabbers intercept HTTP(S) data and use inline hooking ... to capture a user's information before the user submits it
Backswap carries out multiple harmful activities. Big ones are: injecting Webinjects and stealing credentials... It swaps the account number of the money transfer recipient using injected JavaScript code.
The main purpose of the malware is to steal information that could be browsing data, login credentials, or even banking information.
Tinba peut intercepter et manipuler les échanges entre la victime et son établissement bancaire
Victims may have had their sensitive personal information stolen (e.g., user account credentials).
Discovery
2 techniques
Discovery
Tinba operates using packet sniffing, a method of reading network traffic, to determine when a user navigates to a banking website.
Tinba is packed with a custom packer and uses well known anti-debugging technique using the WinAPI function “IsDebuggerPresent” to hinder reverse engineering of the binary image.
Collection
7 techniques
Collection
A system infected with Avalanche-associated malware may be subject to malicious activity including the theft of user credentials and other sensitive data, such as banking and credit card information.
Backswap carries out multiple harmful activities. Big ones are: injecting Webinjects and stealing credentials. | TinBa in 2015... was using various techniques: ... Form grabbing to steal users credentials
Formbook ... can retrieve authorization and login credentials from a web data form before the information reaches a secure server, bypassing HTTPS encryption. ... Formgrabbers intercept HTTP(S) data and use inline hooking ... to capture a user's information before the user submits it
Backswap carries out multiple harmful activities. Big ones are: injecting Webinjects and stealing credentials... It swaps the account number of the money transfer recipient using injected JavaScript code.
The collected information form webmail, social media and the banking sites are stored in "log.dat" file.
Panda uses many of the traditional techniques from Zeus, including man-in-the-browser (MITB) attacks and keylogging
Tinba peut intercepter et manipuler les échanges entre la victime et son établissement bancaire
Command and Control
8 techniques
Command and Control
One thing very consistent is 13 byte initial RC4 encoded request.
The POST request to C&C server contains encrypted system information like system volume & version information.
Background thread periodically sends log file contents to the C&C server.
The main components are copied into the [%userprofile%]/Application Data/Default/ bin.exe and the encrypted configuration file “cfg.dat” accompanied by the webinject file named “web.dat”.
Another thread is also created in Explorer process which is responsible for generating DGA (Domain Generation Algorithm) domains
These DGA domains are fast flux domains where single domain is frequently switched to different IPs by registering it as part of the DNS A record list for a single domain.
README.md ... Domain Generation Algorithms (DGAs) of Malware reimplemented in Python.
The POST request to C&C server contains encrypted system information like system volume & version information. The cryptography routine is a simple byte 'XOR' with an 8 bit 'ROR' of the key after each write.
Observables
242 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.