Q-Dir and DesktopOK Supply Chain Attack: Tampered Installers Fetch a Python RAT and Update Logs Show Malicious Files
Basic Information Article Title: Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files Source: AhnLab SEcurity intelligence Center (ASEC) Published
Basic Information
- Article Title: Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files
- Source: AhnLab SEcurity intelligence Center (ASEC)
- Published Date: 2026-11-26
- Original Report: AhnLab ASEC
- Related Coverage: BleepingComputer
- Products/Services: Q-Dir, DesktopOK, Microsoft Windows
- Severity: high
Summary in One Sentence
ASEC confirmed that some Q-Dir and DesktopOK installers on the official SoftwareOK website were tampered with, and observed logs showing malicious files created during updates of existing installations. When executed, the tampered installer launches the legitimate application while retrieving and deploying a RAT that includes a Python runtime environment from an external server. The RAT uses Task Scheduler for persistence and can run shell commands and Python code, transfer files, capture screenshots, and identify running security products.
Attack Flow
Tampered Q-Dir Installers
- Some Q-Dir installers on the official SoftwareOK website were tampered with. ASEC also confirmed logs showing malicious files created during updates of existing legitimate installations. When the tampered installer is executed, it proceeds to the shared RAT deployment process.
Tampered DesktopOK Installers
- Some DesktopOK installers on the official SoftwareOK website were tampered with. ASEC also confirmed logs showing malicious files created during updates of existing legitimate installations. When the tampered installer is executed, it proceeds to the shared RAT deployment process.
ASEC also reported logs showing malicious file creation during updates of existing legitimate installations. The public report does not document RAT deployment on individual endpoints after those updates.
Shared RAT Deployment Across Both Products
- The tampered installer drops and launches the legitimate Q-Dir or DesktopOK executable stored inside it under
C:\Users\Public\, making it appear to the user that the normal application is running. - At the same time, it retrieves the legitimate 7-Zip tool
7zr.exeanddsv2_py39_agent.7z, which contains a Python 3.9 runtime environment and the RAT, frommail.c1a2[.]top. - By default, the archive is extracted to
C:\ProgramData\Microsoft\DeviceSync\b2, or to locations such asC:\ProgramData\DeviceSync\b2if that path is unavailable. - A scheduled task named
\UPnp\MicrosoftEdge_dcntelis registered to executepy_client_dsv2.pyusing the bundledpythonw.exe. - The RAT uses
8.210.69[.]51:9876as its C2 destination.
Attacker Position and Execution Location
Tampered files were provided through the official SoftwareOK distribution channel. It is unknown at which stage the attacker replaced the files. When a user runs a tampered installer, it launches the legitimate application while initiating RAT deployment on the Windows endpoint.
Visibility for Victims and Administrators
- Victims: Users may miss the tampering because the installer launches the legitimate copy of Q-Dir or DesktopOK, making the application appear to start normally.
-
Administrators: Key observables include directories masquerading as DeviceSync, a scheduled task name masquerading as Microsoft Edge, execution from the bundled Python, communication to port 9876, and Q-Dir or DesktopOK running from
C:\Users\Public\.
Success and Failure Conditions
Success Conditions
- The tampered installer is executed on the endpoint.
- The endpoint can reach the external payload server and download the 7-Zip tool and the RAT archive.
- Extraction of the RAT, registration of the scheduled task, and communication to the C2 on port 9876 are permitted.
Failure Conditions
- The SHA-256 hash of the installer is checked against the value listed on the official page, and mismatched files are not executed.
- Blocking access to the external payload server prevents those downloads. Blocking the RAT from launching also interrupts the attack.
- C2 communication is blocked to prevent remote control.
Impact Upon Success
- The attacker can execute shell commands and arbitrary Python code on the endpoint.
- The RAT can upload and download files and capture screenshots, exposing business data and credentials to potential theft.
- The RAT compares running process names against a list of 1,206 process names used to identify security products and sends the results to the C2. Information on running AV/EDR products may be sent to the attacker and used for defense evasion or selecting follow-on actions.
- Publicly available information has not confirmed successful data exfiltration or execution of follow-on payloads at specific organizations.
Observable Logs
- Python 3.9 runtime environment and
py_client_dsv2.pyunderC:\ProgramData\Microsoft\DeviceSync\b2orC:\ProgramData\DeviceSync\b2 - Scheduled task
\UPnp\MicrosoftEdge_dcntelin Task Scheduler - Command line launching
py_client_dsv2.pyfrompythonw.exe - Name resolution of
mail.c1a2[.]top(DNS logs), connections to external destinations (firewall/EDR network logs), and requests for target files (proxies or other telemetry sources that record HTTPS request URLs; correlate with responses and file creation records on the endpoint to determine whether retrieval succeeded) - Communication to
8.210.69[.]51:9876 - Q-Dir or DesktopOK launching from
C:\Users\Public\ - SHA-256 hashes of malicious installers published by ASEC
Attack Success Determination
- Public Information: ASEC found that the hashes of some files distributed through the official site differed from the published values. Sample analysis showed that the tampered installer launches the legitimate application and downloads additional files. ASEC also identified how the RAT is deployed, how it persists, and what commands it supports over C2. Logs showing malicious file creation during updates from existing legitimate installations were also confirmed.
-
Scope of Confirmation: Public materials confirm tampering of official distribution files, file creation logs during updates, and sample behavior. ASEC's public article does not present records proving installer execution, RAT execution, C2 command execution, or data theft on individual victim endpoints. Separate determinations should be made for download, execution, RAT deployment, C2 connection, and command execution. Within your organization, treat process launch records of the tampered installer as evidence of initial execution, and treat evidence that the bundled
pythonw.exeexecutedpy_client_dsv2.pyas confirmation that the RAT was executed.
Investigation Playbook
- Check the installation and update history and download sources of Q-Dir and DesktopOK, and compare the SHA-256 hashes of stored installers against the values published by ASEC and the official website.
- Check for the Python environment under DeviceSync, the masquerading scheduled task, executables under
C:\Users\Public\, and C2 communication history. - Isolate affected endpoints and preserve the installer, extracted archive, Python scripts, task definitions, and memory and network logs.
- Investigate traces of RAT command execution, file transfer, and screenshot capture, and expand the scope to other endpoints that used the same distribution source. Update antivirus engines, run a full system scan, and if signs of infection are confirmed, assess the scope of impact including execution of additional malware and data exfiltration.
- Uninstall existing Q-Dir and DesktopOK. If the RAT, bundled Python, or persistence task is confirmed, remove them. Reinstall the latest version after confirming its safety. Before reinstalling, verify that the SHA-256 hash of the downloaded file matches the value published on the official site.
Defense and Detection Ideas
-
Single-Event Detection: Creation of
\UPnp\MicrosoftEdge_dcntel, or execution ofpythonw.exefrom under DeviceSync -
Event Correlation: Q-Dir/DesktopOK installer execution -> retrieval from
mail.c1a2[.]top-> archive extraction -> task registration -> connection to8.210.69[.]51:9876 - Threat Hunting: Retroactively search EDR, DNS, proxy, and firewall logs using ASEC's published hashes, extraction paths, task name, domain, and IP/port
- Logging Coverage: Verify whether file retrieval and task creation by software update processes can be tracked across endpoints
- Priority Controls: Installer integrity verification, application allowlisting, network monitoring of update processes, and inventory of endpoints using these tools
Facts / Inference / Hypothesis
Facts
- ASEC confirmed that malicious files were included in some installers for Q-Dir 12.83.0.0, 12.84.0.0, and 12.85.0.0 and DesktopOK 12.82.0.0 and 12.85.0.0 distributed on the official SoftwareOK website.
- ASEC confirmed SHA-256 mismatches between the values listed on the official page and the actual distributed files, as well as additional download and auto-execution code unrelated to legitimate functionality.
- The impact is not limited to new downloads; logs showing malicious file creation during updates from existing legitimate installations were also confirmed.
- The legitimate Q-Dir/DesktopOK executables inside the tampered installers matched the published hashes and had valid digital signatures from developer Nenad Hrg.
- The RAT bundles a Python runtime environment and can run even on endpoints where Python is not installed.
- The RAT can run shell commands and Python code, upload and download files, capture screenshots, collect OS and system information, and identify running security products.
- ASEC has not identified the cause or path by which the legitimate installers were replaced, nor the distribution period of the malicious files.
- ASEC confirmed the use of Chinese in Python code comments and in the security product identification list, noting that the developer or attacker may be associated with a Chinese-speaking environment.
Inference
- If IT administration endpoints have an installation or update history for either product, prioritize them for investigation due to potential operational impact. Verify the execution account and privileges of the RAT on each endpoint.
- The display of the legitimate application or the presence of a valid signature on the inner legitimate executable alone cannot determine the safety of the outer installer or subsequent communications.
- Investigation should combine actual file hashes, installation timestamps, and endpoint artifacts rather than relying solely on version numbers.
Hypothesis
No additional hypotheses.
MITRE ATT&CK Mapping
| ID | Technique | Confidence | Basis |
|---|---|---|---|
| T1195.002 | Supply Chain Compromise: Compromise Software Supply Chain | high | ASEC confirmed tampering of some installers distributed on the official website and logs showing malicious files created during updates of existing products. |
| T1204.002 | User Execution: Malicious File | high | Applies when a user executes a tampered installer obtained from the official website. |
| T1105 | Ingress Tool Transfer | high | The installer retrieves the 7-Zip tool and the RAT archive from an external server. |
| T1053.005 | Scheduled Task/Job: Scheduled Task | high | The malware registers the \UPnp\MicrosoftEdge_dcntel scheduled task to launch the Python RAT for persistence. |
| T1059.006 | Command and Scripting Interpreter: Python | high | Executes the RAT and arbitrary Python code using the bundled Python environment. |
| T1113 | Screen Capture | high | The RAT has a screenshot capture capability. |
| T1518.001 | Software Discovery: Security Software Discovery | high | Compares running process names against a list of 1,206 process names used to identify security products. |
Unknowns and Additional Investigation
- The cause and path by which legitimate files were replaced, as well as the scope of compromised infrastructure, are unknown.
- The exact start and end times of malicious file distribution have not been published.
- Not all files of the confirmed versions were malicious, and whether unconfirmed versions were affected has not been determined.
- Public reporting has not disclosed how many endpoints were infected, which organizations were affected, what C2 commands were issued, or what data, if any, was stolen.
- The attribution and ultimate objective of the attacker have not been confirmed.
Impact on SOCs and Organizations
Q-Dir and DesktopOK are Windows utilities that assist with file operations and desktop management, and they may be installed on administrator and power-user endpoints. Organizations should identify endpoints with either product installed using software asset management and check installation/update timestamps, hashes, scheduled tasks, extraction paths, and network communications on the same timeline without excluding systems based on version alone.
Summary by Audience
-
For SOC: Correlate the bundled Python under DeviceSync,
\UPnp\MicrosoftEdge_dcntel,mail.c1a2[.]top,8.210.69[.]51:9876, and ASEC's published hashes to separately determine download, execution, RAT deployment, and C2 command execution. - For Administrators: Inventory endpoints with Q-Dir or DesktopOK installed and compare stored installers against the hashes published on the official site. On endpoints suspected of infection, do not stop at uninstalling the legitimate application; also remove the RAT and the scheduled task.
- For Users: If you recently installed or updated Q-Dir or DesktopOK, check with your administrator before continuing to use it. Even if obtained from the official site, it is not necessarily safe until hash verification is complete.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.