Magecart Attacks Proving Persistent Problem for Online Retailers

A research report shows that one in five sites targeted by a Magecart attack become re-infected, with the average skimming operation lasting nearly 2 weeks.

Scott Ferguson, Managing Editor, Light Reading

November 16, 2018

3 Min Read

Over the last several months, the group behind Magecart has proven a tricky problem for online retailers with a number of skimmer operations designed to steal credit card information from customers.

Now, a new report by independent security researcher Willem de Groot finds that one out of five online commerce sites targeted by Magecart is re-infected within a short time -- about 10.5 days -- and the average attack continues for about 13 days.

"In the last quarter, 1 out of 5 breached stores were infected (and cleaned) multiple times, some even up to 18 times. This shows that countermeasures taken by merchants and their contracted security firms often fail," de Groot wrote in his November 12 online report.

Essentially, Magecart works by adding code to third-party websites that support larger e-commerce sites. The third parties usually handle credit card transactions from online shoppers when they check out. The code essentially skims the payment data and delivers it to cybercriminals.

(Source: Willem's Lab)

(Source: Willem's Lab)

This type of scheme is also known as formjacking, which Symantec researchers have recorded a noticeable uptick in the past few months, likely due to the increase in activity from Magecart. The group behind the attack has been active since 2015, but they have refined their techniques since the start of the year. (See Magecart Group Likely Behind Increase in Formjacking Attacks.)

In the past few months, Magecart targets have included Ticketmaster, NewEgg and British Airways. Additionally, de Groot found the skimming code on the Infowars Store website run by conspiracy theorist Alex Jones.

In his report, de Groot finds that the Magecart group uses four different methods to hide their presence, which allows them to re-infect sites:

  • The group litters the target site with backdoors and rogue administrator accounts to regain access.

  • Cybercriminals appear to use reinfection mechanisms, such as database triggers or hidden periodic tasks, to reinstate their payload if they are kicked off.

  • There are also numerous obfuscation techniques that disguises the malicious code from the legitimate code.

  • Finally, Magecart attackers appear to use unpublished zero-day exploits.

Some of the online website having problems with re-infections include TechRabbit.com (two times), Kitronik.co.uk (four times) and Zapals.com (four times).

"Researching these requires a significant investment. All in all, it takes some very keen eyes and a lot of effort to clean all traces of a breach," de Groot wrote.

Related posts:

— Scott Ferguson is the managing editor of Light Reading and the editor of Security Now. Follow him on Twitter @sferguson_LR.

Read more about:

Security Now

About the Author(s)

Scott Ferguson

Managing Editor, Light Reading

Prior to joining Enterprise Cloud News, he was director of audience development for InformationWeek, where he oversaw the publications' newsletters, editorial content, email and content marketing initiatives. Before that, he served as editor-in-chief of eWEEK, overseeing both the website and the print edition of the magazine. For more than a decade, Scott has covered the IT enterprise industry with a focus on cloud computing, datacenter technologies, virtualization, IoT and microprocessors, as well as PCs and mobile. Before covering tech, he was a staff writer at the Asbury Park Press and the Herald News, both located in New Jersey. Scott has degrees in journalism and history from William Paterson University, and is based in Greater New York.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights