Author: Carlos Villegas Madrid   

 PLATFORM:

Windows

 OVER ALL RISK RATING:
 DAMAGE POTENTIAL::
 DISTRIBUTION POTENTIAL::
 REPORTED INFECTION:
 INFORMATION EXPOSURE:
Low
Medium
High
Critical

  • Threat Type:
    Trojan

  • Destructiveness:
    No

  • Encrypted:
     

  • In the wild::
    Yes

  OVERVIEW

INFECTION CHANNEL: Descargado de Internet, Eliminado por otro tipo de malware

It 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: 4,601 bytes
File type: BAT
Memory resident: No
INITIAL SAMPLES RECEIVED DATE: 16 de stycznia de 2023
PAYLOAD: Modifies system registry, Executes files

Detalles de entrada

It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Instalación

Agrega los procesos siguientes:

  • 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

Otras modificaciones del sistema

Modifica las siguientes entradas de registro:

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

Otros detalles

Hace lo siguiente:

  • 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"

  SOLUTION

Minimum scan engine: 9.800
First VSAPI Pattern File: 18.204.04
First VSAPI Pattern Release Date: 19 de stycznia de 2023
VSAPI OPR PATTERN-VERSION: 18.205.00
VSAPI OPR PATTERN DATE: 20 de stycznia de 2023

Step 1

Los usuarios de Windows ME y XP, antes de llevar a cabo cualquier exploración, deben comprobar que tienen desactivada la opción Restaurar sistema para permitir la exploración completa del equipo.

Step 2

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Restaurar este valor del Registro modificado

[ learnMore ]

Importante: si modifica el Registro de Windows incorrectamente, podría hacer que el sistema funcione mal de manera irreversible. Lleve a cabo este paso solo si sabe cómo hacerlo o si puede contar con ayuda de su administrador del sistema. De lo contrario, lea este artículo de Microsoft antes de modificar el Registro del equipo.

 
  • 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

Step 4

Explorar el equipo con su producto de Trend Micro para eliminar los archivos detectados como Trojan.BAT.WANNAREN.YPDAP En caso de que el producto de Trend Micro ya haya limpiado, eliminado o puesto en cuarentena los archivos detectados, no serán necesarios más pasos. Puede optar simplemente por eliminar los archivos en cuarentena. Consulte esta página de Base de conocimientos para obtener más información.


Did this description help? Tell us how we did.