đ 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
evalet 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/