[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fRjdsQoasi3X7zxs5h3HJBapIl0Pu9NzsmXIhwie7gSk":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":50},"0a693790-e05d-4166-84ea-0c322c987be6","tampered-software-installers-deliver-python-rat-via-supply-chain-attack","e8541372-9eca-4b57-aeaf-32031f32fc10","Tampered Software Installers Deliver Python RAT via Supply Chain Attack","Attackers compromised the distribution of legitimate utilities Q-Dir and DesktopOK by tampering with their installers to silently deploy a Python-based RAT called DeviceSync, alongside a native backdoor for persistent access. The root cause is a supply chain compromise: users trusted software from a known source without verifying its integrity, allowing malicious payloads to execute with user-level or higher privileges. This matters because supply chain attacks are difficult to detect at the point of installation and can affect large numbers of users simultaneously before the tampering is discovered. Recovery is complex, requiring removal of the RAT, all persistence mechanisms, and a secondary backdoor, illustrating how layered implants extend attacker dwell time and complicate remediation.","**Immediate actions:**\n- Verify the cryptographic hash or digital signature of any downloaded installer against values published by the official vendor before executing it.\n- Scan newly installed software and its associated processes with endpoint detection tools to identify unexpected network connections or persistence entries.\n- Replace any tampered installer packages with freshly obtained, hash-verified copies from authoritative sources.\n\n**Long-term improvements:**\n- Implement a software allowlisting policy so only approved, signed binaries can execute in the environment.\n- Establish a formal third-party software vetting process that includes integrity checking and sandbox detonation before enterprise deployment.\n- Maintain an accurate software inventory (SBOM) to quickly identify which systems ran a compromised package during an incident.\n\n**Detection measures:**\n- Monitor for unexpected Python interpreter activity, outbound C2 connections, and new persistence mechanisms (registry run keys, scheduled tasks) on endpoints.\n- Deploy network-level controls that alert on connections to unknown external hosts from endpoints shortly after software installation events.\n- Ensure endpoint logs capture process creation with full command-line arguments so RAT execution and lateral movement can be reconstructed during forensic investigation.",[12,13,14,15,16],"NIS2 Article 21(2)(d)","CIS Control 2: Inventory and Control of Software Assets (v8)","NIST SP 800-53 SA-12: Supply Chain Protection","MITRE ATT&CK T1195.002: Supply Chain Compromise: Compromise Software Supply Chain","NIST CSF 2.0 DE.CM-01: Continuous Monitoring",{"NIS2 Article 21(2)(d)":18,"NIST CSF 2.0 DE.CM-01: Continuous Monitoring":19,"NIST SP 800-53 SA-12: Supply Chain Protection":20,"CIS Control 2: Inventory and Control of Software Assets (v8)":21,"MITRE ATT&CK T1195.002: Supply Chain Compromise: Compromise Software Supply Chain":22},"This point specifically requires security measures addressing supply chain risks, directly covering the failure to verify the integrity of third-party software installers before deployment.","This category calls for continuous monitoring of networks and endpoints to detect anomalous activity, which would have surfaced the RAT's C2 communications and unexpected persistence mechanisms post-installation.","SA-12 requires organisations to apply safeguards to protect against supply chain threats, including verifying the integrity of acquired software — directly addressing the tampered installer vector used here.","CIS Control 2 requires organisations to maintain an authorised software inventory and prevent unauthorised software from executing, which would have flagged or blocked the tampered installer payloads.","This technique describes adversaries tampering with software installers prior to delivery, which is precisely how DeviceSync and the native backdoor were distributed to victims.","published","2026-12-03T03:20:59.640392+00:00","2026-12-03T03:20:59.599+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fwww.microsoft.com\u002Fen-us\u002Fsecurity\u002Fblog\u002F2026\u002F12\u002F02\u002Funpacking-the-softwareok-attack-chain-a-python-rat-and-native-backdoor\u002F","unpacking-the-softwareok-attack-chain-a-python-rat-and-native-backdoor-8a69cf","Unpacking the SoftwareOK attack chain: A Python RAT and native backdoor",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"182e11d5-57c4-444e-8ec8-4682ad60261b","Incident Response","incident-response","Slow detection, poor containment, missing playbooks","#14b8a6",{"id":38,"name":39,"slug":40,"description":41,"color":42},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[44],{"id":45,"date":46,"edition":47,"title":48,"audio_url":49},"1e44181a-719a-49c5-a236-4f79317e1b69","2026-12-03","morning","ThreatNoir Morning Brief — December 3","https:\u002F\u002Fcdn.threatnoir.com\u002Fpodcasts\u002F2026-12-03\u002Fthreatnoir-morning-brief-2026-12-03.mp3",[51,55,59],{"slug":52,"name":53,"problem":54},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.",{"slug":56,"name":57,"problem":58},"immutable-backup","Immutable backup and recovery","Ransomware cannot delete or encrypt your way back.",{"slug":60,"name":61,"problem":62},"software-supply-chain","Software supply chain security","Malicious and vulnerable open-source packages are caught before they ship."]