Skip to content

Export page to PDF
PE_QUERVAR.D-O
Aliases: Trojan.Exprez.B (Symatec), Mal/Behav-104 (Sophos)
Malware type: File infector
Destructive: No
Platform: Windows 2000, Windows XP, Windows Server 2003
In the wild: Yes

Overview


Infection Channel: Downloaded from the Internet, Dropped by other malware

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 creates folders where it drops its files. It injects its dropped file/component to specific processes.

It creates an infection marker in infected files.

Technical Details


File size: 127,488 bytes
File type: EXE
Memory resident: Yes
Initial samples received date: 27 Aug 2012
Payload: Connects to URLs/IPs, Drops files

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 component file(s):

  • %User Profile%\Application Data\{Random Folder}\{Random File name}.EXE.LNK
  • %User Profile%\Application Data\{Random Folder}\{Random File name}.EXE.INI

(Note: %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 drops and executes the following files:

  • %User Profile%\Application Data\{Random folder}\{Random File name}.exe - detected as PE_QUERVAR.D-0

(Note: %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 creates the following folders:

  • %User Profile%\Application Data\{Random Folder}

(Note: %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 injects its dropped file/component to the following processes:

  • csrss.exe

It terminates itself if it finds the following processes in the affected system's memory:

  • taskmgr.exe

Autostart Technique

This file infector modifies the following registry entry(ies) to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
Load = "%User Profile%\Application Data\{Random Folder}\{Random Filename}.EXE.LNK"

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

File Infection

This file infector infects the following file types:

  • EXE
  • DOC
  • DOCX
  • XLS
  • XLSX

It creates an infection marker in infected files.

Other Details

This file infector connects to the following possibly malicious URL:

  • http://windows{BLOCKED}soft.com/update.apx
  • http://{BLOCKED}w.com.br/includes/domit/way.php
  • http://www.{BLOCKED}kes.com/way.php

NOTES:

This file infector renames the extension of the infected file as follows:

  • .DOC to .COD.SCR
  • .DOCX to .XCOD.SCR
  • .XLS to .SLX.SCR
  • .XLSX to .XSLX.SCR

It then deletes the original copy of the infected files. The infected files are already detected by Trend Micro as PE_QUERVAR.D.

Solution


Minimum scan engine: 9.200
First VSAPI Pattern File: 9.354.01
First VSAPI Pattern Release Date: 28 Aug 2012
VSAPI OPR Pattern Version: 9.355.00
VSAPI OPR Pattern Release Date: 28 Aug 2012

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

Scan your computer with your Trend Micro product and note files detected as PE_QUERVAR.D-O

Step 3

Restart in Safe Mode

[ Learn more ]

Step 4

Search and delete these folders

[ Learn more ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %User Profile%\Application Data\{Random Folder}

Step 5

Restore these modified registry values

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


  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
    • From: Load = "%User Profile%\Application Data\{Random Folder}\{Random File name}.EXE.LNK"
      To: Load = ""

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as PE_QUERVAR.D-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.
Analysis By: Jasen Sumalapao

Connect with us on