Analysis by: Jayvee Mark Villaroman

ALIASES:

VirTool:Java/Meterpreter.A (MICROSOFT), Trojan-Downloader:Java/Lecpetex.C (FSECURE)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet, Dropped by other malware

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: 5,105 bytes
File Type: JAR
Memory Resident: No
Initial Samples Received Date: 29 Dec 2022
Payload: Drops files

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 drops the following files:

  • %User Temp%\hsperfdata_{Computer Name}\{Random Numbers}
  • %User Temp%\~spawn{Random Number}.tmp
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit\Payload.class
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit.dat
  • %All Users Profile%\Oracle\Java\.oracle_jre_usage\{random numbers}.timestamp

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). )

It adds the following processes:

  • %Program Files%\Java\jdk1.8.0_77\jre\bin\java.exe -classpath %User Temp%\~spawn{Random Numbers}.tmp.dir metasploit.Payload

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It creates the following folders:

  • %User Temp%\~spawn{Random Number}.tmp.dir
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Other Details

This Trojan deletes the following files to remove its traces in the system:

  • %User Temp%\hsperfdata_{Computer Name}\{Random Numbers}
  • %User Temp%\~spawn{Random Number}.tmp
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit\Payload.class
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit.dat

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 18.164.03
FIRST VSAPI PATTERN DATE: 30 Dec 2022
VSAPI OPR PATTERN File: 18.165.00
VSAPI OPR PATTERN Date: 31 Dec 2022

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

    • Troj.Win32.TRX.XXJAR6ABFF014

Step 2

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 3

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 4

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.  
  • %User Temp%\hsperfdata_{Computer Name}\{Random Numbers}
  • %User Temp%\~spawn{Random Number}.tmp
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit\Payload.class
  • %User Temp%\~spawn{Random Number}.tmp.dir\metasploit.dat
  • %User Profile%\.oracle_jre_usage\{Random Numbers}.timestamp

Step 5

Scan your computer with your Trend Micro product to delete files detected as Trojan.Java.CVE20124681.E. 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.