What happened
South Korean security firm AhnLab, through its ASEC research team, has disclosed a software supply chain attack on two Windows utilities, Q-Dir and DesktopOK. Installers distributed through the official SoftwareOK website were tampered with. According to the report, malicious files appeared both when users downloaded the programs directly and when already-installed copies updated themselves.
Affected versions
- 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 infection works
The trojanized installer runs the legitimate program so the user sees nothing unusual, while it quietly installs a Python-based remote access trojan. The RAT can run shell and Python commands, transfer files, capture screenshots and collect system information.
Persistence uses a scheduled task disguised as Microsoft Edge that launches the RAT through a Python script named py_client_dsv2.py. The RAT also lists running processes and reports any that match a list of security products, including AhnLab, CrowdStrike and Kaspersky, back to its operator.
What is not known
- How the installer files on the SoftwareOK site were replaced has not been determined.
- Attribution is unknown. AhnLab found Chinese-language comments in the source code, which is not enough to name an actor.
Indicators of compromise
| Type | Value |
|---|---|
| Payload host | mail.c1a2[.]top |
| C2 server | 8.210.69[.]51:9876 |
| Files | 7zr.exe (legitimate 7-Zip, abused for extraction), dsv2_py39_agent.7z, py_client_dsv2.py |
What to do
- Find out whether any system has Q-Dir or DesktopOK at the versions above, including machines that auto-updated.
- Verify SHA-256 hashes of installed or downloaded files against known-good values.
- Look for unexpected Python environments, a scheduled task posing as Microsoft Edge, the files above, and outbound traffic to the C2 address.
- Block the domain and IP at the perimeter.
- Do not rely on uninstalling or reinstalling the app. AhnLab warns that this may not remove an existing RAT, so run a full scan and consider reimaging affected hosts.
- Treat credentials used on infected machines as exposed and rotate them.