ALIASES:

Trojan:Win32/Emotet (Microsoft); Trojan.Win32.Staser.cpmy (Kaspersky); Troj/Emotet-BME (Sophos)

 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.

It deletes itself after execution.

  TECHNICAL DETAILS

File Size: 307,712 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 11 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:

  • %User Temp%\8ad9da561a897dbe4f351860404005e26d856032.exe --2d394bd4
  • "%Windows%\SysWOW64\footpublish.exe"
  • %Windows%\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe
  • %System%\svchost.exe -k LocalServiceAndNoImpersonation
  • %Windows%\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe
  • %System%\sppsvc.exe
  • "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
  • %Windows%\SysWOW64\footpublish.exe --12829537
  • %Windows%\SysWOW64\o66wjncrvpqr3f.exe --e7cb06db
  • fsquirt.exe -Register
  • "%Windows%\SysWOW64\footpublish.exe" /scomma "%Windows%\TEMP\18EC.tmp"
  • "%Windows%\SysWOW64\footpublish.exe" "%Windows%\TEMP\18FD.tmp"
  • "%Windows%\SysWOW64\footpublish.exe" "%Windows%\TEMP\1AC3.tmp"
  • "%Windows%\SysWOW64\footpublish.exe" /scomma "%Windows%\TEMP\1AC2.tmp"
  • "%Windows%\SysWOW64\footpublishb.exe" "%Windows%\TEMP\1AC3.tmp"
  • "%Windows%\SysWOW64\footpublisha.exe" "%Windows%\TEMP\18FD.tmp"

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

It creates the following folders:

  • %AppDataLocal%\Microsoft\Windows\Burn\Burn
  • %User Temp%\WPDNSE
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft

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

Autostart Technique

This Trojan Spy registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\footpublish
ImagePath = "%Windows%\SysWOW64\footpublish.exe"

Other System Modifications

This Trojan Spy deletes the following files:

  • %Windows%\SysWOW64\nextbased.exe
  • %Windows%\Temp\18EC.tmp
  • %Windows%\SysWOW64\footpublish.exe:Zone.Identifier
  • %Windows%\Temp\18FD.tmp
  • %Windows%\Temp\1AC2.tmp
  • %Windows%\Temp\1AC3.tmp

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following registry keys:

HKEY_USERS\.DEFAULT\SOFTWARE\
Local AppWizard-Generated Applications

HKEY_USERS\.DEFAULT\SOFTWARE\
Local AppWizard-Generated Applications\MFCBind

HKEY_USERS\.DEFAULT\SOFTWARE\
Local AppWizard-Generated Applications\MFCBind\Recent File List

HKEY_USERS\.DEFAULT\SOFTWARE\
Local AppWizard-Generated Applications\MFCBind\Settings

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}\
Current Media

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\HomeGroup\
UIStatusCache

It adds the following registry entries:

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
Drive Type = "16"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
IsImapiDataBurnSupported = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
DriveNumber = "3"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
StagingPath = "%AppDataLocal%\Microsoft\Windows\Burn\Burn"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
Active = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\HomeGroup\
UIStatusCache
UIStatus = "560"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\HomeGroup\
UIStatusCache
OnlyMember = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\footpublish
DisplayName = "footpublish"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\footpublish
Start = "SERVICE_AUTO_START"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\SSDPSRV
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\Explorer\
CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}\
DriveNumber

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
CD Burning\CD Recorder Drive

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\NlaSvc\Parameters\
Internet\ManualProxies\(Default)

Dropping Routine

This Trojan Spy drops the following files:

  • %All Users Profile%\Microsoft\Network\Downloader\qmgr1.dat
  • %Windows%\SysWOW64\o66WJNCrvPqR3f.exe
  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • %Windows%\SysWOW64\footpublishb.exe
  • %Windows%\SysWOW64\footpublish.exe
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds
  • %All Users Profile%\xec\x8a\xa4\xec\x84\x9c\xec\x8a\xb5\xea\xb7\xb8\xea\xb8\xb8\xeb\x85\x80\xec\x9a\xb0\xeb\xa6\xac\xea\xb0\x80\xec\xa6\x90.exe
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %Windows%\SysWOW64\footpublisha.exe
  • %All Users Profile%\AdHM4orGeXDz249sD.exe
  • %All Users Profile%\Microsoft\Network\Downloader\qmgr0.dat

(Note: %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). . %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).)

Other Details

This Trojan Spy connects to the following possibly malicious URL:

  • http://{BLOCKED}23.144:443/dma
  • http://{BLOCKED}23.144:443/vermont/raster/json
  • http://{BLOCKED}4.105.242:443/usbccid/pnp
  • http://{BLOCKED}195.162:7080/balloon/prep/acquire/merge
  • http://{BLOCKED}195.162:7080/whoami.php
  • http://{BLOCKED}195.162:7080/odbc/enable
  • http://{BLOCKED}.207.142:8080/news.php
  • http://{BLOCKED}195.162:7080/mult/cone/json
  • http://{BLOCKED}.207.142:8080/chunk/cone/json/merge
  • {BLOCKED}.116.137

It deletes itself after execution.

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.EMOTET.THJAOAI

[ 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 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_USERS\.DEFAULT\SOFTWARE
    • Local AppWizard-Generated Applications
  • In HKEY_USERS\.DEFAULT\SOFTWARE\Local AppWizard-Generated Applications
    • MFCBind
  • In HKEY_USERS\.DEFAULT\SOFTWARE\Local AppWizard-Generated Applications\MFCBind
    • Recent File List
  • In HKEY_USERS\.DEFAULT\SOFTWARE\Local AppWizard-Generated Applications\MFCBind
    • Settings
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • Current Media
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\HomeGroup
    • UIStatusCache

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\SYSTEM\CurrentControlSet\services\footpublish
    • Type = "16"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • Drive Type = "16"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Drives\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • IsImapiDataBurnSupported = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • DriveNumber = "3"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • StagingPath = "%AppDataLocal%\Microsoft\Windows\Burn\Burn"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • Active = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\HomeGroup\UIStatusCache
    • UIStatus = "560"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\HomeGroup\UIStatusCache
    • OnlyMember = "0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\footpublish
    • DisplayName = "footpublish"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\footpublish
    • Start = "SERVICE_AUTO_START"

Step 5

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\SSDPSRV
    • From: Type = "16"
      To: Type = ""20""

Step 6

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.
  • %All Users Profile%\Microsoft\Network\Downloader\qmgr1.dat
  • %Windows%\SysWOW64\o66WJNCrvPqR3f.exe
  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • %Windows%\SysWOW64\footpublishb.exe
  • %Windows%\SysWOW64\footpublish.exe
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds
  • %All Users Profile%\xec\x8a\xa4\xec\x84\x9c\xec\x8a\xb5\xea\xb7\xb8\xea\xb8\xb8\xeb\x85\x80\xec\x9a\xb0\xeb\xa6\xac\xea\xb0\x80\xec\xa6\x90.exe
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %Windows%\SysWOW64\footpublisha.exe
  • %All Users Profile%\AdHM4orGeXDz249sD.exe
  • %All Users Profile%\Microsoft\Network\Downloader\qmgr0.dat

Step 7

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.
  • %AppDataLocal%\Microsoft\Windows\Burn\Burn
  • %User Temp%\WPDNSE
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft

Step 8

Scan your computer with your Trend Micro product to delete files detected as TrojanSpy.Win32.EMOTET.THJAOAI. 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 9

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%\SysWOW64\nextbased.exe
  • %Windows%\Temp\18EC.tmp
  • %Windows%\SysWOW64\footpublish.exe:Zone.Identifier
  • %Windows%\Temp\18FD.tmp
  • %Windows%\Temp\1AC2.tmp
  • %Windows%\Temp\1AC3.tmp

Step 10

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\Explorer\CD Burning\StagingInfo\Volume{6fc5adc8-b8bb-11e6-a55b-806e6f6e6963}
    • DriveNumber
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning
    • CD Recorder Drive
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\NlaSvc\Parameters\Internet\ManualProxies
    • (Default)


Did this description help? Tell us how we did.