Engineer bypasses Snapchat's CAPTCHAs with fewer than 100 lines of code

Share this article:
A computer engineer said it only took 30 minutes to write the 100 lines of code.
A computer engineer said it only took 30 minutes to write the 100 lines of code.

A computer engineer said it only took 30 minutes to write up 100 lines of code that consistently allowed him to bypass Snapchat's most recently implemented security feature – a CAPTCHA that requires users to locate ghosts in a series of images – via computer.

The CAPTCHAs were introduced on Tuesday as a way to ensure that those who create accounts are actually human, but it is not likely to scare off any bot-creating attackers because the Snapchat ghost image is too particular, according to Steven Hickson, the computer engineer who wrote up the code and posted it online.

Hickson said the ghost image is akin to a template and explained that template matching is an easy task in 'computer vision.'

“I ended up using OpenCV and going with simple thresholding, SURF keypoints and FLANN matching with a uniqueness test to determine that multiple keypoints in the training image weren't being singularly matched in the testing image,” Hickson wrote in a blog post, explaining OpenCV – a free-to-use programming library used for real-time image processing – is not the only way he could have tackled the problem.

Roughly 30 minutes and fewer than 100 written lines of code later, Hickson said that his program was able to find the ghost with 100 percent accuracy – even though he explained that his coding is not perfect.

The introduction of CAPTCHA's is just the latest in a line of newly implemented features meant to boost Snapchat security after individuals took advantage of a vulnerability in the popular messaging app's application programming interface (API) and stole a database of 4.6 million usernames and phone numbers.

Share this article:
You must be a registered member of SC Magazine to post a comment.

Sign up to our newsletters

More in News

Kevin Mitnick to sell zero-day exploits

Kevin Mitnick's new venture will develop and procure zero-day exploits, then sell them for $100,000 or more.

FBI warns of potential cyber attacks launched by ISIS hacktivists

Following U.S. military airstrikes in the Middle East, the FBI has issued a warning regarding possible cyber threats aimed at U.S. networks and critical infrastructure by hacktivists in support of ISIS.

Report: 75 million records compromised so far in 2014

Report: 75 million records compromised so far in ...

An updated report indicates that since this time last year, breaches have increased by 29.4 percent, with 568 breaches occurring this year.