Security

SoftwareOK Supply Chain Attack: Python RAT Details

2 min read

Summary

Microsoft has disclosed a software supply chain compromise affecting SoftwareOK’s Q-Dir and DesktopOK utilities, where tampered installers deployed a Python-based RAT and, on some systems, a second native backdoor. The incident matters because trusted update paths and software deployment systems may have unknowingly distributed the malicious packages, requiring administrators to hunt for persistence and replace affected installers.

Need help with Security?Talk to an Expert

Introduction

Microsoft Threat Intelligence has uncovered a serious software supply chain attack involving SoftwareOK’s Q-Dir and DesktopOK utilities. Because the malicious files were delivered through the vendor’s official download and update channels, organizations that relied on normal update workflows may have introduced malware through trusted deployment paths.

What happened

Microsoft found that attackers tampered with installers and updaters for Q-Dir and DesktopOK. The altered packages still launched the legitimate application, but in the background they installed DeviceSync, a Python-based remote access trojan (RAT).

Key findings

  • Affected packages were distributed through official SoftwareOK download and update channels.
  • The malware deployed a bundled Python 3.9 runtime, making it independent of any Python installation already on the device.
  • Persistence was established through:
    • A current-user Run key: DeviceSyncUpdate_b2
    • A scheduled task: \UPnp\MicrosoftEdge_dcntel
  • On some devices, operators also deployed a separate native backdoor with its own command-and-control (C2) communications.
  • Microsoft observed the RAT being used for system discovery and searches related to AI and machine learning software.

Why this matters for IT admins

This is more than a one-time malicious installer event. Simply uninstalling or replacing Q-Dir or DesktopOK does not fully remove the threat. The RAT can relaunch at Windows sign-in, and some systems may also have a second-stage native payload that requires separate investigation.

Organizations using package managers, software deployment tools, file shares, or synced folders should assume the tampered binaries may have spread internally. Admins should also verify file hashes and inspect the actual executable being launched, rather than trusting filenames or embedded signatures.

Administrators should take the following steps immediately:

  • Remove affected Q-Dir and DesktopOK packages from all deployment repositories.
  • Isolate devices where the native backdoor is suspected or confirmed.
  • Hunt for and remove the known persistence mechanisms.
  • Check for extracted files under C:\ProgramData\Microsoft\DeviceSync\.
  • Investigate software distribution systems that may reinstall the tampered packages.
  • Review network activity for suspicious connections, including observed C2 traffic on TCP ports 9876 and 9092.

Next steps

Security teams should perform a broader compromise assessment on impacted devices, especially where the second backdoor may have executed. This incident is a reminder that trusted software channels can become an attack vector, so validating package integrity and monitoring updater behavior should be part of standard defensive operations.

Need help with Security?

Our experts can help you implement and optimize your Microsoft solutions.

Talk to an Expert

Stay updated on Microsoft technologies

SoftwareOKsupply chain attackPython RATQ-Dirmalware analysis

Related Posts

Security

Linux Security Threat: AI-Assisted Attacks Hit ISPs

Microsoft has detailed a Linux-focused intrusion at an ISP where attackers appeared to use AI-assisted orchestration to move quickly from initial access to database queries, lateral movement, and relay setup. The findings matter for defenders because they show how AI-enabled tooling can compress attacker timelines, making rapid detection, containment, and credential rotation more critical.

Security

Microsoft Defender ISOC Named Gartner Leader

Microsoft says it has been named a Leader in the first Gartner Magic Quadrant for Integrated Security Operations Center Systems, highlighting its new Integrated Security Operations Center (ISOC) in Microsoft Defender. The announcement matters for security teams because it reflects a market shift toward unified SOC workflows, AI-assisted investigations, and faster cross-domain response from a single platform.

Security

Microsoft Perception Defends Against ARTEX Attacks

Microsoft detailed how its Perception multi-agent system can turn threat intelligence on ARTEX into exposure analysis, detections, and remediation guidance. The new Protect against a threat playbook helps security teams move faster against AI-driven attack automation by mapping threats to real environment risks and prioritized fixes.

Security

ARTEX AI Framework Abuse: Defender Guidance from Microsoft

Microsoft warns that threat actors are increasingly abusing the ARTEX AI-powered offensive security framework to automate reconnaissance, credential attacks, and web exploitation at machine speed. The guidance matters for defenders because ARTEX can rapidly chain common tools and techniques, making behavioral detection, exposure reduction, and automated response critical.

Security

Microsoft Email Security: 2026 Gartner Leader

Microsoft has been named a Leader in the 2026 Gartner Magic Quadrant for Email Security, highlighting its recent investments in AI-driven protection and measurable security outcomes. The announcement matters for IT and security teams because it underscores new Defender capabilities for prompt injection detection, improved phishing analysis, and tenant-specific reporting to validate protection.

Security

Microsoft Sentinel Named a 2026 SIEM Leader

Microsoft has been named a Leader in the 2026 Gartner Magic Quadrant for SIEM, highlighting the continued momentum behind Microsoft Sentinel. The announcement also underscores Microsoft's push toward integrated, AI-powered security operations through deep Sentinel integration with the new Integrated Security Operations Center in Microsoft Defender.