Discovered: August 1, 2007
Updated: August 1, 2007 9:01:39 AM
Also Known As: W32/Romario-A [Sophos], W32/Romario@M [McAfee], RogueMario.A [Panda Software]
Type: Trojan, Worm
Infection Length: 121,599 bytes
Systems Affected: Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows Vista, Windows XP
When the worm executes, it copies itself as the following files:
- %Windir%\winlogon.exe
- %System%\msvbvm60.dll.exe
- C:\explorer.exe
- %UserProfile%\Application Data\Emma.exe
- %UserProfile%\Application Data\Alisa.exe
- %UserProfile%\My Documents\Mario Bross.exe
- %UserProfile%\My Documents\Solitaire Card.exe
- %UserProfile%\My Documents\Minesweeper.exe
- %System%\PANGKALP1NANG.EXE
- %System%\SMUNSA_PKP_GAME.EXE
- C:\Documents and Settings\All Users\Documents\Bola Pantul.exe
- C:\Documents and Settings\All Users\Documents\MyHearts.exe
- C:\Documents and Settings\All Users\Documents\FreeCard.exe
- %SystemDrive%\Game\Minesweeper.exe
- %SystemDrive%\Game\My Heart.exe
- %SystemDrive%\Game\Bola.exe
- %SystemDrive%\Game\Kartu.exe
- %SystemDrive%\Game\Legend.exe
- %SystemDrive%\Game\Smart.exe
- %SystemDrive%\Game\Crazy Mouse.exe
- %SystemDrive%\Game\Text Animation.exe
- %SystemDrive%\Game\Pink Panther.exe
- %SystemDrive%\Game\Start Hide.exe
- %SystemDrive%\Game\XP Button.exe
- %SystemDrive%\Game\Goncang.exe
- %SystemDrive%\Game\Kelap Kelip.exe
- %SystemDrive%\Game\Layar Jatuh.exe
- %SystemDrive%\Game\Dark Screen.exe
- %SystemDrive%\Mario.exe
- %UserProfile%\Application Data\Emira.ini
- %UserProfile%\Application Data\Aliciana.htt
It also creates the following files:
- %Windir%\Tasks\At1.job (a scheduled task to run the worm everyday at a specified time)
- %Temp%\inf[RANDOM].tmp (a clean copy of the Super Mario Brothers game)
- C:\Program Files\mario.exe (clean copy of the Super Mario Brothers game)
- %SystemDrive%\xplorer.exe
- %SystemDrive%\desktop.ini
- %SystemDrive%\Alicia.htt
The worm creates the following registry entries so that it executes whenever Windows starts:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\"wptkjzmep" = "%Windir%\winlogon.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\"SmansaApp" = "%Windir%\winlogon.exe"
It modifies the following registry entries so that it executes whenever Windows starts:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"Shell" = "explorer.exe "C:\explorer.exe""
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"Userinit" = "%System%\userinit.exe, C:\explorer.exe"
The worm then modifies the following registry entries so that it runs when files with the extensions .bat, .com, .pif, and .scr are opened:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\movfile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MPEG File\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VBSFile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\scrfile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\piffile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\comfile\shell\open\command\"(Default)" = "C:\explorer.exe" "%1" %*"
It also modifies the following registry entries to lower security settings:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore\"DisableConfig" = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore\"DisableSR" = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden\"UncheckedValue" = "0"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden\"CheckedValue" = "0"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden\"DefaultValue" = "0"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState\"FullPath" = "1"
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState\"FullPathAddress" = "1"
The worm modifies the following registry entries to change the Internet Explorer Start Page:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\"Start Page" = "http://en.wikipedia.org/wiki/Front_Mission_3"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\"Start Page" = "http://en.wikipedia.org/wiki/Front_Mission_3"
It creates the following registry entries so that it runs in Safe Mode:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot\"AlternateShell" = "C:\explorer.exe"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\SafeBoot\"AlternateShell" = "C:\explorer.exe"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\SafeBoot\"AlternateShell" = "C:\explorer.exe"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\"AlternateShell" = "C:\explorer.exe"
It also modifies the following registry entries:
HKEY_CURRENT_USER\Control Panel\International\"sCountry" = "Mr[REMOVED]"
HKEY_CURRENT_USER\Control Panel\International\"sCurrency" = "Mr[REMOVED]"
HKEY_CURRENT_USER\Control Panel\International\"s1159" = "C++"
HKEY_CURRENT_USER\Control Panel\International\"s2359" = "C++"
HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info\"DefCompany" = "Mr[REMOVED]"
HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info\"DefName" = "Mr[REMOVED]"
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\"BackBitmapShell" = "C:\WINDOWS\Web\Wallpaper\Bliss.bmp"
The worm copies itself to removable drives and network shares as the following files:
- [REMOVABLE DRIVE]\Game\Minesweeper.exe
- [REMOVABLE DRIVE]\Game\My Heart.exe
- [REMOVABLE DRIVE]\Game\Bola.exe
- [REMOVABLE DRIVE]\Game\Kartu.exe
- [REMOVABLE DRIVE]\Game\Legend.exe
- [REMOVABLE DRIVE]\Game\Smart.exe
- [REMOVABLE DRIVE]\Game\Crazy Mouse.exe
- [REMOVABLE DRIVE]\Game\Text Animation.exe
- [REMOVABLE DRIVE]\Game\Pink Panther.exe
- [REMOVABLE DRIVE]\Game\Start Hide.exe
- [REMOVABLE DRIVE]\Game\XP Button.exe
- [REMOVABLE DRIVE]\Game\Goncang.exe
- [REMOVABLE DRIVE]\Game\Kelap Kelip.exe
- [REMOVABLE DRIVE]\Game\Layar Jatuh.exe
- [REMOVABLE DRIVE]\Game\Dark Screen.exe
- [REMOVABLE DRIVE]\Mario.exe
- [REMOVABLE DRIVE]\xplorer.exe
- [REMOVABLE DRIVE]\Alicia.htt
- [REMOVABLE DRIVE]\desktop.ini
The worm then uses Messaging Application Protocol Interface (MAPI) to send email messages with itself as an attachment with the following properties:
Subject:Re: [AN EXISTING SUBJECT IN THE USER'S INBOX]
Message:Hi There, Do You Like Mario Bross ? Test it, and you'll like it ;] !
Attachment:MarioBross.exe
Recommendations
Symantec Security Response encourages all users and administrators to adhere to the following basic security "best practices":
- Use a firewall to block all incoming connections from the Internet to services that should not be publicly available. By default, you should deny all incoming connections and only allow services you explicitly want to offer to the outside world.
- Enforce a password policy. Complex passwords make it difficult to crack password files on compromised computers. This helps to prevent or limit damage when a computer is compromised.
- Ensure that programs and users of the computer use the lowest level of privileges necessary to complete a task. When prompted for a root or UAC password, ensure that the program asking for administration-level access is a legitimate application.
- Disable AutoPlay to prevent the automatic launching of executable files on network and removable drives, and disconnect the drives when not required. If write access is not required, enable read-only mode if the option is available.
- Turn off file sharing if not needed. If file sharing is required, use ACLs and password protection to limit access. Disable anonymous access to shared folders. Grant access only to user accounts with strong passwords to folders that must be shared.
- Turn off and remove unnecessary services. By default, many operating systems install auxiliary services that are not critical. These services are avenues of attack. If they are removed, threats have less avenues of attack.
- If a threat exploits one or more network services, disable, or block access to, those services until a patch is applied.
- Always keep your patch levels up-to-date, especially on computers that host public services and are accessible through the firewall, such as HTTP, FTP, mail, and DNS services.
- Configure your email server to block or remove email that contains file attachments that are commonly used to spread threats, such as .vbs, .bat, .exe, .pif and .scr files.
- Isolate compromised computers quickly to prevent threats from spreading further. Perform a forensic analysis and restore the computers using trusted media.
- Train employees not to open attachments unless they are expecting them. Also, do not execute software that is downloaded from the Internet unless it has been scanned for viruses. Simply visiting a compromised Web site can cause infection if certain browser vulnerabilities are not patched.
- If Bluetooth is not required for mobile devices, it should be turned off. If you require its use, ensure that the device's visibility is set to "Hidden" so that it cannot be scanned by other Bluetooth devices. If device pairing must be used, ensure that all devices are set to "Unauthorized", requiring authorization for each connection request. Do not accept applications that are unsigned or sent from unknown sources.
- For further information on the terms used in this document, please refer to the Security Response glossary.
Writeup By: Asuka Yamamoto