Cookie Snarfing

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:

One Response to Cookie Snarfing

  1. Nicholas B says:

    How is this any different from existing ferret/hamster attacks that have been around for years?

    See:
    http://community.corest.com/~hochoa/wifizoo/index.html
    or
    http://www.pauldotcom.com/wiki/index.php/Episode173

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: