Cookie Snarfing

December 14, 2009

I wrote a simple cookie snarfing attack. The source is available here:
http://bazaar.launchpad.net/~sargun/cookiejack/trunk/annotate/head%3A/ergle2.py. It utilized scapy, PyQt4, and multiprocessing. It enables me to hijack most popular websites over a WiFi hotspot. Right now the code only is there for gmail, mail.yahoo.com, facebook.com, and reddit; extending for other sites should be trivial. It works by looking for cookies, and hijacking them for my own session. A video demo is below: