TROJ_MYBIOS.AB

 Modified by: Karl Dominguez

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

This malware is a Basic input/output system (BIOS) and Master Boot Record (MBR) infector.

This Trojan may be downloaded by other malware/grayware/spyware from remote sites. It may be unknowingly downloaded by a user while visiting malicious websites.

  TECHNICAL DETAILS

File Size:

139,776 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

19 Aug 2011

Payload:

Downloads files

Arrival Details

This Trojan may be downloaded by other malware/grayware/spyware from remote sites.

It may be unknowingly downloaded by a user while visiting malicious websites.

Installation

This Trojan drops the following files:

  • %System%\drivers\bios1.sys - used to flash the BIOS
  • %User Temp%\cbrom.exe - legitimate Award Bios Editor
  • %User Temp%\hook.rom - contains the malicious boot sector codes.
  • %Windows%\flash.dll - used to load the malicious bios.sys
  • c:\my.sis - responsible for protecting and hiding the infected boot sector.
  • c:\bios.bin - contains the BIOS codes
  • %System%\drivers\bios2.sys - copy of bios1.sys

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

NOTES:

This malware is a Basic input/output system (BIOS) and Master Boot Record (MBR) infector.

To load its component files, the malware stops the service "Beep". It replaces the legitimate file beep.sys in the %System%\drivers and %System%\dllcache with its own driver:

  • The legitimate file %System%\drivers\beep.sys is renamed to %System%\drivers\beep.sys.bak
  • The malicious file %System%\drivers\bios1.sys is renamed to %System%\drivers\beep.sys
  • The malicious file %System%\drivers\bios2.sys is renamed to %System%\dllcache\beep.sys

It then starts the service "Beep" again to load its own component. It restores the original files once execution is completed.

It may also use the the file %Windows%\flash.dll to load bios.sys without having to modify the "Beep" service.

This malicious beep.sys/bios.sys is responsible for the I/O communication between user & kernel modes, as well as the undocumented "flashing" method to modify the BIOS.

It checks if the affected system is using Award BIOS and if it does, the malware copies the BIOS into the file c:\bios.bin and checks it if is already infected. If the BIOS is not yet infected, the malware drops the legitimate Award BIOS editor cbrom.exe in %User Temp% and executes the following command:

  • cbrom.exe c:\bios.bin /isa hook.rom

The infected BIOS infects the MBR with the contents of hook.room. If infecting the BIOS fails, it directly infects the MBR with the contents of hook.rom.

The infected MBR patches winlogon.exe or wininit.exe depending on what Windows operating system is installed. The patched code .EXE file downloads a file from the following URL:

  • http://{BLOCKED}5.info:806/test/91/calc.exe

This is also responsible in loading the file c:\my.sys.

The file is saved as c:\calc.exe.

  SOLUTION

Minimum Scan Engine:

9.200

FIRST VSAPI PATTERN FILE:

8.412.09

FIRST VSAPI PATTERN DATE:

19 Aug 2011

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Restore your system’s Master Boot Record (MBR)

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

  1. Insert your Windows Installation CD into your CD-ROM drive or the USB flash drive then restart your computer.
  2. Press the restart button of your computer.
  3. When prompted, press any key to boot from the CD.
  4. When prompted on the Main Menu, type r to enter the Recovery Console.
    (For Windows 2000 users: After pressing r, type c to choose the Recovery Console on the repair options screen.)
  5. When prompted, type your administrator password to log in.
  6. Once logged in, type the drive that contains Windows in the command prompt that appears, and then press Enter.
  7. Type the following then press Enter:
    fixmbr {affected drive}
    (Note: The affected drive is the bootable drive that this malware/grayware has affected. If no device is specified, the MBR will be written in the primary boot drive.)
  8. Type exit to restart the system.

Step 3

Search and delete this file

[ Learn More ]
There may be some component 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.  %System%\drivers\bios1.sys
%System%\drivers\bios2.sys
%User Temp%\cbrom.exe
%User Temp%\hook.rom
%Windows%\flash.dll
c:\my.sis
c:\bios.bin
c:\calc.exe

Step 4

Scan your computer with your Trend Micro product to delete files detected as TROJ_MYBIOS.AB. 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.

NOTES:

To restore the BIOS:

Please visit the website of the hardware's manufacturer of the system for steps on how to flash the BIOS.


Did this description help? Tell us how we did.