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

33 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

  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!

  3. Russoz

    Andy,

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

  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.

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

  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

  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.

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

  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!

  10. guido

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

    What does this mean?

  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.

  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

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

  14. Davide

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

  15. Cassio

    @ Marco

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

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

  17. Noor

    Firesheep is not compatible with Firefox 4. Thanks

  18. flappaz

    @guido

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

  19. 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…

  20. 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…

  21. Eyalb

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

  22. Pragya

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

  23. TheDude

    > cd ~/.mozilla/firefox/*.default/extensions/[email protected]/platform/*gcc3
    > sudo ./firesheep-backend –fix-permissions

  24. Syd

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

  25. Jamie

    How do you remove FireSheep from your computer?

Comments are closed.