Q-Dir and DesktopOK Supply Chain Attack: When the Signed Binary Is Clean and the Installer Isn't
The Q-Dir and DesktopOK supply chain attack is a clean example of a problem most security programmes still handle badly: the file you downloaded came from the right website, the program inside it carried a valid signature, and your machine was compromised anyway.
On 26 November, AhnLab’s ASEC team published an analysis titled “Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files.” According to ASEC, as reported by The Hacker News, BleepingComputer and Brandefense, installers for two popular free Windows utilities — the Q-Dir multi-pane file manager and the DesktopOK icon-layout tool — were replaced on the vendor’s own download site with versions that also delivered a Python-based remote access trojan (RAT). Reporting also says the malicious files were served through the applications’ update process, not only to people downloading them for the first time.
These are not obscure tools. Q-Dir and DesktopOK are the kind of small utilities that admins, developers and support staff install on their own workstations and on jump boxes. That is exactly why this matters for cloud security.
What happened: the Q-Dir and DesktopOK supply chain attack in detail
The facts below come from ASEC’s analysis as summarised by multiple outlets. We could not read the ASEC advisory directly for this article, so treat version numbers and indicators as reported, and confirm them against the ASEC primary before acting on them.
Affected builds (reported). Five installers showed a hash mismatch against legitimate builds and contained added downloader code:
- Q-Dir 12.83.0.0, 12.84.0.0 and 12.85.0.0
- DesktopOK 12.82.0.0 and 12.85.0.0
How the attacker got the ability to replace files on the vendor’s site has not been explained publicly.
The wrapper trick. The tampered installer is a wrapper. It runs the genuine, validly signed utility, so the user sees the program they expected and a quick check of the main executable looks clean. In the background, the wrapper fetches a small archiving tool and an archive containing a bundled Python 3.9 runtime and the agent script, then installs them.
Persistence. The RAT persists through a scheduled task named to look like a Microsoft Edge task, which launches the Python agent (reported as py_client_dsv2.py).
Capabilities. Reported functions include remote shell and Python execution, file upload and download, screenshots and system-information collection. It also enumerates running security products against a long list of process names — reportedly more than a thousand in ASEC’s analysis — covering major EDR vendors.
Reported network indicators (defanged, secondary): download host mail.c1a2[.]top; C2 8.210.69[.]51 on port 9876. Code comments are reportedly in Chinese; no attribution has been made, and we make none.
Why “it’s signed” didn’t help
Most endpoint trust decisions still collapse to one question: is this binary signed by someone we trust? Here the answer was yes — for the binary that the user cared about. The malicious behaviour lived in the packaging around it and in a script run by a legitimate interpreter.
That breaks three common assumptions at once:
- “Download from the official site” is not a control when the official site is the delivery mechanism.
- Auto-update is a trust channel, not just a convenience. If the update path delivers the payload, every existing install becomes a target without anyone clicking anything.
- A Python runtime is a full execution environment. A signed
python.exerunning an unsigned.pyfile looks benign to anything that only inspects process signatures.
Impact assessment: why a desktop utility is a cloud incident
On its own this is a Windows endpoint story. In practice, the machines that install file managers and desktop-layout tools are rarely ordinary laptops. They are admin workstations and jump hosts, and they typically hold:
- cloud CLI sessions and cached tokens (AWS, Azure, Google Cloud)
- SSH keys and kubeconfig files
- browser sessions for cloud consoles, Git hosting and CI/CD
- password manager sessions and VPN profiles
A RAT with shell access and file transfer on one of those hosts is, for practical purposes, a cloud credential compromise. We made the same argument last week about source-control accounts in why your developer’s GitHub account is a production credential: the boundary that matters is what the identity on that machine can reach, not where the machine sits.
Risk rating: High for organisations where these utilities are installed on privileged endpoints; Medium otherwise. The exposure window is unclear, since the date the files were first replaced has not been published.
The CloudShieldSecure perspective
At CloudKonsult, we see the same gap after almost every supply chain incident: the endpoint team can tell you which machines ran the bad installer, and the cloud team can tell you which keys exist, but nobody can quickly join the two lists. The question that decides the scale of the incident is “which cloud identities, tokens and keys were usable from those machines?”
That is the join CloudShieldSecure is built to make easier. By keeping an inventory of cloud identities and access keys, where they are used from and what they can reach, a supply chain hit on an endpoint turns into a short, prioritised rotation list instead of a week of spreadsheets. It doesn’t stop a vendor’s website from being compromised; nothing you deploy will. It shortens the time between “we were affected” and “the stolen access no longer works”.
Recommended actions
- Find the software. Search your software inventory or EDR for Q-Dir and DesktopOK on any endpoint, prioritising admin workstations, jump hosts and shared support machines. Include portable copies, which won’t appear in installed-programs lists.
- Check versions and hashes. Compare installed builds with the affected versions above, and compare installer hashes against the values in the ASEC advisory — not against a hash from the same website that served the file.
- Hunt for the persistence, not just the app. Reinstalling a clean version may not remove the RAT. Look for scheduled tasks posing as Microsoft Edge tasks that launch Python, unexpected Python 3.9 runtimes in user-writable folders, and scripts with names like the one reported above.
- Check network logs for the reported download host and C2 address once you have confirmed them against the primary advisory.
- Treat a confirmed hit as a credential incident. Rebuild the host, then rotate every cloud access key, token, SSH key and session that was present or usable on it. Revoke refresh tokens, not just passwords.
- Pin and control updates for admin tooling. Disable in-app auto-update for utilities on privileged endpoints and distribute approved, hash-pinned versions through your own software deployment tooling.
- Shrink the list. Every free utility on a jump box is a third-party supplier with code execution on your most privileged machine. Fewer tools on privileged hosts means fewer suppliers whose bad week becomes yours.
For a broader look at hardening the hosts that administer your infrastructure, see our management-plane exposure checklist.
Sources & references
- AhnLab ASEC — Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files (primary; not read directly for this article)
- The Hacker News — Hackers trojanize official Q-Dir and DesktopOK downloads
- BleepingComputer — Q-Dir and DesktopOK Windows utilities compromised to push Python RAT
- Brandefense — Q-Dir and DesktopOK Supply Chain Attack
- Cyberpress — Malicious Q-Dir and DesktopOK updates
CloudShieldSecure is built by CloudKonsult Limited. Learn more at cloudshieldsecure.cloudkonsult.cloud.
Assess your security posture today
CloudShield Secure scans, validates, and prioritises threats across your entire attack surface.
Explore CloudShield Secure →