Security Market Segment LS
Wednesday, 12 September 2018 06:20

Sec firm RiskIQ claims Magecart group behind BA breach Featured

Sec firm RiskIQ claims Magecart group behind BA breach Pixabay

Security firm RiskIQ has claimed that the breach of the British Airways website was carried out by a group known as Magecart which was also responsible for infiltrating the Ticketmaster UK website earlier this year.

RiskIQ's Yonathan Klijnsma said in a blog post on Tuesday that the BA report on the breach had mentioned the theft of customer data directly from payment forms and this was why his company had suspected Magecart.

He said BA had mentioned that payments to its main website and mobile app were both affected and the period when they were affected was from 22:58 BST 21 August (7.58am AEST 22 August) until 21:45 BST 5 September (6.45am AEST on 6 September).

British Airways disclosed last Friday that the financial and personal details of 380,000 customers had been stolen from its site. There have been reports from another researcher that claimed the break-in was through a cross-site scripting flaw, while a second researcher pointed out that BA appeared to have changed JavaScript code on its site just the reported start of payment theft.

In the case of the Ticketmaster UK breach, which was reported in June, a third-party supplier, Inbenta Technologies, was blamed for the incident. Inbenta, in turn, said that the breach had been caused by Ticketmaster directly applying a customised piece of JavaScript without notifying its (Inbenta's) team.

Klijnsma said since 2016, RiskIQ had publicised the spread of devices known as card skimmers — hidden within credit card readers on ATMs, petrol pumps and other machines where people paid with credit cards — to steal credit card data. "Magecart uses a digital variety of these devices," he added.

RiskIQ has infrastructure set up to detect Magecart hits, but the BA breach did not register because the digital skimmer had been heavily customised. But after checking individual scripts on the BA website, Klijnsma said the RiskIQ researchers had found a modified version of the Modernizr JavaScript library, version 2.6.2.

The script was loaded from the baggage claim information page on the BA website; it had been changed right at the bottom in order not to break functionality. This made RiskIQ suspect that it could be the means of theft.

The modification dates of the two scripts — the original safe one and the newer malicious one — showed when people had started getting their payments stolen.

Outlining what the malicious script did, Klijnsma said:

  • "Once every element on the page finishes loading it will:
    • "Bind the mouseup and touchend events on a button known as submitButton with the following callback-code;
    • "Serialise the data in a form with id paymentForm into a dictionary;
    • "Serialise an item on the page with id personPaying into the same dictionary as the paymentForm information;
    • "Make a text-string out of this serialised data; and
    • "Send the data in the form of JSON to a server hosted on"

He pointed out that on websites, mouseup and touchend were events for when someone let go of the mouse after clicking on a button or when someone on a touchscreen (mobile) device let go of the screen after pushing a button.

"This means that once a user hits the button to submit their payment on the compromised British Airways site, the information from the payment form is extracted along with their name and sent to the attacker’s server. This attack is a simple, but highly targeted approach compared to what we’ve seen in the past with the Magecart skimmer which grabbed forms indiscriminately.

"This particular skimmer is very much attuned to how British Airway’s payment page is set up, which tells us that the attackers carefully considered how to target this site instead of blindly injecting the regular Magecart skimmer."

Klijnsma suggested that those who suspected they were part of the 380,000 affected customers should obtain new credit cards right away.


As part of our Lead Machine Methodology we will help you get more leads, more customers and more business. Let us help you develop your digital marketing campaign

Digital Marketing is ideal in these tough times and it can replace face to face marketing with person to person marketing via the phone conference calls and webinars

Significant opportunity pipelines can be developed and continually topped up with the help of Digital Marketing so that deals can be made and deals can be closed

- Newsletter adverts in dynamic GIF slideshow formats

- News site adverts from small to large sizes also as dynamic GIF slideshow formats

- Guest Editorial - get your message out there and put your CEO in the spotlight

- Promotional News and Content - displayed on the homepage and all pages

- Leverage our proven event promotion methodology - The Lead Machine gets you leads

Contact Andrew our digital campaign designer on 0412 390 000 or via email



Security requirements such as confidentiality, integrity and authentication have become mandatory in most industries.

Data encryption methods previously used only by military and intelligence services have become common practice in all data transfer networks across all platforms, in all industries where information is sensitive and vital (financial and government institutions, critical infrastructure, data centres, and service providers).

Get the full details on Layer-1 encryption solutions straight from PacketLight’s optical networks experts.

This white paper titled, “When 1% of the Light Equals 100% of the Information” is a must read for anyone within the fiber optics, cybersecurity or related industry sectors.

To access click Download here.


Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.



Recent Comments