← All insights
Incident Report11 min read

Q-Dir and DesktopOK Installers Carried a RAT

Tampered Q-Dir and DesktopOK installers from the official SoftwareOK site installed a Python RAT on Windows PCs. Versions, checks, and what to do.

On this page
  1. The short version
  2. What happened
  3. How the attack works
  4. Why this matters for a small organization
  5. What to check now
  6. How to be ready for the next one
  7. How we help
  8. Sources

Field notes from the engineering team

Q-Dir and DesktopOK are free Windows utilities. Q-Dir is a file manager that some people prefer to File Explorer. DesktopOK saves and restores desktop icon positions. Neither is a mainstream product, but BleepingComputer notes that IT professionals, power users and system administrators use them.

Researchers now report that some installers for both tools, served from the official SoftwareOK website, were tampered with and installed a remote access trojan (RAT) written in Python. Updates inside an already installed copy of the program were affected too. The installer still launches the real program, so nothing looks wrong on screen.

Microsoft Threat Intelligence has since added two findings that change the cleanup. The tampered files also reached PCs through package managers, software deployment tools and portable copies on shared folders. And on some devices, the attackers installed a second, separate backdoor that keeps working without the Python RAT.

This article covers what the researchers found, how to check a Windows PC, and what to do about it. It reflects reporting through December 3, 2026.

The short version

ItemDetail
What happenedInstallers and updaters for Q-Dir and DesktopOK on the official SoftwareOK site were replaced with versions that download and install a Python RAT. AhnLab’s ASEC team and Microsoft Threat Intelligence confirmed it.
Affected versionsQ-Dir 12.83.0.0, 12.84.0.0 and 12.85.0.0. DesktopOK 12.82.0.0 and 12.85.0.0. Not every copy of those versions was tampered with.
What the RAT doesRuns shell commands and Python code, uploads and downloads files, takes screenshots, relays network connections, and collects system information, including which security products are running.
Second stageOn some PCs, a separate native backdoor with its own command servers and plugins, according to Microsoft. Removing the Python RAT does not remove it.
How it staysA scheduled task named \UPnp\MicrosoftEdge_dcntel or a registry Run value named DeviceSyncUpdate_b2. Uninstalling the program does not remove it.
Still unknownHow the files were replaced. No attacker has been named.
What to doFind every copy of either tool, including deployment shares and package caches. Check those PCs for the indicators below, isolate and rebuild any that match, and reset the passwords of people who used them.

What happened

Bert de Jong of HOB ICT Security first reported the problem publicly on November 12. He found a Q-Dir 12.83 installer, distributed through a software catalog, that deployed a Python RAT running with SYSTEM privileges. The malicious installer was unsigned and about twice the size of the real one. The SoftwareOK site later told him the trojanized installer had been served from the official website for a period before a clean version replaced it.

Other reports followed, according to BleepingComputer’s timeline:

  • Users reported infections on MajorGeeks from November 14.
  • On November 16, a researcher known as Aura said Microsoft Defender for Endpoint had flagged malicious binaries dropped by Q-Dir as early as November 9. BleepingComputer reports that Q-Dir 12.84 was released to address what was described as a Defender false positive, with the claim that no virus was present. ASEC later listed 12.84 among the tampered versions.
  • Also on November 16, Kostas of Thrunting Labs described the registry persistence and what looked like hands-on reconnaissance after infection, including a check for whether the ToDesk remote access program was running.
  • Q-Dir 12.85 came out on November 21. On November 23, Aura warned that the attack was still going on. Aura later linked DesktopOK to the same malicious infrastructure.

ASEC then published its own analysis and confirmed the earlier findings. Its report says the malicious files were created when people downloaded from the official page and also during the update process of programs already installed.

On December 2, Microsoft Threat Intelligence published a deeper analysis. Microsoft says it investigated the compromise as of November 9 and that the attackers tampered with installers and updaters on SoftwareOK’s official download and update channel. Microsoft has not attributed the activity to a named threat actor.

Nobody has confirmed how the files were replaced. ASEC says the cause and path have not been identified, and BleepingComputer reports that ASEC could not establish when the malicious versions were distributed. Aura suspects SoftwareOK’s update infrastructure was compromised. Microsoft says the upstream mechanism remains unconfirmed.

How the attack works

The malicious installer carries a genuine, digitally signed copy of Q-Dir or DesktopOK inside it. ASEC found that the embedded program matched the hash on the official download page and carried a valid signature from the developer. The installer runs that program so the user sees the tool they expected. At the same time, it downloads two files from mail.c1a2[.]top: the legitimate 7-Zip extractor 7zr.exe, and an archive that holds the RAT together with its own Python runtime.

That bundled runtime means the RAT runs on a PC that has no Python installed. ASEC lists the default install folder as C:\ProgramData\Microsoft\DeviceSync\b2, with C:\ProgramData\DeviceSync\b2 as the fallback. A scheduled task named \UPnp\MicrosoftEdge_dcntel starts the RAT script, and the name is chosen to look like a Microsoft Edge task. Microsoft also documents a current-user registry Run value, DeviceSyncUpdate_b2. Either one starts the RAT again at sign-in. The RAT then contacts a command server at 8.210.69[.]51 on port 9876 and waits for instructions. Microsoft also saw connections to the same address on port 9092, and to 47.238.130[.]37 on port 443.

ASEC also found that the RAT carries a list of 1,206 process names belonging to antivirus and EDR products from many vendors. It reports which of them are running back to the attacker, who can use that to decide on a next step or to avoid detection. Microsoft notes that this check takes inventory of security products and does not disable them. ASEC says Chinese-language comments appear in the code, which may point to a Chinese-speaking author. That is not attribution, and no group has been named.

How it reached PCs

Microsoft saw the tampered files arrive by more than one route. On some PCs a package manager updated Q-Dir to 12.83.0. On others, an older Q-Dir installation started an updater that fetched the tampered build. Portable copies also ran from synchronized folders, repositories and file shares. Where a deployment tool pushed the package, it installed silently with no prompt for the user. Microsoft says these routes show where the installer ran. They do not show that the package manager, deployment service or storage provider was itself compromised.

The same tampered Q-Dir file appeared under several names, including Q-Dir_Installer_x64.exe, Q-Dir.exe and Q-Dir_Autoupdate.exe. Microsoft advises matching copies by file hash, not by name or the publisher shown.

What the attackers did next

Once the RAT was running, Microsoft saw operators run basic discovery commands such as ver, whoami /groups and ipconfig /all, and check whether ToDesk was running. A later PowerShell task searched the PC’s Python packages for AI and machine-learning software, with search terms including ollama, vllm, langchain, llama_index and mlflow. Microsoft says that search took inventory of installed software. It does not show that models or training data were taken.

On some devices, the attackers then installed a separate native backdoor. Microsoft saw PowerShell start C:\Temp\winhost.exe, which connected to 8.210.203[.]136 on port 443 from multiple devices over several days. Another payload, C:\Users\Public\backgroundTask.exe, connected to 47.239.64[.]37 on ports 7006 and 7007 and to 8.210.20[.]147 on port 443. Both connected on their own, without the Python RAT. They run plugins through short-lived worker processes whose names begin with KKKD.PluginHost. Reinstalling Q-Dir or DesktopOK does not remove the RAT or this backdoor.

One detail matters for anyone who checks signatures. The valid signature belongs to the program inside the installer. The installer wrapped around it is a different file. A signed Q-Dir.exe on disk does not prove the installer that put it there was clean.

Why this matters for a small organization

Administrators and power users are the people who download utilities like these, and they tend to have more access than a typical employee. A RAT on one of their workstations can capture the screen, read files and reach whatever that person can reach. Where one person looks after IT for a nonprofit or a municipality, that workstation can hold the keys to everything else.

The attack also shows the limit of trusting the source. The download came from the developer’s own website, the program inside carried a valid signature, and some copies arrived through the same package managers and deployment tools IT teams use to keep software current. A hash comparison and an endpoint tool that watches behavior were the checks that could catch it.

What to check now

  1. Find every copy of either tool. Search your software inventory for Q-Dir and DesktopOK, and ask staff who may have installed them by hand, especially anyone with administrator rights. Also check deployment shares, internal mirrors, package-manager caches and synchronized folders for installers and portable copies. Do not rely on version numbers or file names alone. ASEC says people who installed or updated these programs while the malicious files were available should be careful whatever version they have.
  2. Look for the indicators on those PCs. ASEC and Microsoft list these:
    • the folder C:\ProgramData\Microsoft\DeviceSync\b2 or C:\ProgramData\DeviceSync\b2
    • the scheduled task \UPnp\MicrosoftEdge_dcntel, running pythonw.exe from a py39 folder
    • the registry Run value DeviceSyncUpdate_b2 under the user’s Software\Microsoft\Windows\CurrentVersion\Run key
    • the files C:\Temp\winhost.exe, C:\Users\Public\backgroundTask.exe or C:\Users\Public\backgroundTaskHost.exe
    • processes whose names begin with KKKD.PluginHost
    • network traffic to 8.210.69[.]51 on port 9876 or 9092, to mail.c1a2[.]top, or to the other command servers named above
  3. Check the installer hash. If someone still has the installer file, compare its SHA-256 with the value on the SoftwareOK download page. ASEC publishes the legitimate and malicious hashes for each affected version in its report. Microsoft lists hashes for 10 tampered Q-Dir files and 8 tampered DesktopOK files, along with the later payloads.
  4. If anything matches, treat the PC as compromised. ASEC says to isolate the system from the network and work out how far the compromise went, including whether more malware ran or data left. Microsoft says to remove the Python RAT and its Run value or scheduled task, then look for the native backdoor and remove it separately. Where you cannot establish the PC’s integrity, Microsoft recommends a rebuild from a trusted image, and de Jong’s advice is to reimage it. Deleting the folder does not remove the persistence, and neither does uninstalling the program.
  5. Check which accounts were exposed. List who signed in on the PC while the RAT could have been running. Microsoft and de Jong both advise revoking sessions and rotating credentials for exposed accounts. Do it from a clean system. If an administrator signed in, review that account’s recent sign-ins too.
  6. Clean the distribution path. Pull the affected installers and portable copies out of every place that could reinstall them. Microsoft advises validating replacement packages against a separately trusted release before you deploy them again, and checking the outer file that runs, not only the program inside it.

How to be ready for the next one

Our advice, for the next time a trusted download goes bad:

1. Install software from a short approved list. Staff and administrators should not download utilities from vendor websites on their own. Deploy approved tools through Intune or your remote management agent, and put a request step in front of everything else. Microsoft also suggests App Control for Business to block unapproved installers and interpreters, including portable runtimes in writable folders. An approved list does not catch a bad update to an approved tool, which is why the next steps matter too.

2. Keep a live software inventory. The first question after an incident like this is “where is it installed?” An inventory that updates itself answers it in minutes. A spreadsheet answers it a week later.

3. Run EDR and have someone read the alerts. According to the researchers, Defender for Endpoint flagged the dropped files from November 9, and Microsoft’s own investigation dates from then too. A detection on a trusted program is not automatically a false positive. Someone has to look at it, ask why a file manager is starting a Python script, and isolate the machine if the answer is not good.

4. Limit local administrator rights. A RAT gets the rights of the account that runs it, and in one report it ran with SYSTEM privileges. The fewer administrator accounts and elevated sessions you have, the less one infected PC can reach.

5. Filter outbound traffic. DNS filtering and firewall rules that block unknown domains and unusual outbound ports give you a second chance to stop a RAT from reaching its server, even after it is installed.

6. Verify hashes for anything you must download by hand. When a vendor publishes a SHA-256, compare it before you run the file. In this case, ASEC says the hashes of some files downloaded from the official site did not match the values posted on the download page.

How we help

Our endpoint security service puts managed EDR on every workstation and server, and our managed SOC reviews detections around the clock, so an alert on a trusted program gets a person’s attention. Remote monitoring keeps the live inventory of installed software and the patch status that this kind of question depends on, and Entra ID and Intune lets us deploy approved apps and set a security baseline on every managed device.

If a PC does match the indicators, incident response covers isolating it, working out what the attacker touched, and cleaning up the accounts involved. For municipalities, nonprofits and manufacturers where one or two people hold the administrator keys, we can help check your computers for these indicators. Contact us if you want that done.

Sources

Trusted by dozens of businesses