JAVA_ADWIND.USMGBFBA

 Analysis by: John Rey Canon

 ALIASES:

HEUR:Trojan.Java.Agent.gen (Kaspersky); JAVA/Agent.mfjrc (Avira); Java/Adwind.G.gen!Camelot (Cyren)

 PLATFORM:

Windows

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size:

519,225 bytes

File Type:

JAR

Memory Resident:

Yes

Initial Samples Received Date:

28 Aug 2018

Arrival Details

This Backdoor 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 Backdoor 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 Backdoor 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 Backdoor connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.100.34

However, as of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.472.01

FIRST VSAPI PATTERN DATE:

28 Aug 2018

VSAPI OPR PATTERN File:

14.473.00

VSAPI OPR PATTERN Date:

29 Aug 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 these folders

[ 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)
  • %System%\test.txt
  • %User Profile%\{Random Strings 1}\ID.txt
  • %User Profile%\{Random Strings 2}\ID.txt
  • %User Temp%\_0.{Random Numbers}.class
  • %User Temp%\Retrive{Random Numbers}.vbs (4 Files)

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as JAVA_ADWIND.USMGBFBA. 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.

Step 7

Scan your computer with your Trend Micro product to delete files detected as JAVA_ADWIND.USMGBFBA. 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:

Step 8

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.


Did this description help? Tell us how we did.