JAVA_ADWIND.MGBFBE

 Analysis by: John Rey Canon

 ALIASES:

Trojan.Java.Adwind (Ikarus); Trojan:Java/Jaraut.B (Microsoft)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet


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:

516,232 bytes

File Type:

JAR

Memory Resident:

Yes

Initial Samples Received Date:

04 Sep 2018

Payload:

Deletes files, Connects to URLs/IPs

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

  • %User Temp%\hsperfdata_{Username}
  • %ProgramData%\Oracle\Java\.oracle_jre_usage
  • %User Profile%\{Random Strings 1}
  • %User Profile%\{Random Strings 2}

(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, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.. %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData in Windows Vista, 7, and 8.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista, 7, and 8.)

It drops the following files:

  • %ProgramData%\Oracle\Java\.oracle_jre_usage\{Random Numbers 1}.timestamp
  • %User Temp%\hsperfdata_{username}\{Process ID} (2 Files)
  • %System%\test.txt
  • %User Profile%\{Random Strings 1}\ID.txt
  • %User Profile%\{Random Strings 2}\ID.txt

(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData in Windows Vista, 7, and 8.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista, 7, and 8.)

It drops and executes the following files:

  • %User Temp%\_0.{Random Numbers}.class
  • %User Temp%\Retrive{Random Numbers}.vbs (4 Files)

(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, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.)

It adds the following processes:

  • cmd.exe /C cscript.exe %User Temp%\Retrive{Ramdom Numbers}.vbs (4 Files)
  • xcopy "%Program Files%\Java\jre1.8.0_181" "%Application Data%\Oracle\" /e

(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, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\Retrive{Random Numbers}.vbs (4 Files)

(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, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}.{BLOCKED}.73.114

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.488.03

FIRST VSAPI PATTERN DATE:

06 Sep 2018

VSAPI OPR PATTERN File:

14.489.00

VSAPI OPR PATTERN Date:

07 Sep 2018

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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

Restart in Safe Mode

[ Learn More ]

Step 4

Search and delete this folder

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.  
  • %User Temp%\hsperfdata_{Username}
  • %ProgramData%\Oracle\Java\.oracle_jre_usage
  • %User Profile%\{Random Strings 1}
  • %User Profile%\{Random Strings 2}

Step 5

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.
  • %ProgramData%\Oracle\Java\.oracle_jre_usage\{Random Numbers 1}.timestamp
  • %User Temp%\hsperfdata_{username}\{Process ID} (2 Files)
  • %User Temp%\Retrive{Random Numbers}.vbs (4 Files)
  • %System%\test.txt
  • %User Profile%\{Random Strings 1}\ID.txt
  • %User Profile%\{Random Strings 2}\ID.txt

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as JAVA_ADWIND.MGBFBE. 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 this Knowledge Base page for more information.


Did this description help? Tell us how we did.