Home > Security > Install Firesheep on Ubuntu 10.04 or 10.10

Install Firesheep on Ubuntu 10.04 or 10.10

This morning I had a little bit of free time so I thought I’d (finally) check out the Firefox extension Firesheep. The main website mentions that it isn’t supported for Linux, but the source code is available and as it turns out very easy to compile. Below are instructions for downloading, compiling and installing the Firesheep security plugin for Firefox.

Get the Source

You’ll need to download the source code from github, which can be done using the following two commands:

git clone https://github.com/codebutler/firesheep.git
cd firesheep
git submodule update --init

These two commands will download the code required to compile Firesheep, putting the source into a new directory called “firesheep”.

Build Tools

To compile Firesheep on Ubuntu 10.04 or 10.10 you’ll need the following development packages installed. Simply copy-paste the following list of packages into your terminal:

sudo apt-get install autoconf libtool libpcap-dev libboost-all-dev libhal-dev xulrunner-1.9.2-dev

On my machine this installed quite a few packages, and while the main Firesheep website lists 10.10 specifically, I had no problems on my 10.04 installation.

Build Firesheep

You’re now ready to compile Firesheep. Run the following command and hopefully you’ll be able to build it without error:

./autogen.sh && make

Install the Plugin

If all is well you should find a new file called ‘firesheep.xpi’ in a subdirectory called build (ie; firesheep/build/). Simply drag-and-drop that file into your Addons dialog box, restart Firefox and you should be set.

I’ve been having some issues in actually capturing data on my Dell D630 with an Intel Pro/Wireless 3945ABG card. It looks like this tool is often hardware specific, so your mileage may vary. I’d be interested in anyone offering suggestions on getting it to capture properly on OS X 10.6 (macbook) or Ubuntu 10.04+.

  1. November 26th, 2010 at 15:56 | #1

    On another website it suggested that you may need to put your interface into MONITOR mode

    http://randommusingsofarealgeek.blogspot.com/2010/11/firesheep-on-linux.html

    Although Promiscuous mode is probably what you want… I’ll let you know how I get on :-)

  2. Vis
    November 27th, 2010 at 22:49 | #2

    I followed your steps exactly and worked out well for me on ubutnu 10 .. on a gateway t6345 w/ INtel Pro/Wireless 3945 thank you very much for the steps. It’s working well when I test out on my own logins , haven’t tested more then that. No errors, . . and I also have the compat wireless drivers installed previously for use w/ the airocrack-ng suite. That might be of use if you haven’t looked into it yet

    V

  3. November 30th, 2010 at 05:52 | #3

    Thanks for this!

    Some of my own ubuntu tutorials (maybe they’ll help you like this helped me :) ) can be found at http://ruanfourie.za.net.

    I’ll definitely link to this so more people can find it.

  4. Stz
    November 30th, 2010 at 18:12 | #4

    I followed your explanation and it worked great. I opened up firefox though to test firesheep and I got the error “ReferenceError: Cc is not defined”

    Have any ideas what could be causing this?

    I was thinking libpcap… but my version is up to date.

    Any help would be wonderfully helpful! Thanks boss!

  5. December 3rd, 2010 at 18:35 | #5

    Andy,

    “Monitor” mode is que wireless-interface equivalent of promiscuous mode in wired(ethernet)-interfaces. Same thing, different names.

  6. December 3rd, 2010 at 18:39 | #6

    @ Russoz
    Or rather, not the same thing: putting your wireless into Monitor mode is probably going to end your association with the wireless router or AP. (Glad I remembered that *before* changing it ;-) ).

    This is not working for me here, running on Ubuntu 10.10, on a hp Pavillion dv4, 64-bits.

  7. Marco
    December 7th, 2010 at 12:25 | #7

    Hi…I followed all steps exactly but in the last one, when i put ./autogen.sh && make the result is:
    autoreconf: Entering directory `.’
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal –force -I .
    autom4te: cannot create autom4te.cache: Nessun file o directory
    aclocal: /usr/bin/autom4te failed with exit status: 1
    autoreconf: aclocal failed with exit status: 1
    Anyone help me,please!!!!!!

  8. December 10th, 2010 at 01:25 | #8

    that’s really tricky and useful. this can be useful for people trying to learn ubuntu development and significance of open source code

  9. Jonas
    December 10th, 2010 at 08:11 | #9

    I followed the steps, under Uuntu 10.04 on an HP 6910p.
    It seemed to compile fine, but when I ran it I also got Ref. Error CC undefined error messages,
    and the properties were blank. — i.e. no predefined websites to monitor.

  10. DrZeta
    December 28th, 2010 at 04:22 | #10

    Hi…I followed all steps exactly but in the last one, when i put ./autogen.sh && make the result is:
    bash: ./autogen.sh: No such file or directory
    what can i do now ??

  11. Teratha Logan
    December 31st, 2010 at 09:02 | #11

    Installing this on Fedora 14 required installing libpcap-devel boost-devel xulrunner-devel hal-devel autoconf gcc-c++ and libtool.

    Also, dragging-and-dropping the xpi file onto the add-in window didn’t work, but I was able to use the File / Open mechanism.

    Thanks for the article!

  12. Chris
    January 14th, 2011 at 22:49 | #12

    @ Jonas
    Same here… And no errors during the compile process.

  13. February 10th, 2011 at 13:56 | #13

    dude! an extra 255mb of files??? FAIL. not worth it.

  14. guido
    February 25th, 2011 at 05:36 | #14

    I installed firesheep on ubuntu, but when i press ‘start capturing’ it says ‘Run –fix-permissions first’

    What does this mean?

  15. March 2nd, 2011 at 20:25 | #15

    Does anyone have this working in Debian? To build this it calls for xulrunner-1.9.2-dev, but 1.9.1 is the latest in testing and unstable.

  16. March 3rd, 2011 at 10:57 | #16

    Just an FYI, I built Firesheep in Ubuntu, then transfered the xpi file to my Debian laptop and did a ‘File -> Open’ to install it – works. Thanks for the guide

  17. Tevin
    March 22nd, 2011 at 11:13 | #17

    So, everything worked out but the last step.. I’m fairly new to Ubuntu.

    You said to drag and drop the file into the Add Ons dialog box? Where’s that? I went to tools>Add ons and everytime I try to drag and drop, it just slides the folder back where I got it. :///

    Help! :D

  18. brett
    April 5th, 2011 at 17:48 | #18

    @Marco
    to avoid some compile errors due to windows line endings on ubuntu 10.04 I needed to add command:
    git config –global core.autocrlf input

    Dealing with line endings
    http://help.github.com/dealing-with-lineendings/

  19. April 8th, 2011 at 15:58 | #19

    To all who wants to get backtrack 4 tools for ubuntu 10.10 please visit http://www.ubuntucommand.com/2011/04/install-backtrack-4-tools-in-ubuntu-10-10/ a complete tutorial. More hacking tools can be found there…

  20. Davide
    April 12th, 2011 at 01:11 | #20

    The extension cannot work on firefox 4.0?! Is it possible?!

  21. Cassio
    April 12th, 2011 at 12:06 | #21

    @ Marco

    Were you able to solve this issue? Please advise with the solution. Thanks

  22. April 26th, 2011 at 09:17 | #22

    whether ubuntu 11.04 is feasible to use?, currently I’m using ubuntu 10.10, 11.04 ubuntu does require hardware that is higher than the previous ubuntu version?

  23. Noor
    April 29th, 2011 at 17:07 | #23

    Firesheep is not compatible with Firefox 4. Thanks

  24. Noor
    April 29th, 2011 at 17:09 | #24

    @ Goa
    wha?

  25. flappaz
    June 6th, 2011 at 09:39 | #25

    @guido

    find firesheep-backend in your ~/.mozilla folder and run:
    sudo ./firesheep-backend –fix-permissions

  26. hacker
    August 7th, 2011 at 12:03 | #26

    @Stz, @Jonas
    In Ubuntu Natty, you need to install hal as well. And use Firefox 3.
    Dragging and dropping the xpi file doesn’t work for Firefox 4 or higher.
    You could try changing the compatibility but they say Firesheep only works with Firefox 3…

  27. dfbvdfjbv
    August 7th, 2011 at 12:05 | #27

    @Stz, @Jonas
    In Ubuntu Natty, you need to install hal as well. And use Firefox 3.
    Dragging and dropping the xpi file doesn’t work for Firefox 4 or higher.
    You could try changing the compatibility but they say Firesheep only works with Firefox 3…

  28. Eyalb
    September 13th, 2011 at 20:23 | #28

    install hal and start hald.. Cc error will go away..

  29. Pragya
    October 29th, 2011 at 02:51 | #29

    @Tevin Did u find a solution to the drag and drop thing. I am stuck at the same thing.

  30. TheDude
    February 12th, 2012 at 13:41 | #30

    > cd ~/.mozilla/firefox/*.default/extensions/firesheep@codebutler.com/platform/*gcc3
    > sudo ./firesheep-backend –fix-permissions