TrojanSpy.Win32.URSNIF.TIABOEBS

 Modified by: Jay Garcia

 ALIASES:

W32/Ursnif.CP!tr (Fortinet); Win32/Spy.Ursnif.CP trojan (NOD32)

 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 connects to certain websites to send and receive information. It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

849,920 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

04 Jun 2019

Payload:

Connects to URLs/IPs, Steals information, Collects system information, Compromises system security

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

  • %User Temp%\{random filename}.bin
  • %User Temp%\{random filename}.bin1
  • %User Temp%\{random filename}.bi1 - contains the list of computer or network resources
  • %Application Data%\Microsoft\{string1}{string2}\{string1}{string2}.lnk
    where:
    {string1} = first four letters of a dll file under System directory
    {string2} = last four letters of a dll file under System directory

(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).. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

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

  • %Application Data%\Microsoft\{string1}{string2}\{string1}{string2}.exe
    where:
    {string1} = first four letters of a dll file under System directory
    {string2} = last four letters of a dll file under System directory

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

It injects codes into the following process(es):

  • explorer.exe

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{string1}{string2} = "%Application Data%\Microsoft\{string1}{string2}\{string1}{string2}.exe"

It adds the following lines or registry entries as part of its routine:

  • HKEY_CURRENT_USER\Software\AppDataLow\Software\Microsoft\{GUID}
    {UID} = "{hex value}"
  • HKEY_CURRENT_USER\Software\AppDataLow\Software\Microsoft\{GUID}
    {Value Name} = "{data}"
    where {Value Name} may be any of the following:
    • Main
    • Block
    • Temp
    • Client
    • Ini
    • Keys
    • Scr
    • LastTask
    • LastConfig
    • CrHook
    • OpHook
    • Exec
    • TorClient
    • TorCrc
    • Install
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    EnableSPDY3_0 = "0"

Other System Modifications

This Trojan Spy adds the following registry keys:

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}\
Vr

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}\
Sfi

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}\
Run

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}\
Config

Information Theft

This Trojan Spy gathers the following data:

  • Computer Name
  • Digital Certificates
  • Cookies
  • Keyboard Logs
  • Clipboard Logs
  • Captured Screenshot
  • Email Credentials
  • Running processes and services
  • Installed device drivers
  • Installed Programs
  • System Information (Please see notes for more details)
  • IP Address
  • Credentials from the following:
    • Outlook
    • Thunderbird
    • Internet Explorer
  • Credentials related to cryptocurrency:
    • electrum-
    • bitcoin
    • multibit-hd
    • bither
    • msigna.
    • Jaxx.
    • JEdudus.
    • armory-
    • veracrypt
    • truecrypt

Stolen Information

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

  • https://{BLOCKED}rsob.com/images/{random path}/{random characters}.{bmp/png}

Other Details

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

  • https://{BLOCKED}rsob.com/images/{random path}/{random characters}.{gif/jpeg}

It does the following:

  • Saves stolen information in a file and then uploads it.
  • Monitors Internet browsing activities.
  • Hooks APIs of target process.
  • Disables SPDY protocol in Mozilla Firefox.
  • It terminates itself if it runs under a virtual machine or sandbox by checking the following strings against Plug and Play devices:
    • vbox
    • qemu
    • vmware
    • virtual hd
  • Executes commands to gather information:
    • cmd /C "nslookup myip.opendns.com resolver1.opendns.com > %User Temp%\{random filename}.bin"
    • cmd /C "systeminfo.exe > %User Temp%\{random filename}.bin"
    • cmd /C "net view >> %User Temp%\{random filename}.bin"
    • cmd /C "nslookup 127.0.0.1 >> %User Temp%\{random filename}.bin"
    • cmd /C "tasklist.exe /SVC >> %User Temp%\{random filename}.bin"
    • cmd /C "driverquery.exe >> %User Temp%\{random filename}.bin"
    • cmd /C "reg.exe query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" /s >> %User Temp%\{random filename}.bin"
    • cmd /U /C "type %User Temp%\{random filename}.bin1 > %User Temp%\{random filename}.bin & del %User Temp%\{random filename}.bin"
  • The file systeminfo.exe returns the following system information:
    • Host Name
    • OS Name, Version, Manufacturer
    • Configuration and Build Type
    • Registered Owner and Organization
    • Product ID
    • Original Install Date
    • System Up Time
    • System Manufacturer, Model and type
    • Processor(s)
    • BIOS version
    • Windows and System directory
    • Boot Device
    • System and Input Locale
    • Time Zone
    • Total and Available Memory
    • Virtual Memory information (Max, Available, In Use)
    • Page file locations
    • Domain
    • Logon server
    • Hotfix(es)
    • Network card(s)

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.152.03

FIRST VSAPI PATTERN DATE:

04 Jun 2019

VSAPI OPR PATTERN File:

15.153.00

VSAPI OPR PATTERN Date:

04 Jun 2019

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

Restart in Safe Mode

[ Learn More ]

Step 4

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\AppDataLow\Software\Microsoft\
    • {GUID}

Step 5

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
    • {string1}{string2} = "%Application Data%\Microsoft\{string1}{string2}\{string1}{string2}.lnk"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • EnableSPDY3_0 = "0"

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.
  • %User Temp%\{random filename}.bin
  • %User Temp%\{random filename}.bin1
  • %User Temp%\{random filename}.bi1
  • %Application Data%\Microsoft\{string1}{string2}\{string1}{string2}.exe

Step 7

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