20 min to read
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
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 atC:\ProgramData\Microsoft\DeviceSync\b2(orC:\ProgramData\DeviceSync\b2), and traffic tomail.c1a2[.]topor8.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):
- 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.
- Decoy launch. The installer writes the real program to
C:\Users\Public\and runs it, so the tool opens and works normally. - Second-stage download. In the background it fetches
7zr.exe(the legitimate standalone 7-Zip extractor) anddsv2_py39_agent.7zfrommail.c1a2[.]top. - Self-contained Python. The archive is unpacked to
C:\ProgramData\Microsoft\DeviceSync\b2, or toC:\ProgramData\DeviceSync\b2if the first path is not available. It contains its own Python runtime, so the machine does not need Python installed. - Persistence that looks like Edge. A scheduled task called
\UPnp\MicrosoftEdge_dcntelrunspy39\pythonw.exewithpy39\agent\py_client_dsv2.py. Usingpythonw.exemeans no console window ever appears. - Command and control. The RAT connects to
8.210.69[.]51on 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:
- Someone downloaded Q-Dir or DesktopOK from the official site recently, especially versions Q-Dir 12.83.0.0 / 12.84.0.0 / 12.85.0.0 or DesktopOK 12.82.0.0 / 12.85.0.0.
- An existing install of either tool updated itself during the (unknown) distribution window.
- You have a copy of one of those installers sitting in a shared “tools” folder, on a USB drive or in a software repository.
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)
- Block
mail.c1a2[.]top,c1a2[.]topand8.210.69[.]51at the firewall, DNS filter and proxy. - Find every machine with Q-Dir or DesktopOK, using EDR, your software inventory, or a simple file search for
Q-Dir*.exeandDesktopOK*.exe. - Run the host checks above on each one. Prioritise admin, developer and finance machines.
- Turn off auto-update in both tools, or uninstall them, until a verified clean build is confirmed. Remember that uninstalling does not remove the RAT.
- Quarantine copies of the installers in shared drives and tool repositories until you have checked their hashes.
If you find indicators
- Isolate the machine from the network, but keep it powered on if you can, so you keep process, task and network evidence (ASEC, Brandefense).
- Collect the scheduled task XML, the
DeviceSync\b2folder, and proxy and firewall logs for the period. - Assume credentials are exposed. The RAT can run arbitrary code and take screenshots. Reset passwords and revoke sessions for every account used on that PC, including browser-saved passwords, VPN, email, cloud consoles and banking portals.
- Look for follow-on activity: new services, other scheduled tasks, new local admins, and lateral movement from that host.
- Rebuild from a known-good image instead of trying to clean the machine by hand, especially for admin workstations.
This week
- Reinstall Q-Dir or DesktopOK only after checking the full installer’s SHA-256 against the official page, and only if you really need them.
- Update antivirus/EDR engines and run full scans on any machine that had these tools (ASEC).
- Add the Sigma/KQL logic above to your SIEM so you catch late or new infections.
Longer term
- Control freeware. Keep an approved-software list, and use WDAC or AppLocker on privileged and finance machines so unapproved installers cannot run.
- Package tools centrally. Have IT download, hash-check and repackage utilities once, then deploy them from an internal repository with self-update turned off.
- Alert on behaviour, not just reputation.
pythonw.exerunning fromProgramDataon a machine where Python is not installed should raise an alert anywhere. - If you publish software yourself, follow ASEC’s advice for developers: sign and hash-check at every step from build to deployment, and regularly confirm that the files you serve still match the hashes you publish.
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
- ASEC (AhnLab): Supply chain attack on SoftwareOK Q-Dir and DesktopOK installers
- The Hacker News: Hackers Trojanize Official Q-Dir and DesktopOK Downloads to Deliver Remote Access Malware
- BleepingComputer: Q-Dir and DesktopOK Windows utilities compromised to push Python RAT
- WindowsForum: Q-Dir and DesktopOK Supply Chain Attack Delivers Python RAT Through Installers and Updates
- Brandefense: Q-Dir and DesktopOK Supply Chain Attack
- ASEC (2023): Additional Activities of the Tick Group That Attacks with a Modified Q-Dir
-
ESET WeLiveSecurity (2023): Tick APT group compromises a DLP software developer
sel_script: CommandLine|contains: ‘py_client_dsv2.py’ condition: 1 of sel_* falsepositives: ~|-| Unlikely level: high tags: ~|-| attack.persistence ~|-| attack.t1053.005 ~|-| attack.execution ~|-| attack.t1059.006 ~|-| attack.initial~|-|access ~|-| attack.t1195.002 ```
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)
- Block
mail.c1a2[.]top,c1a2[.]topand8.210.69[.]51at the firewall, DNS filter and proxy. - Find every machine with Q-Dir or DesktopOK, using EDR, your software inventory, or a simple file search for
Q-Dir*.exeandDesktopOK*.exe. - Run the host checks above on each one. Prioritise admin, developer and finance machines.
- Turn off auto-update in both tools, or uninstall them, until a verified clean build is confirmed. Remember that uninstalling does not remove the RAT.
- Quarantine copies of the installers in shared drives and tool repositories until you have checked their hashes.
If you find indicators
- Isolate the machine from the network, but keep it powered on if you can, so you keep process, task and network evidence (ASEC, Brandefense).
- Collect the scheduled task XML, the
DeviceSync\b2folder, and proxy and firewall logs for the period. - Assume credentials are exposed. The RAT can run arbitrary code and take screenshots. Reset passwords and revoke sessions for every account used on that PC, including browser-saved passwords, VPN, email, cloud consoles and banking portals.
- Look for follow-on activity: new services, other scheduled tasks, new local admins, and lateral movement from that host.
- Rebuild from a known-good image instead of trying to clean the machine by hand, especially for admin workstations.
This week
- Reinstall Q-Dir or DesktopOK only after checking the full installer’s SHA-256 against the official page, and only if you really need them.
- Update antivirus/EDR engines and run full scans on any machine that had these tools (ASEC).
- Add the Sigma/KQL logic above to your SIEM so you catch late or new infections.
Longer term
- Control freeware. Keep an approved-software list, and use WDAC or AppLocker on privileged and finance machines so unapproved installers cannot run.
- Package tools centrally. Have IT download, hash-check and repackage utilities once, then deploy them from an internal repository with self-update turned off.
- Alert on behaviour, not just reputation.
pythonw.exerunning fromProgramDataon a machine where Python is not installed should raise an alert anywhere. - If you publish software yourself, follow ASEC’s advice for developers: sign and hash-check at every step from build to deployment, and regularly confirm that the files you serve still match the hashes you publish.
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
- ASEC (AhnLab): Supply chain attack on SoftwareOK Q-Dir and DesktopOK installers
- The Hacker News: Hackers Trojanize Official Q-Dir and DesktopOK Downloads to Deliver Remote Access Malware
- BleepingComputer: Q-Dir and DesktopOK Windows utilities compromised to push Python RAT
- WindowsForum: Q-Dir and DesktopOK Supply Chain Attack Delivers Python RAT Through Installers and Updates
- Brandefense: Q-Dir and DesktopOK Supply Chain Attack
- ASEC (2023): Additional Activities of the Tick Group That Attacks with a Modified Q-Dir
- ESET WeLiveSecurity (2023): Tick APT group compromises a DLP software developer