Backdoor.JS.VALAK.A
JS/Agent.AX trojan (NOD32)
Windows

Threat Type: Backdoor
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
Downloaded from the Internet, Dropped by other malware
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 executes commands from a remote malicious user, effectively compromising the affected system.
TECHNICAL DETAILS
9,009 bytes
JS
Yes
24 Mar 2020
Connects to URLs/IPs, Collects system information, Modifies system registry
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 and executes the following files:
- %Public%\NtShareUser.db:KeyStorage.dat
(Note: %Public% is the folder that serves as a repository of files or folders common to all users, which is usually C:\Users\Public in Windows Vista, 7, and 8.)
It adds the following processes:
- schtasks.exe /Create /F /TN "HD Audio Device" /TR "WSCRIPT.EXE //E:jscript %Public%\NtShareUser.db:KeyStorage.dat" /SC Minute /MO 7
(Note: %Public% is the folder that serves as a repository of files or folders common to all users, which is usually C:\Users\Public in Windows Vista, 7, and 8.)
Other System Modifications
This Backdoor adds the following registry entries as part of its installation routine:
HKEY_CURRENT_USER\Software\ApplicationContainer\
Appsw64
ShimV4 = {URLs}
HKEY_CURRENT_USER\Software\ApplicationContainer\
Appsw64
SetupServiceKey = {10 Random Characters}
HKEY_CURRENT_USER\Software\ApplicationContainer\
Appsw64
ServerUrl = {JS Script downloaded from URLs}
Backdoor Routine
This Backdoor executes the following commands from a remote malicious user:
- Executes a JavaScript program
It connects to the following URL(s) to send and receive commands from a remote malicious user:
- http://{BLOCKED}o769.com/{String2}
- http://{BLOCKED}i2002.com/{String2}
- http://{BLOCKED}iverse.com/{String2}
Download Routine
This Backdoor connects to the following website(s) to download and execute a malicious file:
- http://{BLOCKED}o769.com/{String1}
- http://{BLOCKED}i2002.com/{String1}
- http://{BLOCKED}iverse.com/{String1}
- http://{BLOCKED}o769.com/a.aspx?redir=1&clientUuid=91&r_ctplGuid={String3}&TS2={12 Random Characters}
Information Theft
This Backdoor gathers the following data:
- User Name
- Computer Name
- User Domain
Other Details
This Backdoor adds the following registry keys:
HKEY_CURRENT_USER\Software\ApplicationContainer
HKEY_CURRENT_USER\Software\ApplicationContainer\
Appsw64
It does the following:
- where:
- {String1} - project.aspx?cwdTelemetry=2®clid={String3}&agwHit={6 Random Characters}&cClass={2 Random Characters}&ubwG={12 Random Characters}
- {String2} - bounce.aspx?dx11diag={String3}&remote={38 Random Characters}&g={12 Random Characters}&fbclid=0
- {String3} - Base64Encoded[(User Name)+(Computer Name)+(User Domain)+(True Or False)+(22)+(ute1)]
It adds the following scheduled tasks:
- Task Name = HD Audio Device
- Trigger = One Time; Repeat every 7 minutes indefinitely
- Action = WSCRIPT.EXE //E:jscript %Public%\NtShareUser.db:KeyStorage.dat
(Note: %Public% is the folder that serves as a repository of files or folders common to all users, which is usually C:\Users\Public in Windows Vista, 7, and 8.)
SOLUTION
9.850
15.774.02
24 Mar 2020
15.775.00
25 Mar 2020
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:
- Downloader.JS.TRX.XXJSE9EFF012
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
Restart in Safe Mode
Step 5
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\ApplicationContainer\Appsw64
- ShimV4 = {URLs}
- ShimV4 = {URLs}
- In HKEY_CURRENT_USER\Software\ApplicationContainer\Appsw64
- SetupServiceKey = {10 Random Characters}
- SetupServiceKey = {10 Random Characters}
- In HKEY_CURRENT_USER\Software\ApplicationContainer\Appsw64
- ServerUrl = {JS Script downloaded from URLs}
- ServerUrl = {JS Script downloaded from URLs}
Step 6
Delete this registry key
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\ApplicationContainer
- HKEY_CURRENT_USER\Software\ApplicationContainer\Appsw64
- HKEY_CURRENT_USER\Software\ApplicationContainer\Appsw64
Step 7
Search and delete this file
- %Public%\NtShareUser.db:KeyStorage.dat
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as Backdoor.JS.VALAK.A. 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.