What Are the Two Backdoors Hidden in the Stock Trading Program?

What Are the Two Backdoors Hidden in the Stock Trading Program?

Private HTS platforms used for stock trading are being exploited as paths for malware distribution. From July 2026 through September, AhnLab identified cases of backdoor malware distribution via private HTS platforms named “IHC Investment” and “Value Up.” These two pieces of malware can perform various malicious behaviors—such as collecting system information, transferring files, and executing remote commands—based on the threat actor’s instructions. Let’s take a look at the malware distribution methods, key characteristics, and countermeasures for this attack.

 

Malware Distribution Via Exploitation of Private HTS Update Functions

AhnLab previously disclosed a case where the KRSID ransomware was distributed via a private HTS that had been exploited in online investment scams. In that attack, an HTS named “UBP Asset” was used.

Although the installation programs for IHC Investment and Value Up—which were exploited in this attack—have not been identified, considering their operational structure, they appear to be HTS applications of the same type developed by the same company as UBP Asset. AhnLab concluded that the same threat actor was responsible for both attacks, based on the fact that they occurred around the same time, the HTS platforms were virtually identical, and both the ransomware and the backdoor were written in the Rust programming language.

[Figure 1] Version information for the IHC Investment HTS

Based on the operational structure of previous cases, the update process for IHC Investment is estimated to be as follows. When a user runs the HTS shortcut created on the desktop background, “IHCUpdater.exe” in the installation directory runs, and subsequently executes the IHCPatch.psh file. Despite its file extension, IHCPatch.psh is an executable file; it connects to the HTS update server, downloads the configuration file “Update.lst” containing information on the update targets, and proceeds with the update based on that file.

Currently, access to the update server is unavailable, so the specific contents of the configuration file could not be verified. However, AhnLab confirmed logs showing that “IHCPatch.psh,” the update program for IHC Investment, and “ValueUpPatch.psh,” the update program for ValueUp, installed backdoor malware.

[Figure 2] Backdoor malware installed via a proprietary HTS

Analysis of Each Type of Backdoor Malware

The backdoors identified in this attack fall into two main categories, both of which were developed using the Rust programming language. We will examine the detailed operating mechanisms and supported functions, focusing on the representative types of each backdoor.

1) Ratrsdoor

AhnLab classified this backdoor as “Ratrsdoor” based on the string “rat_rs” embedded within the malware.

Upon execution, Ratrsdoor performs the decryption of the encrypted configuration data. The threat actor’s C&C server address is encrypted using the XOR encryption method within the ‘RAT_CONFIG_URL’ entry in the configuration data. When communicating with the C&C server, it generates a new AES-256 encryption key and encrypts it using the RSA-2048 public key contained in the ‘RAT_CONFIG_PUBKEY’ entry before transmitting it.

[Figure 3] Ratrsdoor’s encrypted configuration information

Ratrsdoor then creates a copy of itself at the Path `%APPDATA%\Microsoft\WMI\WmiApSrv.exe` and registers it with the Windows Task Scheduler. If task registration fails, it uses a different task name; it can also maintain persistence by registering itself under the name “WmiApSrv” in the Registry’s Run key.

Once this process is complete, Ratrsdoor connects to the C&C server. During communication, it uses different URL formats depending on the purpose, such as command requests, transmission of command execution results, transmission of system information, and uploading and downloading of files.

Ratrsdoor periodically transmits information from the infected system to the C&C server. The main information transmitted is as follows.

Item

Information Collected

LocalIP

Local IP address

CurrentUser

Username

ProcessName

Malware process name

ComputerName

Computer name

ExecPath

Malware execution path

Uuid

UUID (Universally Unique Identifier)

OsVersion

Operating system version

[Table 1] Key system information transmitted by Ratrsdoor to the C&C server

It can also perform the functions as follows based on commands received from the C&C server.

Command

Key Functions

Comexec

Command execution and result transmission

Filelist

Retrieve directory listing information

Ulfile

Upload a file

Dlfile

File download

Screenshot

Capture a screenshot

Tunnel

Tunneling to a specified address

[Table 2] List of commands supported by Ratrsdoor

2) Quicdoor

Quicdoor is a backdoor malware classified based on its use of QUIC, a network communication protocol.

Upon execution, Quicdoor performs decryption of its encrypted configuration data. This configuration data includes the C&C server address, the port and protocol to be used for communication, information required for certificate verification and C&C server registration, as well as settings related to maintaining persistence and self-deletion.

[Figure 4] Quicdoor’s decrypted configuration data

Quicdoor creates a copy of itself at the path `%APPDATA%\Microsoft\WMI\FailureDetector.exe` and registers it in the Windows Task Scheduler under the name “FailureDetector.” It then creates a separate copy at the path `%TEMP%\wintemp\SamsungFlow.exe` and executes it.

Quicdoor communicates with the C&C server via the HTTP/2 protocol over TCP port 443, following a predefined communication sequence. It also supports QUIC communication over UDP port 53. Notably, unlike the actual C&C server address, it uses a domain belonging to the Korea Internet & Security Agency (KISA) in the SNI (Server Name Indication) to disguise the server name. The URLs used for communication are generated by randomly combining multiple strings and are therefore not fixed.

[Figure 5] Strings used in Quicdoor’s URL combinations

[Figure 6] Library strings supporting the QUIC protocol

When Quicdoor first communicates with the C&C server, it transmits information about the infected system along with a registration request. This includes operating system and architecture information, client version, whether administrator privileges are held, local IP address, MAC address, current process name and ID, username, process ID, and whether it maintains persistence.

Quicdoor can perform the functions as follows based on the threat actor’s commands.

Category

Key Functions

System and Process Management

Transmitting system information, retrieving the process list, and terminating processes

User Account Management

View user, group, and session information; add and delete users; change passwords and usernames

Persistence Management

Viewing the Status of Maintaining Persistence and Changing Settings

Command execution

Command execution for commands sent by a threat actor

File and Directory Management

Listing drives, downloading files (including compressed files for multiple files), uploading files, reading and writing files, creating directories, and deleting and renaming files and directories

Screen Information Theft

Capturing screenshots

Executing additional files

To download files from a specified URL, to execute downloaded files, and to transmit the results

[Table 3] Key Features Supported by Quicdoor

In actual attack cases, evidence was also found that Quicdoor installed a ConPTY-based terminal tool. It is possible that the threat actor used this tool for command execution on the infected system and to receive the results.

Prevention and Response Measures for Malware Infection Via Private HTS

To prevent Malware infection, users must always verify the source of the program when installing an HTS. Additionally, if a user has a history of installing a private HTS, they should check whether the system is infected.

  • Do Not Install Private HTS from Unverified Sources

  • Install only HTS software provided on the official websites of regulated financial institutions in the financial sector

  • Check for infection by referring to indicators of compromise and Malware creation paths

  • Take necessary security measures based on the infection status

Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP. For subscription details, click the banner below.