WORM64_WMINE.A

 Analysis by: Wilbert Vidal

 PLATFORM:

Windows

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware

This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It arrives as a component bundled with malware/grayware packages.

It takes advantage of software vulnerabilities to propagate across networks.

It connects to certain websites to send and receive information. However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size:

505,856 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

04 May 2018

Arrival Details

This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It arrives as a component bundled with malware/grayware packages.

Installation

This Worm adds the following folders:

  • %Windows%\SpeechsTracing
  • %Windows%\SpeechsTracing\Microsoft

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

It drops the following files:

  • %Windows%\SpeechsTracing\Crypt - ZIP file containing files required for Eternalblue-DoublePulsar exploit, deleted afterwards.

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

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • {F5175396-40C2-0218-278D6EE}

Propagation

This Worm takes advantage of the following software vulnerabilities to propagate across networks:

Other Details

This Worm connects to the following website to send and receive information:

  • http://er{BLOCKED}.{BLOCKED}endecr.com:8080/error
  • http://ta{BLOCKED}.{BLOCKED}endecr.com/tasks
  • http://er{BLOCKED}.{BLOCKED}endecr.com:8080/log
  • http://sc{BLOCKED}.{BLOCKED}endecr.com/status

It requires the following additional components to properly run:

  • %System%\EnrollCertXaml.dll - contains files required for Eternalblue-Doublepulsar exploit

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

It does the following:

  • It scans hosts on the Local Area Network and checks if the port 445 is available.
    It will then attempt to exploit MS17-010 vulnerability to inject and execute one of the following files on the remote host:
    • %Windows%\SpeechsTracing\Microsoft\x86.dll - for 32-bit OS, detected as TROJ_WMINE.B
    • %Windows%\SpeechsTracing\Microsoft\x64.dll - for 64-bit OS, detected as TROJ64_WMINE.B
  • It drops the following files, extracted from the ZIP file:
    • %Windows%\SpeechsTracing\Microsoft\adfw-2.dll
    • %Windows%\SpeechsTracing\Microsoft\adfw.dll
    • %Windows%\SpeechsTracing\Microsoft\cnli-0.dll
    • %Windows%\SpeechsTracing\Microsoft\cnli-1.dll
    • %Windows%\SpeechsTracing\Microsoft\coli-0.dll
    • %Windows%\SpeechsTracing\Microsoft\crli-0.dll
    • %Windows%\SpeechsTracing\Microsoft\dmgd-1.dll
    • %Windows%\SpeechsTracing\Microsoft\dmgd-4.dll
    • %Windows%\SpeechsTracing\Microsoft\esco-0.dll
    • %Windows%\SpeechsTracing\Microsoft\etch-0.dll
    • %Windows%\SpeechsTracing\Microsoft\etchCore-0.x64.dll
    • %Windows%\SpeechsTracing\Microsoft\etchCore-0.x86.dll
    • %Windows%\SpeechsTracing\Microsoft\eteb-2.dll
    • %Windows%\SpeechsTracing\Microsoft\etebCore-2.x64.dll
    • %Windows%\SpeechsTracing\Microsoft\etebCore-2.x86.dll
    • %Windows%\SpeechsTracing\Microsoft\Eternalblue-2.2.0.fb
    • %Windows%\SpeechsTracing\Microsoft\Eternalchampion-2.0.0.fb
    • %Windows%\SpeechsTracing\Microsoft\exma-1.dll
    • %Windows%\SpeechsTracing\Microsoft\exma.dll
    • %Windows%\SpeechsTracing\Microsoft\iconv.dll
    • %Windows%\SpeechsTracing\Microsoft\libcurl.dll
    • %Windows%\SpeechsTracing\Microsoft\libeay32.dll
    • %Windows%\SpeechsTracing\Microsoft\libiconv-2.dll
    • %Windows%\SpeechsTracing\Microsoft\libxml2.dll
    • %Windows%\SpeechsTracing\Microsoft\out.dll
    • %Windows%\SpeechsTracing\Microsoft\pcla-0.dll
    • %Windows%\SpeechsTracing\Microsoft\pcre-0.dll
    • %Windows%\SpeechsTracing\Microsoft\pcrecpp-0.dll
    • %Windows%\SpeechsTracing\Microsoft\pcreposix-0.dll
    • %Windows%\SpeechsTracing\Microsoft\posh-0.dll
    • %Windows%\SpeechsTracing\Microsoft\posh.dll
    • %Windows%\SpeechsTracing\Microsoft\pytrch.py
    • %Windows%\SpeechsTracing\Microsoft\pytrch.pyc
    • %Windows%\SpeechsTracing\Microsoft\riar-2.dll
    • %Windows%\SpeechsTracing\Microsoft\riar.dll
    • %Windows%\SpeechsTracing\Microsoft\spoolsv.xml - configuration file, detected as TROJ_ETEROCK.C
    • %Windows%\SpeechsTracing\Microsoft\ssleay32.dll
    • %Windows%\SpeechsTracing\Microsoft\svchost.xml - configuration file, detected as TROJ_ETEROCK.C
    • %Windows%\SpeechsTracing\Microsoft\tibe-1.dll
    • %Windows%\SpeechsTracing\Microsoft\tibe-2.dll
    • %Windows%\SpeechsTracing\Microsoft\tibe.dll
    • %Windows%\SpeechsTracing\Microsoft\trch-0.dll
    • %Windows%\SpeechsTracing\Microsoft\trch-1.dll
    • %Windows%\SpeechsTracing\Microsoft\trch.dll
    • %Windows%\SpeechsTracing\Microsoft\trfo-0.dll
    • %Windows%\SpeechsTracing\Microsoft\trfo-2.dll
    • %Windows%\SpeechsTracing\Microsoft\trfo.dll
    • %Windows%\SpeechsTracing\Microsoft\tucl-1.dll
    • %Windows%\SpeechsTracing\Microsoft\tucl.dll
    • %Windows%\SpeechsTracing\Microsoft\ucl.dll
    • %Windows%\SpeechsTracing\Microsoft\xdvl-0.dll
    • %Windows%\SpeechsTracing\Microsoft\zibe.dll
    • %Windows%\SpeechsTracing\Microsoft\zlib1.dll
    • %Windows%\SpeechsTracing\Microsoft\_pytrch.pyd
    • %Windows%\SpeechsTracing\Microsoft\x86.dll - detected as TROJ_WMINE.B
    • %Windows%\SpeechsTracing\Microsoft\x64.dll - detected as TROJ64_WMINE.B
    • %Windows%\SpeechsTracing\Microsoft\stage1.txt - log file
    • %Windows%\SpeechsTracing\Microsoft\stage2.txt - log file
    • %Windows%\SpeechsTracing\Microsoft\spoolsv.exe - detected as TROJ_EQUATED.J, executed afterwards
    • %Windows%\SpeechsTracing\Microsoft\svchost.exe - detected as TROJ_EQUATED.J, executed afterwards

However, as of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.286.02

FIRST VSAPI PATTERN DATE:

31 May 2018

VSAPI OPR PATTERN File:

14.287.00

VSAPI OPR PATTERN Date:

01 Jun 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

Search and delete these files

[ 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.
  • %Windows%\SpeechsTracing\Microsoft\adfw-2.dll
  • %Windows%\SpeechsTracing\Microsoft\adfw.dll
  • %Windows%\SpeechsTracing\Microsoft\cnli-0.dll
  • %Windows%\SpeechsTracing\Microsoft\cnli-1.dll
  • %Windows%\SpeechsTracing\Microsoft\coli-0.dll
  • %Windows%\SpeechsTracing\Microsoft\crli-0.dll
  • %Windows%\SpeechsTracing\Microsoft\dmgd-1.dll
  • %Windows%\SpeechsTracing\Microsoft\dmgd-4.dll
  • %Windows%\SpeechsTracing\Microsoft\esco-0.dll
  • %Windows%\SpeechsTracing\Microsoft\etch-0.dll
  • %Windows%\SpeechsTracing\Microsoft\etchCore-0.x64.dll
  • %Windows%\SpeechsTracing\Microsoft\etchCore-0.x86.dll
  • %Windows%\SpeechsTracing\Microsoft\eteb-2.dll
  • %Windows%\SpeechsTracing\Microsoft\etebCore-2.x64.dll
  • %Windows%\SpeechsTracing\Microsoft\etebCore-2.x86.dll
  • %Windows%\SpeechsTracing\Microsoft\Eternalblue-2.2.0.fb
  • %Windows%\SpeechsTracing\Microsoft\Eternalchampion-2.0.0.fb
  • %Windows%\SpeechsTracing\Microsoft\exma-1.dll
  • %Windows%\SpeechsTracing\Microsoft\exma.dll
  • %Windows%\SpeechsTracing\Microsoft\iconv.dll
  • %Windows%\SpeechsTracing\Microsoft\libcurl.dll
  • %Windows%\SpeechsTracing\Microsoft\libeay32.dll
  • %Windows%\SpeechsTracing\Microsoft\libiconv-2.dll
  • %Windows%\SpeechsTracing\Microsoft\libxml2.dll
  • %Windows%\SpeechsTracing\Microsoft\out.dll
  • %Windows%\SpeechsTracing\Microsoft\pcla-0.dll
  • %Windows%\SpeechsTracing\Microsoft\pcre-0.dll
  • %Windows%\SpeechsTracing\Microsoft\pcrecpp-0.dll
  • %Windows%\SpeechsTracing\Microsoft\pcreposix-0.dll
  • %Windows%\SpeechsTracing\Microsoft\posh-0.dll
  • %Windows%\SpeechsTracing\Microsoft\posh.dll
  • %Windows%\SpeechsTracing\Microsoft\pytrch.py
  • %Windows%\SpeechsTracing\Microsoft\pytrch.pyc
  • %Windows%\SpeechsTracing\Microsoft\riar-2.dll
  • %Windows%\SpeechsTracing\Microsoft\riar.dll
  • %Windows%\SpeechsTracing\Microsoft\spoolsv.xml
  • %Windows%\SpeechsTracing\Microsoft\ssleay32.dll
  • %Windows%\SpeechsTracing\Microsoft\svchost.xml
  • %Windows%\SpeechsTracing\Microsoft\tibe-1.dll
  • %Windows%\SpeechsTracing\Microsoft\tibe-2.dll
  • %Windows%\SpeechsTracing\Microsoft\tibe.dll
  • %Windows%\SpeechsTracing\Microsoft\trch-0.dll
  • %Windows%\SpeechsTracing\Microsoft\trch-1.dll
  • %Windows%\SpeechsTracing\Microsoft\trch.dll
  • %Windows%\SpeechsTracing\Microsoft\trfo-0.dll
  • %Windows%\SpeechsTracing\Microsoft\trfo-2.dll
  • %Windows%\SpeechsTracing\Microsoft\trfo.dll
  • %Windows%\SpeechsTracing\Microsoft\tucl-1.dll
  • %Windows%\SpeechsTracing\Microsoft\tucl.dll
  • %Windows%\SpeechsTracing\Microsoft\ucl.dll
  • %Windows%\SpeechsTracing\Microsoft\xdvl-0.dll
  • %Windows%\SpeechsTracing\Microsoft\zibe.dll
  • %Windows%\SpeechsTracing\Microsoft\zlib1.dll
  • %Windows%\SpeechsTracing\Microsoft\_pytrch.pyd
  • %Windows%\SpeechsTracing\Microsoft\x86.dll
  • %Windows%\SpeechsTracing\Microsoft\x64.dll
  • %Windows%\SpeechsTracing\Microsoft\stage1.txt
  • %Windows%\SpeechsTracing\Microsoft\stage2.txt
  • %Windows%\SpeechsTracing\Microsoft\spoolsv.exe
  • %Windows%\SpeechsTracing\Microsoft\svchost.exe
  • %System%\EnrollCertXaml.dll
  • %Windows%\SpeechsTracing\Crypt

Step 5

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.
  • %Windows%\SpeechsTracing
  • %Windows%\SpeechsTracing\Microsoft

Step 6

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

Download and apply this security patch Refrain from using these products until the appropriate patches have been installed. Trend Micro advises users to download critical patches upon release by vendors.


Did this description help? Tell us how we did.