SoftwareOK Supply Chain Attack Delivers Endpoint Malware
Summary
Threat actors compromised official Q-Dir and DesktopOK installation packages distributed through the SoftwareOK website. The malicious installers launch the legitimate applications to avoid raising suspicion while simultaneously downloading and installing a Python-based Remote Access Trojan (RAT). The RAT enables attackers to execute shell commands, steal files, and capture screenshots from infected systems.
Investigation
AhnLab Security Intelligence Center (ASEC) determined that the malicious files were distributed through official download channels and even via the legitimate software update process. Researchers found that the installers embedded valid, digitally signed executables as internal resources. The investigation also showed that the malware deploys its own Python runtime, allowing it to operate regardless of the host system’s existing configuration.
Mitigation
Users should verify SHA-256 hashes of downloaded software against values published by the legitimate developer. Organizations should monitor for unauthorized Python execution and suspicious scheduled task creation. Potentially affected software versions should be removed and reinstalled only from verified and trusted sources.
Response
If compromise is suspected, immediately isolate the affected system from the network. Perform a complete scan using updated antivirus or EDR solutions. Security teams should also conduct forensic analysis to determine the extent of potential data exfiltration and identify whether additional malware or persistence mechanisms were deployed.
Attack Flow
We are still updating this part.
Detections
Suspicious Command and Control by Unusual Top Level Domain (TLD) DNS Request (via dns)
Python Execution from Suspicious Folders (via cmdline)
Unusual Change Code Page Execution (via cmdline)
Suspicious Files in Public User Profile (via file_event)
IOCs (HashSha256) to detect: EndPoint Malware: Software Supply Chain Attack via the Official SoftwareOK Website Part 2
IOCs (HashSha256) to detect: EndPoint Malware: Software Supply Chain Attack via the Official SoftwareOK Website Part 1
IOCs (HashMd5) to detect: EndPoint Malware: Software Supply Chain Attack via the Official SoftwareOK Website
IOCs (SourceIP) to detect: EndPoint Malware: Software Supply Chain Attack via the Official SoftwareOK Website
IOCs (DestinationIP) to detect: EndPoint Malware: Software Supply Chain Attack via the Official SoftwareOK Website
Detection of Python-based Remote Control Malware via Altered Software Installers [Windows Process Creation]
Simulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: The adversary aims to establish persistence on the victim machine following the execution of a tampered software installer. To ensure the Python-based RAT survives a reboot, the malware executes a command to register a new scheduled task. To blend in with legitimate system processes, the attacker uses a path and name that mimics legitimate UPnP or Edge telemetry components (
UPnpMicrosoftEdge_dcntel). This action is intended to trigger the specific Sigma rule designed to catch this known malware family. -
Regression Test Script:
# Simulation script to mimic the malware's persistence mechanism # This mimics the creation of the specific task name identified in the detection rule. $TaskName = "UPnpMicrosoftEdge_dcntel" $TaskAction = "powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -Command 'Write-Host Persistence Established'" Write-Host "[!] Simulating malware persistence by creating task: $TaskName" -ForegroundColor Yellow # Use schtasks to create the task to ensure process creation telemetry (Event ID 1) # and Task Scheduler telemetry (Event ID 4698) are generated. schtasks /create /tn "$TaskName" /tr "$TaskAction" /sc daily /st 12:00 /f if ($?) { Write-Host "[+] Simulation command executed successfully." -ForegroundColor Green } else { Write-Host "[-] Simulation failed. Ensure you are running as Administrator." -ForegroundColor Red } -
Cleanup Commands:
# Cleanup the simulated malicious task schtasks /delete /tn "UPnpMicrosoftEdge_dcntel" /f Write-Host "[+] Cleanup complete. Malicious task removed." -ForegroundColor Cyan