Trend Micro Security

Trojan.BAT.WANNAREN.YPDAP

2023年1月23日
 解析者: Carlos Villegas Madrid   

 プラットフォーム:

Windows

 危険度:
 ダメージ度:
 感染力:
 感染確認数:
 情報漏えい:


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

  概要

感染経路 インターネットからのダウンロード, 他のマルウェアからの作成

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


  詳細

ファイルサイズ 4,601 bytes
タイプ BAT
メモリ常駐 なし
発見日 2023年1月16日
ペイロード システムのレジストリの変更, ファイルの実行

侵入方法

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

インストール

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

  • reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%Public%\PulseSecure\nclauncher.exe" /t REG_SZ /d "RunAsInvoker" /f
  • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%Public%\PulseSecure\nclauncher.exe" /t REG_SZ /d "RunAsInvoker" /f
  • reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
  • reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLinkedConnections /t REG_DWORD /d 1 /f
  • msiexec /I \{Path where the msi file is located}\PulseSecure.msi /qn

(註:%Public%フォルダは、すべてのユーザ共通のファイルまたはフォルダのリポジトリとして機能するフォルダです。Windows Vista、7、8の場合、通常 "C:\Users\Public" です。)

他のシステム変更

マルウェアは、以下のレジストリ値を変更します。

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\AppCompatFlags\
Layers
%Public%\PulseSecure\nclauncher.exe = RunAsInvoker

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\AppCompatFlags\
Layers
%Public%\PulseSecure\nclauncher.exe = RunAsInvoker

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
LocalAccountTokenFilterPolicy = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
EnableLinkedConnections = 1

その他

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

  • It checks the machine's computer name, if match with the specified computer name the script will proceed to exit.
  • It checks the following directory if it exists on the user machine.
    • "%ProgramFiles(x86)%\Trend Micro\OfficeScan Client\PccNTMon.exe"
      • If it exists, it will add a firewall rule to block the following program:
        • {rule name}= XGNtrtscan {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\OfficeScan Client\Ntrtscan.exe"
        • {rule name}= XGTmCCSF {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\OfficeScan Client\TmCCSF.exe"
        • {rule name}= XGTmListen {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\OfficeScan Client\TmListen.exe"
        • {rule name}= XGTmProxy {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\OfficeScan Client\TmProxy.exe"
    • "%ProgramFiles(x86)%\Trend Micro\Security Agent\PccNTMon.exe"
      • If it exists, it will add a firewall rule to block the following program:
        • {rule name}= OneTmListen {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\Security Agent\TmListen.exe"
        • {rule name}= OneTmCCSF {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\Security Agent\TmCCSF.exe"
        • {rule name}= OneNtrtscan {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\Security Agent\Ntrtscan.exe"
        • {rule name}= OneTmProxy {program to be blocked}= "%ProgramFiles(x86)%\Trend Micro\Security Agent\TmProxy.exe"
    • "%ProgramFiles%\Trend Micro\AMSP\"
      • If it exists, it will terminate the following processes and any child processes which started by it.
        • dsa.exe
        • ds_monitor.exe
        • ds_nuagent.exe
        • Notifier.exe
        • coreServiceShell.exe
        • coreFrameworkHost.exe
      • If it exists, it will add a firewall rule to block the following program:
        • {rule name}= coreFrameworkHost {program to be blocked}= "%ProgramFiles%\Trend Micro\AMSP\coreFrameworkHost.exe"
        • {rule name}= coreServiceShell {program to be blocked}= "%ProgramFiles%\Trend Micro\AMSP\coreServiceShell.exe"
    • "%ProgramFiles%\Trend Micro\Deep Security Agent\"
      • If it exists, it will add a firewall rule to blocked the following program:
        • {rule name}= dsa {program to be blocked}= "%ProgramFiles%\Trend Micro\Deep Security Agent\dsa.exe"
        • {rule name}= dsa-connect {program to be blocked}= "%ProgramFiles%\Trend Micro\Deep Security Agent\dsa-connect.exe"
        • {rule name}= Notifier {program to be blocked}= "%ProgramFiles%\Trend Micro\Deep Security Agent\Notifier.exe"
        • {rule name}= dsvp {program to be blocked}= "%ProgramFiles%\Trend Micro\Deep Security Agent\dsvp.exe"
        • {rule name}= nginx {program to be blocked}= "%ProgramFiles%\Trend Micro\Deep Security Agent\nginx.exe"
    • "%ProgramFiles%\Morphisec\bin\"
      • If it exists, it will add a firewall rule to blocked the following program:
        • {rule name}= MorphisecAgent {program to be blocked}= "%ProgramFiles%\Morphisec\bin\MorphisecAgent.exe"
        • {rule name}= MPetpTray {program to be blocked}= "%ProgramFiles%\Morphisec\bin\MPetpTray.exe"
  • It executes the following application if it exists:
    • %Public%\PulseSecure\nclauncher.exe
    • %Public%\PulseSecure\dsNcDiag.dll
    • %Public%\PulseSecure\version.man
    • %Public%\PulseSecure\event.man
      • If the files does not exists, it will proceed to a function callled "install" to execute a file named "PulseSecure.msi"

(註:%Public%フォルダは、すべてのユーザ共通のファイルまたはフォルダのリポジトリとして機能するフォルダです。Windows Vista、7、8の場合、通常 "C:\Users\Public" です。)


  対応方法

対応検索エンジン: 9.800
初回 VSAPI パターンバージョン 18.204.04
初回 VSAPI パターンリリース日 2023年1月19日
VSAPI OPR パターンバージョン 18.205.00
VSAPI OPR パターンリリース日 2023年1月20日

手順 1

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

手順 2

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

手順 3

変更されたレジストリ値を修正します。

[ 詳細 ]

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

 
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    • %Public%\PulseSecure\nclauncher.exe
    • RunAsInvoker
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    • %Public%\PulseSecure\nclauncher.exe
    • RunAsInvoker
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • LocalAccountTokenFilterPolicy
    • 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • EnableLinkedConnections
    • 1

手順 4

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


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