Install Firesheep on Ubuntu 10.04 or 10.10

By | 2010/11/26

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+.

32 thoughts on “Install Firesheep on Ubuntu 10.04 or 10.10

  1. Vis

    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

    Reply
  2. Stz

    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!

    Reply
  3. Russoz

    Andy,

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

    Reply
  4. Russoz

    @ 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.

    Reply
  5. Marco

    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!!!!!!

    Reply
  6. Goa

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

    Reply
  7. Jonas

    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.

    Reply
  8. DrZeta

    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 ??

    Reply
  9. Teratha Logan

    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!

    Reply
  10. guido

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

    What does this mean?

    Reply
  11. fak3r

    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.

    Reply
  12. fak3r

    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

    Reply
  13. Tevin

    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

    Reply
  14. Davide

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

    Reply
  15. Reno Paslah

    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?

    Reply
  16. Noor

    Firesheep is not compatible with Firefox 4. Thanks

    Reply
  17. flappaz

    @guido

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

    Reply
  18. hacker

    @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…

    Reply
  19. dfbvdfjbv

    @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…

    Reply
  20. Eyalb

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

    Reply
  21. Pragya

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

    Reply
  22. TheDude

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

    Reply
  23. Syd

    I would love to see the drag and drop solution, if anyone has any thoughts.. ?

    Reply
  24. Jamie

    How do you remove FireSheep from your computer?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *