TSPY_SHIZ.MJSX

 Analysis by: RonJay Kristoffer Caragay

 ALIASES:

Win32/Spy.Shiz.NCT (ESET-NOD32)

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet

This spyware may be downloaded from remote sites by other malware.

It does not have any propagation routine.

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

  TECHNICAL DETAILS

File Size:

246,272 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

27 Oct 2015

Payload:

Steals information

Arrival Details

This spyware may be downloaded from remote site(s) by the following malware:

  • W2KM_SHIZ.MJSX

Installation

This spyware drops the following files:

  • %AppDataLocal%\{random}.tmp.bat ← used to modify itself; deleted afterwards
  • %Application Data%\{random folder}\{random filename}.txt ← logs files

(Note: %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.. %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 drops and executes the following files:

  • %All Users Profile%\Application Data \{random}.exe ← detected as TSPY_SHIZ.SMJX

(Note: %All Users Profile% is the All Users folder, where it usually is C:\Documents and Settings\All Users on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData 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 adds the following processes:

  • svchost.exe

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • Global\{3492473cd35c8bdceed8}
  • {random string}

It injects codes into the following process(es):

  • created svchost.exe

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
IntelPowerAgent{number} = "rundll32.exe shell32.dll, ShellExec_RunDLL %All Users Profile%\Application Data\{random}.exe"

Other System Modifications

This spyware adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows
{random} = "{hex value}"

Propagation

This spyware does not have any propagation routine.

Information Theft

This spyware gathers the following data:

  • OS information
  • Account Information of certain application
  • Path of target process and its CRC
  • Keystroke
  • Clipboard
  • Screenshots
  • Running processes
  • Network traffic
  • Network user
  • Installed system certificates
  • Installed AV products
  • Bitcoin wallet contents
  • Litecoin wallet contents
  • User Name
  • Computer Name
  • OS Install Date
  • Cookies

Stolen Information

This spyware sends the gathered information via HTTP POST to the following URL:

  • https://{BLOCKED}icworld.com/news/userlogin.php

Other Details

This spyware connects to the following URL(s) to check for an Internet connection:

  • vk.com
  • yandex.ru
  • download.windowsupdate.com
  • dropbox.com
  • microsoft.com

It does the following:

  • It terminates itself if it is being debugged.
  • It terminates itself if the following files and directories are found:
    • %System Root%\sample\pos.exe
    • %System Root%\analysis\sandboxstarter.exe
    • %System Root%\analysis
    • %System Root%\insidetm
    • %System Root%\iDEFENSE
    • %System Root%\popupkiller.exe
    • %System Root%\tools\execute.exe
    • %System%\drivers\vmhgfs.sys
    • %System%\drivers\vmmouse.sys
    • %System%\drivers\vboxmouse.sys
  • It terminates itself if the following network monitoring file is found:
    • \.\NPF_NdisWanIp
  • It terminates itself if the following DLLs are loaded:
    • dbghelp.dll
    • api_log.dll
    • dir_watch.dll
    • pstorec.dll
  • It sleeps if the following DLLs are loaded:
    • sbiedll.dll
    • snxhk.dll
  • It terminates itself if the User Name or Computer Name of the machine is:
    • SANDBOX
    • FORTINET
    • VIRUS
    • MALWARE
    • MALNETVM
    • ANALYSERS
  • It attempts to collect information when the following strings found in certain applications:
    • tellerplus
    • bancline
    • fidelity
    • micrsolv
    • bankman
    • vanity
    • episys
    • jack henry
    • cruisenet
    • gplusmain
    • silverlake
    • v48d0250s1
  • It check installed AV product by searching the following registries:
    • HKEY_LOCAL_MACHINE\Microsoft\Microsoft Antimalware
    • HKEY_LOCAL_MACHINE\Software\Avg
    • HKEY_LOCAL_MACHINE\Software\G Data
    • HKEY_LOCAL_MACHINE\Software\Avira
    • HKEY_LOCAL_MACHINE\Software\AVAST
    • HKEY_LOCAL_MACHINE\Software\Avast
    • HKEY_LOCAL_MACHINE\Software\KasperskyLab\protected
    • HKEY_LOCAL_MACHINE\Software\Bitdefender
    • HKEY_LOCAL_MACHINE\Software\Panda Software
    • HKEY_LOCAL_MACHINE\Software\Sophos
    • HKEY_LOCAL_MACHINE\Software\Coranti
    • HKEY_LOCAL_MACHINE\Software\rising
    • HKEY_LOCAL_MACHINE\Software\TrendMicro
    • HKEY_LOCAL_MACHINE\Software\Symantec
    • HKEY_LOCAL_MACHINE\Software\ComodoGroup
    • HKEY_LOCAL_MACHINE\Software\Network Associates\TVD
    • HKEY_LOCAL_MACHINE\Software\Data Fellows\F-Secure
    • HKEY_LOCAL_MACHINE\Software\Eset\Nod
    • HKEY_LOCAL_MACHINE\Software\Softed\ViGUARD
    • HKEY_LOCAL_MACHINE\Software\Zone Labs\ZoneAlarm
    • HKEY_LOCAL_MACHINE\Software\VBA32
    • HKEY_LOCAL_MACHINE\Software\Doctor Web
  • It collects data from files related to the following e-banking applications:
    • HBPData\hbp.profile
    • ELBA5\ELBA_data
    • Omikron\MCSign
  • It searches the following process to check if the machine is a POS system:
    • pos.exe
    • bank.exe
  • It monitors and intercept downloads done by the following process:
    • iexplore.exe
    • opera.exe
    • firefox.exe
    • chrome.exe
    • maxthon.exe
    • java.exe
    • javaw.exe
    • plugin-container.exe
    • acrobat.exe
    • acrod32.exe
  • It hooks API to inject applications
  • It may perform web injections and web parsing on injected browser
  • It downloads file

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

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

  SOLUTION

Minimum Scan Engine:

9.8

FIRST VSAPI PATTERN FILE:

12.112.01

FIRST VSAPI PATTERN DATE:

27 Oct 2015

VSAPI OPR PATTERN File:

12.113.00

VSAPI OPR PATTERN Date:

28 Oct 2015

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

Remove the malware/grayware file that dropped/downloaded TSPY_SHIZ.MJSX. (Note: Please skip this step if the threat(s) listed below have already been removed.)

    • W2KM_SHIZ.MJSX

Step 4

Remove the malware/grayware file dropped/downloaded by TSPY_SHIZ.MJSX. (Note: Please skip this step if the threat(s) listed below have already been removed.)

    • TSPY_SHIZ.SMJX

Step 5

Restart in Safe Mode

[ Learn More ]

Step 6

Delete this registry key

[ 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
    • IntelPowerAgent{number} = "rundll32.exe shell32.dll, ShellExec_RunDLL %All Users Profile%\Application Data\{random}.exe"

Step 7

Search and delete these folders

[ 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%\{random folder}

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_SHIZ.MJSX. 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.

Step 9

Scan your computer with your Trend Micro product to delete files detected as TSPY_SHIZ.MJSX. 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.