+ All Categories
Home > Presentations & Public Speaking > Lexical captcha beat down - Structured attack approach

Lexical captcha beat down - Structured attack approach

Date post: 15-Apr-2017
Category:
Upload: moshe-zioni
View: 452 times
Download: 2 times
Share this document with a friend
22
LEXICAL CAPTCHA BEAT-DOWN STRUCTURED ATTACK APPROACH Moshe Zioni twitter: @dalmoz_ email: zimoshe-gmail Distribution and derivation is allowed under the GNU Free Documentation License
Transcript
Page 1: Lexical captcha beat down - Structured attack approach

LEXICAL CAPTCHA BEAT-DOWN

STRUCTURED ATTACK APPROACHMoshe Zioni twitter: @dalmoz_ email: zimoshe-gmail

Distribution and derivation is allowed under the GNU Free Documentation License

Page 2: Lexical captcha beat down - Structured attack approach

INTRO – CAPTCHA PROMISE

• CAPTCHAs are there to protect against misuse – flood, automated attacks

• Minimizing impact of flood, DDoS, misuse and control.

• /=-3r]]-3]] Humans, confirm! /132—[

Page 3: Lexical captcha beat down - Structured attack approach

GOING LEXICAL

• CAPTCHA is commonly known as this

• It doesn’t have to be that way…

Page 4: Lexical captcha beat down - Structured attack approach

MEDIEVEL CAPTCHA

Page 5: Lexical captcha beat down - Structured attack approach

SO… LEXICAL ANALYSIS

• BASICS – no rocket science needed, but a human mind is mandatory (synaptic connections enabled)

• 121 VS LEXICAL

• Where to find them?

Page 6: Lexical captcha beat down - Structured attack approach

Basic terminology

•TOKEN (!!!)•Lexeme•Key/Word/Keyword

Page 7: Lexical captcha beat down - Structured attack approach

Example

Page 8: Lexical captcha beat down - Structured attack approach

Stream to tokens

Identifier 1 Identifier 2

Page 9: Lexical captcha beat down - Structured attack approach

So, what?

Identifier 1 Identifier 2

Page 10: Lexical captcha beat down - Structured attack approach

LEXER BUILDING

Page 11: Lexical captcha beat down - Structured attack approach

STEPS IN LEXER PROCESSING

• Fetcher• Scan• Clean/Translate (?)• Head Selection• Head• Clean/Translate (?)• SOLUTION!

Page 12: Lexical captcha beat down - Structured attack approach

YEAH! Really… Now what?

Page 13: Lexical captcha beat down - Structured attack approach

Real world example

• What word from "anointed, daringly, redeployment" begins with "r"?

• Enter the largest number of 99, sixty three, 55 or 19:

• "ketch" has how many letters?

Page 14: Lexical captcha beat down - Structured attack approach

Fetch

• What word from "anointed, daringly, redeployment" begins with "r"?

Page 15: Lexical captcha beat down - Structured attack approach

Scan

• What word from "anointed, daringly, redeployment" begins with "r"?

• Tokenizing – 1, 2, 3, 4, 5

• Distinct tokenization

• Binary Tree – Boolean Logic

Page 16: Lexical captcha beat down - Structured attack approach

Process stream

• What word from "anointed, daringly, redeployment" begins with "r"?

• Always clean after scanning

• Beware of pitfalls – you need to be sure of your scanning

Page 17: Lexical captcha beat down - Structured attack approach

Coverage

• Why it’s important?

• How to define coverage?

• Brute force• Combinatorics (if given a number)

Page 18: Lexical captcha beat down - Structured attack approach

Efficiency

• In Lab is different than real world

• Good and Bad

• If no other options after scanning - Always guess

Page 19: Lexical captcha beat down - Structured attack approach

Proof-of-Concept

• Available at GitHub:https://github.com/dalmoz/CAPLex

Page 20: Lexical captcha beat down - Structured attack approach

Thoughts on mitigations

• ?

Page 21: Lexical captcha beat down - Structured attack approach

Questions

Page 22: Lexical captcha beat down - Structured attack approach

Thank you

• Moshe Zioni

• Zimoshe-gmail

• @dalmoz_


Recommended