TROJ_JORIK.BFN


 ALIASES:

PWS:Win32/Zbot (Microsoft); PAK:UPX, Trojan.Win32.Jorik.Zbot.ym (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan.Generic.KDV.390678 (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


This Trojan 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 the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

188,928 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

04 Nov 2011

Arrival Details

This Trojan 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 creates the following folders:

  • %User Profile%\Application Data\Evyf
  • %User Profile%\Application Data\Gonaa

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{58C4EBA0-47A8-AD40-8C85-A85A94978B48} = ""%User Profile%\Evyf\agfuy.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\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\GloballyOpenPorts\
List

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Privacy

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
1hch19ch = "dZusTsNG+ASkeWx/ZTbSipPI4rZqsrXc? ?"

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
21417d8f = {random values}

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
DisableNotifications = 1

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\GloballyOpenPorts\
List
26956:UDP = "26956:UDP:*:Enabled:UDP 26956"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\GloballyOpenPorts\
List
20982:TCP = "20982:TCP:*:Enabled:TCP 20982"

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
ah28agb = {random values}

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
29ee6542 = "GJvNTrsKMUpgNEtTzU8n6l+/Nt5bI2/PI7eOS8PaPy+2OTeYES4qyNqHIp/ICq0f7NS42Vk/0AE=?_CHAR(0x14)_?"

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
1j8b7hb7 = {random values}

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
fgb93a0 = {random values}

HKEY_CURRENT_USER\Software\Microsoft\
Internet Account Manager
Server ID = 4

HKEY_CURRENT_USER\Software\Microsoft\
WAB\WAB4
FirstRun = 1

HKEY_CURRENT_USER\Software\Microsoft\
Ihohv
21417d8f = "SZvNTg==_CHAR(0x07)__CHAR(0x03)_l_CHAR(0x0E)_"

It modifies the following registry entries:

HKEY_CURRENT_USER\Identities
Last Username = "Main Identity"

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

HKEY_CURRENT_USER\Identities
Last User ID = "{341F68BA-C841-4200-A7B4-3D5CFF202166}"

(Note: The default value data of the said registry entry is {5D1D9894-914A-4AF9-BD82-81F349A83013}.)

HKEY_CURRENT_USER\Identities
Identity Login = 9853

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

HKEY_CURRENT_USER\Identities
Identity Ordinal = 2

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\advapi32.dll[MofResourceName] = "LowDateTime:-878345984,HighDateTime:29653303***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\DRIVERS\ACPI.sys[ACPIMOFResource] = "LowDateTime:-1893836544,HighDateTime:29653288***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\DRIVERS\mssmbios.sys[MofResource] = "LowDateTime:246686720,HighDateTime:29653305***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\DRIVERS\intelppm.sys[PROCESSORWMI] = "LowDateTime:1716098048,HighDateTime:29653287***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\DRIVERS\ipnat.sys[IPNATMofResource] = "LowDateTime:741130752,HighDateTime:29653288***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WDM
%System%\Drivers\HTTP.sys[UlMofResource] = "LowDateTime:-2038869248,HighDateTime:29653287***Binary mof compiled successfully"

(Note: The default value data of the said registry entry is LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully.)

Dropping Routine

This Trojan drops the following files:

  • %User Profile%\Evyf\agfuy.exe
  • %User Profile%\Gonaa\egesi.kee

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

Other Details

This Trojan deletes the initially executed copy of itself

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

Restart in Safe Mode

[ Learn More ]

Step 3

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\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts
    • List
  • In HKEY_CURRENT_USER\Software\Microsoft
    • Ihohv
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
    • Privacy

Step 4

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {58C4EBA0-47A8-AD40-8C85-A85A94978B48}=""%User Profile%\Evyf\agfuy.exe""
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • 1hch19ch="dZusTsNG+ASkeWx/ZTbSipPI4rZqsrXc? ?"
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • 21417d8f={random values}
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
    • DisableNotifications=1
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List
    • 26956:UDP="26956:UDP:*:Enabled:UDP 26956"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List
    • 20982:TCP="20982:TCP:*:Enabled:TCP 20982"
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • ah28agb={random values}
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • 29ee6542="GJvNTrsKMUpgNEtTzU8n6l+/Nt5bI2/PI7eOS8PaPy+2OTeYES4qyNqHIp/ICq0f7NS42Vk/0AE=?_CHAR(0x14)_?"
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • 1j8b7hb7={random values}
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • fgb93a0={random values}
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager
    • Server ID=4
  • In HKEY_CURRENT_USER\Software\Microsoft\WAB\WAB4
    • FirstRun=1
  • In HKEY_CURRENT_USER\Software\Microsoft\Ihohv
    • 21417d8f="SZvNTg==_CHAR(0x07)__CHAR(0x03)_l_CHAR(0x0E)_"

Step 5

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_CURRENT_USER\Identities
    • From: Last Username="Main Identity"
      To: Last Username=Main Identity
  • In HKEY_CURRENT_USER\Identities
    • From: Last User ID="{341F68BA-C841-4200-A7B4-3D5CFF202166}"
      To: Last User ID={5D1D9894-914A-4AF9-BD82-81F349A83013}
  • In HKEY_CURRENT_USER\Identities
    • From: Identity Login=9853
      To: Identity Login=98053
  • In HKEY_CURRENT_USER\Identities
    • From: Identity Ordinal=2
      To: Identity Ordinal=1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\advapi32.dll[MofResourceName]="LowDateTime:-878345984,HighDateTime:29653303***Binary mof compiled successfully"
      To: %System%\advapi32.dll[MofResourceName]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\DRIVERS\ACPI.sys[ACPIMOFResource]="LowDateTime:-1893836544,HighDateTime:29653288***Binary mof compiled successfully"
      To: %System%\DRIVERS\ACPI.sys[ACPIMOFResource]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\DRIVERS\mssmbios.sys[MofResource]="LowDateTime:246686720,HighDateTime:29653305***Binary mof compiled successfully"
      To: %System%\DRIVERS\mssmbios.sys[MofResource]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\DRIVERS\intelppm.sys[PROCESSORWMI]="LowDateTime:1716098048,HighDateTime:29653287***Binary mof compiled successfully"
      To: %System%\DRIVERS\intelppm.sys[PROCESSORWMI]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\DRIVERS\ipnat.sys[IPNATMofResource]="LowDateTime:741130752,HighDateTime:29653288***Binary mof compiled successfully"
      To: %System%\DRIVERS\ipnat.sys[IPNATMofResource]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WDM
    • From: %System%\Drivers\HTTP.sys[UlMofResource]="LowDateTime:-2038869248,HighDateTime:29653287***Binary mof compiled successfully"
      To: %System%\Drivers\HTTP.sys[UlMofResource]=LowDateTime:-1618731008,HighDateTime:29653597***Binary mof compiled successfully

Step 6

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\Evyf
  • %User Profile%\Application Data\Gonaa

Step 7

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.
  • %User Profile%\Evyf\agfuy.exe
  • %User Profile%\Gonaa\egesi.kee

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_JORIK.BFN. 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.