Cybersecurity researchers have disclosed details of a software supply chain attack that has tampered with Q-Dir and DesktopOK installation files distributed via the official SoftwareOK website.

"Evidence indicates that malicious files were generated not only when users downloaded the programs directly from the official download page but also during the update process of previously installed legitimate programs," South Korean cybersecurity company AhnLab said.

Q-Dir, also called the Quad Directory Explorer, is a free, lightweight file manager for Windows developed by SoftwareOK. According to its website, DesktopOK is a free Windows utility designed to save and restore desktop icon positions. 

The unauthorized modifications are designed such that the malicious activity is challenging to detect when running the programs, while simultaneously retrieving and deploying a Python-based remote control malware (RAT) from an external server.

Once installed, the RAT payload is capable of executing shell commands and Python code, transferring files, capturing screenshots, and collecting system metadata based on commands issued by the attacker.

Details of the attack were first publicly disclosed by security researcher Bert de Jong of HOB ICT Security on November 12, 2026, who pointed out that an installer for Q-Dir 12.83 contained a Python RAT. The malicious build has been found to be unsigned and approximately "twice the size" of the legitimate installer.

"If you get a hit, isolate and reimage the machine, then reset passwords and revoke sessions for everyone who used it," the researcher added. "Removing the folder won't get rid of the persistence the installer sets up."

Subsequently on November 16, 2026, another security researcher named who goes by the online alias SecurityAura revealed that Microsoft Defender for Endpoint (MDE) began flagging binaries dropped by Q-Dir as early as November 9, with the legitimate QDir.exe binary calling a malicious executable called "Q-Dir_AutoUpdate.exe."

That same day, cybersecurity researcher Kostas shared additional findings that detailed the malware's persistence mechanism and what's suspected to be follow-on hands-on keyboard activity on November 11, 2026, involving attempts to conduct reconnaissance, enumerate network adapters, and run a tasklist command to determine whether processes associated with ToDesk, a Chinese Windows remote control software, were running.

"The commands suggest they were checking whether it was already running, although we didn't confirm an installation or actual use," researcher Kostas said. 

The following product versions have been confirmed to be poisoned, given the discrepancies in the SHA-256 hashes of the installer files and the presence of additional code that triggers additional file downloads and automatic execution -

  • Q-Dir 12.85.0.0
  • Q-Dir 12.84.0.0
  • Q-Dir 12.83.0.0
  • DesktopOK 12.85.0.0
  • DesktopOK 12.82.0.0

The exact mechanism that allowed the installation files to be replaced with a trojanized version remains unknown.

"The malicious installer runs the legitimate Q-Dir or DesktopOK to lower the user's suspicion, while simultaneously downloading and installing a Python RAT package from an external server," AhnLab said.

Specifically, this involves downloading two payloads from "mail.c1a2[.]top" -

  • 7zr.exe, the legitimate 7-Zip tool to decompress files
  • dsv2_py39_agent.7z, a package containing the RAT and Python runtime environment

The attack chain is fairly straightforward in that it uses the 7-Zip tool binary to extract and run the Python RAT. The malware then sets up persistence on the host by means of a scheduled task that impersonates Microsoft Edge to fly under the radar. The task is configured to execute the RAT by launching a Python script named "py_client_dsv2.py."

Upon execution, the RAT establishes communication with its command-and-control (C2) server ("8.210.69[.]51:9876") to receive tasks and run them. It supports the following features -

  • Shell command execution
  • Python code execution
  • File upload and download
  • Screenshot capture
  • Operating system and system information

It also gathers a list of running processes and compares it against an internal list of various security products used in South Korea and abroad, including AhnLab, ESTSecurity, Hauri, CrowdStrike, SentinelOne, Trend Micro, Avast, McAfee, ESET, Symantec, Kaspersky, Bitdefender, Sophos, Fortinet, Elastic, and Malwarebytes.

Information about identified security programs is transmitted to the C2 server, so as to help the attackers better plan the next stages of the attack or serve payloads that can bypass detection.

The activity has not been attributed to any known threat actor. However, AhnLab said it identified Chinese language comments in the source code, suggesting that the malware authors or attackers may have used a Chinese-speaking environment.

"Users who are currently using Q-Dir or DesktopOK, or who have recently installed or updated these programs, should verify the hash values of the downloaded files and check their systems for any traces of RAT installation or execution," AhnLab said.

"However, simply uninstalling and reinstalling the program may not remove a Python RAT that has already been installed. Therefore, you should also check for suspicious Python execution environments, scheduled tasks, related files, and traces of external network communication, update your antivirus engine to the latest version, and then perform a full system scan."

Update

In a report published on December 2, 2026, Microsoft said it investigated the software supply chain compromise affecting Q-Dir and DesktopOK as of November 9, 2026.

"Threat actors tampered with installers and updaters for these two third-party utilities on the vendor's official SoftwareOK download and update channel, so users who followed normal, trusted update practices were exposed," Microsoft said. "The altered files launch the legitimate application as cover while silently installing DeviceSync, a Python-based remote access trojan (RAT)."

The Python RAT, which identifies itself as VmBaseTool 5.17.6, is designed to conduct system discovery, run shell commands via "cmd.exe," access files, take screenshots, execute additional Python code, and connect to an operator-selected destination search.

Some of the observed commands have carried out system reconnaissance, check for processes related to ToDesk, and a PowerShell task that inventories Python's site-packages directories for artificial intelligence (AI) and machine-learning software using search terms like "ollama," "vllm," "langchain," "llama_index," and "mlflow."

Upon the RAT execution, Microsoft said it detected PowerShell being used to launch a Windows executable ("winhost.exe") that connects to "8.210.203[.]136:443" from multiple devices over several days.

"A separate native payload, C:\Users\Public\backgroundTask.exe, connected to the campaign C2 at 47.239.64[.]37 on TCP ports 7006 and 7007 and to 8.210.20[.]147:443," the tech giant said. "Both native payloads made network connections independently of the DeviceSync Python agent."

The main backdoor process supports plugin execution via a worker process that handles modules, commands, and results through a local named pipe. Two different plugins have been identified -

  • plugin-1001, which launches "cmd.exe" to run "curl.exe" and "nslookup.exe" in order to determine the device's public IPv4 address
  • plugin-1009, which manages worker and named-pipe activity

"Organizations should remove affected packages from deployment paths, isolate devices on which the backdoor ran, remove the persistence mechanisms, and investigate the later native payload separately," Microsoft said.

"Closing or replacing the utility does not remove the threat, due to persistence techniques allowing the backdoor to relaunch during Windows sign-in. Effective recovery requires removing the RAT and its startup entry, checking for the second backdoor, and replacing tampered packages in any software distribution system that could reinstall them."

(The story was updated after publication on November 30, 2026, to include more details from researchers who initially disclosed the attack earlier this month.)

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.