Hackers Are Using Web Shells to Steal Credit Card Information
VISA Warns That Threat Actors Are Deploying Web Shells on Compromised Servers To Exfiltrate Credit Card Information Stolen From Online Store Customers.
Web shells can be defined as either scripts or programs that are being deployed by threat actors in order to gain and maintain access to hacked servers and be able to remotely execute arbitrary code or commands as well as to move laterally within a target’s network, or even deliver additional malicious payloads.
Another study, led by Microsoft and based on data collected from 46,000 distinct devices in the second part of 2019, detected an average of 77,000 web shells each month.
The skimmers, once deployed are allowed to steal the payment, and personal information previously submitted by the compromised online stores’ customers and send it to servers that are under their control.
Throughout 2020, Visa Payment Fraud Disruption (PFD) identified a trend whereby many eSkimming attacks used web shells to establish a command and control (C2)during the attacks.
PFD confirmed at least 45 eSkimming attacks in 2020 using web shells, and security researchers similarly noted increasing web shell use across the wider information security threat landscape.
It seems that web shells were mostly used by Magecart threat actors. The attackers used this technique to backdoor hacked online store servers and be able to set up a command-and-control infrastructure allowing them to exfiltrate the stolen credit card info.
Heimdal™ Threat Prevention - Network
- No need to deploy it on your endpoints;
- Protects any entry point into the organization, including BYODs;
- Stops even hidden threats using AI and your network traffic log;
- Complete DNS, HTTP and HTTPs protection, HIPS and HIDS;
The hackers were using multiple methods to breach the online shops’ servers, like vulnerabilities in unsecured administrative infrastructure, eCommerce-related application/website plugins, and outdated/unpatched eCommerce platforms.
VISA’s findings were confirmed by the Microsoft Defender Advanced Threat Protection (ATP) team, who said that the number of web shells deployed on compromised servers has almost doubled since last year.
The escalating prevalence of web shells may be attributed to how simple and effective they can be for attackers. A web shell is typically a small piece of malicious code written in typical web development programming languages (e.g., ASP, PHP, JSP) that attackers implant on web servers to provide remote access and code execution to server functions. Web shells allow attackers to run commands on servers to steal data or use the server as launch pad for other activities like credential theft, lateral movement, deployment of additional payloads, or hands-on keyboard activity, while allowing attackers to persist in an affected organization.
Here are some actions that organizations can take in order to be better prepared against these types of attacks:
- Identify and fix any vulnerabilities or misconfiguration found in web applications and web servers;
- Implement the proper segmentation of your perimeter network;
- Enable antivirus protection on web servers.
- Audit and review logs from web servers frequently;
- Check your perimeter firewall and proxy and restrict unnecessary access to services;
- Practice good credential hygiene.