Magecart Hackers Group Attack High-grade Wi-Fi Routers To Take Control The Public-WiFi Networks

A financially motivated hacking group called ” Magecart Group 5 (MG5) “targeting high-end commercial-grade layer 7 (L7) WiFi routers and take taking control over the public Wi-Fi networks that deployed in airports, casinos, hotels, and resorts.

Threat actors initiate the attack by injecting malicious code into the legitimate Javascript file that loaded by the layer 7 (L7) routers.

Magecart Group 5 group name has been derived since the attackers used a modus operandi with 38 different cybercrime factions that they used to attack E-commerce sites that includes hacking carts, checkout pages or web logic and more.

Earlier this Year, MG5 threat group have been already involved with attacking hundreds of E-commerce Websites Injecting with Skimming Code That Steals Payment card Data.

Wi-Fi RoutersWi-Fi Routers

Researchers found that additionally, attackers were injecting malicious payment card stealing code into a popular open-source JavaScript library, a free library to help e-commerce websites to be compatible with mobile browsers.

This technique allows attackers to infect the mobile devices to gain access and take control over the application running on the compromised mobile.

Attack Commercial-Grade, L7 WiFi Routers

Threat actors specifically target and infect the code in Wi-Fi routers that provide commercial Wi-Fi service in public areas such as hotels or Airports.

Commercial-class layer 7 routers integrate by both routing and switching capabilities and reside in the same virtualization server as other business-critical IT infrastructure components that allows an attacker to take control of the other part of the network.

According to IBM research, ” popular routers in this category can also present risky features when it comes to information security — content filtering, redirection to interstitial pages, payload rewriting and traffic shaping are just a few of those features.”

Once the attackers compromised the web resources that an L7 router loads, they can abuse this feature and use it against the user and attack their Wi-Fi connected devices.

Wi-Fi Attack Scenario

Generally, WiFi service vendor who offers WiFi to the hotel won’t support the proxying adverts or JavaScript injection.

But when we are staying in a hotel, we are often getting ads in our devices when we connect via captive ports because WiFi vendors offer a discounted price to the hotel for the Wi-Fi operation and prompt them to allows midstream ads to run before guests connect to generate extra revenue from 3 rd parties.

But the hotel operators doesn’t know that potential hacker groups such as MG5 could be taking advantage of a massive number of captive users and infect the Ads, JavaScript injections and ultimately steal financial data but the users will never find how they lost their information or money.

Attackers also can steal the payment data when users browser using Wi-Fi connection from the compromised computer and also inject malicious ads.

” Having access to a large number of captive users with very high turnover — such as in the case of airports and hotels — is a lucrative concept for attackers looking to compromise payment data.” Researched said.

You can read here the about How To Secure Wi-Fi Networks Effectively From Hackers – A Complete Guide.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Also Read: 10 Best WiFi Hacking Apps for Android – 2019 Edition

Balaji

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

PortSwigger Launches Burp AI to Enhance Penetration Testing with AI

PortSwigger, the makers of Burp Suite, has taken a giant leap forward in the field…

4 seconds ago

Chord Specialty Dental Partners Data Breach Exposes Customer Personal Data

Chord Specialty Dental Partners is under scrutiny after revealing a data breach that compromised the…

26 minutes ago

Kentico Xperience CMS XSS Vulnerability Allows Remote Code Execution

Kentico Xperience CMS, a widely used platform designed for enterprises and organizations, is under scrutiny…

48 minutes ago

LensDeal Data Breach Exposes 100,000 Customers’ Personal Information

A major data breach involving LensDeal, a Netherlands-based contact lens supplier, has reportedly exposed the…

60 minutes ago

Apple Issues Warning on Three 0-Day Vulnerabilities Under Active Exploitation

Apple has issued an urgent security advisory concerning three critical zero-day vulnerabilities – CVE-2025-24200, CVE-2025-24201, and CVE-2025-24085 – which…

1 hour ago

Microsoft Discovers GRUB2, U-Boot, and Barebox Bootloader Flaws with Copilot

Microsoft has disclosed the discovery of multiple critical vulnerabilities within the GRUB2, U-Boot, and Barebox…

1 hour ago