BKDR_VAWTRAK.VFG
Backdoor.Win32.Papras.qno (Kaspersky)
Windows
Threat Type: Backdoor
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It executes commands from a remote malicious user, effectively compromising the affected system.
It modifies the Internet Explorer Zone Settings.
It deletes the initially executed copy of itself.
TECHNICAL DETAILS
Arrival Details
This backdoor 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 backdoor drops the following copies of itself into the affected system:
- %All Users Profile%\Application Data\{random 1}\{random 2}.{random 3 characters} (for Windows XP and below)
- %ProgramData%\{random 1}\{random 2}.{random 3 characters} (for Windows Vista and above)
(Note: %All Users Profile% is the All Users folder, where it usually is C:\Documents and Settings\All Users on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData 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.. %ProgramData% is the Program Data folder, where it usually is C:\Program Files in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData in 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.)
Autostart Technique
This backdoor adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random 1} = "regsvr32.exe "%All Users Profile%\Application Data\{random 1}\{random 2}.{random 3 characters}""
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random 1} = "regsvr32.exe "%ProgramData%\{random 1}\{random 2}.{random 3 characters}""
Other System Modifications
This backdoor adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows\Safer\
CodeIdentifiers
DefaultLevel = "262144"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows\Safer\
CodeIdentifiers
TransparentEnabled = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows\Safer\
CodeIdentifiers
PolicyScope = "0"
HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
NoProtectedModeBanner = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
TabProcGrowth = "0"
Backdoor Routine
This backdoor executes the following commands from a remote malicious user:
- Log keystrokes
- Capture Screenshots
- Open a process
- Install Updates
- List Process
- Inject code to process
- Download and execute files
- Download configuration
It connects to the following URL(s) to send and receive commands from a remote malicious user:
- http://{BLOCKED}e.com/blog/00/post.php
- http://{BLOCKED}ok.com/blog/00/post.php
- http://{BLOCKED}k.com/blog/00/post.php
- http://{BLOCKED}a.com/blog/00/post.php
- http://{BLOCKED}d.com/blog/00/post.php
- http://{BLOCKED}i.com/blog/00/post.php
- http://{BLOCKED}a.com/blog/00/post.php
- http://{BLOCKED}i.com/blog/00/post.php
As of this writing, the said sites are inaccessible.
Web Browser Home Page and Search Page Modification
This backdoor modifies the Internet Explorer Zone Settings.
Information Theft
This backdoor attempts to steal stored account information used in the following installed File Transfer Protocol (FTP) clients or file manager software:
- 3D-FTP
- AceFTP
- BitKinex
- BlazeFtp
- BulletProof FTP
- ClassicFTP
- CoffeeCup Software
- Cyberduck
- DeluxeFTP
- Directory Opus
- EasyFTP
- ExpanDrive
- FarManager
- FastStone Browser
- FFFTP
- FileZilla
- FlashFXP
- Fling FTP
- FreshFTP
- FTP Commander
- FTP Explorer
- FTP Navigator
- FTPGetter
- FTPNow
- FTPRush
- FTPShell
- FTPVoyager
- FTPWare
- FTP++
- GlobalSCAPE CuteFTP 6 Home
- GlobalSCAPE CuteFTP 7 Home
- GlobalSCAPE CuteFTP 8 Home
- GlobalSCAPE CuteFTP
- GlobalSCAPE CuteFTP 8 Professional
- GlobalSCAPE CuteFTP 6 Professional
- GlobalSCAPE CuteFTP 7 Professional
- GlobalSCAPE CuteFTP Lite
- GlobalSCAPE CuteFTP Pro
- Global Downloader
- GoFTP
- LeapFTP
- LeechFTP
- LinasFTP
- My FTP
- NetDrive
- NetSarang
- NexusFile
- NovaFTP
- PuTTY
- RhinoSoft
- Robo-FTP
- SecureFX
- SmartFTP
- SoftX FTP
- Staff-FTP
- Total Commander
- TurboFTP
- UltraFXP
- WebDrive FTP
- WinFTP
- WinSCP
- Windows Commander
- WiseFTP
It attempts to steal stored email credentials from the following:
- IncrediMail
- Microsoft Outlook
- PocoMail
- BatMail
- Thunderbird
- Windows Live Mail
- Windows Mail
It attempts to get stored information such as user names, passwords, and hostnames from the following browsers:
- Epic
- Flock
- K-Meleon
- Mozilla Firefox
- SeaMonkey
- Chrome
Other Details
This backdoor deletes the initially executed copy of itself
NOTES:
It has the capability to setup a VNC (virtual network computing) server to take control of the compromised computer.
It disables SDPY.
It injects code to the all running processes except the following:
- csrss.exe
- smss.exe
- wininit.exe
- services.exe
- svchost.exe
- lsass.exe
- lsm.exe
- winlogon.exe
- taskhost.exe
- regsvr32.exe
- dwm.exe
It checks for the presence of the following security-related directories in %Program Files% and %All Users Profile%\Application Data:
- AVAST Software
- Avira GmbH
- Avira
- Kaspersky Lab
- Kaspersky Lab Setup Files
- DrWeb
- Norton AntiVirus
- ESET
- Agnitum
- Panda Security
- McAfee
- Trend Micro
- BitDefender
- ArcaBit
- Online Solutions
- AnVir Task Manager
- Alwil Software
- Symantec
- AVG
- Xore
- Common Files\Symantec Shared
- a-squared Anti-Malware
- a-squared HiJackFree
- avg8
- AVG
- Doctor Web
- Common Files\Doctor Web
- f-secure
- G DATA
- Common Files\G DATA
- P Tools
- Common Files\P Tools
- P Tools Internet Security
- K7 omputing
- Vns43
- Sunbelt Software
- FRISK Software
- Security Task Manager
- Zillyya Antivirus
- Spyware Terminator
- Lavasoft
- BlockPost
- DefenseWall HIPS
- DefenseWall
- Microsoft Antimalware
- Microsoft Security Essentials
- Sandboxie
- Positive Technologies
- UAenter
- Malwarebytes
- Malwarebyres' Anti-Malware
- Microsoft Security Client
It adds a registry entry under the key below that forces the application to run with restricted privileges:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\Paths\{random generated GUID} ItemData = {blacklisted software path} SaferFlags = 0
It accesses the registry to get a list of installed programs and their uninstall paths:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DisplayName
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UninstallString
SOLUTION
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
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Scan your computer with your Trend Micro product and note files detected as BKDR_VAWTRAK.VFG
Step 4
Restart in Safe Mode
Step 5
Delete this registry value
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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- {random 1} = "regsvr32.exe "%All Users Profile%\Application Data\{random 1}\{random 2}.{random 3 characters}""
- {random 1} = "regsvr32.exe "%All Users Profile%\Application Data\{random 1}\{random 2}.{random 3 characters}""
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- {random 1} = "regsvr32.exe "%ProgramData%\{random 1}\{random 2}.{random 3 characters}""
- {random 1} = "regsvr32.exe "%ProgramData%\{random 1}\{random 2}.{random 3 characters}""
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers
- DefaultLevel = "262144"
- DefaultLevel = "262144"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers
- TransparentEnabled = "1"
- TransparentEnabled = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers
- PolicyScope = "0"
- PolicyScope = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- NoProtectedModeBanner = "1"
- NoProtectedModeBanner = "1"
- In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- TabProcGrowth = "0"
- TabProcGrowth = "0"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\Paths\{random generated GUID}
- ItemData = "{blacklisted software path}"
- ItemData = "{blacklisted software path}"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\Paths\{random generated GUID}
- SaferFlags = "0"
- SaferFlags = "0"
Step 6
Reset Internet security settings
Step 7
Reset Internet privacy settings
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_VAWTRAK.VFG. 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.