Tia N.List

CTI · reviewed · 2026-11-27

Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files

Full story & timeline

Actors

—

Malware / tools

DSV2 Python RAT

Campaigns

Trojanized SoftwareOK Q-Dir/DesktopOK installers

CVEs

—

Victim sectors

—

Geography

—

MITRE ATT&CK

Indicators

Observables tied to this case, from the curated feed. raw sidecar

Detections

Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.

Sigma raw

title: SoftwareOK Q-Dir/DesktopOK Trojanized Installer - DSV2 Python RAT Execution and Persistence
id: c0159bca-e2ca-4257-8754-2ef55a2b81b4
status: experimental
description: Detects the DSV2 Python RAT stage delivered by trojanized Q-Dir and DesktopOK installers on SoftwareOK's official download and update paths (ASEC, November 2026). The wrapper runs the genuine signed utility from C:\Users\Public, drops 7zr.exe plus dsv2_py39_agent.7z and installs a self-contained Python RAT under C:\ProgramData\Microsoft\DeviceSync\b2 that beacons to 8.210.69.51:9876. The rule fires on the two documented execution anchors - pythonw.exe running py_client_dsv2.py from a DeviceSync directory, and the scheduled task \UPnp\MicrosoftEdge_dcntel that ASEC found on infected hosts.
references:
  - https://asec.ahnlab.com/en/96827/
  - https://thehackernews.com/2026/11/hackers-trojanize-official-q-dir-and.html
  - https://github.com/ScoopInstaller/Extras/issues/19427
author: Tia N. List
date: 2026/11/27
tags:
  - attack.t1195
  - attack.t1036
  - attack.t1053
  - attack.t1059
logsource:
  category: process_creation
  product: windows
detection:
  selection_python_rat:
    Image|endswith: '\pythonw.exe'
    CommandLine|contains: 'py_client_dsv2.py'
  selection_devicesync_dir:
    CommandLine|contains:
      - 'Microsoft\DeviceSync'
      - 'DeviceSync\b2'
  selection_task_registration:
    Image|endswith: '\schtasks.exe'
    CommandLine|contains|all:
      - 'MicrosoftEdge_dcntel'
      - '\UPnp\'
  filter_vendor_installer:
    ParentImage|endswith:
      - '\q-dir.exe'
      - '\DesktopOK.exe'
  condition: (selection_python_rat and selection_devicesync_dir and not filter_vendor_installer) or selection_task_registration
falsepositives:
  - Legitimate pythonw.exe scripts launched from a Microsoft DeviceSync directory are not expected on Windows endpoints; verify the parent process and the presence of py_client_dsv2.py plus dsv2_py39_agent.7z in the same tree before closing as benign
level: high

Splunk SPL raw

# software-supply-chain-attack-via-the-official-softwareok-website — Splunk SPL variant (derived from software-supply-chain-attack-via-the-official-softwareok-website.sigma via sigma convert)
# source-sha256: 29e72005230c952215c81d90ecd35f4776a2c5c52f6c8dd201c55bb5234c0a0d v1
(Image="*\\pythonw.exe" CommandLine="*py_client_dsv2.py*" CommandLine IN ("*Microsoft\\DeviceSync*", "*DeviceSync\\b2*") NOT (ParentImage IN ("*\\q-dir.exe", "*\\DesktopOK.exe"))) OR (Image="*\\schtasks.exe" CommandLine="*MicrosoftEdge_dcntel*" CommandLine="*\\UPnp\\*")

KQL (Sentinel / Defender) raw

# software-supply-chain-attack-via-the-official-softwareok-website — KQL variant (derived from software-supply-chain-attack-via-the-official-softwareok-website.sigma via sigma convert)
# source-sha256: 29e72005230c952215c81d90ecd35f4776a2c5c52f6c8dd201c55bb5234c0a0d v1
((Image endswith "\\pythonw.exe" and CommandLine contains "py_client_dsv2.py") and (CommandLine contains "Microsoft\\DeviceSync" or CommandLine contains "DeviceSync\\b2") and (not((ParentImage endswith "\\q-dir.exe" or ParentImage endswith "\\DesktopOK.exe")))) or (Image endswith "\\schtasks.exe" and (CommandLine contains "MicrosoftEdge_dcntel" and CommandLine contains "\\UPnp\\"))

YARA-X raw

rule SoftwareOK_Trojanized_Installer_DSV2_PythonRAT
{
    meta:
        author = "Tia N. List"
        date = "2026-11-27"
        status = "experimental"
        description = "Strings from the DSV2 Python RAT stage delivered by trojanized Q-Dir and DesktopOK installers on SoftwareOK's official download and update paths (ASEC, November 2026). The wrapper executes the genuine signed utility from C:/Users/Public, fetches 7zr.exe and dsv2_py39_agent.7z, installs a Python RAT under C:/ProgramData/Microsoft/DeviceSync/b2 and beacons to 8.210.69.51:9876. Derived from published case analysis - NOT validated against a live sample."
        reference = "https://asec.ahnlab.com/en/96827/"
        falsepositives = "Unlikely in ordinary software: the campaign strings only appear together in the wrapper scripts, the dropped archive and the Python RAT. A single match on DeviceSyncUpdate_b2 alone should be reviewed against the file path and parent process before alerting"
    strings:
        $archive = "dsv2_py39_agent" ascii nocase
        $client = "py_client_dsv2.py" ascii nocase
        $runkey = "DeviceSyncUpdate_b2" ascii
        $guardlog = "vmbt_guard.log" ascii nocase
        $installlog = "Py39_install.log" ascii nocase
    condition:
        2 of them
}

rule SoftwareOK_Dropper_SevenZip_Stager
{
    meta:
        author = "Tia N. List"
        date = "2026-11-27"
        status = "experimental"
        description = "Detects the intermediate stager used by the trojanized SoftwareOK installers, which drops 7zr.exe next to dsv2_py39_agent.7z and then extracts the Python RAT into DeviceSync directories. Intended for scanning installer wrappers, dropped archives and staging directories rather than whole-disk scans."
        reference = "https://thehackernews.com/2026/11/hackers-trojanize-official-q-dir-and.html"
        falsepositives = "Legitimate 7-Zip redistribution bundles 7zr.exe; require the dsv2_py39_agent archive name or the DeviceSync staging path alongside it"
    strings:
        $archive = "dsv2_py39_agent" ascii nocase
        $sevenzip = "7zr.exe" ascii
        $stagepath = "Microsoft\\DeviceSync\\b2" ascii
        $taskname = "\\UPnp\\MicrosoftEdge_dcntel" ascii
    condition:
        $archive and any of ($sevenzip, $stagepath, $taskname)
}

References

Source on GitHub