procwire
discovered 2026-06-17The Windows binary dropper. preinstall hook 'node lib/setup.js' guards on Node>=16 then exits unless os.platform()==='win32'. Imports endpointmap/lib/registry and bytecraft; computes the XOR key as Buffer.from(require('endpointmap/package.json').name).slice(0,8) (= ASCII 'endpoint', the helper package's own name, no key constant stored); XOR-decodes the _ep and _p byte arrays and concatenates them into the C2 URL https://files.catbox.moe/j4loim.chk; calls require('./worker').init(url). worker.js (heavy String.fromCharCode obfuscation) downloads the payload with UA 'Microsoft-Delivery-Optimization/10.0' via a 3-method fallback chain (Node https with resumable Range header + rejectUnauthorized:false + 5 retries exp backoff / curl.exe --ssl-no-revoke / bitsadmin BITS job), writes it to the first writable temp dir under a random browser/installer-masquerade filename (msedge_update/chrome_installer/dotnet_host/onedrive_setup/teams_update + hex + .exe), strips Mark-of-the-Web by writing a fake Zone.Identifier ADS with ZoneId=0 to defeat SmartScreen, checks min-size 1024B, then executes via a 3-method fallback chain (direct detached spawn stdio:'ignore' windowsHide / cmd.exe /d /s /c start "" /min / PowerShell Start-Process -WindowStyle Hidden), all detached/unref'd so the payload outlives npm install. Depends on endpointmap + bytecraft. Collides with the legitimate @procwire/* scope. Maintainer [email protected], fabricated GitHub org akuznetsov-oss.
Threat types
Malicious versions
- 1.3.0 · 96a96616ad2ee41e…
Campaigns
Indicators
Techniques
- ttp T1195.002 Compromise Software Supply Chainuses
- ttp T1059.007 Command and Scripting Interpreter: JavaScriptuses
- ttp T1140 Deobfuscate/Decode Files or Informationuses
- ttp T1027 Obfuscated Files or Informationuses
- ttp T1105 Ingress Tool Transferuses
- ttp T1197 BITS Jobsuses
- ttp T1059.001 Command and Scripting Interpreter: PowerShelluses
- ttp T1059.003 Command and Scripting Interpreter: Windows Command Shelluses
- ttp T1553.005 Subvert Trust Controls: Mark-of-the-Web Bypassuses
- ttp T1036.005 Masquerading: Match Legitimate Name or Locationuses
- ttp T1564.003 Hide Artifacts: Hidden Windowuses
- ttp T1071.001 Application Layer Protocol: Web Protocolsuses
- ttp T1102 Web Serviceuses
