CAPTCHAs: Breaking & Building A Presentation of Academic Research r3dfish & dr_dave.

Slides:



Advertisements
Similar presentations
Review of AI from Chapter 3. Journal May 13  What advantages and disadvantages do you see with using Expert Systems in real world applications like business,
Advertisements

Stopping cheaters since By: Tigran Gasparian.
CAPTCHA Completely Automated Public Turing test to tell Computers and Humans Apart A Computer Program that can generate and grade test that: Most Humans.
A Low-cost Attack on a Microsoft CAPTCHA Yan Qiang,
CAPTCHA Presented by: Sari Louis SPAM Group: Marc Gagnon, Sari Louis, Steve White University of Illinois Spring 2006.
Breaking an Animated CAPTCHA Scheme
Jeff Yan School of Computing Science Newcastle University, UK (Joint work with Ahmad Salah El Ahmad) Usability of CAPTCHAs Or “usability issues in CAPTCHA.
UPM, Faculty of Computer Science & IT, A robust automated attendance system using face recognition techniques PhD proposal; May 2009 Gawed Nagi.
 Image Search Engine Results now  Focus on GIS image registration  The Technique and its advantages  Internal working  Sample Results  Applicable.
CAPTCHA Prabhakar Verma “08MC30”.
Computer Vision Group University of California Berkeley Recognizing Objects in Adversarial Clutter: Breaking a Visual CAPTCHA Greg Mori and Jitendra Malik.
Human Computation CSC4170 Web Intelligence and Social Computing Tutorial 7 Tutor: Tom Chao Zhou
Accessibility Tools in Microsoft Office 2010 and 2013 ADA Conference 2014 Norah Sinclair Tessa Greenleaf.
Machine Learning Damon Waring 22 April of 15 Agenda Problem, Solution, Benefits Problem, Solution, Benefits Machine Learning Overview/Basics Machine.
VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature.
Recognizing some of the modern CAPTCHAs Dmitry Nikulin LCME, Saint-Petersburg, 2011.
Part 2  Access Control 1 CAPTCHA Part 2  Access Control 2 Turing Test Proposed by Alan Turing in 1950 Human asks questions to another human and a computer,
Protecting Web 2.0 Services from Botnet Exploitations Cybercrime and Trustworthy Computing Workshop (CTC), 2010 Second Nguyen H Vo, Josef Pieprzyk Department.
Face Detection And Recognition For Distributed Systems Meng Lin and Ermin Hodžić 1.
CSE 548 Advanced Computer Network Security Document Search in MobiCloud using Hadoop Framework Sayan Cole Jaya Chakladar Group No: 1.
CAPTCHA solving Tianhui Cai Period 3. CAPTCHAs Completely Automated Public Turing tests to tell Computers and Humans Apart Determines whether a user is.
IMAGINATION: A Robust Image-based CAPTCHA Generation System Ritendra Datta, Jia Li, and James Z. Wang The Pennsylvania State University – University Park.
Preventing Automated Use of STMP Reservation System Using CAPTCHA.
Access Control Via Face Recognition. Group Members  Thilanka Priyankara  Vimalaharan Paskarasundaram  Manosha Silva  Dinusha Perera.
Presented By: Abirami Poonkundran Authors: Jeff Yan, Ahmad El Ahmad.
Securing Passwords Against Dictionary Attacks Presented By Chad Frommeyer.
CAPTCHA solving Tianhui Cai Period 3. CAPTCHAs Completely Automated Public Turing tests to tell Computers and Humans Apart User is human or machine? Prevents.
CAP Malware and Software Vulnerability Analysis Term Project Proposal - Spring 2009 Professor: Dr. Zou Team members: Andrew Mantel & Peter Matthews.
Peter Matthews, Cliff C. Zou University of Central Florida AsiaCCS 2010.
By: Steven Baker.  What is a CAPTCHA?  History of CAPTCHA  Applications of CAPTCHAs  Accessibility  Examples of CAPTCHAs  reCAPTCHA  Vulnerabilities.
Usability of CAPTCHAs Or usability issues in CAPTCHA design Authors: Jeff Yan and Ahmad Salah El Ahmad Presented By: Kim Giglia CSC /19/2008.
Billy Vivian Dr. Oblitey COSC  What is CAPTCHA?  History  Uses  Artificial Intelligence Relationship  reCAPTCHA  Works Cited.
CAPTCHA Presented by: Md.R ahim 08B21A Agenda Definition Background Motivation Applications Types of CAPTCHAs Breaking CAPTCHAs Proposed Approach.
SANDEEP MEHTA (ECE, IV Year). CAPTCHA Completely Automated Public Turing test to tell Computers and Humans Apart Invented at CMU by Luis von Ahn, Manuel.
Introducing Precictive Analytics
Machine Learning Best Practices with Alfresco & Activiti
4/19/ :02 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
3.6 Fundamentals of cyber security
WILU MAY 24/17 LIGHTNING TALK
Napredno prepoznavanje ljudi koristeći Microsoft Azure Cognitive Services SLAVEN MIŠAK, Span d.o.o. IVAN MARKOVIĆ, Span d.o.o.
An Artificial Intelligence Approach to Precision Oncology
3.6 Fundamentals of cyber security
Are you Human?.
Web Programming Week 11 Old Dominion University
Building & Applying Emotion Recognition
EMOTIONAL INTELLIGENCE
CH. 1: Introduction 1.1 What is Machine Learning Example:
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Leverage the Intelligent Cloud
Lecture 5: Dr. Mark Brosnan 2 South:
Facial Login App User Scenario
Text Detection in Images and Video
Introduction Artificial Intelligent.
A novel probabilistic language-based CAPTCHA system
What's New in eCognition 9
Interaction with artificial intelligence in games
Big Data Young Lee BUS 550.
Programming Languages 2nd edition Tucker and Noonan
The Decision Making Model
Fighting the WebBots A webbot is a program that visits web sites for all kinds of purposes. For example, Google webbots make copies of all web sites for.
Technical Capabilities
AHED Automatic Human Emotion Detection
Recitation #4 Tel Aviv University 2017/2018 Slava Novgorodov
Artificial intelligence for everyone
Title of your project Team members
What's New in eCognition 9
What's New in eCognition 9
Discussion Class 9 Informedia.
Exploring Cognitive Services
COGNITIVE SERVICES MACHINE LEARNING FOR DEVELOPERS
Presentation transcript:

CAPTCHAs: Breaking & Building A Presentation of Academic Research r3dfish & dr_dave

A little humor…

dr_dave BS in Computer Information ASU MS in Computer NJIT MS in Information Rutgers 5 th year PhD Candidate in Rutgers University Work on CAPTCHA Attacks and Designs Enjoy all types of information security research

r3dfish BS in Computer Information ASU DefCon 17 speech “Hadoop: Apache’s open source implementation of Google’s Map/Reduce framework” HackedExistence.com Youtube.com/HackedExistence

CAPTCHA Completely Automated Public Turing test to tell Computers and Humans Apart – Human or Bot? – Prevents abuse by bots/blackhats – Protects scarce resources

Why Use CAPTCHAs? Challenges faced by web service provider – Cost of security vs. cost of operation of service – Tolerance level for bot activity? Attackers can pay humans to solve challenges – CAPTCHA mitigates attacks from bots by creating a challenge that uses a “hard” AI problem – An effective CAPTCHA costs money to break

Three Major Types Text BasedImage BasedAudio Based

Design Criteria for Evaluation Usability – Can the users understand the challenge? – Can the users solve it quickly? – Can impaired users solve it? (blind, deaf, etc.) Scalability – Accommodate a large numbers of users? – Can the challenge be generated without humans? Robustness – Resiliency to attacks? – Real Time Content input for challenge generation

Common CAPTCHA Breaking Techniques Optical Character Recognition (OCR) Segmentation Filtration Computer Vision Algorithms – Object recognition – Scene tagging/Image annotation Machine Learning Models (Support Vector Machines etc.) Deep Learning Models (Neural Networks) Speech to Text (audio CAPTCHA translation) … and many more novel methods specific to certain styles of CAPTCHAs

Automated Breaking Tools Standalone automated breakers are great for non changing CAPTCHA services Can now also send difficult challenges to a human solving service (e.g. DeathByCAPTCHA) Can share custom algorithms for defeated unique CAPTCHA challenges with community Examples: – GSA CAPTCHA Breaker ($147) – DeCaptcher ($2 per 1,000 images) – CAPTCHA Sniper ($97)

Example of CAPTCHA Breaker

Image Annotation Services Alchemy, NeuralTalk etc.

Text CAPTCHAs are Dead! Deep Learning models and other novel methods can defeat text CAPTCHAs easily More robust text challenges impact usability

Current Best-Of Breed CAPTCHAs Behavior Based Models Risk Based Models Multi-layered Challenges

Our “Hard AI” Problem Human Emotion Recognition – Contextual Information contained in image Is it impossible for a computer to perform this task? – No, but it is not a trivial challenge Success is highly dependent upon specific criteria – Video/Image properties, composition etc. – Tolerances of detection algorithms

Facial Cues for Measurement

Generating a Sample CAPTCHA Challenge 1.Use image scraper to gather images of faces expressing one or more of the 8 emotions detectable by Emotion API 2.Use Emotion API to recognize faces and emotions expressed 3.Save this information into database 4.Perform image distortions on images until RIS and Emotion API return “garbage”/ 0 results 5.Ask user to demonstrate humanity by matching an equivalent emoticon to the emotion being expressed by a face in the CAPTCHA challenge 6.Evaluate correctness of response and Pass or Fail

Application Design Flow Open Source Python Scraper Uses Google’s Image Search Microsoft’s Project Oxford Emotion API GIMP Image Filters – ScriptFu Built on Django

Python Scraper

Microsoft Cognitive Services

MS Emotion API Part of MS Cognitive Services – a REST API Algorithm that detects 8 different emotions in human faces and provides a bounding box for facial recognition

MS Emotion API Works for up to 64 people in a single image Image formats: JPEG, PNG, BMP, GIF(the first frame) Accepts images < 4MB. The detectable face size is between 36x36 and 4096x4096 pixels The faces are ranked by face rectangle size in descending order Frontal and near-frontal faces = best results

Creating Image Security Relies on MS Emotion API to detect emotions of faces in images initially Images are then modified and presented to the user Modified image must no longer be recognizable by the Emotion API User is asked to provide emotion as challenge response

GIMP Filter Example

Example of Distortion Chain Original ImageInformation Removal Image Destruction Warping/Distortion Final Image “Garbage” Information AddedPerspective Change i(1)i(2) i(3) i(4) i(5)

Stopping Emotion API Error: “0 face detected” is our success case, when the Emotion API can no longer identify the face or the emotion

Stopping Reverse Image Search Attacks

CAPTCHA Challenge Ver 1.0 Images provide guarantee for stopping Emotion API No guarantee for Reverse Image Search – filters not severe enough Designed to test for usability – not for security (yet) Experimenting with # of emotions

Sample Guesses for Ver. 1 Gathered responses from friends and other PhD students Gathered over the course of two weeks Instructed to match the emotion in the image to the emoji that most closely represents the emotion

Emotion/Guess Matrix – Run 1

Test Run 1 Results When we showed images depicting neutral, users guessed neutral 96% of the time correctly…

Test Run 1 Results 73% of the time users clicked neutral in an image challenge, they were correct…

CAPTCHA Challenge Ver 2.0 Reduced set of emotions to simplify challenge Designed to see if usability improved

Emotion/Guess Matrix – Run 2

Test Run 2 Results When we showed images depicting neutral, users guessed neutral 94% of the time correctly…

Test Run 2 Results 83% of the time users clicked neutral in an image challenge, they were correct…

Analysis of Design Criteria Usability – People can easily recognize faces and emotions they are expressing – Warping/distortions can prove too severe for humans to interpret emotion – Currently no options for blind users Scalability – Emotion API provides way to automate emotional tagging – Scraping social media or #hashtags for new images Robustness – Resistant to RIS and CV attacks – Variety in method of challenge expression (e.g. map opposite emotions (happy vs sad), match emoticon to emotion, select all faces expressing the following emotion etc. – Warping/Distortions can be reversed by image processing (no one way image processing functions) – Potential for specialized machine learning algos / neural networks to learn emotional patterns and conduct attacks on CAPTCHA (e.g. deep learning)

Limitations of Current Design Image Scraper – “worse” images as you crawl deeper into results of a search term – Potential database attacks depending on image sources Emotion API – The emotions ‘contempt’ and ‘disgust’ are experimental – Some faces may not be detected due to technical challenges, e.g. very large face angles (head-pose), large occlusion, etc.

Limitations Cont. Image Distortions – Usability issues – Reversibility issues

Resources services/en-us/emotion-api services/en-us/emotion-api recaptchas.pdf recaptchas.pdf generic-solving-of-text-based-captchas.pdf generic-solving-of-text-based-captchas.pdf 16/materials/asia-16-Sivakorn-Im-Not-a-Human- Breaking-the-Google-reCAPTCHA-wp.pdf 16/materials/asia-16-Sivakorn-Im-Not-a-Human- Breaking-the-Google-reCAPTCHA-wp.pdf