BKDR_FARFLI.JS
Trojan:Win32/Beaugrit.gen!AAA (Microsoft); Trojan.Gen (Symantec); HEUR:Trojan.Win32.Generic (Kaspersky); Trojan.Win32.Zegost.lt (v) (Sunbelt); Trojan horse BackDoor.Generic_r.BSW (AVG)
Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

Threat Type: Backdoor
Destructiveness: No
Encrypted:
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 deletes itself after execution.
TECHNICAL DETAILS
47,104 bytes
EXE
Yes
26 Jul 2014
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:
- %Windows%\Terms.EXE
(Note: %Windows% is the Windows folder, which is usually C:\Windows.)
Autostart Technique
This backdoor adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Cao360 = "%Windows%\Terms.EXE"
It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Protection program
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Cwyhko iwexue
Other System Modifications
This backdoor adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Protection program
ReleiceName = "Cwyhko iwexue"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Cwyhko iwexue
ConnectGroup = "ĬÈÏ·Ö×é"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Cwyhko iwexue
MarkTime = "2014-07-24 07:29"
Dropping Routine
This backdoor drops the following files:
- %System Root%\9950.vbs
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)
Other Details
This backdoor connects to the following possibly malicious URL:
- {BLOCKED}28.229
It deletes itself after execution.
This report is generated via an automated analysis system.
SOLUTION
9.700
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
Restart in Safe Mode
Step 3
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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Protection program
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Cwyhko iwexue
Step 4
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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Cao360 = "%Windows%\Terms.EXE"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Protection program
- ReleiceName = "Cwyhko iwexue"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Cwyhko iwexue
- ConnectGroup = "ĬÈÏ·Ö×é"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Cwyhko iwexue
- MarkTime = "2014-07-24 07:29"
Step 5
Search and delete this file
- %System Root%\9950.vbs
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_FARFLI.JS. 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.