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.

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here


It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site and prominent Newsletter promotion and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinatrs and campaigns and assassistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

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.

Share News tips for the iTWire Journalists? Your tip will be anonymous