Banking Trojans as a Service—Theft Made Easy in Brazil
As a known banking Trojan center, it’s not surprising when Brazil’s cybercriminals launch what could be considered “banking Trojans as a service.” In this particular case, a skilled cybercriminal started offering a fully functional banking Trojan and its associated infrastructure for rent, to be used by less-skilled crooks.
This particular threat caught our eye because of its ad, which included demonstration videos on YouTube. Its creator, “Ric”, offers the services of this particular banking Trojan for rent, which costs approximately US$600 for a 10-day period. The service includes a comprehensive, highly capable, and well-designed console, as well as the capability to bypass additional authentication steps used by banks in Brazil.
Advertising
Brazilian cybercriminals are known for advertising services online, and Ric is no different. He uses a YouTube account to show off his products, as seen below.
Figure 1. Youtube profile (Click to enlarge)
The channel description translates to “banking Trojan for rental or source code sale, more than 9 banks supported, version 2016.”
The three uploaded videos show different aspects of the banking Trojan; together, these have almost 1,000 views. Each video description contains a link to a page with payment methods. Ric also published his Skype username so that interested customers could negotiate with him. We believe Ric works by himself and is not part of a larger syndicate.
Ric also provides an informative changelog of the Trojan so that customers know about any changes/improvements on the malware. (We detect this particular Trojan as BKDR_MANGIT.SM.)
<
Figure 2. Changelog of malware
A table with all of the “supported” banks is also provided:
Figure 3. List of target banks and other websites
The largest banks in Brazil are included in the list, as well as online payment sites like PayPal and Mercado Livre, a local auctions site. Other sites such as those of ISPs and webmail providers are also in the list.
The entire package is sold for 2,000 Brazilian reals (just under US$600), valid for a 10-day period. This is relatively expensive for the Brazilian underground. The package includes the following:
- A control panel to manage/operate affected machines
- The actual banking Trojan
- A loader/dropper/infector
- An auto-update program for affected machines
- All the infrastructure required to successfully carry out attacks
For users who want full control over their attacks and can provide their own infrastructure, the source code is available for 30,000 reals, approximately US$8,800.
How the attack works
If a would-be cybercriminal does purchase this “service,” he receives a link to the management portal, with credentials valid during the purchased rental period. He needs to set a dynamic DNS service to point his victims to the provided infrastructure. He is also responsible for getting users to visit this malicious URL. Phishing is still the preferred method.
Brazilian banks today protect many accounts with some form of two-factor authentication. A code obtained via either SMS messages or an authenticator app are the most popular ways of implementing two-factor authentication. To get around this protection, Ric doesn’t attack the authentication protocol itself; but instead bypasses it using remote access as follows:
- Once the Trojan is installed on the victim’s machine, the attacker has full control over it.
- When the victim accesses the bank’s website, the attacker receives an alert (this alert can even be sent via SMS).
- The attacker then starts to watch the victim’s screen and waits for him to log in to his bank account.
- After that, he locks the victim’s screen. The message shown is designed to make him think the bank website is asking him to wait.
- The attacker takes control of the victim’s machine and starts a money transfer or bill payment.
- When the bank website asks the operator for the token, the operator unlocks the victim’s screen and makes a fake token request window appear, making him think he needs to enter the token to continue.
- With possession of the token, the attacker can then complete the malicious transaction.
There may be some differences to account for different banks, but the gist of the attack doesn’t change. Current Brazilian banking Trojans have become less of data stealers and more of remote management tools that are intended for malicious use.
The following is a screenshot of the control panel:
Figure 4. Control panel for malware
In the screenshot, Ric is controlling a victim’s machine and can ask the victim to enter information like their security code, token, birthday, mobile phone number, all using fake bank pop-ups. The application is full-featured and behaves much like a professionally-created “tool” would.
This ability to carry out transactions from the victim’s machine remotely makes detecting fraud more difficult. Without an in-depth examination of the user’s system, it will appear that any transactions were carried out from the user’s PC (and therefore, by the actual client). Fraud detection methods will have to rely on other techniques.
Who is Ric?
We don’t actually know a lot about Ric, the person who created this threat. What we do know is that his “work” is of remarkably high quality. Everything is coded from scratch and sometimes packers are used to protect his files. Some samples have also been signed with self-assigned certificates to try to bypass security software.
Ric has at least other three nicknames and is probably located in the northern region of Brazil. This part of the country is a known hotbed for cybercriminal activity. Last year, we talked about another young cybercriminal based in northern Brazil who went by the handle “Lordfenix.”
Members of cybercrime gangs have been arrested in the region in the past as well.
Indicators of compromise
The following file hashes are related to this attack:
- 0544ddf37ba1fa1cd1406e3230b71665f4d7f0e4
- 0a07ffa9214300a2b344012c891d21eca3fe518b
- 1248a4e8deba0969b157b04fd092e74e19819244
- 148959187df82a064d5117cad1390c123bd631fd
- 1bd6afddb00c2c3ebcd6f7804e2190b43c493989
- 1ce922aae75bf64012cab8d450f0d9885b159436
- 2021d0cd76069b0aa95cf9598720c9e1d65fe91f
- 2416b15f97528dd8186ac755e08c4f7668c02dad
- 245be19ca07d337b9fbe47674d25fb51459e3d44
- 259e299670e8a1e7d2f46c5782045b3153e5d6a9
- 2a2593cf050f30ae8ed4b9dd1807ca6f521b6d6a
- 2a7cc963e16abafa89ac8d56cc09668095a5a73a
- 30f06f3a9781cb50ae66ca1aa12c0503bbf08fad
- 34f3406a7441c3c7b21ffa0877e068e609a84050
- 3b7ad12650d9fd3db96781d5ba1267b70173ba6f
- 4108227957af840bae040e19473eb4d8b44b96d0
- 44bfd351bb56168433176914dfbd802c7d5d0d62
- 463720e81a715502f358f130f19aefcba197f61e
- 494c70aa394c9ac2357ffd24015fdf6520fc099e
- 4977d5ee347b165754ff7aeed1d7558c57470e47
- 54d5c67a0ec3369470c5ef3e349a8388ec16d129
- 5638de1f210601fbaad485a2697e025c74d3c115
- 591ff4b508dd2a95cb7902b8ee053faedc499cde
- 5e486833c60b71e06875413bc65e5e04294a477f
- 5f6d52c6e522b85e42795aa92080571013789edc
- 63f7cb0269c6025bedcbf5d504b017a2a6040922
- 63f7cb0269c6025bedcbf5d504b017a2a6040922
- 6f5ec43f961aed5ca1636a3076d20c194ac224a6
- 6fe8e9bc672075d67b7fcca8d91cf2965ff8faad
- 712f9abcda812bce969aabf737c2941e61a8c721
- 766e61c2fa635889d37b7102df962898493b51ad
- 79d263d20f90510fbac226fd74ad62e1a1c8d5d9
- 7b375374634c14ea44096b6867c5efe422792a18
- 7c2d0da47c6e25bd71df95b92af623bb3f9fdffb
- 7d010b949297d5c9c2a48ee576516ddae2d4cdcb
- 8463a6b1c20d21d402880901e2d8835fbca4684b
- 86f8832e4feec308d9502a68d387fccc781a07e1
- 884486e940e83da215d891d11d28e30edf63ac4e
- 88a2f63ae6cd0d0e78d0da8554436fd4e62fad14
- 8ea8fce842c9e793a8c19ffba17b86c89b15ac48
- 9bf2e20ccc8ad7e609b6c69cc63adaabd2b9a035
- 9c9934009a8087733e7c31c53af034c82ea534cb
- a9a266c5b71c20f5a1cde9227030dc94622e7c5e
- af350a24879f47b6b65abb9e3cda5b1545256979
- b024a8770e3e76c61149fcfbb151dcf824f8268e
- b14865b3f7c4ab15661ec06084a6bc90ae0ef92a
- b15051e1287ac53c93e388aae52e7986dbd7d3c6
- b1eab55c914c0883490fbc97f084c5798faa00a6
- c286dfc1b19bb5d758ce84d062dbd838b83c1912
- c8f90cbabbdc79f406505cfa7822c1b6ab668bed
- d170fbbad42d66f17ae29d88c3ef03241f936310
- d3415207af815b94880b3ec9397159009722595f
- d7a7345f91c2ec5950844db3a30b19f647bd534e
- d9aecea5197780c88c642f0b864391f5e5f3493a
- e0e0c1ec46cc5b740e73cffb4b3e6491bc049852
- e16fa5a4802915b9975e7883ccbb6de105f3919f
- e1bfec0463f02b46e317c28b4f9f3cecd2612481
- e22a3464a0036d66ebe50b16cfe30335167c2a43
- e2a1ea56b151147b58451b8b5799d1c268975d3d
- e380816231cff0967ff77c55bfadf60d76b4259d
- e6200a0020f164798d41a068734a20befa7effc1
- e65cb02eb39f64681eeed1cb7865ac66b6fd37c3
- ec2493b621a960900f8fcc749eb8ab7bacd70f7b
- f5728c4d3f94e6fc9399f243beaa795a9f728224
- f68cfd93bee778249d95cc67dc853ad22d149d67
- f849382d3bdb6b0d945cd29a3c85e52863c0a0d9
- f8e8dd3d5f18e4414db85caa467492c064af8276
It is related to the following websites and URLs:
- hxxp://www.foschiattisrl.it/libraries/phputf8/utils/JK2007.exe
- hxxp://exceedcosmeticos.com.br/appword.exe
Post from: Trendlabs Security Intelligence Blog – by Trend Micro
Banking Trojans as a Service—Theft Made Easy in Brazil
Read more: Banking Trojans as a Service—Theft Made Easy in Brazil