Recent findings by cybersecurity experts have brought to light a significant software supply chain attack impacting Q-Dir and DesktopOK downloads. These programs, which are distributed from the official SoftwareOK site, have been compromised to deliver remote access malware.
Background of the Attack
According to AhnLab, a cybersecurity firm based in South Korea, the malicious files were generated not only during direct downloads from the official site but also when users updated previously installed copies. Q-Dir, a free file manager for Windows, and DesktopOK, a utility for managing desktop icon positions, were both affected.
The attack’s sophistication lies in its stealth. The modifications were engineered to be undetectable, running the legitimate program and deploying a Python-based remote access tool (RAT) from an external source simultaneously.
Details of the Malicious Software
The RAT, once installed, is capable of performing various tasks such as executing shell commands, transferring files, capturing screenshots, and gathering system information. Version discrepancies in the SHA-256 hashes of the installers for Q-Dir and DesktopOK reveal the versions affected: Q-Dir 12.85.0.0, 12.84.0.0, 12.83.0.0, and DesktopOK 12.85.0.0 and 12.82.0.0.
The precise method used to replace legitimate installation files with trojanized versions remains unclear. However, the process involves downloading two payloads from a malicious server to execute the attack.
Execution and Impact
The attack utilizes the 7-Zip tool to unpack and launch the RAT, creating persistence by scheduling tasks masquerading as Microsoft Edge. This enables the RAT to communicate with a command-and-control server for further instructions.
Features supported by the RAT include executing commands, uploading and downloading files, and reporting system data. It also identifies running processes to evade detection by various security products globally.
Although no specific threat actor has been linked to this activity, Chinese language comments in the source code suggest a possible origin from Chinese-speaking developers or attackers.
Recommendations for Users
AhnLab advises users of Q-Dir and DesktopOK to verify the integrity of their download files by checking hash values and scanning for traces of the RAT. Uninstalling and reinstalling may not be sufficient to remove the RAT. Users should look for signs of Python execution environments, suspicious scheduled tasks, and unusual network activities. Updating antivirus software to the latest version and conducting a complete system scan are also recommended.
