Q-Dir and DesktopOK Installers Trojanized: What Happened and What to Do

Official downloads and auto-updates of two popular Windows freeware tools dropped a Python RAT

Featured image

Most security advice about downloads comes down to one rule: get software from the official site. This week that rule failed. AhnLab’s security team (ASEC) confirmed that installers for Q-Dir and DesktopOK, two long-running free Windows utilities from SoftwareOK, were replaced on the developer’s own website with trojanized builds that quietly install a Python remote access trojan (RAT). The tampered files did not only reach people downloading fresh copies. ASEC says malicious files were also created “during the update process of previously installed legitimate programs” (The Hacker News, ASEC).

Q-Dir (a four-pane file manager) and DesktopOK (a tool that saves and restores desktop icon layouts) are exactly the sort of small utilities that IT staff, developers and power users install on their own machines without a ticket. In many Pakistani offices nobody tracks this kind of freeware at all. If either tool is anywhere in your environment, this post explains how to find out whether you were hit and what to do about it.

TL;DR / Key takeaways

  • What: Trojanized installers for Q-Dir 12.83.0.0, 12.84.0.0, 12.85.0.0 and DesktopOK 12.82.0.0, 12.85.0.0 were served from the official SoftwareOK site and through the built-in update feature. ASEC says other versions may also be affected (ASEC).
  • Payload: a Python RAT with its own bundled Python runtime. It runs shell commands and Python code, moves files, takes screenshots, collects system information and checks for 1,206 security products.
  • Telltale signs: a scheduled task named \UPnp\MicrosoftEdge_dcntel, a folder at C:\ProgramData\Microsoft\DeviceSync\b2 (or C:\ProgramData\DeviceSync\b2), and traffic to mail.c1a2[.]top or 8.210.69[.]51:9876.
  • Uninstalling the utility does not remove the RAT. You have to hunt for it and remove it separately, or rebuild the machine.
  • Still unknown: how the files were replaced, how long they were served, and how many machines were infected. The developer had not commented at the time of writing.

What happened (timeline)

Date Event
Early-mid November 2026 According to BleepingComputer, users complained for about two weeks before the compromise was confirmed (WindowsForum, citing BleepingComputer)
26 Nov ASEC publishes its analysis, with affected versions, file hashes, paths and network indicators (ASEC)
27 Nov The Hacker News and Brandefense report on the campaign (The Hacker News, Brandefense)
28 Nov BleepingComputer reports that the trojanized builds were signed with a certificate issued to the developer, Nenad Hrg, who had not replied to its questions (WindowsForum)

As of today (29 November), we found no public statement from SoftwareOK. ASEC also does not give a start or end date for the period when malicious files were served. Treat that window as unknown.

How the attack works (conceptually)

ASEC’s analysis describes a simple chain that is hard for users to notice (ASEC):

  1. A trojanized installer from a trusted source. The user downloads Q-Dir or DesktopOK from the official page, or an existing install updates itself. Inside the modified installer is a genuine copy of the program. ASEC found that this embedded executable matched the published SHA-256 hash and carried a valid signature from the developer. Only the outer installer was altered.
  2. Decoy launch. The installer writes the real program to C:\Users\Public\ and runs it, so the tool opens and works normally.
  3. Second-stage download. In the background it fetches 7zr.exe (the legitimate standalone 7-Zip extractor) and dsv2_py39_agent.7z from mail.c1a2[.]top.
  4. Self-contained Python. The archive is unpacked to C:\ProgramData\Microsoft\DeviceSync\b2, or to C:\ProgramData\DeviceSync\b2 if the first path is not available. It contains its own Python runtime, so the machine does not need Python installed.
  5. Persistence that looks like Edge. A scheduled task called \UPnp\MicrosoftEdge_dcntel runs py39\pythonw.exe with py39\agent\py_client_dsv2.py. Using pythonw.exe means no console window ever appears.
  6. Command and control. The RAT connects to 8.210.69[.]51 on TCP port 9876 and waits for tasks.

What the RAT can do: run shell commands and arbitrary Python code, upload and download files, take screenshots, and collect OS and system details. It also compares running processes against a list of 1,206 security product process names, including AhnLab, CrowdStrike, SentinelOne, ESET, Kaspersky, Sophos, Fortinet, Elastic and Malwarebytes, and sends the results to its operator (ASEC, The Hacker News). That reconnaissance suggests the operator picks what to do next based on which defences are installed. ASEC warns the RAT could be used to install more malware and expose work data and account information.

Attribution: none so far. ASEC found Chinese-language comments in the Python code and the product list, and presents that only as a possible sign of a Chinese-speaking development environment, not as evidence of a particular group.

Why “it’s signed” did not help

People are taught to check for a valid digital signature, and many application-control rules trust a known publisher. Here the signature check gave false reassurance. BleepingComputer reported the trojanized installers were signed with the developer’s certificate, and ASEC confirmed the embedded program was the genuine, signed binary (WindowsForum, ASEC). What gave the tampering away was the hash of the whole installer, which did not match the SHA-256 published on the SoftwareOK download page. As Brandefense put it, “a matching hash for an embedded application component does not establish that the installer wrapper is safe” (Brandefense).

It is also not the first time Q-Dir has been abused. Between 2021 and 2022, the Tick APT group spread malware disguised as Q-Dir in Korea, and ESET documented trojanized Q-Dir installers inside an East Asian DLP vendor’s network (ASEC, 2023, ESET WeLiveSecurity). Nobody has linked that activity to this week’s incident, but it shows attackers already know this tool is widely trusted.

Am I affected?

You may be affected if any of the following is true:

Version numbers are not proof on their own. ASEC lists several different malicious hashes for some versions, and WindowsForum notes that some copies of the listed versions are clean (ASEC, WindowsForum). The reliable test is to look for the host and network indicators below.

Indicators of compromise (from ASEC)

Type Indicator
Scheduled task \UPnp\MicrosoftEdge_dcntel
Directory C:\ProgramData\Microsoft\DeviceSync\b2 and C:\ProgramData\DeviceSync\b2
Files py39\pythonw.exe, py39\agent\py_client_dsv2.py, 7zr.exe, dsv2_py39_agent.7z
Download URLs hxxps://mail[.]c1a2[.]top/dl/7zr[.]exe, hxxps://mail[.]c1a2[.]top/dl/dsv2_py39_agent[.]7z
C2 8[.]210[.]69[.]51 TCP/9876
MD5 ae44745919f4ef516581ebfaa97a0b4a

Malicious installer SHA-256 values from ASEC’s IOC list:

1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0
393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83
434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8
551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d
5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a

ASEC’s report has a longer table with more malicious hashes for each version, alongside the legitimate ones. Use the original report as the full reference.

Detection and hunting

Quick check on a single PC (PowerShell)

Run this in an elevated PowerShell window. It only reads; it changes nothing.

~|#| 1. The persistence task
Get~|-|ScheduledTask ~|-|TaskPath "\UPnp\" ~|-|ErrorAction SilentlyContinue |
  Select~|-|Object TaskPath, TaskName, State

~|#| 2. The RAT install folders
"C:\ProgramData\Microsoft\DeviceSync\b2","C:\ProgramData\DeviceSync\b2" |
  ForEach~|-|Object { "{0} exists: {1}" ~|-|f $_, (Test~|-|Path $_) }

~|#| 3. pythonw.exe running from ProgramData
Get~|-|CimInstance Win32_Process ~|-|Filter "Name~|=|'pythonw.exe'" |
  Select~|-|Object ProcessId, ExecutablePath, CommandLine

~|#| 4. Live connections to the C2 port
Get~|-|NetTCPConnection ~|-|RemotePort 9876 ~|-|ErrorAction SilentlyContinue

~|#| 5. Hash any saved installers and compare with ASEC's list
Get~|-|ChildItem "$env:USERPROFILE\Downloads" ~|-|Include *Q~|-|Dir*,*DesktopOK* ~|-|Recurse |
  Get~|-|FileHash ~|-|Algorithm SHA256

Nothing found does not prove the machine is clean, because other variants may use different names (WindowsForum). Something found means you treat the machine as compromised.

Microsoft Defender for Endpoint / Sentinel (KQL)

// Python RAT executing from the DeviceSync staging path
DeviceProcessEvents
| where Timestamp > ago(60d)
| where FileName in~ ("pythonw.exe","python.exe")
| where FolderPath has @"\DeviceSync\b2\" or ProcessCommandLine has "py_client_dsv2.py"
| project Timestamp, DeviceName, AccountName, FolderPath, ProcessCommandLine, InitiatingProcessFileName

// Network indicators
DeviceNetworkEvents
| where Timestamp > ago(60d)
| where RemoteIP ~|=|~|=| "8.210.69.51" or RemoteUrl has "c1a2.top"
| project Timestamp, DeviceName, InitiatingProcessFileName, RemoteIP, RemotePort, RemoteUrl

// Inventory: who has the tools at all?
DeviceProcessEvents
| where Timestamp > ago(90d)
| where FileName has_any ("Q~|-|Dir","DesktopOK")
| summarize FirstSeen~|=|min(Timestamp), LastSeen~|=|max(Timestamp) by DeviceName, FileName, SHA256

Sigma rule (scheduled task and process)

title: Python RAT from Trojanized Q~|-|Dir/DesktopOK Installers
status: experimental
description: Detects persistence and execution artifacts reported by ASEC for the SoftwareOK supply~|-|chain compromise (Nov 2026)
references:
  ~|-| https://asec.ahnlab.com/en/96827/
logsource:
  product: windows
  category: process_creation
detection:
  sel_task:
    Image|endswith: '\schtasks.exe'
    CommandLine|contains: 'MicrosoftEdge_dcntel'
  sel_python:
    Image|endswith: '\pythonw.exe'
    Image|contains: '\DeviceSync\b2```

The installer may register the task through the Task Scheduler API rather than `schtasks.exe`. If you collect Security event **4698** (scheduled task created) or the `Microsoft-Windows-TaskScheduler/Operational` log, add a search for the task name there as well.

### Firewall, proxy and DNS (Splunk-style)
{: id="firewall-proxy-and-dns-splunkstyle"}

```text
index~|=|proxy OR index~|=|dns OR index~|=|firewall
  (query~|=|"*c1a2.top" OR url~|=|"*c1a2.top*" OR dest_ip~|=|"8.210.69.51" OR dest_port~|=|9876)
| stats earliest(_time) AS first latest(_time) AS last count BY src_ip, dest_ip, dest_port, query, url

On a FortiGate, Sophos or Palo Alto firewall, add mail.c1a2[.]top and 8.210.69[.]51 to a block list today, and search the last 60 to 90 days of logs for any hits.

What to do: prioritised checklist

Immediately (today)

If you find indicators

This week

Longer term

OffensioX perspective

This incident shows that supply-chain attacks are not only aimed at big vendors. Attackers have hit npm packages, CI pipelines and enterprise update servers; this time it was a one-developer freeware site with a loyal user base, an auto-updater and a code-signing certificate. That combination is a soft target, and it gets straight onto the machines of technical staff, who usually have the most access. The useful lesson is about what to trust. A trusted source and a valid signature showed where the file came from, but not whether it had been tampered with. The checks that caught this were integrity checks (comparing installer hashes) and behaviour checks (a hidden Python runtime phoning home from a fake Edge task). For businesses in Pakistan, where unmanaged freeware and local admin rights are still common, the cheapest control is also the most effective: know what software runs on your machines and decide who is allowed to install it. If you want an independent view of how far an attacker could get from one compromised workstation, OffensioX offers penetration testing and security assessments that test exactly that.

References

The installer may register the task through the Task Scheduler API rather than schtasks.exe. If you collect Security event 4698 (scheduled task created) or the Microsoft-Windows-TaskScheduler/Operational log, add a search for the task name there as well.

Firewall, proxy and DNS (Splunk-style)

index~|=|proxy OR index~|=|dns OR index~|=|firewall
  (query~|=|"*c1a2.top" OR url~|=|"*c1a2.top*" OR dest_ip~|=|"8.210.69.51" OR dest_port~|=|9876)
| stats earliest(_time) AS first latest(_time) AS last count BY src_ip, dest_ip, dest_port, query, url

On a FortiGate, Sophos or Palo Alto firewall, add mail.c1a2[.]top and 8.210.69[.]51 to a block list today, and search the last 60 to 90 days of logs for any hits.

What to do: prioritised checklist

Immediately (today)

If you find indicators

This week

Longer term

OffensioX perspective

This incident shows that supply-chain attacks are not only aimed at big vendors. Attackers have hit npm packages, CI pipelines and enterprise update servers; this time it was a one-developer freeware site with a loyal user base, an auto-updater and a code-signing certificate. That combination is a soft target, and it gets straight onto the machines of technical staff, who usually have the most access. The useful lesson is about what to trust. A trusted source and a valid signature showed where the file came from, but not whether it had been tampered with. The checks that caught this were integrity checks (comparing installer hashes) and behaviour checks (a hidden Python runtime phoning home from a fake Edge task). For businesses in Pakistan, where unmanaged freeware and local admin rights are still common, the cheapest control is also the most effective: know what software runs on your machines and decide who is allowed to install it. If you want an independent view of how far an attacker could get from one compromised workstation, OffensioX offers penetration testing and security assessments that test exactly that.

References