Trend Micro Security

Trojan.VBS.MALXMR.THEBIBO

2020年6月3日
 解析者: Joshua Paul Ignacio   

 別名:

Trojan.VBS.Obfuscated (IKARUS); VBS/Obfuscated.AF trojan (NOD32)

 プラットフォーム:

Windows

 危険度:
 ダメージ度:
 感染力:
 感染確認数:
 システムへの影響:
 情報漏えい:


  • マルウェアタイプ: トロイの木馬型
  • 破壊活動の有無: なし
  • 暗号化: なし
  • 感染報告の有無: はい

  概要

感染経路 Eメールを介したスパム活動

マルウェアは、他のマルウェアもしくはグレイウェア、または不正リモートユーザによるスパムメールに添付され、コンピュータに侵入します。 マルウェアは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。


  詳細

ファイルサイズ 191,179 bytes
タイプ HTA
メモリ常駐 なし
発見日 2020年5月29日
ペイロード ファイルのダウンロード

侵入方法

マルウェアは、他のマルウェアもしくはグレイウェア、または不正リモートユーザによるスパムメールに添付され、コンピュータに侵入します。

マルウェアは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。

インストール

マルウェアは、以下のファイルを作成します。

マルウェアは、以下のプロセスを追加します。

  • uac {%User Temp%\CMSTP.inf} {Command to execute} (For Windows 10 only)

(註:%User Temp%フォルダは、現在ログオンしているユーザの一時フォルダです。Windows 2000(32-bit)、XP、Server 2003(32-bit)の場合、通常 "C:\Documents and Settings\<ユーザー名>\Local Settings\Temp"です。また、Windows Vista、7、8、8.1、2008(64-bit)、2012(64-bit)、10(64-bit)の場合、通常 "C:\Users\<ユーザ名>\AppData\Local\Temp" です。)

自動実行方法

マルウェアは、自身のコピーがWindows起動時に自動実行されるよう以下のレジストリ値を追加します。

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
CheckIN = powershell -exec bypass -windowStyle hidden -enc {Content of %Public%\Libraries\Content}

感染活動

上記INFファイルには、以下の文字列が含まれています。

[version]
Signature=`$chicago`$
AdvancedINF=2.5

[DefaultInstall]
CustomDestination=CustInstDestSectionAllUsers
RunPreSetupCommands=RunPreSetupCommandsSection

[RunPreSetupCommandsSection]
; Commands Here will be run Before Setup Begins to install
{Command to execute}
taskkill /IM cmstp.exe /F

[CustInstDestSectionAllUsers]
49000,49001=AllUSer_LDIDSection, 7

[AllUSer_LDIDSection]
"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE", "ProfileInstallPath", "%UnexpectedError%", ""

[Strings]
ServiceName="CorpVPN"
ShortSvcName="CorpVPN"

ダウンロード活動

マルウェアは、以下のWebサイトにアクセスして自身のコンポーネントファイルをダウンロードします。

  • https://{BLOCKED}d.ly/Firts
    • redirects to: http://{BLOCKED}xrkbiepyylgdcwrcjimxnfsrbgravivgbannnpnubawpdvekzbdbuqrd.{BLOCKED}.com.ua/uac.txt

その他

マルウェアは、以下を実行します。

  • For Windows 7, it will bypass UAC (User Access Control) by using the Invoke-PsUACme method by using the following parameters:
    • -Payload {Command to execute}
    • -CustomDLL32 {DLL to be used for "method" parameter}
    • -CustomDLL64 {DLL to be used for "method" parameter}
      • If CustomDLL32 and/or CustomDLL64 parameters are not used, it will used the hard-coded DLLs on the script instead.
    • -method
      • method types:
        • Sysrep
        • OOBE
        • ActionQueue
        • migwiz
        • cliconfg
        • winsat
        • mmc
  • For every "method" type used, the contents of the DLL stated on "CustomDLL32/64" parameters or the hard-coded DLL will be written on a created DLL file under %User Temp% in which the name will depend on the "method" type and Windows Build Version.
  • The contents of the created DLL file will then be copied to a created file %User Temp%\uac.cab
  • It will then extract the contents of %User Temp%\uac.cab on a directory using wusa then executes a program that will load the created DLL with elevated privileges.
  • The directory where the contents of %User Temp%\uac.cab will be extracted and executed program are also dependent on the method type used.
  • Below are the following DLL Name, Directory and Executed pragram for each method type and Windows OS Build Version:
    • For Windows 7 and Windows Server 2008 only:
      • Method type: Sysprep
        • DLL Name: %User Temp%\CRYPTBASE.dll
        • Directory: %System%\Sysprep\
        • Executed Program: %System%\Sysprep\sysprep.exe
      • Method type: ActionQueue
        • DLL Name: %User Temp%\ActionQueue.dll
        • Directory: %System%\Sysprep\
        • Executed Program: %System%\Sysprep\sysprep.exe
      • Method type: winsat
        • DLL Name: %User Temp%\ntwdblib.dll
        • Directory: %System%\Sysprep\
        • Executed Program: %System%\Sysprep\winsat.exe
      • Method type: mmc
        • DLL Name: %User Temp%\ntwdblib.dll
        • Directory: %System%\
        • Executed Program: %System%\mmc.exe
    • For Windows 8.1 and Windows Server 2012 only:
      • Method type: Sysprep
        • DLL Name: %User Temp%\shcore.dll
        • Directory: %System%\Sysprep\
        • Executed Program: %System%\Sysprep\sysprep.exe
      • Method type: winsat
        • DLL Name: %User Temp%\devobj.dll
        • Directory: %System%\Sysprep\
        • Executed Program: %System%\Sysprep\winsat.exe
      • Method type: mmc
        • DLL Name: %User Temp%\elsext.dll
        • Directory: %System%\
        • Executed Program: %System%\mmc.exe
    • For both Windows OS Build Versions:
      • Method type: OOBE
        • DLL Name: %User Temp%\wdscore.dll
        • Directory: %System%\oobe\
        • Executed Program: %System%\oobe\setupsqm.exe
      • Method type: migwiz
        • DLL Name: %User Temp%\wdscore.dll
        • Directory: %System%\migwiz\
        • Executed Program: %System%\Sysprep\migwiz.exe
      • Method type: cliconfg
        • DLL Name: %User Temp%\ntwdblib.dll
        • Directory: %System%\
        • Executed Program: %System%\cliconfg.exe

(註:%User Temp%フォルダは、現在ログオンしているユーザの一時フォルダです。Windows 2000(32-bit)、XP、Server 2003(32-bit)の場合、通常 "C:\Documents and Settings\<ユーザー名>\Local Settings\Temp"です。また、Windows Vista、7、8、8.1、2008(64-bit)、2012(64-bit)、10(64-bit)の場合、通常 "C:\Users\<ユーザ名>\AppData\Local\Temp" です。. %System%フォルダは、システムフォルダで、いずれのオペレーティングシステム(OS)でも通常、"C:\Windows\System32" です。.)


  対応方法

対応検索エンジン: 9.850
初回 VSAPI パターンバージョン 15.904.06
初回 VSAPI パターンリリース日 2020年5月29日
VSAPI OPR パターンバージョン 15.905.00
VSAPI OPR パターンリリース日 2020年5月30日

手順 1

Windows XP、Windows Vista 、Windows 7、および Windows 10 のユーザは、コンピュータからマルウェアもしくはアドウェア等を完全に削除するために、ウイルス検索の実行前には必ず「システムの復元」を無効にしてください。

手順 2

このマルウェアもしくはアドウェア等の実行により、手順中に記載されたすべてのファイル、フォルダおよびレジストリキーや値がコンピュータにインストールされるとは限りません。インストールが不完全である場合の他、オペレーティングシステム(OS)の条件によりインストールがされない場合が考えられます。手順中に記載されたファイル/フォルダ/レジストリ情報が確認されない場合、該当の手順の操作は不要ですので、次の手順に進んでください。

手順 3

Windowsをセーフモードで再起動します。

[ 詳細 ]

手順 4

このレジストリ値を削除します。

[ 詳細 ]

警告:レジストリはWindowsの構成情報が格納されているデータベースであり、レジストリの編集内容に問題があると、システムが正常に動作しなくなる場合があります。
レジストリの編集はお客様の責任で行っていただくようお願いいたします。弊社ではレジストリの編集による如何なる問題に対しても補償いたしかねます。
レジストリの編集前にこちらをご参照ください。

 
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • CheckIN = powershell -exec bypass -windowStyle hidden -enc {Content of %Public%\Libraries\Content}

手順 5

以下のファイルを検索し削除します。

[ 詳細 ]
コンポーネントファイルが隠しファイル属性の場合があります。[詳細設定オプション]をクリックし、[隠しファイルとフォルダの検索]のチェックボックスをオンにし、検索結果に隠しファイルとフォルダが含まれるようにしてください。
  • %Public%\Libraries\Content
  • %Public%\Libraries\reg.bat
  • %User Temp%\CMSTP.inf (For Windows 10 only)
  • %User Temp%\CRYPTBASE.dll
  • %User Temp%\ActionQueue.dll
  • %User Temp%\ntwdblib.dll
  • %User Temp%\shcore.dll
  • %User Temp%\devobj.dll
  • %User Temp%\elsext.dll
  • %User Temp%\wdscore.dll

手順 6

最新のバージョン(エンジン、パターンファイル)を導入したウイルス対策製品を用い、ウイルス検索を実行してください。「Trojan.VBS.MALXMR.THEBIBO」と検出したファイルはすべて削除してください。 検出されたファイルが、弊社ウイルス対策製品により既に駆除、隔離またはファイル削除の処理が実行された場合、ウイルスの処理は完了しており、他の削除手順は特にありません。


ご利用はいかがでしたか? アンケートにご協力ください