Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A Microsoft diagram titled "From a tampered installer to remote access" showing a download or update delivering a tampered installer that runs the genuine utility while installing a Python runtime and RAT, which a Run value or scheduled task restarts, which performs Windows and AI software discovery, and which on some devices deploys a native backdoor that talks to its own command server and to a native plugin worker over a local pipe.
Image: Microsoft Threat Intelligence (fair use), "Unpacking the SoftwareOK attack chain: A Python RAT and native backdoor," December 2, 2026. The three stages Microsoft observed.

Detection

Microsoft Says the Trojanized SoftwareOK Utilities Led to a Second, Native Backdoor That Runs Its Plugins in Child Processes Named KKKD.PluginHost, After Attackers Searched Victims' Python Installs for AI Tools

A week after AhnLab exposed tampered Q-Dir and DesktopOK installers, Microsoft says the Python remote access trojan they planted was only the first stage. On some machines, operators added native backdoors with their own command servers, and Microsoft published Defender hunting queries for every stage.

Ava Okello, DetectionLondon6 min read

REDMOND, Wash. - The tampered copies of two popular Windows utilities that AhnLab flagged last week did more than plant a Python remote access trojan. On some machines, the operators used that trojan to launch separate native backdoors with their own command servers and a plugin system built to keep its work out of the main process, Microsoft Threat Intelligence said in a report published late Wednesday.

Microsoft said that as of November 9 it had been investigating a software supply chain compromise of Q-Dir, a file manager, and DesktopOK, a tool that saves desktop icon layouts, both made by SoftwareOK. Installers and updaters on the vendor's official download and update channel had been altered, so "users who followed normal, trusted update practices were exposed," the company wrote. Microsoft has not named an actor, and it said "the specific upstream modification mechanism remains unconfirmed."

The report confirms and extends what AhnLab's ASEC team described on November 27, and adds the stage defenders most need to know about. "Closing or replacing the utility does not remove the threat, due to persistence techniques allowing the backdoor to relaunch during Windows sign-in," Microsoft wrote, and "reinstalling Q-Dir or DesktopOK does not remove either malicious component."

How it spread inside companies

Microsoft saw the malware run after a package manager updated Q-Dir to version 12.83.0, and after an older Q-Dir installation used its own updater to fetch the tampered build. In managed deployments, the package ran silently with no prompt. Portable copies kept running from synchronized folders, repositories and file shares. The same tampered binary turned up as Q-Dir_Installer_x64.exe, Q-Dir.exe and Q-Dir_Autoupdate.exe, so Microsoft advised matching copies by hash rather than name. The genuine program inside is signed, but "a publisher signature on an embedded utility does not authenticate the surrounding installer or the components it downloads," the report said.

The installer pulled 7zr.exe and a .7z archive holding a 64-bit Python 3.9 runtime, unpacked under C:\ProgramData\Microsoft\DeviceSync\b2, and started py_client_b2_dll.py with python.exe or, in a later package, py_client_dsv2.py with pythonw.exe. It persisted through a current-user Run value, DeviceSyncUpdate_b2, and a scheduled task, \UPnp\MicrosoftEdge_dcntel. The agent, which calls itself VmBaseTool 5.17.6, talked to 8[.]210[.]69[.]51 over a plain ws:// WebSocket on TCP port 9876 with no TLS, encrypting only the messages themselves with AES-GCM, and Microsoft also saw connections on port 9092.

Looking for AI tools

Once the agent was up, operators ran ver, whoami /groups and ipconfig /all, checked whether the remote desktop program ToDesk was running, and then had PowerShell search Python's site-packages folders for ollama, vllm, langchain, llama_index and mlflow. Microsoft was careful about what that shows. "The command inventoried installed software; it does not establish collection of models or training data," the report said.

The second backdoor

After the Python agent was active, Microsoft saw PowerShell start C:\Temp\winhost.exe, which connected to 8[.]210[.]203[.]136 on port 443 from multiple devices over several days, and a second native payload, C:\Users\Public\backgroundTask.exe, which reached 47[.]239[.]64[.]37 on ports 7006 and 7007 and 8[.]210[.]20[.]147 on port 443. Both ran independently of the Python agent, and C:\Users\Public\backgroundTaskHost.exe was also created on disk. Each launcher copies an embedded payload into memory, marks it executable and runs it in a thread of its own process.

A Microsoft diagram titled "The later backdoor runs plugins in a child process," showing a command server connected over the network to a main backdoor process on the affected Windows device, which talks over a Windows named pipe to a plugin process that loads the module in memory, runs the requested function and returns the result.
Image: Microsoft Threat Intelligence (fair use), December 2, 2026. The native backdoor keeps the network connection and hands plugin work to a child process.

The design is the detail detection teams can use. The main process holds the command server connection. To run a plugin, it starts a short-lived child whose name begins with KKKD.PluginHost, passes it the module, command and results over a named pipe, and lets the child load the module into its own memory and call a function such as Plugin_Execute. Microsoft observed one plugin, plugin-1001, launch cmd.exe to run curl.exe and nslookup.exe to learn the machine's public IPv4 address, using the marker __KKKD_PUBIP__, and both native payloads repeatedly launched workers with the argument master#plugin-1009 and a dynamically named pipe.

Reconstructed pseudocode from Microsoft titled "The native worker invokes a loaded plugin," showing the worker looking up a plugin record, reading its execute and cleanup entries, calling the execute function with a command ID and input buffer, and copying the output back.
Image: Microsoft Threat Intelligence (fair use), December 2, 2026. How the plugin worker calls a loaded module.
A Microsoft diagram titled "How the Python RAT handles a task," showing the command server sending an encrypted message that the client decrypts and routes to handlers for Windows commands, additional Python in a child interpreter, file transfers and desktop capture, and connections to a requested destination, with replies returning through the encrypted session.
Image: Microsoft Threat Intelligence (fair use), December 2, 2026. The first-stage Python agent's command handlers.

What to hunt for

Microsoft published five advanced hunting queries for Defender for Endpoint, each with a 30-day lookback. They look for:

  • python.exe or pythonw.exe running from a path containing \DeviceSync\b2\py39 with py_client_b2_dll.py or py_client_dsv2.py on the command line.
  • The Run value DeviceSyncUpdate_b2 or a scheduled task containing MicrosoftEdge_dcntel.
  • cmd.exe or PowerShell started by that Python runtime with site-packages and ollama, vllm, langchain, llama_index or mlflow on the command line.
  • Successful connections to 8[.]210[.]69[.]51 on ports 9876 or 9092, 47[.]238[.]130[.]37, 8[.]210[.]203[.]136 and 8[.]210[.]20[.]147 on port 443, and 47[.]239[.]64[.]37 on ports 7006 or 7007.
  • Processes whose names start with KKKD.PluginHost. and whose command lines contain --plugin-host and --pipe.

Defender detections include Trojan:Python/VmBaseTool.MA!MTB, Trojan:Python/Multiverze!rfn and several Trojan:Win64/GlassWorm variants. Microsoft's remediation order is to pull the affected packages from deployment shares, mirrors, package-manager caches and synchronized folders, isolate machines where a backdoor ran, remove the Python agent and its Run value or task, investigate and remove the native backdoors and plugin workers separately, revoke sessions and rotate credentials where exposure is established, and rebuild from a trusted image when integrity cannot be established.

About the Author

Ava Okello

Ava Okello covers detection engineering and SOC operations for SOCtember from London.

Related stories

Detection desk