TSPY_TRICKBOT.TIDACAN

 Analysis by: Wilbert Vidal
 Modified by: Johnlery Triunfante

 ALIASES:

Trojan.Win32.Inject.ajkwu (Kaspersky); Troj/Trickbo-CY (Sophos); Trojan:Win32/Skeeyah.A!rfn (Microsoft)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 REPORTED INFECTION:

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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 connects to certain websites to send and receive information.

  TECHNICAL DETAILS

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%\{folder name}\{malware name}.exe
    Where folder name can be one of the following:
    • DiskMonitor
    • mstools

(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 adds the following processes:

  • svchost.exe

It creates the following folders:

  • %Application Data%\{folder name}
  • %Application Data%\{folder name}\Modules
  • %Application Data%\{folder name}\Modules\injectDll32_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 adds the following mutexes to ensure that only one of its copies runs at any one time:

  • {17 random hex characters}

Other System Modifications

This Trojan Spy modifies the following file(s):

  • %Application Data%\Mozilla\Firefox\Profiles\{profile folder}\prefs.js
    Appends the following strings:
    • user_pref("browser.tabs.remote.autostart.2", false);
    • user_pref("browser.tabs.remote.autostart", false);
    • user_pref("network.http.spdy.enabled.http2", false);

(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 adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows Defender\Exclusions\Paths
%Application Data%\{folder name}\ = 0

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows Defender\Exclusions\
Paths
%Application Data%\{folder name}\ = 0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Microsoft Antimalware\Exclusions\Paths
%Application Data%\{folder name}\ = 0

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
EnableHTTP2 = 0

Dropping Routine

This Trojan Spy drops the following files:

  • %Application Data%\{folder name}\config.conf
  • %Application Data%\{folder name}\FAQ
  • %Application Data%\{folder name}\README.md
  • %Application Data%\{folder name}\Modules\injectDll32 - encrypted dll
  • %Application Data%\{folder name}\Modules\systeminfo32 - encrypted dll
  • %Application Data%\{folder name}\Modules\injectDll32_configs\dinj - encrypted config file
  • %Application Data%\{folder name}\Modules\injectDll32_configs\dpost - encrypted config file
  • %Application Data%\{folder name}\Modules\injectDll32_configs\sinj - encrypted config file

(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:

  • wtfismyip.com

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

  • {BLOCKED}.{BLOCKED}.48.118:449
  • {BLOCKED}.{BLOCKED}.90.102:449
  • {BLOCKED}.{BLOCKED}.196.254:449
  • {BLOCKED}.{BLOCKED}.207.204:449
  • {BLOCKED}.{BLOCKED}.4.216:449
  • {BLOCKED}.{BLOCKED}.117.95:449
  • {BLOCKED}.{BLOCKED}.134.61:449
  • {BLOCKED}.{BLOCKED}.73.154:449
  • {BLOCKED}.{BLOCKED}.192.194:449
  • {BLOCKED}.{BLOCKED}.125.37:449
  • {BLOCKED}.{BLOCKED}.174.189:443
  • {BLOCKED}.{BLOCKED}.102.12:449
  • {BLOCKED}.{BLOCKED}.48.221:449
  • {BLOCKED}.{BLOCKED}.223.63:449
  • {BLOCKED}.{BLOCKED}.15.87:449
  • {BLOCKED}.{BLOCKED}.215.149:449
  • {BLOCKED}.{BLOCKED}.186.127:451
  • {BLOCKED}.{BLOCKED}.31.46:449
  • {BLOCKED}.{BLOCKED}.119.164:449
  • {BLOCKED}.{BLOCKED}.49.162:449
  • {BLOCKED}.{BLOCKED}.89.70:449
  • {BLOCKED}.{BLOCKED}.218.104:443
  • {BLOCKED}.{BLOCKED}.166.96:443
  • {BLOCKED}.{BLOCKED}.198.156:443
  • {BLOCKED}.{BLOCKED}.174.235:443
  • {BLOCKED}.{BLOCKED}.146.107:443
  • {BLOCKED}.{BLOCKED}.48.3:443
  • {BLOCKED}.{BLOCKED}.37.242:443
  • {BLOCKED}.{BLOCKED}.198.115:443
  • {BLOCKED}.{BLOCKED}.32.144:443

It does the following:

  • It monitors bank related site accesses in browsers using the following strings:
    • *.blilk.com/Core/Authentication/MFA*
    • *.com/SPF/Login/Auth.aspx*
    • *.com/SPF/Login/favicon.ico?*
    • *.com/fi*/bb/*
    • *.com/fi*/bb/favicon.ico?*
    • *.com/fi*/pb/*
    • *.com/fi*/pb/favicon.ico?*
    • *.com/fi*/retail/*
    • *.com/fi*/retail/favicon.ico?*
    • *.com/fnfg/retail/*
    • *.com/fnfg/retail/favicon.ico?*
    • *.com/pub/html/favicon.ico*
    • *.com/pub/html/login.html*
    • *.ebanking-services.com/*.asp*
    • *.ebanking-services.com/*/*favicon.ico*
    • *.onlinebank.com/*/AOP/*.aspx*
    • *.onlinebank.com/*/AOP/favicon.ico?*
    • */Accounts/AccountOverview.asp*
    • */Authentication/Login*
    • */EBC_EBC1961/*
    • */bbw/cmserver/welcome*
    • */business/cts_security_precheck*
    • */business/j_security_check*
    • */business/lo
    • */business/login/Login.jsp*
    • */getq/002*
    • */getq/1526313580646473*
    • */getq/1526315298859960*
    • */getq/1526316237387400*
    • */getq/1526316517796517*
    • */getq/1526316606447536*
    • */getq/1526316709229733*
    • */getq/1526316877505105*
    • */getq/1526328721261118*
    • */getq/1526328862030556*
    • */onlineserv/CM*
    • */rcrd/002*
    • */rcrd/1526313580646473*
    • */rcrd/1526315298859960*
    • */rcrd/1526316237387400*
    • */rcrd/1526316517796517*
    • */rcrd/1526316606447536*
    • */rcrd/1526316709229733*
    • */rcrd/1526316877505105*
    • */rcrd/1526328721261118*
    • */rcrd/1526328862030556*
    • */snapshoot/1526313580646473
    • */snapshoot/1526315298859960
    • */snapshoot/1526316237387400
    • */snapshoot/1526316517796517
    • */snapshoot/1526316606447536
    • */snapshoot/1526316709229733
    • */snapshoot/1526316877505105
    • */snapshoot/1526328721261118
    • */snapshoot/1526328862030556
    • */snapshoot/2
    • */wcmfd/wcmpw/CustomerLogin*
    • */wcmfd/wcmpw/favicon.ico*
    • *01390a8c1c3cfb9918d799ad2a73dd84*
    • *250717644273414e5c73a3c8997564da*
    • *2dd2038048c763fc5f9174ae466cdb9c*
    • *5326bab1f1f827912468392860f6eb14*
    • *70e9ac7e38a9df5092783b632c859cc7*
    • *74536be4f9c2db6ca8c01a8054e1338a*
    • *843729ac35951a040681c469b4a89c0b*
    • *8735fa9cc59a7353f49756e81c2b3908*
    • *99f2a20d3dd8a354fbc8ed3a239f199f*
    • *9d0cf5e88c1fbcc637b90b76128d6bb9*
    • *a6009ccf2264af7978f45f2a332eb392*
    • *a857aaab644de080328d45292893e479*
    • *be7cd95e4b5e89eb1f1d895abab1ee71*
    • *c8d027c1b29ac0def84ddfac56e682c8*
    • *ce2bb103af1a10241de273caa885dbdd*
    • *cey-ebanking.com/CLKCCM/*
    • *corporatebankingweb/core/*
    • *d73a726d92acc898bbbb175d3ab3337e*
    • *engine/login/businesslogin*
    • *f7205f82fdf9559db38d202eb9459348*
    • *f7caf50483938302d86aa228d161e435*
    • *ff358d7f67bc0f7e81b014655e34d0a5*
    • *netteller.com/login2008/Authentication*
    • *partnersfcu.org/OnlineBanking/*aspx*
    • *partnersfcu.org/OnlineBanking/AOP/favicon.ico?*
    • *pib*.secure-banking.com/*
    • *secure.fundsxpress.com/piles/fxweb.pile/*
    • *secure.myvirtualbranch.com*
    • http*bvi.bnc.ca*
    • https://*.netteller.com/favicon.ico?*
    • https://*secure.fundsxpress.com/*/favicon.ico?*
    • https://*secure.fundsxpress.com/*/fx?*
    • https://*secure.fundsxpress.com/favicon.ico?
    • https://*secure.fundsxpress.com/start/*
    • https://*tangerine.ca/app/*
    • https://accesd.mouv.desjardins.com/sommaire-perso/sommaire/detention*
    • https://accweb.mouv.desjardins.com/identifiantunique/authentification*
    • https://accweb.mouv.desjardins.com/identifiantunique/identification*
    • https://accweb.mouv.desjardins.com/identifiantunique/securite*
    • https://allmyaccounts.bankofamerica.com/apps/*
    • https://authentication.td.com/uap-ui/*
    • https://authmaint.td.com
    • https://authmaint.td.com/waw/idp/mso/ui/*
    • https://easyweb.td.com/waw/ezw/servlet*
    • https://finapp.allmyaccounts.bankofamerica.com/finapp/*
    • https://secure.*/LookAndFeel/Common/images/common/share.png?favicon.ico*
    • https://secure.bankofamerica.com/customer/manageContacts*
    • https://secure.bankofamerica.com/login/edit/sm/redirectSecurityCenter.go*
    • https://secure.bankofamerica.com/login/languageToggle.go
    • https://secure.bankofamerica.com/login/sign-in/incoming/sitekeyWidgetScript.go*
    • https://secure.bankofamerica.com/login/sign-in/sign
    • https://secure.bankofamerica.com/login/sign-in/signOnScreen*
    • https://secure.bankofamerica.com/login/sign-in/signOnV2Screen*
    • https://secure.bankofamerica.com/login/sitekey/skmaint.go*
    • https://secure.bankofamerica.com/my
    • https://secure.bankofamerica.com/myaccounts/brain/redirect.go?source*
    • https://secure.bankofamerica.com/myaccounts/brain/redirect.go?target=acc*
    • https://secure.bankofamerica.com/myaccounts/details/card*
    • https://secure.bankofamerica.com/myaccounts/details/deposit/account-balance-history.go*
    • https://secure.bankofamerica.com/myaccounts/details/deposit/account-details.go*
    • https://secure.bankofamerica.com/myaccounts/details/deposit/information-services.go*
    • https://secure.bankofamerica.com/myaccounts/signin/signIn.go?*
    • https://secure.bankofamerica.com/mycommunications/statements/statement.go*
    • https://secure.bankofamerica.com/transfers/*
    • https://www*.bmo.com/onlinebanking/*
    • https://www*.royalbank.com/cgi-bin/rbaccess/*
    • https://www*.royalbank.com/wps/myportal/OLB/*
    • https://www*.scotiaonline.scotiabank.com/online/*
    • https://www.amazon.com/*
    • https://www.bankofamerica.com/
    • https://www.bankofamerica.com/?*
    • https://www.bankofamerica.com/Control.do*
    • https://www.bankofamerica.com/homepage/overview*
    • https://www.bankofamerica.com/homepage/smallbusiness*
    • https://www.bankofamerica.com/index.jsp*
    • https://www.bankofamerica.com/onlinebanking/online-banking.go
    • https://www.bankofamerica.com/sitemap/hub/signin.go
    • https://www.bankofamerica.com/smallbusiness/
    • https://www.bankofamerica.com/smallbusiness/?*
    • https://www.bankofamerica.com/smallbusiness/online-banking.go
    • https://www.cibc.com/??/personal-banking*
    • https://www.cibc.com/??/small-business*
    • https://www.cibc.com/en/personal-banking*
    • https://www.cibconline.cibc.com/ebm-resources/public/banking/cibc/client/web/*
    • https://www.cibconline.cibc.com/olbtxn/*

It adds the following scheduled tasks:

  • Task Name: MsLogExpert
    Triggers: At log on, after triggered, repeat every 5 minutes for a duration of 1 day.
    Action: %Application Data%\{folder name}\{malware 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.)

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.228.07

FIRST VSAPI PATTERN DATE:

03 May 2018

VSAPI OPR PATTERN File:

14.229.00

VSAPI OPR PATTERN Date:

04 May 2018

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths
    • %Application Data%\{folder name}\ = 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions\Paths
    • %Application Data%\{folder name}\ = 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Exclusions\Paths
    • %Application Data%\{folder name}\ = 0
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • EnableHTTP2 = 0

Step 5

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:

  • Task Name: MsLogExpert
  • Task to be run: %Application Data%\{folder name}\{malware name}.exe

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

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

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, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

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

Step 7

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

Restore these deleted files from backup

*Note: Only Microsoft-related keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

  • %Application Data%\Mozilla\Firefox\Profiles\{profile folder}\prefs.js


Did this description help? Tell us how we did.