Feeds

Barcode faking for fun and profit

Mischief in black and white

Using blade systems to cut costs and sharpen efficiencies

The increased use of barcodes in a wider variety of applications has made them a suitable, if unlikely, target for hacking attacks.

Having started out as a means to label cans of food in supermarkets, one-dimensional barcodes and two-dimensional matrix codes are now found in systems from pre-paid postage labels and airline tickets. Instead of serving as simple tags, 2D matrix barcodes are featuring as authentication, authorisation and payment method.

Organisations place implicit trust in these codes. Unfortunately, developers of barcode systems frequently neglect security considerations, assuming that codes are unlikely to be fake because hackers lack the necessary resources.

FX of hacker group Phenoelit undermined these assumptions with a presentation on Toying with barcodes at last week's Chaos Communication Congress hacker fest in Berlin.

Phenoelit began looking into the area of barcode security after one cheeky punter used forged admission cards to get free drinks at a meeting of the group. Perhaps unwisely, Phenoelit used one-dimensional barcodes as both an admission method and a payment method for drinks at one of their PH Neutral conferences.

The group initially looked into other similar one-dimensional barcode systems. It found that a season ticket to a multistorey car park in Dresden was based on a simple barcode that wasn't properly checked by backend systems. The flaw made it easy to get free parking.

At its most straightforward, it's easy to copy "used" barcodes in a print shop, scan them in and print them out. Freely-available programs such as GNU Barcode allow hackers to decode or write barcodes. Readers and scanners for two-dimensional barcodes were still comparatively expensive, a potential barrier for hackers. But once obtained, according to FX, these devices are easy to reconfigure.

The approach might be applied to print out fake airline boarding cards, although previous experience suggests that checks before boarding mean the approach would (at worst) only allow a miscreant past initial security checks and not actually onto a plane. FX was unable to manipulate the pre-paid postage system used by the German post office or the ticketing system used by German railways. Barcodes used by these orgainsations are protected by encryption, but other organisations are not so careful.

FX showed how he was able to create fake barcodes that allowed him to obtain DVDs that other clients had already paid for at his local rental shop. The hack relied on deciphering the codes used in the labels and printing out fake labels using the membership number of another member of a hire firm FX had joined, Heise reports.

Fake barcodes with surplus character might be used to crash backend systems. Mobile Tagging systems (such as Welt Kompakt in Germany) that allow shoppers to scan in and read codes with their mobile phones might also be subverted to direct surfers to maliciously constructed websites, Heise adds. ®

Boost IT visibility and business value

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
Israel's Iron Dome missile tech stolen by Chinese hackers
Corporate raiders Comment Crew fingered for attacks
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
Four fake Google haxbots hit YOUR WEBSITE every day
Goog the perfect ruse to slip into SEO orfice
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.