Q-Dir DesktopOK Malware: How to Check and Contain Python RAT
Key takeaways
- Official SoftwareOK channels reportedly served trojanized Q-Dir and DesktopOK installers that were digitally signed with the developer's certificate.
- Both fresh downloads and updates of existing installs were affected, per AhnLab's ASEC.
- Affected versions listed are Q-Dir 12.83.0.0, 12.84.0.0, 12.85.0.0 and DesktopOK 12.82.0.0 and 12.85.0.0, but not every build was infected.
- Uninstalling the app does not remove the Python RAT, so admins must hunt for scheduled tasks, Python environments and outbound traffic.
- Compare installer SHA-256 hashes against trusted values before reinstalling anything.
Q-Dir DesktopOK malware is a software supply chain compromise: according to BleepingComputer, official distribution channels for the two Windows utilities delivered trojanized installers carrying a Python-based remote access trojan (RAT). Researchers at AhnLab say the bad installers were digitally signed with a certificate issued to the legitimate developer. Anyone who recently installed or updated either tool should treat that machine as potentially compromised.
Q-Dir is a file manager pitched as a more powerful alternative to Windows File Explorer. DesktopOK saves desktop icon layouts, which helps when you switch monitors or change resolution. Nenad Hrg develops both and distributes them through the SoftwareOK website. Neither is mainstream, but IT professionals, power users and system administrators use them, which makes the potential foothold more valuable than the download numbers suggest.
What happened with the Q-Dir and DesktopOK installers?
AhnLab’s Security Intelligence Center (ASEC) confirmed that some installation files on the official SoftwareOK site had been tampered with. Per the report quoted by BleepingComputer, malicious files appeared both when users downloaded the programs from the official download page and during updates of previously installed legitimate copies.
The confirmation followed user complaints dating back about two weeks. ASEC could not determine how the installers were replaced or the timeframe in which malicious versions were distributed. BleepingComputer said it contacted Nenad Hrg and had received no response at publication.
Which versions are affected?
ASEC lists these releases as impacted:
| Product | Listed versions |
|---|---|
| Q-Dir | 12.83.0.0, 12.84.0.0, 12.85.0.0 |
| DesktopOK | 12.82.0.0, 12.85.0.0 |
Not every listed build was infected, and ASEC shared SHA-256 hashes so users can tell legitimate installers from malicious ones. Even so, ASEC advises that anyone who recently installed or updated either tool should assume compromise, regardless of version.
What does the Python RAT do?
The malware fetched by the trojanized installers registers a scheduled task to persist. According to the reporting, it can run shell commands and Python code, transfer files, and take screenshots. It also gathers system information, including which security products are active.
ASEC says it embeds a list of 1,206 process names tied to antivirus and EDR tools, Korean and international. Named examples include AhnLab V3, CrowdStrike Falcon, SentinelOne, Trend Micro, Avast, McAfee, ESET, Symantec, Kaspersky, Bitdefender, Sophos, Fortinet, Elastic Security, Malwarebytes and FireEye. That data goes to the command and control (C2) server so operators can plan next steps without being detected.
My analysis: a valid signature is no longer proof of safety. If attackers can swap files on a trusted distribution point, a signature tells you who signed, not that the build is clean. Hash verification from an independent source matters more here.
How do I find potentially affected installations?
Start with inventory. Look for Q-Dir and DesktopOK across your fleet, including portable copies on admin workstations and jump hosts.
- Query your software inventory or EDR for Q-Dir and DesktopOK, and record the version and install or update date.
- Prioritize machines that installed or updated either tool in the last few weeks.
- Hash the installer or executable and compare it to the SHA-256 values ASEC published and to those on the official download page.
- Flag privileged machines first, since these tools are popular with administrators.
How do I contain and clean exposed endpoints?
ASEC warns that removing the trojanized app does not eliminate the Python RAT. Uninstalling alone is not remediation.
- Isolate the endpoint from the network, keeping it powered on if you want forensic evidence.
- Hunt for persistence: review scheduled tasks for unfamiliar entries, especially ones launching Python.
- Look for unexpected Python environments in user or temp directories on machines that have no business running Python.
- Review network logs for external connections from those processes, and block any suspicious destinations at the firewall or proxy.
- Assume credential exposure. The RAT can run commands, move files and capture screens, so rotate credentials used on the host (my recommendation, not from the source).
- Rebuild when in doubt. For high-privilege systems, reimaging is safer than trusting a manual cleanup.
For evidence handling, see our primer on digital forensics. If you want to examine a suspect sample safely, our guide to malware analysis basics covers isolated lab practices. Similar remote access threats are covered in our look at the CloudZ RAT and Windows Phone Link.
How do I verify software provenance before reinstalling?
Do not rely on the download page alone, since that channel was the one reported as compromised. ASEC advises checking downloads against the SHA-256 published on the official download page, and also shared its own hashes for comparison.
In PowerShell, Get-FileHash .\installer.exe -Algorithm SHA256 prints the hash. Compare it against more than one source, such as the vendor page and the ASEC report. If values disagree or you cannot confirm a clean build, hold off on reinstalling and consider alternatives.
For managed environments, a few habits reduce exposure to this class of attack (general best practice, not from the source):
- Route third-party utilities through an approval and packaging process rather than letting users self-install.
- Pin versions and test updates on a small group before broad rollout.
- Alert on new scheduled tasks and on Python interpreters appearing on non-developer machines.
- Keep EDR tamper protection on, given the malware’s focus on identifying security tools.
The Bottom Line
The Q-Dir DesktopOK malware incident shows that official sites and valid signatures can still deliver a RAT. If you run either tool, inventory it today, compare hashes against ASEC’s published values, and hunt for scheduled tasks, stray Python environments and unusual outbound traffic before you reinstall. Treat any machine that recently installed or updated these tools as compromised until proven otherwise.
Frequently Asked Questions
Were Q-Dir and DesktopOK really compromised on the official site?
According to AhnLab's ASEC, as reported by BleepingComputer, some installation files on the official SoftwareOK website were tampered with. The trojanized versions were digitally signed with a certificate issued to the legitimate developer. ASEC could not determine how the files were replaced.
Which Q-Dir and DesktopOK versions are affected?
ASEC lists 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 listed build was infected, and SHA-256 hashes were shared to tell them apart. Users who recently installed or updated should still assume compromise.
Does uninstalling Q-Dir or DesktopOK remove the malware?
No. ASEC says removing the trojanized app does not guarantee the Python RAT is gone. Check for suspicious Python environments, scheduled tasks and external network communication.
What can the Python RAT do?
It runs shell commands and Python code, transfers files and takes screenshots. It also collects system information, including active security products, and sends it to a C2 server.
How can I verify an installer is legitimate?
Compute its SHA-256 hash, for example with PowerShell's Get-FileHash, and compare it with the value on the official download page and the hashes ASEC published. If they do not match, do not run the file.
Sources
- Q-Dir and DesktopOK Windows utilities compromised to push Python RAT — BleepingComputer
Read more on InnoVirtuoso
- How to Encrypt a USB Drive on Windows or Mac
- Can AI Write Malware? How Chatbots Are Changing Cybercrime—and What We Can Do About It
- BADBOX Android malware: How TV Box Ad Fraud Works
- Salesforce Is Crowdsourcing Its AI Roadmap With Customers: Inside the Push for Practical Enterprise AI
- OpenClaw + VirusTotal: Proactive Malware Scanning Raises the Bar for AI Agent Security
Enjoyed this? Subscribe to the InnoVirtuoso newsletter for practical AI, security and tech insights — and share your thoughts in the comments.
