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

Sec firm RiskIQ claims Magecart group behind BA breach Featured

By
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 baways.com."

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.

BUSINESS WORKS BETTER WITH WINDOWS 1O. MAKE THE SHIFT

You cannot afford to miss this Dell Webinar.

With Windows 7 support ending 14th January 2020, its time to start looking at your options.

This can have significant impacts on your organisation but also presents organisations with an opportunity to fundamentally rethink the way users work.

The Details

When: Thursday, September 26, 2019
Presenter: Dell Technologies
Location: Your Computer

Timezones

QLD, VIC, NSW, ACT & TAS: 11:00 am
SA, NT: 10:30 am
WA: 9:00 am NZ: 1:00 pm

Register and find out all the details you need to know below.

REGISTER!

ADVERTISE ON ITWIRE NEWS SITE & NEWSLETTER

iTWire can help you promote your company, services, and products.

Get more LEADS & MORE SALES

Advertise on the iTWire News Site / Website

Advertise in the iTWire UPDATE / Newsletter

Promote your message via iTWire Sponsored Content/News

Guest Opinion for Home Page exposure

Contact Andrew on 0412 390 000 or email [email protected]

OR CLICK 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.

VENDOR NEWS & EVENTS

REVIEWS

Recent Comments