Consumer Tech · 4 min read

Hijacked Q-Dir and DesktopOK installers plant a Python RAT on PCs

AhnLab ASEC says five installer versions of Q-Dir and DesktopOK, served from the official SoftwareOK site, planted a Python RAT carrying a 1,206-name antivirus blacklist.

By Sophie Lindqvist728 words

Key takeaways

  1. ASEC reported on Nov. 26 that the official SoftwareOK site served tampered Q-Dir 12.83.0.0, 12.84.0.0, 12.85.0.0 and DesktopOK 12.82.0.0, 12.85.0.0 installers.
  2. The Python RAT compares running processes against a built-in list of 1,206 security-product names and reports the results to its command-and-control server.
  3. ASEC published SHA-256 hashes of the legitimate installers; the malicious packages bundled executables carrying developer Nenad Hrg's valid digital signature.
  4. The payload runs from C:\ProgramData\Microsoft\DeviceSync via a scheduled task disguised with a Microsoft Edge-style name.
  5. ASEC says anyone who installed or updated either tool during the untimed distribution period should treat the PC as compromised; BleepingComputer reported the case on Nov. 28.
Q-Dir and DesktopOK installers were hijacked to plant a Python RAT
Q-Dir and DesktopOK installers were hijacked to plant a Python RAT — Pexels / pixabay

AhnLab's security research centre ASEC reported on Nov. 26 that the official SoftwareOK download site served five hijacked installer versions — 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 — that quietly planted a Python-based remote access trojan on Windows PCs.

Both tools come from developer Nenad Hrg. Q-Dir is a multi-pane file manager; DesktopOK saves and restores desktop icon layouts. BleepingComputer broke the story on Nov. 28 and said users had complained for about two weeks before ASEC confirmed the compromise. Hrg did not respond to a request for comment.

How did tampered installers reach the developer's own site?

ASEC found logs showing malicious files appeared both when users downloaded those builds directly and when previously installed, legitimate copies updated themselves — a delivery path that reaches machines without any fresh download. "The specific cause and path of the legitimate installation files being replaced" have not been identified, ASEC wrote, and it did not say when the tampered versions first went up.

Not every download of the affected versions was malicious, BleepingComputer noted. The legitimate executables bundled inside the malicious installers carried a valid digital signature from Hrg, which helped the package look normal. ASEC published SHA-256 hashes of the legitimate installers so users can check their own copies.

What did the RAT do on infected machines?

The tampered installer copies the real program to the Windows Public folder and runs it, so the tool appears to work as expected. In the background it fetches two files from a remote server: a legitimate copy of the 7-Zip extractor, and an archive containing a Python runtime plus the RAT, so the victim does not need Python installed.

The RAT unpacks under C:\ProgramData\Microsoft\DeviceSync and stays running through a scheduled task disguised with a Microsoft Edge-style name. It runs shell commands and Python code, uploads and downloads files, captures screenshots and collects operating-system details.

It also compares running processes against a built-in list of 1,206 process names tied to security software, then sends the findings to its command-and-control server. BleepingComputer listed these entries among the 1,206:

  • AhnLab V3, CrowdStrike Falcon, SentinelOne
  • Avast, McAfee, ESET, Symantec, Kaspersky
  • Bitdefender, Sophos, Fortinet, Elastic Security
  • Malwarebytes, FireEye

That list tells operators which defenses run on the host, information they could use to plan the next step while avoiding detection.

What is still unknown about the attackers?

ASEC noted Chinese-language comments in the Python code and in the security-product list, which it said suggests the authors "may be associated with a Chinese-speaking environment." It did not attribute the attack to a known group. The report disclosed no hosting details, no victim counts and no explanation of how the attacker obtained Hrg's signed executables, so the comment language is the only thread investigators received.

What should affected users do?

ASEC advises checking any downloaded installer against the hash on the official page, uninstalling affected versions and reinstalling a verified build, then hunting for these indicators:

  • Unexpected Python environments on the machine
  • The scheduled task with the Microsoft Edge-style name
  • The DeviceSync folders under C:\ProgramData\Microsoft
  • Unusual outbound traffic to the command-and-control server

Removing the utility does not necessarily remove the RAT, ASEC said. Infected machines should come off the network and undergo checks for data exposure.

ASEC's own wording was blunt. Anyone who recently installed or updated either tool should "treat their system as potentially compromised," regardless of version. That advice reaches beyond the five named builds, because ASEC warned that users of other versions may also be at risk if they installed or updated during the distribution period — a window the report never dates.

Why this keeps happening

Software distribution channels have been a repeated target. MLQ.ai has also covered a CI secret stealer planted in 1,800 GitHub repositories, a separate case with the same lesson: trusted install paths do not imply trusted payloads.

Until ASEC dates the distribution window and pins down how the legitimate files were swapped, the exposure boundary stays open, and the 1,206-name security list indicates the attacker expected to remain on the machine long enough to work around whatever antivirus was installed.

mlq.ai (Source)

Filed under

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

News editor covering money, funding and market shifts around Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,371 articles

Read also

« Previous article