Saturday, March 29, 2025
HomeBrowserOver 35,000 Websites Hacked to Inject Malicious Scripts Redirecting Users to Chinese...

Over 35,000 Websites Hacked to Inject Malicious Scripts Redirecting Users to Chinese Websites

Published on

SIEM as a Service

Follow Us on Google News

In a widespread cyberattack, over 35,000 websites have been compromised by a malicious campaign that injects harmful scripts into their codebase.

The injected scripts redirect users to Chinese-language gambling platforms, primarily under the “Kaiyun” brand.

This attack leverages obfuscated JavaScript payloads to hijack user browsers, replacing legitimate website content with full-page redirects.

Technical Details of the Attack

The malicious campaign is executed through a one-line <script> tag embedded directly into the source code of affected websites.

These scripts reference domains such as zuizhongjs[.]com and other similar URLs.

Once loaded, the script dynamically injects additional payloads that manipulate the browser’s behavior.

The final payload includes device detection functions to tailor the attack for specific operating systems and introduces random delays to evade detection by automated security systems.

The primary script creates a full-screen hijack by injecting an HTML <div> and <iframe> element that completely overlays the original website content.

This iframe loads external pages that promote unlicensed gambling platforms in Mandarin, targeting users in regions where Mandarin is predominantly spoken.

The attackers also employ obfuscation techniques, such as string concatenation and Unicode escapes, to conceal their activities.

Several domains have been identified as sources of malicious scripts in this campaign:

  • mlbetjs[.]com (18,000+ infections)
  • ptfafajs[.]com (9,000+ infections)
  • zuizhongjs[.]com (4,800+ infections)
  • jbwzzzjs[.]com (2,900+ infections)
  • jpbkte[.]com (30+ infections)

These domains serve as distribution points for the malicious payloads and redirect users to fraudulent gambling sites.

In some cases, users are further redirected to secondary domains that facilitate phishing or fraudulent sign-up processes.

Possible Connection to Megalayer Exploit

According to the Report, Security researchers suggest that this campaign may be linked to the Megalayer exploit, a known vector for distributing Chinese-language malware.

Supporting evidence includes the use of Mandarin text, domain patterns associated with Chinese threat actors, and advanced obfuscation techniques.

The attackers appear to be leveraging vulnerabilities in website content management systems (CMS) or exploiting stolen credentials to inject their scripts.

Website owners are advised to take immediate action to prevent further exploitation:

  1. Audit Source Code: Check for unauthorized <script> tags referencing suspicious domains like zuizhongjs[.]com.
  2. Block Malicious Domains: Use DNS or firewall rules to block known IoCs.
  3. Implement Content Security Policies (CSP): Restrict script execution to trusted sources only.
  4. Conduct Regular Scans: Use tools like PublicWWW or URLScan to detect malicious injections at scale.
  5. Monitor File Integrity: Employ file integrity monitoring tools to identify unauthorized changes in core files.

This large-scale attack highlights the need for robust web security measures and proactive monitoring systems.

Security teams must remain vigilant as attackers continue to evolve their tactics and exploit vulnerabilities across global websites.

Free Webinar: Better SOC with Interactive Malware Sandbox for Incident Response, and Threat Hunting - Register Here

Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Gamaredon Hackers Weaponize LNK Files to Deliver Remcos Backdoor

Cisco Talos has uncovered an ongoing cyber campaign by the Gamaredon threat actor group,...

“Crocodilus” A New Malware Targeting Android Devices for Full Takeover

Researchers have uncovered a dangerous new mobile banking Trojan dubbed Crocodilus actively targeting financial...

SquareX Discloses Browser-Native Ransomware that Puts Millions at Risk

From WannaCry to the MGM Resorts Hack, ransomware remains one of the most damaging...

Hackers Exploit DNS MX Records to Create Fake Logins Imitating 100+ Brands

Cybersecurity researchers have discovered a sophisticated phishing-as-a-service (PhaaS) platform, dubbed "Morphing Meerkat," that leverages...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Gamaredon Hackers Weaponize LNK Files to Deliver Remcos Backdoor

Cisco Talos has uncovered an ongoing cyber campaign by the Gamaredon threat actor group,...

“Crocodilus” A New Malware Targeting Android Devices for Full Takeover

Researchers have uncovered a dangerous new mobile banking Trojan dubbed Crocodilus actively targeting financial...

Hackers Exploit DNS MX Records to Create Fake Logins Imitating 100+ Brands

Cybersecurity researchers have discovered a sophisticated phishing-as-a-service (PhaaS) platform, dubbed "Morphing Meerkat," that leverages...