Skip to content
Security & Trust

Tampered Q-Dir installers ran the real app while a Python RAT installed

AhnLab says the official SoftwareOK site served altered installers, including through updates of installed copies.

W
WebPulse Newsroom
AI-assisted · 4 min read
Share on X LinkedIn
Tampered Q-Dir installers ran the real app while a Python RAT installed

Graphic: WebPulse, drawn from the sourced facts in this story.

In brief
  • AhnLab ASEC found tampered Q-Dir and DesktopOK installers on the official SoftwareOK site. They installed a Python remote-control tool while the real app ran normally.
  • The embedded program was validly signed and matched the posted hash. AhnLab found that the hashes of some whole installers did not match, and that they contained code for extra downloads.
  • AhnLab advises Q-Dir and DesktopOK users to verify the SHA-256 hash before reinstalling. Reinstalling alone may not remove the malware, so check for the RAT's traces.

When the app works, the test passes

A broken installer is easy to spot. One that works is much harder. AhnLab's researchers found Q-Dir and DesktopOK installers that did the second thing. They opened the real program on screen. Quietly, they also installed remote-control malware.

The lesson here is that "it runs fine" does not show that a download is safe.

What AhnLab found

SoftwareOK offers free Windows utilities, including Q-Dir, DesktopOK and WinScan2PDF. AhnLab's ASEC team says some installation files on the site had been tampered with. Users got the bad files from SoftwareOK itself. They did not come from third-party mirrors or ads.

AhnLab confirmed five builds as replaced: three of Q-Dir, numbered 12.83.0.0 through 12.85.0.0, and two of DesktopOK, 12.82.0.0 and 12.85.0.0. Other versions may also be a risk if someone installed or updated while the bad files were circulating.

AhnLab's logs also showed malicious files appearing during updates of programs already installed. So a user who never revisited the site could, according to those logs, still have been affected. The source does not say how those updates work or whether every update path was involved. AhnLab says it has not found out how the legitimate files were replaced.

How the disguise works

The bad installer carries the real Q-Dir or DesktopOK program inside it. AhnLab says that embedded program matched the hash on the download page. It also carried a valid signature from the developer, Nenad Hrg. A hash is a file's fingerprint. Change the file and the fingerprint changes.

When the installer runs, it starts the genuine program. The user sees a normal window. Meanwhile, it contacts an outside server. It downloads 7zr.exe, a legitimate 7-Zip tool, plus a package holding a Python remote access trojan, or RAT. The attacker uses the 7-Zip tool to unpack the package.

By default, the package lands in C:\ProgramData\Microsoft\DeviceSync\b2. If that path is unavailable, it uses C:\ProgramData\DeviceSync\b2. The package includes its own Python runtime. So it works even where Python is not installed. A scheduled task named \UPnp\MicrosoftEdge_dcntel keeps it running after restarts.

What the attacker gets

According to AhnLab, the RAT can run shell commands and Python code. It can send and receive files, take screenshots and collect system information. The researchers warn that work data and account details could be exposed.

It also checks the machine's running processes against an internal list of 1,206 names. AhnLab says the list covers Korean and global antivirus and EDR products. Examples include CrowdStrike Falcon, SentinelOne, Trend Micro, Kaspersky and Bitdefender. The results go to the command server. AhnLab says the attacker can use them to judge the defences, plan follow-up attacks or avoid detection.

AhnLab found Chinese-language comments in the code and in the security product list. It says this suggests the developers or operators may be linked to a Chinese-speaking environment. Language is a clue, not proof of who is responsible.

What the checks showed

AhnLab says the SHA-256 hashes of some installers from the official site did not match the hashes posted on the download page. It also found that those installers contained code that triggered extra downloads and automatic execution, which has nothing to do with the real program's function.

The embedded program was different. It was validly signed and matched the posted hash. So checking that program alone would not have revealed the swap. The whole installer's hash did not match.

The next point is our analysis, not AhnLab's finding. A hash comparison helps only while the attacker has not changed both the file and the number beside it. AhnLab does not say that happened here.

AhnLab found that malicious files also appeared during updates. We infer that people who update from inside a trusted tool may never see a hash to compare. The source does not say how those updates work.

What to ask your team

First, ask whether anyone uses Q-Dir or DesktopOK. Ask whether they installed or updated either recently. AhnLab advises these users to verify the SHA-256 hash against the official download page before reinstalling, and to look for signs that the RAT was installed or run.

Second, do not treat a reinstall as a cleanup. AhnLab warns that reinstalling may leave the RAT in place. It advises looking for suspicious Python environments, scheduled tasks, related files and unusual outbound traffic. It also advises a full antivirus scan. If there are signs of infection, isolate the machine. Then assess whether more malware ran or data left.

Third, a broader question of our own: who decides which free utilities may be installed? Ask whether anyone checks hashes first. For tools that update themselves, ask whether IT can see what changed.

A signature tells you who built a program. A hash tells you whether the file you hold matches the one that was published. The source confirms the signature only for the embedded program and does not say whether the outer installer was signed. Neither check tells you what else came in the same box.

Produced by the WebPulse Newsroom with AI assistance from the original reporting credited below, and checked against that source by our editorial review. How we use AI.
Original reporting: AhnLab ASEC.