Trusted Windows Utilities Turned Trojan: Q-Dir and DesktopOK Installers Caught Delivering a Python RAT

Trusted Windows Utilities Turned Trojan: Q-Dir and DesktopOK Installers Caught Delivering a Python RAT

Two popular free Windows utilities were quietly turned into a delivery vehicle for remote-access malware — and the poisoned installers came from the programs’ own official website. Security researchers at AhnLab confirmed this week that some Q-Dir and DesktopOK installation files distributed through the official SoftwareOK site had been tampered with to install a Python-based remote access trojan (RAT) alongside the real program. If you downloaded or updated either tool in recent weeks, the researchers’ advice is blunt: treat your system as potentially compromised until you have checked it.

What Happened

Q-Dir is a free, multi-pane file manager promoted as a more powerful alternative to Windows File Explorer. DesktopOK is a small utility that saves and restores desktop icon positions, handy when switching monitors or changing screen resolution. Both are written by developer Nenad Hrg and distributed through his SoftwareOK website, and both have loyal followings among power users, IT professionals and system administrators.

According to AhnLab’s Security Intelligence Center (ASEC), which published its technical analysis on November 26, some installation files for the two tools on the official SoftwareOK site “had been tampered with to contain malicious files.” The tampering reached users two ways: through direct downloads from the official download page, and through the built-in update process of previously installed, legitimate copies of the programs. User complaints about the problem date back roughly two weeks before BleepingComputer reported the incident on November 28.

ASEC lists these release versions as affected:

  • Q-Dir versions 12.83.0.0, 12.84.0.0 and 12.85.0.0
  • DesktopOK versions 12.82.0.0 and 12.85.0.0

There is an important caveat: not every copy of those versions was infected. ASEC published both the legitimate and the malicious SHA-256 hashes for each affected version, so the hash of the installer file — not the version number — is what tells you whether a download was tampered with. Users are advised to check their downloads against the hashes published on the official download page.

How the Attack Works

The trojanized installer is designed to look completely normal. It runs the genuine Q-Dir or DesktopOK program as a decoy, so the user sees exactly the utility they expected, while quietly downloading and installing the Python RAT in the background. BleepingComputer reported that the trojanized versions were digitally signed using a certificate issued to the legitimate developer — one more reason a routine “is it signed?” check would not have caught this.

The installer fetches two files from an external server, mail.c1a2[.]top, according to The Hacker News’ account of the ASEC findings: 7zr.exe, the legitimate 7-Zip tool used to decompress files, and dsv2_py39_agent.7z, an archive containing the RAT and a Python runtime environment. The 7-Zip binary extracts the package and the RAT starts running.

Once installed, the RAT gives its operators broad control over the machine. ASEC says it can execute shell commands and arbitrary Python code, transfer files in both directions, capture screenshots, and collect system information — all on commands issued from the attacker’s server.

It also does reconnaissance on the victim’s defenses. The malware carries an embedded list of 1,206 process names matching antivirus and endpoint detection and response (EDR) tools, both Korean and international, including AhnLab V3, CrowdStrike Falcon, SentinelOne, Trend Micro, Avast, McAfee, ESET, Symantec, Kaspersky, Bitdefender, Sophos, Fortinet, Elastic Security, Malwarebytes and FireEye. It checks which of those products are running and relays the findings back to its command-and-control server, so the operators can plan their next moves without tripping an alarm.

For persistence, the RAT registers a scheduled task that impersonates Microsoft Edge, named \UPnp\MicrosoftEdge_dcntel, which runs pythonw.exe from a py39 folder inside the install path. That task is one of the clearest fingerprints to look for on a suspect machine.

The Questions Still Unanswered

ASEC says it could not determine how the installers were replaced on the official site, or establish the timeframe during which the malicious versions were distributed. The activity has not been attributed to any known threat actor, although The Hacker News reported that AhnLab found Chinese-language comments in the malware’s source code, suggesting the authors may have worked in a Chinese-speaking environment.

BleepingComputer said it contacted developer Nenad Hrg about the incident and had not received a response as of publication.

What to Do If You Installed or Updated Either Tool

The most important point from the researchers: uninstalling a trojanized Q-Dir or DesktopOK does not remove the RAT. The malware lives separately from the utility that delivered it. Anyone who recently installed or updated either program should treat the system as potentially compromised regardless of which version they have, ASEC warned.

Practical steps, based on the researchers’ guidance:

  • Check the SHA-256 hash of the installer you downloaded against the legitimate hashes ASEC published and the values on the official download page. A mismatch means the file was tampered with.
  • Open Task Scheduler and look for a UPnp folder directly under the Task Scheduler Library — separate from the built-in Microsoft > Windows > UPnP folder — containing a task named MicrosoftEdge_dcntel. Its presence is a strong indicator of infection.
  • Look for suspicious Python execution environments on the machine, such as a py39 folder running pythonw.exe outside any Python installation you recognize.
  • If you find signs of the RAT, disconnect the machine from the network and treat it as a full incident: assume credentials, files and anything typed or displayed on the machine may have been exposed, and rebuild or reimage rather than trying to clean it in place.
  • Pause before downloading or updating either utility again until the distribution channel is confirmed clean, and verify every future download by hash.

The Bigger Lesson: The Supply Chain Is the Front Door Now

This incident did not arrive as a phishing email or a dodgy download link. It came through the official distribution channel of trusted software, signed and running the real program, and it reached users who did everything right — including people who simply clicked “update” on software they already trusted.

It also caps a week in which the software supply chain was the story again and again. A roundup of the week of November 23 to 29 notes that 1Password confirmed an attacker used an employee’s GitHub account to push malicious code to its backend services and copy customer account records, Todoist lost account records for about 6 percent of its users after a stolen credential for its code repositories, attackers ran commands on six servers of the Hex.pm package registry through a flaw rated 10.0, and a WordPress plugin developer’s account was used to slip a backdoor into six plugins that WordPress.org caught before release. The pattern is consistent: attackers are going after the people and systems that build and ship software, because that is where one compromise reaches thousands of machines.

The defense has not changed, but it has to be taken more seriously: verify downloads by hash, not by where they came from; watch for persistence mechanisms like unexpected scheduled tasks; and assume that a familiar name on a familiar site is necessary but no longer sufficient proof that software is safe.

The Bottom Line

Two trusted Windows utilities, Q-Dir and DesktopOK, were compromised at their official source to deliver a Python remote-access trojan that can run commands, steal files, take screenshots and map your security software — all while the real program runs normally in front of you. 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, but the hash of your installer is the real test. If you installed or updated either tool recently, check for the MicrosoftEdge_dcntel scheduled task and treat the machine as compromised until proven otherwise — uninstalling the utility alone will not remove the RAT.

Sources: AhnLab Security Intelligence Center (ASEC), BleepingComputer, The Hacker News, Bluwarden Week 48 cybersecurity roundup.

Edited by Muse @QUE.COM
Website: https://QUE.COM Intelligence
Sponsored by: https://MAJ.COM AI Autonomous
Never miss a customer call again — MAJ.COM’s AI receptionist answers every call, texts customers back instantly, and books the appointment for you. See how it works at https://MAJ.COM


Discover more from QUE.com

Subscribe to get the latest posts sent to your email.

Leave a Reply

Connect with

Discover more from QUE.com

Subscribe now to keep reading and get access to the full archive.

Continue reading