ALIASES:

TrojanDropper:Win32/Farfli.E (Microsoft); PWS-Lineage!cq (McAfee); Trojan.ADH (Symantec); PAK:UPX (Kaspersky); Trojan.Win32.Generic.pak!cobra (Sunbelt); Generic.Malware.FPVPkg.2018FB48 (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:

  • 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

File Size: 63,503 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 10 May 2012

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.

Other System Modifications

This backdoor deletes the following files:

  • %System%\syslog.dat
  • %System%\Gwxyabcde.gif
  • %System Root%\system32.txt

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.. %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\169264974

HKEY_LOCAL_MACHINE\SOFTWARE\169264974\
Parameters

HKEY_LOCAL_MACHINE\SOFTWARE\128298717

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\169264974\
Parameters
ServiceDll = "%System%\Gwxyabcde.gif"

HKEY_LOCAL_MACHINE\SOFTWARE\128298717
imgsvc = "StiSvc,Vwxyab Defghijk Mno"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\RemoteAccess\RouterManagers\
Ip
DLLPath = "%System Root%\431400.dll"

(Note: The default value data of the said registry entry is {random values}.)

Dropping Routine

This backdoor drops the following files:

  • %System Root%\431400.dll
  • %System Root%\WinWall32.gif
  • %System%\Gwxyabcde.gif

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

Other Details

This backdoor deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.200

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Delete this registry key

[ Learn More ]

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
    • 169264974
  • In HKEY_LOCAL_MACHINE\SOFTWARE\169264974
    • Parameters
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • 128298717

Step 3

Delete this registry value

[ Learn More ]

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\169264974\Parameters
    • ServiceDll = "%System%\Gwxyabcde.gif"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\128298717
    • imgsvc = "StiSvc,Vwxyab Defghijk Mno"

Step 4

Restore this modified registry value

[ Learn More ]

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\ControlSet001\Services\RemoteAccess\RouterManagers\Ip
    • From: DLLPath = "%System Root%\431400.dll"
      To: DLLPath = ""{random values}""

Step 5

Search and delete these files

[ Learn More ]
There may be some component files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %System Root%\431400.dll
  • %System Root%\WinWall32.gif
  • %System%\Gwxyabcde.gif

Step 6

Scan your computer with your Trend Micro product to delete files detected as BKDR_FARFLI.AEP. 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.

Step 7

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %System%\syslog.dat
  • %System%\Gwxyabcde.gif
  • %System Root%\system32.txt


Did this description help? Tell us how we did.