Wiz Details Campaign Hijacking Thousands of Websites to Redirect East Asian Visitors

· Original article ↗

Summary

Wiz researchers estimated that an unknown actor compromised at least 10,000 websites, mainly targeting East Asian audiences, and used injected JavaScript to redirect some visitors. The initial access method and the actor’s precise motives remain unknown.

Key points

  • Wiz estimated at least 10,000 websites had been compromised since early September 2022, based on publicwww and SimilarWeb data; the sites redirected hundreds of thousands of users monthly.
  • In investigated cases, the actor accessed FTP endpoints with legitimate credentials. A Wiz honeypot saw connections from 172.81.104[.]64, but researchers could not determine how credentials were obtained or establish a single initial access method.
  • The actor injected JavaScript tags or code into website files. Scripts used geofencing, crawler and search-engine filtering, and probabilistic redirects to adult or gambling content.
  • Earlier script variants collected visitor and browser details and sent them to an actor-controlled API; that behavior was absent from variants observed since December 2022.
  • After related samples were detected by a YARA rule in late November 2022, the actor began directly injecting obfuscated JavaScript in some cases. Researchers said this may have been a response, but could not rule out coincidence.
  • Researchers observed no evidence of phishing, web skimming, or malware infection, and could not establish the actor’s exact motive or initial access vector.
  • Wiz recommended rotating affected credentials, switching to FTPS or SFTP, removing injected code, and restoring clean assets; it also shared findings with Cloudflare and requested that it block the redirects.

Article Details

Attack Vectors
  • The unknown actor accessed web servers through FTP using legitimate credentials; the source does not establish how those credentials were obtained.
  • After access, the actor modified website files to add JavaScript tags or injected obfuscated JavaScript directly into existing files.
  • Visitors to compromised websites could have the script execute in their browsers and be conditionally redirected, based on factors including geography and a probability setting.
  • Earlier script variants collected visitor browser and environment information and sent it in a Base64-encoded JSON payload via HTTP POST to an attacker-controlled endpoint.
Defensive Notes
  • Use FTPS or SFTP with strong credentials for website maintenance.
  • Rotate FTP and Git credentials associated with affected websites.
  • Search website assets for known malicious domains and JavaScript tags or code; remove the malicious code or restore clean asset versions.
  • Redeploy servers from a trusted image when possible, reinstall software from a trusted source, and patch to the latest version.

Indicators of compromise

TypeIndicatorContext
DOMAIN22332299[.]comDestination domain used in the activity’s redirects to adult-themed content.
DOMAIN3h1yt68lxk[.]comDynamically named domain listed as a redirect destination in the activity.
DOMAINa[.]msstatic[.]netHost serving an injected JavaScript payload on compromised Pagoda servers.
DOMAINalibb1[.]xyzDestination domain used in the activity’s redirects to adult-themed content.
DOMAINalibb2[.]xyzDestination domain used in the activity’s redirects to adult-themed content.
DOMAINalivod1[.]comDestination domain used in the activity’s redirects to adult-themed content.
DOMAINbeacon-v2[.]helpscout[.]helpHost identified as serving a malicious JavaScript variant while masquerading as a legitimate Help Scout URL.
DOMAINcdn-go[.]netHost identified as serving a malicious JavaScript variant while masquerading as a legitimate URL.
DOMAINcdn[.]jsdelivr[.]autosHost identified as serving a malicious JavaScript variant while masquerading as a jsDelivr URL.
DOMAINg7h69h29cx[.]comDynamically named redirect destination associated with the activity.
DOMAINminjs[.]usHost identified as serving a malicious JavaScript variant.
DOMAINqs70qw11az[.]comDynamically named redirect destination displaying Alibbfb branding and gambling advertisements.
DOMAINrsoy6a1w7p[.]comDynamically named domain listed as a redirect destination in the activity.
DOMAINs3a[.]pstatp[.]orgIntermediate redirect host identified as part of the malicious redirection flow.
DOMAINstat[.]51sdk[.]orgIntermediate redirect host identified as part of the malicious redirection flow.
DOMAINtpc[.]cdn-linkedin[.]infoIntermediate redirect host masquerading as a LinkedIn CDN URL.
DOMAINtpc[.]googlesyndication[.]wikiAttacker-controlled host serving the injected JavaScript payload while masquerading as tpc.googlesyndication.com.
DOMAINwidget-v4[.]tidiochat[.]netIntermediate redirect host identified as part of the malicious redirection flow.
DOMAINwww[.]metamarket[.]questHost serving a malicious redirection script; the article links its infrastructure to other domains in the activity.
IPV4159[.]69[.]123[.]158Historical origin IP exposed for www.metamarket[.]quest, a host identified as serving a malicious script.
IPV4172[.]81[.]104[.]64Static source IP observed connecting to the researchers’ honeypot and to FTP endpoints involved in the activity.
IPV4193[.]109[.]120[.]45Historical origin IP exposed for minjs[.]us, a host identified as serving a malicious script.
SHA25608d6092832ab0631cb45415707fe6e262a205d1809a064ed9aa577647a39ba8eHash of a known sodar2.js sample associated with the malicious scripts.
SHA2560a1cecea008b34bcbc8db9f4f56077a02492b3970cfe59fd8e96a08655c81cc2Hash of a known min.js sample associated with the malicious scripts.
SHA25630ec43c09bc09a4224001acb4af67126d5f2c58a2120c3e9f606c719ab6c826bHash of a known jquery.min.js sample associated with the malicious scripts.
SHA2564770fdd231dccd6775a561fbf9c9dc16c0009aaea934107f5d7e9a79e10295d7Hash of a known market.js sample associated with the malicious scripts.
SHA25650bf3385e888eee5e31a92d71c9a194b3bdfb62760b9cc069b962ef9d3b5646fHash of a known vendor.06c7227b.js sample associated with the malicious scripts.
SHA25676acbfd3312024f2c3046ead1c6da8d1bb832cb9e71fe74a4977f9e30067cfb3Hash of a known ad.tmpl_a9b7.js sample associated with the malicious scripts.
SHA256a39970152a2d753c4fb449b15617820c72d02c3489f99155131f68376edc714eHash of a systemd-private-named file retrieved from infected Pagoda servers and associated with the activity.
SHA256abdf025595c1e544d7a33432d4a8b2ed0a0170bc4d1657312396e14d277dc2d1Hash of a modified NGINX binary retrieved from infected Pagoda servers.

MITRE ATT&CK

Vendors

Products

Tools

Countries

Related Articles