News Digital & Internet News

Q-Dir and DesktopOK Installers Were Trojanized to Deliver Python Malware

A desktop computer setup with a laptop and a large monitor on a desk
Table of Contents

Q-Dir and DesktopOK Installers Were Trojanized to Deliver Python Malware

The official downloads for two popular Windows tools, Q-Dir and DesktopOK, were compromised to deliver trojanized installers carrying a Python-based remote access tool. The installers came from the tools’ own official channels, and they were digitally signed with a certificate issued to the legitimate developer.

Q-Dir is a free file manager, an alternative to Windows File Explorer. DesktopOK saves and restores the layout of icons on the desktop. Both are made by developer Nenad Hrg and distributed through the SoftwareOK website. They are widely used by IT professionals, power users and system administrators.

The danger is that the installers looked normal. They ran the real program while quietly downloading the hidden malware in the background. Users who trusted the official site had no easy way to tell that anything was wrong.

How the attack was found

Users began reporting problems about two weeks before the disclosure. Researchers at AhnLab’s Security Intelligence Center, known as ASEC, then confirmed that the installers had been compromised. The tampered files affected both new downloads and updates for people who already had the programs installed.

The affected versions are Q-Dir 12.83.0.0, 12.84.0.0 and 12.85.0.0, plus DesktopOK 12.82.0.0 and 12.85.0.0. Not every copy of those versions was infected. ASEC shared SHA-256 hashes so users can tell a clean installer from a malicious one. A SHA-256 hash is a long code that acts like a fingerprint for a file. If the code matches the official value, the file is the one the developer released.

BleepingComputer contacted Nenad Hrg, the developer, but had received no reply by the time of publication. ASEC could not say how the installers were replaced or how long the trojanized files were handed out. BleepingComputer reported the compromise on Saturday, November 28, after ASEC confirmed the findings.

Supply chain attacks like this one are a known risk. Criminals tamper with trusted software instead of attacking each user one by one. The recent Optimizely supply chain hack hit 178 websites through a shared tool, and the Q-Dir case follows the same pattern: poison one source, and the harm spreads to everyone who trusts it.

What the hidden malware does

The malicious installer runs the real Q-Dir or DesktopOK program to lower the user’s suspicion. At the same time, it downloads a Python remote access tool, known as a RAT, from an external server. A RAT lets an attacker control a computer from far away, as if they were sitting at the keyboard.

The download pulls two files from the address mail.c1a2.top. The first is 7zr.exe, a legitimate 7-Zip tool used to unpack files. The second is a package called dsv2_py39_agent.7z, which holds the RAT and a Python runtime. The attack chain then uses the 7-Zip tool to unpack and run the Python RAT.

Once running, the RAT sets up persistence with a scheduled task that pretends to be Microsoft Edge. The task runs a Python script named py_client_dsv2.py each time the computer starts. The RAT then talks to its command-and-control server at 8.210.69.51 on port 9876 to receive orders and send back data.

The tool can run shell commands and Python code, move files up and down, take screenshots and collect system details. It also gathers a list of running processes and checks it against an internal list of 1,206 processes tied to security products, including AhnLab V3, CrowdStrike Falcon, SentinelOne, Trend Micro, Avast, McAfee, ESET, Symantec, Kaspersky, Bitdefender, Sophos, Fortinet, Elastic Security, Malwarebytes and FireEye. That information is sent to the command server, so the attackers can plan their next steps. The Hacker News reported the same details, adding that the activity has not been tied to any known threat actor.

A laptop screen showing lines of programming code in an editor
Programming code on a laptop screen. The trojanized installers quietly downloaded a Python-based remote access tool while the real program ran as normal.

AhnLab also found Chinese-language comments in the malware’s source code. That suggests the authors or attackers may have worked in a Chinese-speaking setting. It is not proof of who they are, and the attack has not been attributed to any known group.

What users should check now

Anyone who recently installed or updated Q-Dir or DesktopOK should treat their system as possibly compromised, whatever version they have. The first step is to check the downloaded installer against the SHA-256 hashes ASEC published on the official download page. If the hash does not match, the file is not the clean one.

Removing a trojanized version does not ensure the RAT is gone. Users should also look for strange Python setups, suspicious scheduled tasks and traces of network traffic to unknown addresses. ASEC advised updating antivirus software to the latest version and then running a full system scan.

The signed certificate makes this case harder than most. A digital signature is meant to prove that a file came from its stated developer. Here, the trojanized installers carried a valid certificate issued to the legitimate developer. That means the usual check, “is this file signed,” would not have caught the problem. Only the hash check can tell the two apart.

Other software makers have faced the same trap. SAP confirmed a security incident tied to its GitHub account this week, showing that even large firms can have their trusted channels abused. The lesson is the same in each case: a trusted name is not proof that a file is safe. As shown by the Remus malware case, where a fake browser tool stole Gmail accounts, trusted-looking software is one of the easiest ways for attackers to reach a computer.

A laptop glowing in a dark room
A laptop glows in a dark room. Users who recently installed or updated Q-Dir or DesktopOK should check their systems for signs of the hidden tool.

Users who find signs of the RAT should treat the machine as compromised and seek expert help. A full scan, a check of scheduled tasks and a look at network logs are the minimum steps. If the RAT ran, the attackers may have copied data or set up further access, so a clean reinstall may be the safest path.

What happens next

The key questions are still open. No one has said how the installers were replaced, how long the trojanized files were served, or how many users downloaded them. The developer has not yet responded, and the official download page is the place to watch for clean installers and new hashes.

For now, the advice is plain. Check the hash before you install, scan the system after, and do not assume that a signed file from an official site is safe on its own. A few minutes of checks can save days of cleanup.

Frequently Asked Questions

What happened to Q-Dir and DesktopOK?

The official distribution channels for the two Windows tools were compromised to deliver trojanized installers carrying a Python-based remote access tool. The installers ran the real program while quietly downloading the malware in the background. The affected versions are Q-Dir 12.83.0.0, 12.84.0.0 and 12.85.0.0, and DesktopOK 12.82.0.0 and 12.85.0.0.

How can I tell if my installer is safe?

Check the SHA-256 hash of the file you downloaded against the hashes ASEC published on the official download page. A SHA-256 hash is a long code that works like a fingerprint for a file. If the code does not match the official value, do not install the file. Note that not every copy of the listed versions was infected.

Does uninstalling Q-Dir or DesktopOK remove the malware?

No. Removing a trojanized version does not ensure the hidden tool is gone, because the RAT sets up its own scheduled task and runs separately from the program. Users should also check for suspicious Python setups, odd scheduled tasks and traces of network traffic, update their antivirus and run a full system scan.

Who carried out the attack?

The activity has not been tied to any known threat actor. AhnLab found Chinese-language comments in the malware’s source code, which suggests the authors or attackers may have worked in a Chinese-speaking setting, but that is not proof of who they are. How the installers were replaced and how long they were served is also still unknown.

Sources

Caleb Cox
Digital & Internet News Correspondent

Caleb Cox

Caleb Cox covers digital and internet news for Time of Explorer — the platforms, trends and stories of the online world. He has followed the internet industry for seven years, from social platforms to the infrastructure underneath them.

View Full Author Profile →
Keep Reading

Related Stories

More in News →