Analysis by: RonJay Kristoffer Caragay

ALIASES:

Win32/Jinupd.B (Microsoft); Win32/Jinupd.B (ESET-NOD32); Trojan.Win32.Jinupd (Ikarus); Infostealer.Jackpos (Symantec)

 PLATFORM:

Windows

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware, Downloaded from the Internet

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

It runs certain commands that it receives remotely from a malicious user. Doing this puts the affected computer and information found on the computer at greater risk. However, as of this writing, the said sites are inaccessible.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 404,992 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 29 Jan 2015
Payload: Connects to URLs/IPs, Scans processes

Arrival Details

This backdoor 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 backdoor drops the following files:

  • %User Temp%\svchost.exe ← (watchdog component)

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

It drops the following copies of itself into the affected system:

  • %Application Data%\Java SE Platform Updater\{file name}
  • where {file name} can be any of the following:
    • jusched.exe
    • jucheck.exe
    • javaw.exe
    • jureg.exe
    • jse.exe
    • java.exe
    • javaws.exe
    • javacpl.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It creates the following folders:

  • %Application Data%\Java SE Platform Updater

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Autostart Technique

This backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Java SE Platform Updater = "%Application Data%\Java SE Platform Updater\{file name}"

Other System Modifications

This backdoor adds the following registry entries:

HKEY_CURRENT_USER\Software\Javaw
Pid = {Process ID of executed dropped copy of itself}

HKEY_CURRENT_USER\Software\Javaw
Pid1 = {Process ID of executed watchdog component}

Backdoor Routine

This backdoor executes the following command(s) from a remote malicious user:

  • kill - Remove itself from the system
  • update - Updates itself
  • exec - Execute program

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://{BLOCKED}.{BLOCKED}.13.1/post
  • http://{BLOCKED}.{BLOCKED}.13.1/post/echo

It posts the following information to its command and control (C&C) server:

  • mac = Computer MAC Address
  • t1 = credit card's data track 1
  • t2 = credit card's data track 2

However, as of this writing, the said sites are inaccessible.

Download Routine

This backdoor downloads an updated copy of itself from the following website(s):

  • http://{BLOCKED}.{BLOCKED}.13.1/post/download

Other Details

This backdoor deletes the initially executed copy of itself

NOTES:

This backdoor launches watchdog processes %User Temp%\svchost.exe and %Application Data%\Java SE Platform Updater\{file name} as parameters to ensure that it continuously runs in the system.

It uses data in the following registry entries to check if the process is running:

HKEY_CURRENT_USER\Software\Javaw
Pid = {Process ID of executed dropped copy of itself}

HKEY_CURRENT_USER\Software\Javaw
Pid1 = {Process ID of executed watchdog program}

The watchdog process only works on Windows Vista and above. It skips to scan 64-bit processes.

It skips to scan the following processes:

  • [System Process]
  • alg.exe
  • chrome.exe
  • csrss.exe
  • ctfmon.exe
  • devenv.exe
  • dwm.exe
  • iexplore.exe
  • lsass.exe
  • mscorsvw.exe
  • services.exe
  • skype.exe
  • smss.exe
  • spoolsv.exe
  • svchost.exe
  • System
  • System Process
  • taskhost.exe
  • winlogon.exe
  • wscntfy.exe

It scans the memory of all running processes to get credit card data track 1 and 2.

The data it sends follows the following template of the data, which it sends using HTTP POST:

mac={Computer's MAC Address}t1={Credit card data track 1}t2={Credit card data track 2}

  SOLUTION

Minimum Scan Engine: 9.700

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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

Restart in Safe Mode

[ Learn More ]

Step 4

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • Java SE Platform Updater = "%Application Data%\Java SE Platform Updater\{file name}.exe"
  • In HKEY_CURRENT_USER\Software\Javaw
    • Pid = {Process ID of executed dropped copy of itself}
  • In HKEY_CURRENT_USER\Software\Javaw
    • Pid1 = {Process ID of executed watchdog program}

Step 5

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.
  • %Application Data%\Java SE Platform Updater\{file name}.exe

Step 6

Search and delete this folder

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %Application Data%\Java SE Platform Updater

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_JACKPOS.SM. 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 this Knowledge Base page for more information.


Did this description help? Tell us how we did.