TrojanSpy.Win32.KEYLOG.AF
RDN/Generic PWS.y (McAfee); Trojan.Win32.Generic!BT (Sunbelt)
Windows
Threat Type: Trojan Spy
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This Trojan Spy arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
TECHNICAL DETAILS
724,992 bytes
EXE
Yes
09 Jan 2020
Arrival Details
This Trojan Spy 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 Trojan Spy adds the following processes:
- cmd.exe /c %User Temp%\NewBitmapImage.bmp
- %User Startup%\frqzxach.exe
- %User Temp%\NewBitmapImage.bmp %User Temp%\NewBitmapImage.bmp
- %User Temp%\NewBitmapImage.bmp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows 2003(32-bit), XP and 2000(32-bit), or C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit), 10(64-bit).)
Autostart Technique
This Trojan Spy drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:
- %User Startup%\frqzxach.exe
(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows 2003(32-bit), XP and 2000(32-bit), or C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit), 10(64-bit).)
Other System Modifications
This Trojan Spy adds the following registry keys:
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\namebro
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\namebro
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\vbnbnbv
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\bnnbnvvn
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\tyrggg
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\qwwwweeee
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\iouyutr
It adds the following registry entries:
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\namebro
namebro = "frqzxach"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
Text1 = ""
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
Text1 = "4"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
Text1 = "59"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
Text1 = "0"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Temp%\Text1
Text1 = "perwa{computername}"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Shell Extensions\
Cached
{random string} = "\x01\x00\x00\x00\x00\x00\x00\x00l\x06\xa3\xb2L\xd5\x01"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\namebro
namebro = "qeagsxch"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\vbnbnbv
vbnbnbv = ""
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\bnnbnvvn
bnnbnvvn = "4"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\tyrggg
tyrggg = "59"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\qwwwweeee
qwwwweeee = "0"
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
%User Startup%\iouyutr
iouyutr = "perwa{computername}"
Dropping Routine
This Trojan Spy drops the following files:
- %User Temp%\NewBitmapImage.bmp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Other Details
This Trojan Spy connects to the following possibly malicious URL:
- {BLOCKED}3.153.8
This report is generated via an automated analysis system.
SOLUTION
9.850
Step 1
Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.
Step 2
Restart in Safe Mode
Step 3
Identify and terminate files detected as TrojanSpy.Win32.KEYLOG.AF
- Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
- If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
- If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.
Step 4
Delete this registry key
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\VB and VBA Program Settings\%User Temp%
- namebro
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%
- Text1
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- namebro
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- vbnbnbv
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- bnnbnvvn
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- tyrggg
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- qwwwweeee
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%
- iouyutr
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\VB and VBA Program Settings\%User Temp%\namebro
- namebro = "frqzxach"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%\Text1
- Text1 = ""
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%\Text1
- Text1 = "4"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%\Text1
- Text1 = "59"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%\Text1
- Text1 = "0"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Temp%\Text1
- Text1 = "perwa{computername}"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
- {random string} = "\x01\x00\x00\x00\x00\x00\x00\x00l\x06\xa3\xb2L\xd5\x01"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\namebro
- namebro = "qeagsxch"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\vbnbnbv
- vbnbnbv = ""
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\bnnbnvvn
- bnnbnvvn = "4"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\tyrggg
- tyrggg = "59"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\qwwwweeee
- qwwwweeee = "0"
- In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\%User Startup%\iouyutr
- iouyutr = "perwa{computername}"
Step 6
Search and delete these components
- %User Temp%\NewBitmapImage.bmp
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TrojanSpy.Win32.KEYLOG.AF. 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.