TrojanSpy.Win32.URSNIF.THJBBAI


 ALIASES:

Trojan-Spy.Win32.Ursnif.ajhb (Kaspersky)

 PLATFORM:

Windows

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

  • 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.

  TECHNICAL DETAILS

File Size:

3,714,560 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

22 Oct 2019

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

  • "%System Root%\Program Files\Internet Explorer\iexplore.exe" -Embedding
  • %System%\DllHost.exe /Processid:{F9717507-6651-4EDB-BFF7-AE615179BCCF}
  • %System%\svchost.exe -k netsvcs
  • %Windows%\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe
  • %System%\svchost.exe -k LocalServiceAndNoImpersonation
  • %Windows%\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe
  • %System%\svchost.exe -k NetworkService
  • %System%\sppsvc.exe
  • "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
  • "%Program Files%\Internet Explorer\IEXPLORE.EXE" SCODEF:1872 CREDAT:275457 /prefetch:2
  • "%Program Files%\Internet Explorer\IEXPLORE.EXE" SCODEF:1244 CREDAT:275457 /prefetch:2
  • "%Program Files%\Internet Explorer\IEXPLORE.EXE" SCODEF:2704 CREDAT:275457 /prefetch:2
  • "%Program Files%\Internet Explorer\IEXPLORE.EXE" SCODEF:3768 CREDAT:275457 /prefetch:2
  • "%Program Files%\Internet Explorer\IEXPLORE.EXE" SCODEF:3140 CREDAT:275457 /prefetch:2

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000(32-bit), Server 2003(32-bit), XP, Vista(64-bit), 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit) , or C:\Program Files (x86) in Windows XP(64-bit), Vista(64-bit), 7(64-bit), 8(64-bit), 8.1(64-bit), 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It creates the following folders:

  • %Application Data%\Microsoft\Windows\DNTException
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost
  • %All Users Profile%\Microsoft\Windows\Caches
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches
  • %Application Data%\Microsoft\Windows\IECompatCache
  • %Application Data%\Microsoft\Windows\PrivacIE
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active
  • %Application Data%\Microsoft\Windows\IECompatUACache

(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).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). . %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Other System Modifications

This Trojan Spy deletes the following files:

  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches\{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x0000000000000000.db
  • %AppDataLocal%Low\Microsoft\Internet Explorer\Services\search_{0633EE93-D776-472f-A0FF-E1416B8B2E3A}.ico

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
UPnP Device Host\HTTP Server\VROOTS\
/upnphost
(Default) = "{random characters}"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
UPnP Device Host\Description\{262DFC30-A9EC-4089-AE41-1DD542D7E10C}\
UDN Mappings\uuid:32d0d20f-2613-46a1-add3-5198c3d6a24d
(Default) = "uuid:262dfc30-a9ec-4089-ae41-1dd542d7e10c"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\upnphost
Type = "16"

(Note: The default value data of the said registry entry is 20.)

It deletes the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{72853161-30C5-4D22-B7F9-0BBC1D38A37E}\NewInstallPromptCount

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{72853161-30C5-4D22-B7F9-0BBC1D38A37E}\CompatBlockPromptCount

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{761497BB-D6F0-462C-B6EB-D4DAF1D92D43}\NewInstallPromptCount

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{761497BB-D6F0-462C-B6EB-D4DAF1D92D43}\CompatBlockPromptCount

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{DBC80044-A445-435B-BC74-9C25C1C588A9}\NewInstallPromptCount

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{DBC80044-A445-435B-BC74-9C25C1C588A9}\CompatBlockPromptCount

Dropping Routine

This Trojan Spy drops the following files:

  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{EF1159D7-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{DE0D43A2-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\MSIMGSIZ.DAT
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{BF332DD3-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{EF1159D5-958A-11E9-B634-005056BC7934}.dat
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost\udhisapi.dll
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{BF332DD5-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{99D47365-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{DE0D43A0-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{99D47367-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{CD76ACB9-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{CD76ACB7-958A-11E9-B634-005056BC7934}.dat

(Note: %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Other Details

This Trojan Spy connects to the following possibly malicious URL:

  • http://{BLOCKED}e.com/{random path}
  • http://go.{BLOCKED}oft.com
  • http://api.{BLOCKED}g.com
  • http://www.{BLOCKED}g.com
  • http://sqm.{BLOCKED}try.microsoft.com
  • http://{BLOCKED}cweston.com
  • http://{BLOCKED}nioia.com
  • http://{BLOCKED}e52v3.com

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.850

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

Identify and terminate files detected as TrojanSpy.Win32.URSNIF.THJBBAI

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

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\UPnP Device Host\HTTP Server\VROOTS\/upnphost
    • (Default) = "{random characters}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UPnP Device Host\Description\{262DFC30-A9EC-4089-AE41-1DD542D7E10C}\UDN Mappings\uuid:32d0d20f-2613-46a1-add3-5198c3d6a24d
    • (Default) = "uuid:262dfc30-a9ec-4089-ae41-1dd542d7e10c"

Step 4

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\upnphost
    • From: Type = "16"
      To: Type = ""20""

Step 5

Search and delete these components

[ Learn More ]
There may be some components 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.
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{EF1159D7-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{DE0D43A2-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\MSIMGSIZ.DAT
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{BF332DD3-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{EF1159D5-958A-11E9-B634-005056BC7934}.dat
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost\udhisapi.dll
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{BF332DD5-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{99D47365-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{DE0D43A0-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{99D47367-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\{CD76ACB9-958A-11E9-B634-005056BC7934}.dat
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active\RecoveryStore.{CD76ACB7-958A-11E9-B634-005056BC7934}.dat

Step 6

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%\Microsoft\Windows\DNTException
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host\upnphost
  • %All Users Profile%\Microsoft\Windows\Caches
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches
  • %Application Data%\Microsoft\Windows\IECompatCache
  • %Application Data%\Microsoft\Windows\PrivacIE
  • %Windows%\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\UPnP Device Host
  • %AppDataLocal%\Microsoft\Internet Explorer\Recovery\High\Active
  • %Application Data%\Microsoft\Windows\IECompatUACache

Step 7

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.URSNIF.THJBBAI. 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 the following Trend Micro Support pages for more information:

Step 8

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\Caches\{AFBF9F1A-8EE8-4C77-AF34-C647E37CA0D9}.1.ver0x0000000000000000.db
  • %AppDataLocal%Low\Microsoft\Internet Explorer\Services\search_{0633EE93-D776-472f-A0FF-E1416B8B2E3A}.ico

Step 9

Restore these deleted registry keys/values from backup

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

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{72853161-30C5-4D22-B7F9-0BBC1D38A37E}
    • NewInstallPromptCount
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{72853161-30C5-4D22-B7F9-0BBC1D38A37E}
    • CompatBlockPromptCount
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{761497BB-D6F0-462C-B6EB-D4DAF1D92D43}
    • NewInstallPromptCount
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{761497BB-D6F0-462C-B6EB-D4DAF1D92D43}
    • CompatBlockPromptCount
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{DBC80044-A445-435B-BC74-9C25C1C588A9}
    • NewInstallPromptCount
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{DBC80044-A445-435B-BC74-9C25C1C588A9}
    • CompatBlockPromptCount


Did this description help? Tell us how we did.