JAVA_ADWIND.JEJPEA
Trojan.Java.Adwind (Ikarus); HEUR:Trojan.Java.Agent.gen (Bitdefender)
Windows
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.
It connects to a website to send and receive information.
TECHNICAL DETAILS
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 drops the following file(s)/component(s):
- %User Temp%\hsperfdata_{username}\{process ID}
- %ProgramData%\Oracle\Java\.oracle_jre_usage\f9b9f6b9014e1b80.timestamp
- %User Temp%\Retrive{random numbers}.vbs
- %User Temp%\_.0{Random Numbers}.class
- %User Profile%\{random characters}\ID.txt
- %System%\test.txt
(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).. %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 on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit), or C:\Documents and Settings\All Users on Windows Server 2003(32-bit), 2000(32-bit) and XP.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)
It drops the following copies of itself into the affected system:
- %User Profile%\{random character}\{11 random characters}.{6 random characters}
(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It adds the following processes:
- xcopy "%Program Files%\Java\jdk{version}\jre" "%Application Data%\Oracle\" /e
- attrib +h "%User Profile%\{random characters}\*.*"
- attrib +h "%User Profile%\{random characters}"
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It creates the following folders:
- %Application Data%\Oracle
- %User Profile%\{random characters}
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Autostart Technique
This Backdoor adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{11 random characters} = "\"%Application Data%\Oracle\bin\javaw.exe\" -jar \"%User Profile%\{random characters}\{11 random characters}.{6 random characters}\""
Backdoor Routine
This Backdoor connects to the following websites to send and receive information:
- {BLOCKED}.{BLOCKED}.40.30
SOLUTION
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
Restart in Safe Mode
Step 4
Delete this registry value
Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- {11 random characters} = "\"%Application Data%\Oracle\bin\javaw.exe\" -jar \"%User Profile%\{random characters}\{11 random characters}.{6 random characters}\""
- {11 random characters} = "\"%Application Data%\Oracle\bin\javaw.exe\" -jar \"%User Profile%\{random characters}\{11 random characters}.{6 random characters}\""
Step 5
Search and delete this file
- %User Temp%\hsperfdata_{username}\{process ID}
- %ProgramData%\Oracle\Java\.oracle_jre_usage\f9b9f6b9014e1b80.timestamp
- %User Temp%\Retrive{random numbers}.vbs
- %User Temp%\_.0{Random Numbers}.class
- %User Profile%\{random characters}\ID.txt
- %System%\test.txt
- %User Profile%\{random character}\{11 random characters}.{6 random characters}
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as JAVA_ADWIND.JEJPEA. 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.