TSPY_TRICKLOAD.RY

 Analysis by: Ryan Paolo Maglaque

 ALIASES:

Trojan:Win32/Totbrick.C(Microsoft)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet

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

It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

It connects to certain websites to send and receive information. It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

325,073 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

10 Mar 2017

Payload:

Connects to URLs/IPs, Drops files

Arrival Details

This Trojan Spy 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 Spy drops the following copies of itself into the affected system and executes them:

  • %Application Data%\{Malware File Name}.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 drops the following files:

  • %Application Data%\client_id
  • %Application Data%\group_tag
  • %Windows%\Tasks\Driver update.job

(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.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

It adds the following processes:

  • svchost.exe

It creates the following folders:

  • %Application Data%\Modules\
  • %Application Data%\Modules\injectDll32_configs
  • %Application Data%\Modules\mailsearcher32_configs

(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 injects codes into the following process(es):

  • Created svchost.exe

Autostart Technique

The scheduled task executes the malware every:

  • minute

Download Routine

This Trojan Spy saves the files it downloads using the following names:

  • %Application Data%\config.conf
  • %Application Data%\Modules\injectDll32
  • %Application Data%\Modules\systeminfo32
  • %Application Data%\Modules\injectDll32_configs\dinj
  • %Application Data%\Modules\injectDll32_configs\dpost
  • %Application Data%\Modules\injectDll32_configs\sinj
  • %Application Data%\Modules\mailsearcher32_configs\mailconf

(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.)

Other Details

This Trojan Spy connects to the following URL(s) to get the affected system's IP address:

  • checkip.amazonaws.com
  • ipecho.net
  • ipinfo.io
  • api.ipify.org
  • icanhazip.com
  • myexternalip.com
  • wtfismyip.com
  • ip.anysrc.net

It connects to the following website to send and receive information:

  • {BLOCKED}.{BLOCKED}.249.45:443
  • {BLOCKED}.{BLOCKED}.107.162:443
  • {BLOCKED}.{BLOCKED}.206.58:443
  • {BLOCKED}.{BLOCKED}.62.46:443
  • {BLOCKED}.{BLOCKED}.120.132:443
  • {BLOCKED}.{BLOCKED}.159.138:443
  • {BLOCKED}.{BLOCKED}.30.123:443
  • {BLOCKED}.{BLOCKED}.82.5:443
  • {BLOCKED}.{BLOCKED}.161.221:443
  • {BLOCKED}.{BLOCKED}.51.118:443
  • {BLOCKED}.{BLOCKED}.236.86:443
  • {BLOCKED}.{BLOCKED}.156.39:443

It does the following:

  • It monitors bank related site accesses in browsers using the following strings:
    • https://www.bankline.natwest.com*
    • https://www.bankline.natwest.com/CWSLogon/logon.do*
    • https://www.bankline.rbs.com*
    • https://www.bankline.rbs.com/CWSLogon/logon.do*
    • https://www.business.hsbc.co.uk*
    • https://www.business.hsbc.co.uk*
    • https://www.nwolb.com*
    • https://www.nwolb.com/default.aspx*
    • https://www6.rbc.com*
    • https://www6.rbc.com/webapp/ukv0/signin/logon.xhtml*
    • https://www.rbsdigital.com*
    • https://www.rbsdigital.com/default.aspx*
    • https://lloydslink.online.lloydsbank.com*
    • https://lloydslink.online.lloydsbank.com/Logon*
    • https://www.ulsterbankanytimebanking.ie*
    • https://www.ulsterbankanytimebanking.ie/default.aspx*
    • https://banking.bankofscotland.co.uk*
    • https://banking.bankofscotland.co.uk/Logon*
    • https://businessbanking*.tdcommercialbanking.com*
    • https://businessbanking*.tdcommercialbanking.com/WBB/Login*
    • https://online-business.bankofscotland.co.uk*
    • https://online-business.bankofscotland.co.uk/business*
    • https://transtasman.online.anz.com*
    • https://transtasman.online.anz.com/client*
    • https://www.anzdirect.co.nz*
    • https://www.anzdirect.co.nz/online/EnterANZDirect.do*
    • https://online.coutts.com*
    • https://online.coutts.com/eBankingCouttsLogin/login*
    • https://business.co-operativebank.co.uk*
    • https://business.co-operativebank.co.uk/corp/*
    • https://fdonline.co-operativebank.co.uk*
    • https://fdonline.co-operativebank.co.uk/corp*
    • https://corporate.metrobankonline.co.uk*
    • https://corporate.metrobankonline.co.uk/servlet/BrowserServlet*
    • https://www2?.bmo.com*
    • https://www2?.bmo.com/ctpauth/CTPEAILogin/CustUserPasswordAuthServlet?TAM_OP=login*
    • https://www.onlinebanking.iombank.com*
    • https://www.onlinebanking.iombank.com/default.aspx*
    • https://bank.barclays.co.uk*
    • https://bank.barclays.co.uk/olb/auth/LoginLink.action*
    • https://corporate.santander.co.uk*
    • https://corporate.santander.co.uk/LOGSCU_NS_ENS*
    • https://leumionline.bankleumi.co.uk*
    • https://leumionline.bankleumi.co.uk*
    • https://onlinebusiness.lloydsbank.co.uk*
    • https://onlinebusiness.lloydsbank.co.uk/business*
    • https://s2b.standardchartered.com*
    • https://s2b.standardchartered.com/ssoapp/login.jsp*
    • https://cmo.cibc.com*
    • https://cmo.cibc.com*
    • https://www.anztransactive.anz.com*
    • https://www.anztransactive.anz.com/*
    • https://bbonline.banksa.com.au*
    • https://bbonline.banksa.com.au/html/cbank.asp*
    • https://ibs.bankwest.com.au*
    • https://ibs.bankwest.com.au/BWLogin/rib.aspx*
    • https://netteller2.tsw.com.au*
    • https://netteller2.tsw.com.au/delphi/ntv451.asp*
    • https://businessonline.westpac.com.au*
    • https://businessonline.westpac.com.au/esis/Login/SrvPage*
    • https://online.corp.westpac.com.au*
    • https://online.corp.westpac.com.au/*
    • https://www?.my.commbiz.commbank.com.au*
    • https://www?.my.commbiz.commbank.com.au/Logon/UserMaintenance/Login.aspx*
    • https://bbonline.bankofmelbourne.com.au*
    • https://bbonline.bankofmelbourne.com.au/html/login.aspx*
    • https://banking.lloydsbank.com*
    • https://banking.lloydsbank.com/Logon*
    • https://bank.ruralbank.com.au*
    • https://bank.ruralbank.com.au/banking/RBLIBanking*
    • https://nabconnect*.nab.com.au*
    • https://nabconnect*.nab.com.au/auth/nabclogin/login.do*
    • https://ib.tmbank.com.au*
    • https://ib.tmbank.com.au/ib/signon/Login.aspx*
    • https://digital.defencebank.com.au*
    • https://digital.defencebank.com.au*
    • https://velocity.ocbc.com*
    • https://velocity.ocbc.com/portal.view*
    • https://uniservices2.uobgroup.com*
    • https://uniservices2.uobgroup.com/ELO/login.jsp*
    • https://sg.bibplus.uobgroup.com*
    • https://sg.bibplus.uobgroup.com/BIB/public*
    • https://bbonline.stgeorge.com.au*
    • https://bbonline.stgeorge.com.au/html/cbank.asp*
    • https://internetbanking.suncorpbank.com.au*
    • https://internetbanking.suncorpbank.com.au/*
    • https://inetbnkp.adelaidebank.com.au*
    • https://inetbnkp.adelaidebank.com.au/OnlineBanking/AdBank*
    • https://www.bnz.co.nz*
    • https://www.bnz.co.nz/business-banking*
    • https://bol.westpac.co.nz*
    • https://bol.westpac.co.nz/s1gcb/logon/sbuser*
    • https://www.ib.kiwibank.co.nz*
    • https://www.ib.kiwibank.co.nz/*
    • https://www.flexipurchase.com*
    • https://www.flexipurchase.com/secure/welcome.asp*
    • https://secure1.rabodirect.co.nz*
    • https://secure1.rabodirect.co.nz/exp/policyenforcer/pages/loginB2CDGPEN.jsf*
    • https://www.hsbc.com.sg*
    • https://www.hsbc.com.sg/1/2/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gDf6NAZ8tQU3c3A0dDV5MAf2MTAwjQL8h2VAQAdKy3eg!!/*
    • https://ideal.dbs.com*
    • https://ideal.dbs.com/loginSubscriber/login/pin.jsp*
    • https://internet-banking.dbs.com.sg*
    • https://internet-banking.dbs.com.sg/IB/Welcome*
    • https://www.asb.co.nz*
    • https://www.asb.co.nz/*
    • https://cib.icicibank.com*
    • https://cib.icicibank.com/corp/BANKAWAY*
    • https://secure.heartland.co.nz*
    • https://secure.heartland.co.nz/IB/index.zul*
    • https://www.bendigobank.com.au*
    • https://www.bendigobank.com.au/banking/BBLIBanking*
    • https://www.hsbc.com.au*
    • https://www.hsbc.com.au/1/2/HUB_IDV2/IDV_EPP*
    • https://www.citibusiness.citibank.com.sg*
    • https://www.citibusiness.citibank.com.sg/SGCBZ/JSO/signon/DisplayUsernameSignon.do*
    • https://internet.ocbc.com*
    • https://internet.ocbc.com/internet-banking*
    • https://ibank.standardchartered.com.sg*
    • https://ibank.standardchartered.com.sg/nfs/login.htm*
    • https://www.citibank.com.sg*
    • https://www.citibank.com.sg/SGGCB/JSO/signon/DisplayUsernameSignon.do*
    • https://www.onlinesbiglobal.com*
    • https://www.onlinesbiglobal.com/64SG/BANKAWAY*
    • https://www.barclayswealth.com*
    • https://www.barclayswealth.com/login/action/logon/unauthenticated/corporate*
    • https://scotiaconnect.scotiabank.com*
    • https://scotiaconnect.scotiabank.com*
    • https://online-business.tsb.co.uk*
    • https://online-business.tsb.co.uk/business/logon*
    • https://ibank.sbs.net.nz*
    • https://ibank.sbs.net.nz/ui/inetbankindex.aspx*
    • https://ib.mebank.com.au*
    • https://ib.mebank.com.au/auth/ib/login.html*
    • https://ib.tmbank.com.au*
    • https://ib.tmbank.com.au/ib/SignOn/Login.aspx*
    • https://online.mystate.com.au*
    • https://online.mystate.com.au/Banking/Business/*
    • https://www.sbisyd.com.au*
    • https://www.sbisyd.com.au/eremit/index.php*
    • https://ribs.rabobank.com.au*
    • https://ribs.rabobank.com.au/RIBSAU/AU*
    • https://secure.boqspecialist.com.au*
    • https://secure.boqspecialist.com.au/BOQ/BOQSpecialist*
    • https://netaccess3.qtmb.com.au*
    • https://netaccess3.qtmb.com.au/QTMB/NetTeller/login.aspx*
    • https://www.internationalmoneytransfers.com.au*
    • https://www.internationalmoneytransfers.com.au/login/login*
    • https://bizpermonline.newcastlepermanent.com.au*
    • https://bizpermonline.newcastlepermanent.com.au/NPBSBusiness*
    • https://internetbanking.imb.com.au*
    • https://internetbanking.imb.com.au/IB/personal*
    • https://banking.beyondbank.com.au*
    • https://banking.beyondbank.com.au/*
    • https://sslsecure.maybank.com.sg*
    • https://sslsecure.maybank.com.sg/cgi-bin/mbs/scripts/mbb_login.jsp*
    • https://www.bizchannel.cimb.com.sg*
    • https://www.bizchannel.cimb.com.sg/corp/common2/login.do*
    • https://www.ubank.com.au*
    • https://www.ubank.com.au/login*
    • https://ib.greater.com.au*
    • https://ib.greater.com.au/OnlineBanking/Login.aspx*
    • https://online.arabbank.com.au*
    • https://online.arabbank.com.au/login/abaonline*
    • https://ribs.rabobank.co.nz*
    • https://ribs.rabobank.co.nz/RIBSNZ/NZ*
    • https://online.corp.westpac.co.nz*
    • https://online.corp.westpac.co.nz/*
    • https://ib.banksyd.com.au*
    • https://ib.banksyd.com.au/login.aspx*
    • https://secure.rabodirect.com.au*
    • https://secure.rabodirect.com.au/exp/policyenforcer/pages/loginB2CDGPEN.jsf*
    • https://onlinebanking.nationwide.co.uk*
    • https://onlinebanking.nationwide.co.uk*
    • https://cbonline.lloydsbank.com*
    • https://cbonline.lloydsbank.com/PrimaryAuth/*
    • https://www.ulsterbankanytimebanking.co.uk*
    • https://www.ulsterbankanytimebanking.co.uk/default.aspx*
    • https://ulsterbank.co.uk*
    • https://ulsterbank.co.uk/ni/business/global/login.ashx*
    • https://www.iombankibanking.com*
    • https://www.iombankibanking.com/eai/IPB_EAI_Web/Service.do*
    • https://www.rbsiibanking.com*
    • https://www.rbsiibanking.com/eai/IPB_EAI_Web/Service.do*
    • https://www.natwestibanking.com*
    • https://www.natwestibanking.com/eai/IPB_EAI_Web/Service.do*
    • https://commercial.metrobankonline.co.uk*
    • https://commercial.metrobankonline.co.uk/portalserver/business-login*
    • https://www.bankline.ulsterbank.ie*
    • https://www.bankline.ulsterbank.ie/CWSLogon/logon.do*
    • https://www.bankline.ulsterbank.co.uk*
    • https://www.bankline.ulsterbank.co.uk/CWSLogon/logon.do*
    • https://www.anzdirect.co.nz*
    • https://www.anzdirect.co.nz/online/ado.do*
    • https://www.onlinebanking.natwestoffshore.com*
    • https://www.onlinebanking.natwestoffshore.com/default.aspx*
    • https://www.barclayswealth.com*
    • https://www.barclayswealth.com/login/action/logon/unauthenticated/personal*
    • https://secure.amp.com.au*
    • https://secure.amp.com.au/wps/portal/sec/login/!ut/p/a1/04_Sj9CPykssy0xPLMnMz0vMAfGjzOLNPNxNPC1MDL0tfHycDBzN_P2MLQ1NjAzcjYAKIoEKDHAARwNC-sP1o8BK8JjgpR-VnpOfBHZNpGNekrFFun5UUWpaalFqkV5pEVA4o6SkoNhK1UDVoLy8XC8xt0AvOT9XL7FU1QCbloz84hL9CFSV-gW5EQa6UUmV5Y6KigDjtv-8/dl5/d5/L2dBISEvZ0FBIS9nQSEh/*
    • https://www.ib.boq.com.au*
    • https://www.ib.boq.com.au/boqbl*
    • https://secure.macquarie.com.au*
    • https://secure.macquarie.com.au/sepas/serve*
    • https://www.ebanking.hsbc.co.nz*
    • https://www.ebanking.hsbc.co.nz/1/2/!ut/p/c5/jZBdC4IwGEZ_0vtuI6VLXTitmeGa6G5kiIigMyKK_n3rJrrpg-fynHPzgAE_Z6_jYC_j4uwENZigzYMQOd0yFLwIkJbZmsu4JCJhnjefecn-qkklokxTLEjquUxCKsUBxRF_1Kp3rVawT5e5hwZM-CYr8ZTzjVzFyDhn0Ez9YLv7d0-Rl6cdVG45z_6D06zr205GD_hDJm4!/dl3/d3/L0lJSklna21BL0lKakFBTXlBQkVSQ0pBISEvNEZHZ3NvMFZ2emE5SUFnIS83X002NzBDMkozMEdTRzYwMlJNREw1QjAzQ0MzL*
    • https://businessbank.tsbbank.co.nz*
    • https://businessbank.tsbbank.co.nz/BusinessBank/login.jsp*
    • https://ibank.humebank.com.au*
    • https://ibank.humebank.com.au/mvp/signon/login.aspx*
    • https://logon.online.anz.com*
    • https://logon.online.anz.com/auth/Logon/CentralLogin.fcc*
    • https://ob.cua.com.au*
    • https://ob.cua.com.au/ib/8f675086917e50c560dac572aa62292e/LoginAuth.action*
    • https://cbonline.bankofscotland.co.uk*
    • https://cbonline.bankofscotland.co.uk/PrimaryAuth/*
    • https://uas1.cams.scotiabank.com*
    • https://uas1.cams.scotiabank.com/aos/*

It deletes itself after execution.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

13.310.05

FIRST VSAPI PATTERN DATE:

31 Mar 2017

VSAPI OPR PATTERN File:

13.311.00

VSAPI OPR PATTERN Date:

01 Apr 2017

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 the Scheduled Tasks added by this malware/grayware

[ Learn More ]

To delete the added Scheduled Task file:

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. To do this, click Start>Programs>Accessories>System Tools>Scheduled Tasks.
  2. Double-click on a .JOB file.
  3. Check if the malware path and file name exists in the .JOB file. To do this, check the value in the Run field.
  4. If found, select the .JOB file then press SHIFT+DELETE to permanently delete the file.
  5. Repeat the steps above for the remaining .JOB files.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel of the Task Scheduler Window, click Task Scheduler Library.
  3. In the upper-middle panel, click a Task.
  4. In the lower middle panel, click the Actions tab
  5. Check if the malware path and file name exists in the task. To do this, check the value in the Details column under the Actions tab.
  6. If found, select the task and press DELETE and click Yes to delete the task.
  7. Repeat the steps above for the remaining tasks.

Step 5

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%\Modules

Step 6

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%\client_id
  • %Application Data%\group_tag
  • %Application Data%\config.conf

Step 7

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