Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Application Security

Magecart Hackers Infect 17,000 Domains via Insecure S3 Buckets

The Magecart hackers have managed to infect over 17,000 domains by targeting improperly secured Amazon S3 buckets, RiskIQ reports. 

The Magecart hackers have managed to infect over 17,000 domains by targeting improperly secured Amazon S3 buckets, RiskIQ reports. 

The hackers came under the spotlight last year, after a series of high-profile attacks against websites including Ticketmaster, British Airways, and Newegg. The most recent of their attacks were hitting campus e-commerce sites and Picreel and Alpaca Forms.

Starting in early April, the hackers adopted a new shotgun approach where they would actively scan for misconfigured Amazon S3 buckets that would allow anyone with an Amazon Web Services account to read or write content to them.

The actors would then check if the misconfigured buckets had any JavaScript files (ending in .js) and then download these files, append their skimming code to the bottom, and overwrite the original script on the bucket, RiskIQ reveals

The group has apparently managed to compromise a large number of improperly secured S3 buckets, thus having their web skimmer implanted on well over 17,000 domains, including websites in the top 2,000 of Alexa rankings.

While the number of compromised websites is quite large, the adopted approach also meant that many of the infected scripts would never load on payment pages, meaning that the actors can’t get any credit card data. 

“However, the ease of compromise that comes from finding public S3 buckets means that even if only a fraction of their skimmer injections returns payment data, it will be worth it; they will have a substantial return on investment,” RiskIQ notes. 

The attack also illustrates how easy it is to compromise a large number of websites with scripts stored in misconfigured S3 buckets. 

Advertisement. Scroll to continue reading.

To protect customers’ data, Amazon currently makes all buckets private and protected by default, delivers warnings directly to the S3 console, and offers account-level blocking. Thus, those who modify the default behavior of a bucket and provide public access should set up proper access control to ensure that their data remains secure. 

Related: British Airways Faces $230 Million Fine for 2018 Breach

Related: Magecart Skimmer Poses as Payment Service Provider

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed the new CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Application Security

Fortinet on Monday issued an emergency patch to cover a severe vulnerability in its FortiOS SSL-VPN product, warning that hackers have already exploited the...

Application Security

PayPal is alerting roughly 35,000 individuals that their accounts have been targeted in a credential stuffing campaign.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.

Application Security

GitHub this week announced the revocation of three certificates used for the GitHub Desktop and Atom applications.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.