SockDetour Backdoor Hit U.S. Defense Contractors via Hijacked Windows Sockets
Threat Actor Intelligence · 4 sources · Updated 4mo ago · First seen Oct 25, 2021

Researchers disclosed SockDetour, a previously undocumented Windows backdoor used against U.S. defense contractors as a stealthy secondary implant for persistence. The malware operates filelessly and socketlessly, hijacking legitimate processes' network sockets with the Microsoft Detours library to create an encrypted command-and-control channel that is difficult to spot through host or network monitoring. Palo Alto Networks Unit 42 said at least four U.S.-based defense contractors were targeted and confirmed compromise at one organization, with compilation artifacts indicating the tool may have been in use since at least July 2019.
Unit 42 linked the activity to the China-linked TiltedTemple cluster, also tracked by Microsoft as DEV-0322, and said the campaign overlapped with late-2021 intrusions involving Zoho ManageEngine exploitation; reporting also noted possible ties to APT27 based on tactics and targeting. In one case, attackers delivered SockDetour from an external FTP server hosted on a compromised QNAP NAS device that had likely been exploited through CVE-2021-28799, the same flaw previously abused to deploy eCh0raix and associated with earlier QLocker ransomware activity, showing how vulnerable internet-facing NAS infrastructure was repurposed to support espionage operations.
Why it matters
Impact assessment
SockDetour is a stealth-focused backdoor used against U.S. defense contractors, making the primary affected population defense-sector organizations operating Windows servers and adjacent internet-facing infrastructure. The impact is high because the malware is designed for covert persistence and backup access, enabling prolonged espionage, follow-on payload delivery, and potential theft of sensitive defense-related data.
The exposure appears targeted rather than indiscriminate: Unit 42 identified at least four U.S.-based defense contractors as targets and confirmed compromise at one organization. Researchers assess the malware may have been in use since at least July 2019, indicating long dwell time and a realistic risk that similar compromises went undetected for years.
Supporting facts
- Targeted sector: U.S.-based defense contractors.
- Confirmed activity: at least four organizations targeted; at least one confirmed compromised.
- Affected platforms: compromised Windows servers.
- Operational risk: stealthy persistence as a secondary or backup implant if a primary backdoor is removed.
- Threat actor linkage: TiltedTemple, tracked by Microsoft as DEV-0322; reporting notes possible ties to APT27 based on tactics and targeting.
- Scope: targeted espionage-oriented campaign, not broad opportunistic mass exploitation of endpoints.
- Known exploitation in the wild: yes, including delivery via a compromised QNAP NAS and overlap with prior Zoho ManageEngine exploitation campaigns.
- Secondary infrastructure risk: vulnerable internet-facing QNAP NAS devices were repurposed as delivery infrastructure, showing exposure beyond the final victim environment.


