Boot.BAT.MEMZ.A

 Analysis by: Mohammed Malubay

 ALIASES:

Trojan-Dropper.BAT.Agent(IKARUS);

 PLATFORM:

Windows

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

  • Threat Type: Boot malware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


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

The said files contain data it writes into the MBR (Master Boot Record). It does the said action to enable it to start even before the operating system is loaded.

  TECHNICAL DETAILS

File Size:

14,620 bytes

File Type:

BAT

Memory Resident:

Yes

Initial Samples Received Date:

22 May 2020

Arrival Details

This Boot malware 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 Boot malware drops the following files:

  • %Application Data%\MEMZ-Destructive.exe
  • %System Root%\note.txt
  • {original filepath}\x
  • {original filepath}\x.js
  • {original filepath}\z.zip

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

It adds the following processes:

  • cscript x.js
  • "%Application Data%\MEMZ-Destructive.exe"
  • "%Application Data%\MEMZ-Destructive.exe" /watchdog
  • "%Application Data%\MEMZ-Destructive.exe" /main
  • "%System%\notepad.exe" \note.txt
  • "%Program Files%\Internet Explorer\iexplore.exe" -nohome
  • Random Windows Default Applications/Configurations (e.g. notepad, taskmanager, calculator, etc.)

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

Autostart Technique

This Boot malware e said files contain data it writes into the MBR (Master Boot Record). It does the said action to enable it to start even before the operating system is loaded.

Other Details

This Boot malware does the following:

  • Prompts user in allowing malware payload
  • Searches random subjects on google.co.ck using Internet Explorer
  • Periodically inverts screen color
  • Randomly prompts message boxes
  • Randomly moves the cursor
  • Randomly opens Windows Default Applications/Configurations (calc.exe, msconf etc.)
  • Upon restart, user will be unable to proceed to Windows and will instead show a Nyan Cat with counter
  • Plays sound during payload
  • Modifies cursor to have an error icon to follow it

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.892.02

FIRST VSAPI PATTERN DATE:

26 May 2020

VSAPI OPR PATTERN File:

15.893.00

VSAPI OPR PATTERN Date:

27 May 2020

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

Restore your system's Master Boot Record (MBR)

To restore your system's Master Boot Record (MBR):

• On Windows 7 and Server 2008 (R2):

  1. Insert your Windows Installation DVD into the DVD drive, then press the restart button on your computer.
  2. When prompted, press any key to boot from the DVD.
  3. Depending on your Windows Installation DVD, you might be required to choose the installation language. On the Install Windows window, choose your language, locale, and keyboard layout or input method. Click Repair your computer.
  4. Select Use recovery tools that can help fix problems starting Windows. Select your installation of Windows. Click Next.
  5. If the Startup Repair window appears, click Cancel, Yes, then Finish.
  6. In the System Recovery Options menu, click Command Prompt.
  7. In the Command Prompt window, type the following then press Enter:
    BootRec.exe /fixmbr
  8. Type exit and press Enter to close the Command Prompt window.
  9. Click Restart to restart your computer normally.

• On Windows 8, 8.1, 10, and Server 2012:

  1. Insert your Windows Installation DVD in the DVD drive, then restart your computer.
  2. When prompted, press any key to boot from the DVD.
  3. Depending on your Windows Installation DVD, you might be required to select the keyboard layout. Then on the Windows Setup window, choose your language, locale, and input method. Click Next, then click Repair your computer.
  4. Click Troubleshoot>Advanced Options>Command Prompt.
  5. In the Command Prompt window, type the following then press Enter:
    BootRec.exe /fixmbr
  6. Type exit and press Enter to close the Command Prompt window.
  7. Click Continue to restart the system normally.

Step 4

Search and delete this file

[ 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.
  • %Application Data%\MEMZ-Destructive.exe
  • %System Root%\note.txt
  • {original filepath}\x
  • {original filepath}\x.js
  • {original filepath}\z.zip

Step 5

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


Did this description help? Tell us how we did.