web bots - ctf game

17
Goals: - write secure software - kill bad bots -scrape nimbly Tuesday, June 30, 15

Upload: calvin-froedge

Post on 17-Aug-2015

59 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Web Bots - CTF Game

Goals:

- write secure software- kill bad bots-scrape nimbly

Tuesday, June 30, 15

Page 2: Web Bots - CTF Game

Tuesday, June 30, 15

Page 3: Web Bots - CTF Game

More info on logos in previous slide

• Ubiquiti botnet: https://threatpost.com/default-credentials-lead-to-massive-ddos-for-hire-botnet/112767

• Hola selling users’ bandwidth in botnet: http://www.digitaltrends.com/computing/hola-found-to-be-selling-users-internet-bandwidth-as-botnet/

• “GoodGoogle” exhausting competitor AdSense budgets: http://krebsonsecurity.com/2014/07/service-drains-competitors-online-ad-budget/

• RecordedFuture https://en.wikipedia.org/wiki/Recorded_Future

Tuesday, June 30, 15

Page 4: Web Bots - CTF Game

Tuesday, June 30, 15

Page 5: Web Bots - CTF Game

http://www.cnet.com/news/bots-now-running-the-internet-with-61-percent-of-web-traffic/

Tuesday, June 30, 15

Page 6: Web Bots - CTF Game

Bots & Hacks

Tuesday, June 30, 15

Page 7: Web Bots - CTF Game

Tuesday, June 30, 15

Page 8: Web Bots - CTF Game

xss

Tuesday, June 30, 15

Page 9: Web Bots - CTF Game

Tuesday, June 30, 15

Page 10: Web Bots - CTF Game

More info on logos in previous slide

• LifeLock XSS: http://techcrunch.com/2015/06/30/vulnerability-in-security-service-lifelock-could-have-exposed-logins-and-passwords/

• Facebook doubles bug bounty: https://threatpost.com/facebook-to-double-bounty-payouts-for-ad-code-bugs/108863

• Apple CelebGate: http://appadvice.com/appnn/2014/09/apple-knew-of-icloud-vulnerabilities-that-led-to-celebgate-since-march-2014

• eBay xss password stealing bug https://grahamcluley.com/2014/09/ebay-password-stealing-security-hole-existed-months/

• Google.com XSS vulnerabilities http://news.softpedia.com/news/Experts-Find-DOM-Based-XSS-Vulnerability-in-Google-com-305585.shtml

Tuesday, June 30, 15

Page 11: Web Bots - CTF Game

Scrapers

Tuesday, June 30, 15

Page 12: Web Bots - CTF Game

Python

Mechanize

Tuesday, June 30, 15

Page 13: Web Bots - CTF Game

Detection & Prevention

Tuesday, June 30, 15

Page 14: Web Bots - CTF Game

browser fingerprinting

Traffic patterns

captcha, recaptcha

Obfuscation (ajax, headers, etc.)

trap and sleep()

Tuesday, June 30, 15

Page 15: Web Bots - CTF Game

Web Bots CTF

Tuesday, June 30, 15

Page 16: Web Bots - CTF Game

AttackersYou manage to control a script that the defenders

have included on their website

A) Modify this script to steal a cookie or username / password data

B) Automate making it past the captcha

C) Scrape all the content from behind the login

D) Don’t take the server down!

Tuesday, June 30, 15

Page 17: Web Bots - CTF Game

DefendersPretend you missed the XSS vulnerability (or rely

on a compromised script for your website to function)...and secure everything else.

A) Make it a bit harder for bots to login

B) Set some traps, make sure you hide them!

C) Try to differentiate legitimate users from bots

D) Don’t let the server go down!

Tuesday, June 30, 15