Security researchers have disclosed a supply chain compromise that should unsettle every defender who has ever greenlit a "harmless" freeware utility. The official SoftwareOK website — home of Q-Dir (a popular alternative file manager) and DesktopOK (a desktop icon layout manager), both widely used by sysadmins and power users for over a decade — was distributing trojanized installation files. Critically, the malicious payloads were not limited to fresh downloads from the official download page: the built-in update mechanism of previously installed copies was also serving poisoned binaries, meaning users who installed the software months or years ago and never revisited the site were exposed simply by accepting an update prompt.
This is the nightmare variant of supply chain compromise: the vendor's own distribution channel and the software's own trust mechanism ("check for updates") were weaponized. There is no phishing email to filter, no suspicious lookalike domain to block. The malicious traffic came from a domain your users and your proxy have been told to trust, delivered by an executable your application whitelisting policy may already permit.
The payload delivered is a remote access trojan (RAT) — giving operators interactive control of compromised hosts. In enterprise terms, that means initial access on workstations that frequently sit in IT/admin contexts (Q-Dir and DesktopOK are overwhelmingly IT-prosumer tooling), with all the downstream risk that implies: credential theft, lateral movement staging, and pre-ransomware positioning.
If your environment permits freeware utilities outside a managed software catalog, treat this as an active incident: assume exposure, hunt for it, and close the update channel until the vendor confirms a clean pipeline.
Technical Analysis
Affected Products and Distribution Vector
| Product | Vendor | Platform | Compromised Vector |
|---|---|---|---|
| Q-Dir | SoftwareOK (Nenad Hrg) | Windows (x86/x64, installer and portable builds) | Official download page + in-app updater |
| DesktopOK | SoftwareOK (Nenad Hrg) | Windows (x86/x64, installer and portable builds) | Official download page + in-app updater |
Key characteristics of the attack, based on the disclosed research:
- Malicious files were generated dynamically. Evidence indicates the trojanized installers were produced not only at the point of download from the official download page, but also during the update process of previously installed instances. This strongly implies server-side compromise of the vendor's web/update infrastructure rather than a one-off tampering of a static file — the backend was synthesizing or substituting malicious builds in response to legitimate requests.
- The update channel is the force multiplier. Q-Dir and DesktopOK both ship with lightweight self-update checks. A user who installed a clean copy years ago and clicked "Update" during the compromise window received a malicious binary through a fully "legitimate" workflow. This defeats hash-based vetting done only at initial install time.
- Payload is a RAT. Post-exploitation, operators gain remote interactive access — typically implemented via a dropped or injected second-stage binary, persistence in a Run key or scheduled task, and outbound C2 over HTTPS to attacker-controlled infrastructure distinct from
softwareok.com. - Portable builds are not exempt. Many admins carry these tools on USB kits or drop them into
%USERPROFILE%\Toolson servers during troubleshooting. Portable binaries with updater functionality were equally exposed, and are harder to inventory because they never appear in Add/Remove Programs.
Attack Chain (Defender's View)
- Trust anchor abused: User downloads Q-Dir/DesktopOK from
softwareok.com, or an installed copy phones home to the update endpoint and is offered a new version. - Trojanized payload delivery: The served installer/update binary contains the legitimate application plus an embedded or side-loaded malicious stage (RAT loader). Because delivery comes from the genuine vendor URL, TLS inspection sees a trusted certificate and domain reputation engines stay silent.
- Execution: User runs the installer (often elevated) or the updated portable EXE. The malicious stage executes under the same trust context as the legitimate tool.
- Persistence & C2: The RAT establishes persistence (Run key, scheduled task, or service) and begins beaconing to operator-controlled C2 — not the vendor domain. This network divergence is your highest-fidelity detection seam.
- Post-exploitation: Interactive access enables credential harvesting, enumeration, and follow-on payload delivery.
Exploitation Status
- Confirmed active distribution via the official vendor site — this is not theoretical. Malicious binaries were observed being generated live at download/update time.
- No CVE is assigned — this is a compromise of distribution infrastructure, not a software vulnerability, so CVSS/CVE tracking does not apply. Track it as a supply chain incident, not a patch-management event.
- CISA KEV: Not applicable at time of writing; monitor for related entries if the RAT's C2 tooling overlaps known implants.
Why This Is Hard to Detect with Conventional Controls
- Signed-looking provenance: The binary arrived from the correct domain. Users did nothing "wrong."
- Legitimate parent process: Execution flows through
Q-Dir.exe/DesktopOK.exeor an installer the user launched voluntarily — parent-child lineage looks benign to shallow analytics. - Freeware blind spot: Most organizations inventory commercial software via SCCM/Intune but have zero visibility into portable freeware. Q-Dir frequently exists on admin workstations and even servers with no record in any CMDB.
Your detection strategy must therefore pivot on behavioral divergence: the utility spawning child processes it never spawns legitimately, writing executables to user-writable staging paths, and — most reliably — making network connections to domains other than the vendor's update infrastructure.
Detection & Response
The following detections target the observable seams of this attack: unexpected child processes of Q-Dir/DesktopOK, suspicious staging artifacts in user-writable paths, and network egress from these binaries to non-vendor destinations. They are tuned for low false-positive rates — legitimate Q-Dir/DesktopOK instances do not spawn script interpreters, do not persist in Run keys, and only communicate with softwareok.com.
Sigma Rules
---
title: Q-Dir or DesktopOK Spawning Unexpected Child Processes
id: 9c2f4a71-3b68-4e7d-a1c2-8f0e5d6b7a91
status: experimental
description: Detects Q-Dir.exe or DesktopOK.exe spawning command interpreters, script engines, or LOLBins. Legitimate instances of these utilities do not launch child processes of this type; behavior is consistent with a trojanized build executing an embedded RAT stage.
references:
- https://thehackernews.com/2026/11/hackers-trojanize-official-q-dir-and.html
- https://attack.mitre.org/techniques/T1059/
author: Security Arsenal
date: 2026/11/14
tags:
- attack.execution
- attack.t1059
- attack.defense_evasion
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith:
- '\Q-Dir.exe'
- '\DesktopOK.exe'
- '\Q-Dir_Installer.exe'
- '\DesktopOK_Installer.exe'
selection_child:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\rundll32.exe'
- '\regsvr32.exe'
- '\schtasks.exe'
- '\wmic.exe'
condition: selection_parent and selection_child
falsepositives:
- None expected; legitimate Q-Dir/DesktopOK do not spawn these child processes. If observed in a hardened environment, treat as suspicious by default.
level: high
---
title: Suspicious Executable Staging in User-Writable Paths by Q-Dir or DesktopOK
id: 4d8e1b62-7a90-4f35-9c21-6b3a2e0d8f54
status: experimental
description: Detects Q-Dir or DesktopOK processes writing new executable files to user-writable staging directories (AppData, Temp, Public). Consistent with a trojanized installer or updater dropping a second-stage RAT payload outside the legitimate install directory.
references:
- https://thehackernews.com/2026/11/hackers-trojanize-official-q-dir-and.html
- https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/11/14
tags:
- attack.command_and_control
- attack.t1105
logsource:
category: file_event
product: windows
detection:
selection_process:
Image|endswith:
- '\Q-Dir.exe'
- '\DesktopOK.exe'
- '\Q-Dir_Installer.exe'
- '\DesktopOK_Installer.exe'
selection_path:
TargetFilename|contains:
- '\AppData\Local\Temp\'
- '\AppData\Roaming\'
- '\AppData\Local\'
- '\Users\Public\'
- '\ProgramData\'
selection_extension:
TargetFilename|endswith:
- '.exe'
- '.dll'
- '.dat'
condition: selection_process and selection_path and selection_extension
falsepositives:
- Q-Dir writing its own portable binary during a legitimate self-update. Validate the file's digital signature and hash against vendor-published values before dismissing.
level: high
---
title: Network Egress from Q-Dir or DesktopOK to Non-Vendor Destinations
id: 7b6a3c15-2d84-4e19-b830-1f4c9a7d2e63
status: experimental
description: Detects Q-Dir.exe or DesktopOK.exe initiating network connections to destinations other than the vendor domain. These utilities only require connectivity for update checks to softwareok.com; any other egress is a strong indicator of RAT C2 activity from a trojanized build.
references:
- https://thehackernews.com/2026/11/hackers-trojanize-official-q-dir-and.html
- https://attack.mitre.org/techniques/T1071/001/
author: Security Arsenal
date: 2026/11/14
tags:
- attack.command_and_control
- attack.t1071.001
logsource:
category: network_connection
product: windows
detection:
selection_image:
Image|endswith:
- '\Q-Dir.exe'
- '\DesktopOK.exe'
filter_vendor:
DestinationHostname|contains:
- 'softwareok.com'
condition: selection_image and not filter_vendor
falsepositives:
- CDN or DNS-resolved vendor infrastructure not covered by the hostname filter. Confirm destination ownership via passive DNS before escalating.
level: critical
KQL — Microsoft Sentinel / Defender Hunt Queries
The following query hunts across Defender process and network telemetry for the three primary seams: anomalous child processes, anomalous file drops, and non-vendor network egress from Q-Dir/DesktopOK binaries. Run it over the full period in which the trojanized builds were distributed (include historical data — remember the updater poisoned previously installed copies, so the infection could predate the disclosure by weeks or months).
// Hunt: Trojanized Q-Dir / DesktopOK supply chain compromise indicators
// Seam 1 - Unexpected child processes spawned by the utilities
let UtilityImages = dynamic(["Q-Dir.exe", "DesktopOK.exe", "Q-Dir_Installer.exe", "DesktopOK_Installer.exe"]);
let SuspiciousChildren = dynamic(["cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "schtasks.exe", "wmic.exe"]);
let ChildProc = DeviceProcessEvents
| where InitiatingProcessFileName in~ (UtilityImages)
| where FileName in~ (SuspiciousChildren)
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, SHA256 = SHA256
| extend Indicator = "SuspiciousChildProcess";
// Seam 2 - Executable/dropper writes to user-writable staging paths
let FileDrop = DeviceFileEvents
| where InitiatingProcessFileName in~ (UtilityImages)
| where FolderPath has_any ("\\AppData\\", "\\Users\\Public\\", "\\ProgramData\\")
| where FileName endswith_any (".exe", ".dll", ".dat")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, ActionType, FolderPath, FileName, SHA256 = SHA256
| extend Indicator = "SuspiciousFileDrop";
// Seam 3 - Network egress to non-vendor destinations
let NetEgress = DeviceNetworkEvents
| where InitiatingProcessFileName in~ ("Q-Dir.exe", "DesktopOK.exe")
| where not (RemoteUrl has "softwareok.com")
| where isnotempty(RemoteUrl) or isnotempty(RemoteIP)
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, RemoteUrl, RemoteIP, RemotePort
| extend Indicator = "NonVendorNetworkEgress";
union ChildProc, FileDrop, NetEgress
| order by Timestamp asc
// Sentinel Syslog/CEF variant for proxy and firewall logs ingested via CommonSecurityLog
// Purpose: identify hosts contacting the SoftwareOK update endpoint, then cross-reference
// against subsequent outbound C2-like egress from the same host within a 6-hour window
let UpdateWindow = CommonSecurityLog
| where DeviceVendor == "Palo Alto Networks" or DeviceVendor == "Zscaler" or DeviceVendor == "Fortinet"
| where RequestURL has "softwareok.com" or DestinationHostName has "softwareok.com"
| summarize FirstUpdateContact = min(TimeGenerated), LastUpdateContact = max(TimeGenerated) by SourceIP, SourceHostName;
let PostUpdateEgress = CommonSecurityLog
| where not (RequestURL has "softwareok.com" or DestinationHostName has "softwareok.com")
| where isnotempty(RequestURL) or isnotempty(DestinationHostName);
UpdateWindow
| join kind=inner (PostUpdateEgress) on SourceIP
| where TimeGenerated between (FirstUpdateContact .. datetime_add("hour", 6, LastUpdateContact))
| summarize Connections = count(), Destinations = make_set(RequestURL) by SourceIP, SourceHostName
| order by Connections desc
Velociraptor VQL Hunt Artifact
Deploy this as a hunt across your fleet to surface live Q-Dir/DesktopOK processes with anomalous network connections, and to enumerate persistence artifacts (Run keys) referencing binaries in user-writable paths — the most common persistence footprint for droppers of this class.
-- Artifact: SupplyChain.SoftwareOK.Hunt
-- Purpose: Surface trojanized Q-Dir/DesktopOK instances, non-vendor C2 connections,
-- and persistence artifacts in user-writable paths
-- 1) Running Q-Dir/DesktopOK processes with full lineage
SELECT Pid, Name, CommandLine, Exe, Username, CreateTime,
hash(path=Exe) AS ExeHash
FROM pslist()
WHERE Name =~ 'q-dir|desktopok'
OR Exe =~ '(?i)(q-dir|desktopok)'
-- 2) Live network connections held by these binaries (C2 seam)
SELECT Pid, Name, LocalAddr, LocalPort, RemoteAddr, RemotePort, State
FROM netstat()
WHERE Name =~ '(?i)(q-dir|desktopok)'
AND State =~ 'ESTABLISHED|LISTEN|SYN'
-- 3) Persistence: Run keys pointing at executables in user-writable paths
SELECT KeyPath, ValueName, ValueData
FROM glob(glob='/*/Software/Microsoft/Windows/CurrentVersion/Run',
accessor='registry')
WHERE ValueData =~ '(?i)(appdata|users\\public|programdata)'
AND ValueData =~ '(?i)\.exe'
-- 4) Staging: recently written executables in Temp/AppData dropped around
-- the update window (adjust the timebox to the disclosure window)
SELECT FullPath, Size, Mtime, Atime,
hash(path=FullPath) AS FileHash
FROM glob(glob='C:/Users/*/AppData/**/*.exe')
WHERE Mtime > parse(string='2026-10-01T00:00:00Z', format='RFC3339')
Remediation & Verification Script (PowerShell)
This script performs three functions on Windows endpoints: (1) inventories Q-Dir/DesktopOK presence including portable copies outside standard install locations, (2) verifies Authenticode signatures and flags unsigned or anomalous binaries, and (3) checks persistence locations for references to the utilities or user-writable executable paths. Run it via your RMM/Intune/SCCM, or deploy as a GPO startup script for fleet coverage. It is read-only by default; set -Quarantine $true to move suspect binaries to a quarantine folder.
#Requires -RunAsAdministrator
param(
[switch]$Quarantine = $false,
[string]$QuarantinePath = "C:\ProgramData\SecArsenal\Quarantine"
)
$report = @()
# --- 1) Locate Q-Dir / DesktopOK binaries, including portable copies ---
$searchRoots = @("$env:ProgramFiles", "${env:ProgramFiles(x86)}", "$env:LOCALAPPDATA",
"$env:APPDATA", "$env:USERPROFILE\Desktop", "$env:USERPROFILE\Downloads",
"C:\Users\Public", "C:\Tools", "C:\ProgramData")
$suspectBinaries = foreach ($root in $searchRoots) {
if (Test-Path $root) {
Get-ChildItem -Path $root -Recurse -ErrorAction SilentlyContinue -Include "Q-Dir*.exe","DesktopOK*.exe" |
Where-Object { -not $_.PSIsContainer }
}
}
foreach ($bin in $suspectBinaries) {
$sig = Get-AuthenticodeSignature -FilePath $bin.FullName
$hash = (Get-FileHash -Algorithm SHA256 -Path $bin.FullName).Hash
$status = $sig.Status
$signer = if ($sig.SignerCertificate) { $sig.SignerCertificate.Subject } else { "UNSIGNED" }
$report += [pscustomobject]@{
Check = "BinaryInventory"
Path = $bin.FullName
SHA256 = $hash
SigStatus = $status
Signer = $signer
Verdict = if ($status -ne 'Valid' -and $status -ne 'HashMismatch') { "REVIEW" } else { "Verify signer == SoftwareOK / Nenad Hrg; compare hash to vendor-published value" }
}
}
# --- 2) Persistence checks: Run keys + Scheduled Tasks referencing utilities or user-writable paths ---
$runKeys = @("HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run")
foreach ($rk in $runKeys) {
if (Test-Path $rk) {
(Get-ItemProperty $rk).PSObject.Properties |
Where-Object { $_.Value -match '(?i)appdata|users\\public|programdata' -and $_.Value -match '\.exe' } |
ForEach-Object {
$report += [pscustomobject]@{ Check="Persistence-RunKey"; Path=$rk; SHA256=""; SigStatus=$_.Name; Signer=$_.Value; Verdict="REVIEW - executable in user-writable path registered for autostart" }
}
}
}
Get-ScheduledTask | ForEach-Object {
$actions = $_.Actions | Where-Object { $_.Execute -match '(?i)q-dir|desktopok' }
if ($actions) {
$report += [pscustomobject]@{ Check="Persistence-ScheduledTask"; Path=$_.TaskPath + $_.TaskName; SHA256=""; SigStatus=""; Signer=$actions.Execute; Verdict="REVIEW - scheduled task invokes freeware utility" }
}
}
# --- 3) Optional quarantine of unsigned suspect binaries ---
if ($Quarantine) {
New-Item -ItemType Directory -Path $QuarantinePath -Force | Out-Null
foreach ($row in ($report | Where-Object { $_.Check -eq 'BinaryInventory' -and $_.SigStatus -ne 'Valid' })) {
Move-Item -Path $row.Path -Destination $QuarantinePath -Force
Write-Host "[QUARANTINED] $($row.Path)"
}
}
# --- Output ---
$report | Format-Table -AutoSize
$report | Export-Csv -Path "$env:ProgramData\SecArsenal_SoftwareOK_Hunt_$env:COMPUTERNAME.csv" -NoTypeInformation
Write-Host "`nReport written to $env:ProgramData\SecArsenal_SoftwareOK_Hunt_$env:COMPUTERNAME.csv"
Write-Host "REMINDER: Treat any host with a REVIEW verdict as potentially compromised. Image-level triage is recommended for hosts with persistence or unsigned binaries."
Remediation
Treat this as a supply chain incident requiring both vendor-side confirmation and internal eradication. No CVE applies and there is no "patch" — remediation is about removing poisoned builds and re-establishing a trusted source.
Immediate (within 24 hours):
- Freeze the trust channel. Block or proxy-with-inspection access to
softwareok.comat the network edge until the vendor publicly confirms its infrastructure is remediated and publishes clean hashes. Disable/block the built-in update functionality of existing Q-Dir/DesktopOK installs (or block their outbound update traffic at the proxy) so already-installed copies cannot pull a poisoned update. - Inventory the footprint. Run the PowerShell script above (and the Velociraptor hunt) fleet-wide. Remember: these tools live in USB admin kits,
C:\Tools, user desktops, jump boxes, and occasionally servers — they will not appear in Add/Remove Programs. - Identify the exposure window. Cross-reference proxy/DNS logs for
softwareok.comupdate contacts per host (see the second KQL query). Any host that downloaded or updated during the compromise window is a candidate for compromise, even if the currently installed binary looks clean — the RAT may have persisted independently of the utility.
Eradication:
- Remove all copies of Q-Dir/DesktopOK downloaded or updated during the exposure window. Do not "repair" — delete. For hosts flagged with unsigned binaries, anomalous persistence, or non-vendor egress, escalate to full DFIR triage: acquire memory, enumerate persistence (Run keys, scheduled tasks, services, WMI subscriptions), and hunt for secondary payloads. The RAT — not the utility — is the incident.
- Rotate credentials for any interactive user (especially admin accounts) who authenticated on a confirmed or suspected compromised host after the exposure date. Assume the RAT operators had interactive access and keylog/credential-dump capability.
- Re-acquire from a verified-clean source only. Once the vendor publishes a statement with hashes/signatures of clean builds, verify Authenticode signature (expected signer: the vendor's certificate used historically) and the published SHA-256 before redeployment. Consider using NIST's National Software Reference Library approach style hash pinning internally.
Hardening (durable fixes):
- Eliminate unmanaged freeware. Move Q-Dir/DesktopOK equivalents into a managed software catalog (Intune/SCCM/winget with pinned hashes) or replace with supported alternatives. Ban ad-hoc portable utility execution on servers via AppLocker/WDAC.
- Application control policy. WDAC/AppLocker rules should require publisher signature for user-executed binaries and block execution from
%APPDATA%,%TEMP%, andC:\Users\Publicfor non-admin users. This breaks the dropper→staging chain generically, not just for this incident. - Egress restrictions. Implement default-deny outbound for endpoints, permitting only sanctioned domains. A freeware file manager has no legitimate reason to reach arbitrary internet destinations; that default-deny posture turns this exact C2 seam into a hard block.
- Supply chain vendor governance. Add freeware/open-source tooling to your third-party risk register. Require hash verification or hash-pinned deployment for any tool on admin workstations, and monitor vendor domains for compromise disclosures. Reference the CISA supply chain guidance and The Hacker News disclosure when briefing leadership.
Deadlines: There is no CISA KEV-driven mandate for this incident, but given confirmed live distribution of a RAT, treat eradication as a P1: complete inventory within 72 hours and credential rotation within 24 hours for any host with confirmed indicators.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.