🔍 Contexte

PubliĂ© le 18 septembre 2026 par le groupe Adversary Pursuit Group (APG) de Blackpoint Cyber, cet article prĂ©sente l’analyse technique complĂšte d’un RAT Node.js jusqu’alors non documentĂ©, dĂ©sormais suivi sous le nom ChainScript. La dĂ©couverte a eu lieu lors d’une investigation sur une campagne ClickFix.

🎯 Vecteur d’infection et chaĂźne d’exĂ©cution

L’infection dĂ©bute par une activitĂ© ClickFix conduisant l’utilisateur Ă  exĂ©cuter msiexec.exe, qui contacte api-configuard[.]com via l’endpoint capher.php pour tĂ©lĂ©charger un MSI malveillant se prĂ©sentant comme Spotify (ComponentTask33-4d14e6ac.msi). Le MSI :

  • DĂ©ploie son propre runtime Node.js embarquĂ©
  • Lance l’agent JavaScript via des Ă©tapes PowerShell et VBScript cachĂ©es (._scatter.ps1, ._agent.vbs)
  • S’installe dans le contexte utilisateur sans Ă©lĂ©vation de privilĂšges (ALLUSERS=2, MSIINSTALLPERUSER=1)
  • Disperse ses composants dans des chemins imitant des rĂ©pertoires Microsoft lĂ©gitimes

🧬 Persistance

ChainScript établit la persistance via :

  • Une tĂąche planifiĂ©e (ComponentTask33Agent) au logon utilisateur
  • Fallback sur la clĂ© de registre HKCU\Software\Microsoft\Windows\CurrentVersion\Run

🔗 DĂ©couverte C2 via blockchain (EtherHiding)

ChainScript utilise une technique de type EtherHiding : il interroge un smart contract Polygon (adresse 0xf9099d0d747368cce8C10226CC9AF2bFD4DDbCF4, chain ID 137) via eth_call avec le sĂ©lecteur de fonction 0x4ab7874e pour rĂ©soudre dynamiquement l’URL du panneau WebSocket actif. Le rĂ©sultat est mis en cache 5 minutes. Cette architecture permet Ă  l’opĂ©rateur de faire pivoter l’infrastructure C2 sans modifier ni redistribuer l’implant.

đŸ› ïž CapacitĂ©s du RAT

L’agent app\src\index.js implĂ©mente un dispatcher de commandes structurĂ© :

  • Shells interactifs CMD et PowerShell (via node-pty)
  • Gestion de fichiers (Ă©numĂ©ration, lecture, Ă©criture, suppression, transfert Base64)
  • Captures d’Ă©cran (via SearchTrustedRuntimeSvc.exe / CaptureScreen.exe)
  • DĂ©ploiement de payloads (MSI, PowerShell, CMD)
  • DĂ©couverte de wallets crypto (inventaire des extensions navigateur et wallets desktop)
  • ExĂ©cution JavaScript distante (via eval et modules distants)
  • Mise Ă  jour et nettoyage de l’agent

đŸ·ïž Multiples builds identifiĂ©s

Build Leurre logiciel
ComponentTask33 Spotify
UpdateDigital Spotify
HostShared Zoom Workplace
OrchidViolet66 Microsoft Teams

Tous partagent le mĂȘme agent sous-jacent (._agent.vbs, app\src\index.js, connect-delay-state.json).

🌐 Infrastructure observĂ©e

Lors de l’analyse protocolaire en direct, APG a observĂ© une rotation d’infrastructure : le contrat Polygon a d’abord rĂ©solu shift-api-control[.]com:3847, puis aprĂšs rĂ©initialisation de session, a retournĂ© bedotiq[.]net:3854. Le contrat du build ComponentTask33 a Ă©tĂ© dĂ©ployĂ© seulement 23 secondes avant la crĂ©ation du MSI (24 aoĂ»t 2026), suggĂ©rant une automatisation du pipeline de build.

📄 Type d’article

Il s’agit d’une analyse technique approfondie publiĂ©e par un Ă©diteur de sĂ©curitĂ©, visant Ă  documenter un nouveau malware, ses TTPs, ses IOCs et son architecture C2 innovante basĂ©e sur la blockchain.

🧠 TTPs et IOCs dĂ©tectĂ©s

TTP

  • T1566 — Phishing (Initial Access)
  • T1204.002 — User Execution: Malicious File (Execution)
  • T1059.001 — Command and Scripting Interpreter: PowerShell (Execution)
  • T1059.003 — Command and Scripting Interpreter: Windows Command Shell (Execution)
  • T1059.007 — Command and Scripting Interpreter: JavaScript (Execution)
  • T1218.007 — System Binary Proxy Execution: Msiexec (Defense Evasion)
  • T1027 — Obfuscated Files or Information (Defense Evasion)
  • T1036.005 — Masquerading: Match Legitimate Name or Location (Defense Evasion)
  • T1053.005 — Scheduled Task/Job: Scheduled Task (Persistence)
  • T1547.001 — Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder (Persistence)
  • T1571 — Non-Standard Port (Command and Control)
  • T1102 — Web Service (Command and Control)
  • T1095 — Non-Application Layer Protocol (Command and Control)
  • T1041 — Exfiltration Over C2 Channel (Exfiltration)
  • T1113 — Screen Capture (Collection)
  • T1005 — Data from Local System (Collection)
  • T1083 — File and Directory Discovery (Discovery)
  • T1082 — System Information Discovery (Discovery)
  • T1105 — Ingress Tool Transfer (Command and Control)
  • T1140 — Deobfuscate/Decode Files or Information (Defense Evasion)

IOC

  • IPv4 : 176.65.144.127 — AbuseIPDB · VT · ThreatFox
  • IPv4 : 176.65.144.40 — AbuseIPDB · VT · ThreatFox
  • Domaines : api-configuard.com — VT · URLhaus · ThreatFox
  • Domaines : kerosand.net — VT · URLhaus · ThreatFox
  • Domaines : shift-api-control.com — VT · URLhaus · ThreatFox
  • Domaines : moweros.net — VT · URLhaus · ThreatFox
  • Domaines : bedotiq.net — VT · URLhaus · ThreatFox
  • Domaines : giperon.net — VT · URLhaus · ThreatFox
  • SHA256 : 20a9e297220fe4cb9f939eaa82582c6e9a8f6dd4424635206dec08fa1986b8fa — VT · MalwareBazaar
  • SHA256 : 6e07d2de3618bb92265248653361ff39c63c0cfba2f4aa2538b3128fa9ce3a50 — VT · MalwareBazaar
  • SHA256 : bad0600a850436154f8d7b6f7a191dc45bd136897780cd032b336cb4b358d241 — VT · MalwareBazaar
  • SHA256 : 496c202abf53984164f5f319a72b02c8e06016d0f35681353ef07db8e6d1b31f9fa80577b8 — VT · MalwareBazaar
  • SHA256 : b3cb9c3062e5e1986cc9fe0c26eed023f7d430dfa5c60169c15c45 — VT · MalwareBazaar
  • SHA256 : 7969ccaf1db750bc3b02d51626d6916ecbd0c0cf2f7de3c7bc0be240f5f2978d — VT · MalwareBazaar
  • Fichiers : ComponentTask33-4d14e6ac.msi
  • Fichiers : UpdateDigital-0c3c5204.msi
  • Fichiers : HostShared-1a5b7e17.msi
  • Fichiers : OrchidViolet66-5595bc08.msi
  • Fichiers : ProfileQuickHost.exe
  • Fichiers : SearchTrustedRuntimeSvc.exe
  • Fichiers : ._agent.vbs
  • Fichiers : ._scatter.ps1
  • Fichiers : StreamServiceSharedBridge.ps1
  • Fichiers : ManagerPrivateLoader.cmd
  • Fichiers : HiddenVirtualSilentLoader.dat
  • Fichiers : connect-delay-state.json
  • Chemins : %LOCALAPPDATA%\ComponentTask33
  • Chemins : %LOCALAPPDATA%\Microsoft\Windows\Libraries\QuickSystemSearch
  • Chemins : %APPDATA%\Microsoft\Windows\Themes\SettingsHostStandard58
  • Chemins : %LOCALAPPDATA%\Microsoft\Windows\INetCache\FilterManager
  • Chemins : %LOCALAPPDATA%\Microsoft\Windows\Shell\RemoteTempPrimary
  • Chemins : app\src\index.js

⚠ À propos de ces IOC — ils sont extraits automatiquement de l’article original le 20 septembre 2026 et n’ont pas fait l’objet d’une vĂ©rification externe. Un indicateur peut avoir Ă©tĂ© rĂ©attribuĂ© depuis : une IP de C2 peut redevenir un service lĂ©gitime, un domaine sinkholĂ© peut changer de propriĂ©taire. Aucune garantie d’exactitude ni d’actualitĂ© — contrĂŽlez leur validitĂ© avant tout usage opĂ©rationnel, en particulier avant de les injecter dans une blocklist ou un SIEM.

Malware / Outils

  • ChainScript (rat)
  • node-pty (tool)

🟱 Indice de vĂ©rification factuelle : 90/100 (haute)

  • ✅ blackpointcyber.com — source reconnue (Rösti community) (20pts)
  • ✅ 27567 chars — texte complet (fulltext extrait) (15pts)
  • ✅ 32 IOCs dont des hashes (15pts)
  • ✅ 6/8 IOCs confirmĂ©s (AbuseIPDB, MalwareBazaar, ThreatFox, URLhaus, VirusTotal) (15pts)
  • ✅ 20 TTPs MITRE identifiĂ©es (15pts)
  • ✅ date extraite du HTML source (10pts)
  • ⬜ aucun acteur de menace nommĂ© (0pts)
  • ⬜ pas de CVE Ă  vĂ©rifier (0pts)

IOCs confirmés externellement :

  • 176.65.144.127 (ip) → AbuseIPDB (100% confiance, 33 signalements) + VT (13/89 dĂ©tections) + ThreatFox (Stealc)
  • 20a9e297220fe4cb
 (sha256) → VT (9/75 dĂ©tections) + ThreatFox (Unknown Loader)
  • 6e07d2de3618bb92
 (sha256) → VT (10/75 dĂ©tections)
  • api-configuard.com (domain) → VT (12/89 dĂ©tections) + ThreatFox (Unknown Loader)
  • kerosand.net (domain) → VT (8/89 dĂ©tections) + ThreatFox (Unknown malware)

🔗 Source originale : https://blackpointcyber.com/blog/chainscript-tracing-a-nodejs-rat-across-the-blockchain/