The Retail Bulletin, the complete retail news resource

Comment: Avoid Getting Hurt by RAM Scrapers

‘RAM scraping’ was behind one of the world’s largest data breaches. So what does it involve, and how do businesses defend against it? By Keith Bird

It’s estimated that the breaches at leading US retailers including Target and Neiman Marcus resulted in up to 110 million people having credit card or personal details stolen.  
Investigations into the attacks revealed that point-of-sale (POS) terminals at the retail chains had been infected with ‘RAM scraping’ tools, which enabled credit card data and other account information to be intercepted and stolen by the attackers.
  
RAM scraping is not a new technique (it was first reported in 2008), but its use in these latest attacks has raised questions about the security of credit card transactions.
While PCI-DSS does offer strong security from the initial transaction, right through to when customer data is stored on retailers’ systems, it isn’t invulnerable.  There’s a very short period of time during a mag-stripe transaction when the customer’s credit card data – including the cardholder's name, card number, expiry date, the three-digit security code – is available in plaintext format.  This is because payment processing systems work with unencrypted data, and it’s this window of opportunity that RAM scraping tools exploit.  

A narrow scrape
When the card data is read by the POS terminal, it’s temporarily stored in memory while the card is authorised and the transaction processed, before it is encrypted.  Similarly, when a back-end server starts processing the customer transaction, the data is temporarily decrypted in memory.  The data is visible only for a fraction of a second, but in that time the RAM scraper is able to do its work, seeking out credit card numbers from the RAM as soon as new data is loaded into it.  The data is then written silently copied  to a text file, and forwarded onto the attackers when a pre-determined number of records has been ‘scraped’ – saving the criminal the effort and trouble of having to decrypt the customer details. 

Infection vectors
So how were the criminals able to inject the RAM scrapers into the POS systems of these major retailers?  It’s currently believed that the hackers obtained login credentials belonging to a company that provides the heating, ventilation and air-conditioning (HVAC) to the retailers.  The HVAC firm had access rights to the retailers’ network for remote monitoring of energy use and temperatures in stores and, using these access rights, attackers gained a foothold on the retailer's network and could jump across to the company's payment systems network to plant their malware.
POS protection
In terms of blocking future RAM-scraping exploits, or other attacks targeting POS systems, US-CERT recommends six best practices to the owners and operators of the systems: 
• Use strong passwords for POS systems, and always change them from the factory default setting
• Update POS software applications, in exactly the same way that other business software should be updated and patched, to cut exposure to vulnerabilities 
• Install a firewall to protect POS systems and isolate them from other networks 
• Use antivirus software, and keep it fully updated
• Restrict access to the Internet from POS system computers or terminals to prevent accidental exposure to security threats 
• Disable remote access to POS systems 

 Keith Bird is UK MD, Check Point


Add to Technorati Add   to del.icio.us bookmarks Digg   this Post   this story to Blinklist Post this   story to Furl Post   this story to Reddit Post   this story to Newsvine Post   this story to Slashdot Post this story to StumbleUpon Bookmark with Google Post this story to Facebook