Virus:W32/Sality.Q

Classification

Category :

Malware

Type :

Virus

Aliases :

W32/Sality-AA, Win32/Sality.NAJ, PE_SALITY.AS, Worm/PoeBot.81408.A, W32.Sality.Q-2, W32/Sality.x.dll, W32.HLLP.Sality

Summary

Virus:W32/Sality.Q is an appending polymorphic file infector virus that uses an Entry Point Obscuring (EPO) technique. Unlike other file infectors that modify the entry point of the host file to point to the virus code, Sality.Q replaces 122 bytes from the beginning code of the host file with its decryption routine and hides it in its code. It stores the original code 1,422 bytes away from the start of the last section.

Removal

Based on the settings of your F-Secure security product, it will either move the file to the quarantine where it cannot spread or cause harm, or remove it.

A False Positive is when a file is incorrectly detected as harmful, usually because its code or behavior resembles known harmful programs. A False Positive will usually be fixed in a subsequent database update without any action needed on your part. If you wish, you may also:

  • Check for the latest database updates

    First check if your F-Secure security program is using the latest updates, then try scanning the file again.

  • Submit a sample

    After checking, if you still believe the file is incorrectly detected, you can submit a sample of it for re-analysis.

    Note: If the file was moved to quarantine, you need to collect the file from quarantine before you can submit it.

  • Exclude a file from further scanning

    If you are certain that the file is safe and want to continue using it, you can exclude it from further scanning by the F-Secure security product.

    Note: You need administrative rights to change the settings.

Technical Details

Execution

When the infected executable file has been run, it will drop the following DLL components:

  • %windir%\system32\vcmgcd32.dll
  • %windir%\system32\vcmgcd32.dl_

It will then load the vcmgcd32.dll file, which contains the malicious routine. After successfully installing its components, it will then execute the original host file's code to prevent the user from suspecting infection.

Infection

Sality.Q can infect any of the following extensions by searching for files starting from "C:\":

  • .exe
  • .scr

It also infects files with .EXE extensions that are referenced as data in the following registry keys:

  • [HKCU\Software\Microsoft\Windows\CurrentVersion\run]
  • [HLKM\Software\Microsoft\Windows\CurrentVersion\run]

Sality.Q appends itself by creating a new section with a section name of "{random characters}data" and has a size of 20480 Bytes.

Activity

Sality attempts to delete files and processes related to some antivirus products. It also attempts to delete files that it finds with any of the following extensions:

  • .avc
  • .key
  • .vdb

It will try to delete files with filenames starting with any of the following strings:

  • ALER
  • ANDA
  • ANTI
  • AVP
  • BIDEF
  • CLEAN
  • GUAR
  • KAV
  • NOD
  • OUTP
  • SCAN
  • TREN
  • TROJ
  • ZONE

It may also kill processes that starts with the following strings:

  • ANTI
  • ATGUARD
  • AUTOTRACE
  • AVGSERV
  • AVLTMAIN
  • AVP
  • AVPROTECT
  • AVSYNMGR
  • AVXQUAR
  • BIDEF
  • BIDSERVER
  • BIPCP
  • BLACKICE
  • CLEANER
  • DRWATSON
  • DRWEB
  • DRWTSN32
  • ESCANH
  • ICSSUPPNT
  • ICSUPP
  • KAV
  • LOCKDOWN
  • MCAGENT
  • MCUPDATE
  • MGUI
  • NAV
  • NMAIN
  • NOD32
  • NPFMESSENGER
  • NPROTECT
  • NUPGRADE
  • OUTPOST
  • PERISCOPE
  • PINGSCAN
  • PORTDETECTIVE
  • PROTECTX
  • RTVSCAN
  • SAVSCAN
  • TRJSCAN
  • VSMAIN
  • ZONEALARM

It checks for an Internet connection by querying:

  • www.microsoft.com

It then attempts to connect to the following URLs:

  • www.f5ds1jkkk4d.info
  • www.g1ikdcvns3sdsal.info
  • www.h7smcnrwlsdn34fgv.info
  • www.hkukud123ncs.info
  • www.inform1ongung.info
  • www.kukutrustnet.org
  • www.kukutrustnet7.com
  • www.kukutrustnet7.info
  • www.lukki6nd2kdnc.info

Registry

During installation, the worm creates the following mutexes to make sure that only one instance of its .dll component is running in memory:

  • KUKU300a
  • KUKU301a
  • _kuku_joker_v3.09_

It also modifies %windir%\SYSTEM.INI by adding a section called MCIDRV_VER with key DEVICE and putting a random value inside it.Example:

  • [MCIDRV_VER] DEVICE=566828orapm40409

The .DLL component can steal cached passwords and also has key logging capabilities. It is injected in all running processes.