Osegi
Security·2 min read

Q-Dir and DesktopOK installers tampered with to spread a RAT

Free Windows tools Q-Dir and DesktopOK were swapped for a remote-access trojan, even for people who only updated. The fake installer also launches the real app.

A Windows laptop showing a software installer window with a red warning symbol over it, suggesting a tampered download.
Image: zdnet.co.kr

If you downloaded or updated Q-Dir or DesktopOK recently, the installer may not have been what it seemed. Security firm AhnLab says the files on the official SoftwareOK distribution path were replaced with versions that quietly install a remote-access trojan (RAT), a program that lets an attacker control a PC from afar.

AhnLab's ASEC security team confirmed the tampering on 27 November. Malicious installers turned up both when users downloaded from the official SoftwareOK page and when they updated an existing install. The affected versions are Q-Dir 12.85.0.0, 12.84.0.0 and 12.83.0.0, plus DesktopOK 12.85.0.0 and 12.82.0.0. Other versions may be hit too if they were installed or updated during the distribution window. The hash (a file fingerprint) of the delivered file did not match the one published on the official page.

The cause, the route the attackers took and the length of the campaign are all unknown. AhnLab has not given a figure for victims in South Korea.

How does the fake Q-Dir installer work?

The installer first launches the genuine program bundled inside it. That file has a valid hash and a valid developer signature, so nothing looks wrong. In the background, it downloads 7-Zip, a Python runtime and an archive holding the RAT from an external server, then unpacks them.

The RAT sets up a scheduled task disguised as Microsoft Edge to stay on the machine. It can run shell commands and Python code, send and receive files, take screenshots and collect system information. It also checks running processes against a built-in list of 1,206 names to find security software, including AhnLab V3, ESTsecurity Alyac and Hauri ViRobot, and reports the result to its command server. AhnLab says attackers could use that to decide on follow-up attacks or to avoid detection.

Nobody has been named. Chinese text in the Python comments and the product list points to a possible Chinese-language development environment, but AhnLab does not draw a firm conclusion.

What should Q-Dir and DesktopOK users do?

Before reinstalling, compare the hash on the official page with the hash of your downloaded file. Simply uninstalling and reinstalling may not remove a RAT that is already in place. Check for suspicious Python runtimes, scheduled tasks and outbound connections, update your antivirus and run a full scan. If you see signs of infection, isolate the PC from the network and look for further malware or data theft.

It is not the first such case this year. In April, a signed, tampered installer for DAEMON Tools went out from its official site, and in May the JDownloader site's installer links were swapped for malicious files.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:q-dirdesktopokahnlabsupply chain attackratsoftwareok

More from this day

See all →

More in: Security

See all →