PE_MOFKSYS.A-O

 Modified by: Sabrina Lei Sioting

 ALIASES:

PWS:Win32/VB.CU [Microsoft]; W32/Mofksys-B [Sophos]; W32.Gosys [Symantec];

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: File infector

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Infects files, Dropped by other malware, Downloaded from the Internet

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

It uses Windows Task Scheduler to create a scheduled task that executes the dropped copy.

It modifies registry entries to disable various system services. This action prevents most of the system functions to be used.

It prepends its codes to target files.

It executes commands from a remote malicious user, effectively compromising the affected system.

It steals certain information from the system and/or the user.

  TECHNICAL DETAILS

Ports:

Random

File Size:

Varies

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

28 Aug 2011

Payload:

Compromises system security, Steals information, Sends SMS to premium service

Arrival Details

This file infector 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 file infector drops the following copies of itself into the affected system:

  • %Application Data%\mrsys.exe
  • %Windows%\spoolsv.exe
  • %Windows%\svchost.exe
  • %System%\explorer.exe
  • %System Root%\Documents and Settings\All Users\Application Data\stsys.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %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 drops the following non-malicious files:

  • %System%\cmsys.cmn
  • %User Profile%\Application Data\icsys.icn

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 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, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

It uses Windows Task Scheduler to create a scheduled task that executes the dropped copy.

Autostart Technique

This file infector adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\RunOnce
Svchost = "%Windows%\svchost.exe RO"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{Random CLSID}
StubPath = "%Application Data%\mrsys.exe MR"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\RunOnce
Explorer = "%System%\explorer.exe RO"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Explorer = "%System%\explorer.exe RU"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Svchost = "%Windows%\svchost.exe RU"

It modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Shell = "%Windows%\explorer.exe, %System%\explorer.exe"

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

The scheduled task executes the malware at the following period:

  • Everyday at malware's first execution time

Other System Modifications

This file infector adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
Explorer\Process
LO = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Schedule
AtTaskMaxHours = "48"

It adds the following registry keys as part of its installation routine:

HKEY_CURRENT_USER\Software\VB and VBA Program Settings

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
Explorer

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
Explorer\Process

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{{Random CLSID}

It modifies registry entries to disable the following system services:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess
Start = "4"

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

It modifies the following registry entries to hide files with Hidden attributes:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
ShowSuperHidden = "0"

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

File Infection

This file infector infects the following file types:

  • .EXE

It prepends its codes to target files.

Backdoor Routine

This file infector executes the following commands from a remote malicious user:

  • Update itself
  • Download other files
  • Capture screen
  • Log Keystrokes
  • Monitor mouse clicks
  • Monitor window titles

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • {BLOCKED}.t35.com
  • {BLOCKED}.atspace.com
  • {BLOCKED}.zxq.net

Information Theft

This file infector steals the following information:

  • Email configurations
  • - User name
  • - Password
  • - Authenticate status
  • - Use of SSL
  • - SMTP server
  • - SMTP port
  • - recipients
  • Instant messenger credentials
  • Websites visited
  • Clipboard contents

Drop Points

This file infector uses its own SMTP engine to send the stolen data using the following domain server:

  • {BLOCKED}1@gmail.com
  • {BLOCKED}1@gmail.com
  • {BLOCKED}2@gmail.com
  • {BLOCKED}2@gmail.com
  • {BLOCKED}6@gmail.com

NOTES:

It infects all .EXE files inside the folders that was accessed by the user in all physical and removable drives.

It also shares the following folder in the network:

  • %System Root%\Documents and Settings\All User\Application Data

All infected files are detected as PE_MOFKSYS.A.

  SOLUTION

Minimum Scan Engine:

9.200

FIRST VSAPI PATTERN FILE:

8.384.04

FIRST VSAPI PATTERN DATE:

29 Aug 2011

VSAPI OPR PATTERN File:

8.385.00

VSAPI OPR PATTERN Date:

29 Aug 2011

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

Remove the malware/grayware file dropped/downloaded by PE_MOFKSYS.A-O. (Note: Please skip this step if the threat(s) listed below have already been removed.)

    PE_MOFKSYS.A

Step 3

Identify and delete files detected as PE_MOFKSYS.A-O using the Recovery Console

[ Learn More ]

Step 4

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_CURRENT_USER\Software
    • VB and VBA Program Settings

Step 5

Delete the random registry key/s that this malware created

[ 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.

Step 6

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\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
    • Explorer = "%System%\explorer.exe RO"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
    • Svchost = "%Windows%\svchost.exe RO"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Explorer = "%System%\explorer.exe RU"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Svchost = "%Windows%\svchost.exe RU"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
    • AtTaskMaxHours = "48"

Step 7

Restore this modified 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\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: Shell = "%Windows%\explorer.exe, %System%\explorer.exe"
      To: Shell = Explorer.exe
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess
    • From: Start = "4"
      To: Start = 2
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • From: ShowSuperHidden = "0"
      To: ShowSuperHidden = 1

Step 8

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


Did this description help? Tell us how we did.