TROJ_SIREFEF.MT


 ALIASES:

TrojanDropper:Win32/Sirefef.B, TrojanDownloader:Win32/Harnig.S, Backdoor:Win32/Cycbot.G, Trojan:Win3 (Microsoft); [3.nsis]:Generic BackDoor.rz, [4.nsis]:Generic.bfr!cu, [5.nsis]:BackDoor-EXI.gen.ab, [6.nsis]:Hiloti (McAfee); Trojan.Gen (Symantec); ARC:NSIS, ARC:[$PLUGINSDIR\Hosseini, Khaled - A Thousand Splendid Suns.exe]:RAR, [$PLUGINSDIR\ic5.ex (Kaspersky); Trojan.Win32.Sirefef.b (v), Trojan-Downloader.Win32.Harnig, Trojan.Win32.FakeAV.IS (v), Trojan.Win32 (Sunbelt); Trojan.Sirefef.DK (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.

  TECHNICAL DETAILS

File Size:

958,476 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

05 Nov 2012

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:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nse3.tmp
  • %User Profile%\Application Data\68AD0
  • %Program Files%\LP
  • %Program Files%\LP\2926

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %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.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.. %Program Files% is the default Program Files folder, usually C:\Program Files.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
056.exe = "%Program Files%\LP\2926\056.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Ccuqiyetasoyuy = "rundll32.exe %Windows%\kbnhil.dll,Startup"

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\.netbt

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\nsi1.tmp
  • %User Temp%\nse3.tmp
  • %User Profile%\wevtapi.dll
  • %User Profile%\taskmgr.exe
  • %User Temp%\1756172240
  • %User Temp%\sqpvrlh.exe

(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, XP, and Server 2003.. %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.)

It adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Ytaveqetalajoqi

HKEY_LOCAL_MACHINE\Software\Classes\
Interface\{58633341-5816-2bc7-2251-cb7edbdd0cf8}

HKEY_CURRENT_USER\Software\WinRAR

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Ytaveqetalajoqi
Fvatub = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Ytaveqetalajoqi
Ftolimupe = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{58633341-5816-2bc7-2251-cb7edbdd0cf8}
u = "3343553"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\.netbt
Type = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\.netbt
Start = "3"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\.netbt
ImagePath = "\*"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Ytaveqetalajoqi
Ukiwuqa = "201"

HKEY_CURRENT_USER\Software\WinRAR
HWID = "{random values}"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\wscsvc
Start = "3"

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

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\nsy2.tmp
  • %User Temp%\nse3.tmp\Hosseini, Khaled - A Thousand Splendid Suns.exe
  • %User Temp%\nse3.tmp\ic5.exe
  • %User Temp%\nse3.tmp\2 Gansta.exe
  • %User Temp%\nse3.tmp\3R2R.exe
  • %User Temp%\nse3.tmp\4tbp.exe
  • %Program Files%\LP\2926\4.tmp
  • %Program Files%\LP\2926\056.exe
  • %Windows%\kbnhil.dll
  • U
  • L
  • 223f9631\L\enixkeeo

(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, XP, and Server 2003.. %Program Files% is the default Program Files folder, usually C:\Program Files.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}er.com/dpxezto/ctbidkjq.php?{random characters}
  • http://{BLOCKED}er.com/dpxezto/izucahpkip.php?{random characters}
  • http://{BLOCKED}me.com/dpxezto/ctbidkjq.php?{random characters}

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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
    • .netbt
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
    • Ytaveqetalajoqi
  • In HKEY_LOCAL_MACHINE\Software\Classes\Interface
    • {58633341-5816-2bc7-2251-cb7edbdd0cf8}
  • In HKEY_CURRENT_USER\Software
    • WinRAR

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • 056.exe = "%Program Files%\LP\2926\056.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • Ccuqiyetasoyuy = "rundll32.exe %Windows%\kbnhil.dll,Startup"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ytaveqetalajoqi
    • Fvatub = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ytaveqetalajoqi
    • Ftolimupe = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{58633341-5816-2bc7-2251-cb7edbdd0cf8}
    • u = "3343553"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.netbt
    • Type = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.netbt
    • Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\.netbt
    • ImagePath = "\*"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ytaveqetalajoqi
    • Ukiwuqa = "201"
  • In HKEY_CURRENT_USER\Software\WinRAR
    • HWID = "{random values}"

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_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wscsvc
    • From: Start = "3"
      To: Start = ""2""

Step 6

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 Temp%\nsy2.tmp
  • %User Temp%\nse3.tmp\Hosseini, Khaled - A Thousand Splendid Suns.exe
  • %User Temp%\nse3.tmp\ic5.exe
  • %User Temp%\nse3.tmp\2 Gansta.exe
  • %User Temp%\nse3.tmp\3R2R.exe
  • %User Temp%\nse3.tmp\4tbp.exe
  • %Program Files%\LP\2926\4.tmp
  • %Program Files%\LP\2926\056.exe
  • %Windows%\kbnhil.dll
  • U
  • L
  • 223f9631\L\enixkeeo

Step 7

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.
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nse3.tmp
  • %User Profile%\Application Data\68AD0
  • %Program Files%\LP
  • %Program Files%\LP\2926

Step 8

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

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.

  • %User Temp%\nsi1.tmp
  • %User Temp%\nse3.tmp
  • %User Profile%\wevtapi.dll
  • %User Profile%\taskmgr.exe
  • %User Temp%\1756172240
  • %User Temp%\sqpvrlh.exe


Did this description help? Tell us how we did.