What is bluesnarfer? It’s a tool to steal informations from a wireless device through a Bluetooth connection. The connection can be between mobile phones, PDAs or Laptops. You can access to a calendar, contact list, emails and text messages.
Who is the creator? It’s Davide Del Vecchio (dante_at_alighieri.org) together with Roberto “boos” Martelloni. The they developed a Linux pof to bluesnarf (read/write/search/perform arbitrary command..). The tool was attached to an article (just Italian) published on the e-zine BFi.
For your information, Bluesnarfing (stealing information with bluesnarfer) is illegal in many countries. Try it with your own risk.
To install bluesnarfer you need two files:
-
bluesnarfer.tar.gz (program), available at www.alighieri.org/project.html
-
bluez-libs-3.36.tar.gz (library), available at www.bluez.org/download/
Save the file to your hard disk.
In this sample, I will install the bluesnarfer in /opt directory. So, I create a new directory for it.
Copy the two files in it. The download directory will be based on your Browser default.
Go to /opt directory. First, you have to install the ‘library file’ otherwise you will get errors.
Before you install the library, you have to change your status to ‘root’. Then install the library.
Go to bluesnarfer program directory and install the program.
Done. Now, you have a new application ‘bluesnarfer’ in ‘bluesnarfer program’ directory and it’s ready to use.
Overall a good tutorial, that got it installed. A good addition would be to add a symbolic link somewhere in the path statement, so it can be executed regardless of current working directory.
cd /bin ; sudo ln -s /opt/bluesnarfer/bluesnarfer/bluesnarfer
Thanks a lot.
–Dan
cool thanks.
i wil try it out!
can i install it on a pc running ubuntu live cd? or do i have to install ubuntu?
You have to install Ubuntu.
i have a problem when i install bluesnafer…can anyone help me..to solve that problem
what is the problem ?????????????????
bluesnarfer: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory
i’m getting this error message when i execute bluesnarfer!!!
I have the same issue with :
./bluesnarfer: error while loading shared libraries: libbluetooth.so.2: ….
I could find this:
zen@PeiMei:/opt/bluesnarfer/bluesnarfer$ locate libbluetooth.so
/usr/lib/libbluetooth.so.3
/usr/lib/libbluetooth.so.3.0.2
I tried to find somewhere in the source a reference to the lib in order to change it but could not find any…
Do I have to downgrade to version 2 of the lib?
Solution :
copy the files
/usr/lib/libbluetooth.so.3
/usr/lib/libbluetooth.so.3.0.2
to
/usr/lib/libbluetooth.so.2
/usr/lib/libbluetooth.so.2.0.2
This helped me installing the hidd in
my computer
how to Copy please tell me
Hey guys…got a problem installing bluesnarfer :
It doesn’t succeed in finding the include files
—————————-
xxx@xxx:~/Software/bluesnarfer$ make
gcc -Iinclude -W -g3 -lbluetooth src/bluesnarfer.c -o bluesnarfer
In file included from src/bluesnarfer.c:29:
/usr/include/bluetooth/bluetooth.h:30:24: error: linux/list.h: No such file or directory
/usr/include/bluetooth/bluetooth.h:32:22: error: net/sock.h: No such file or directory
……
———————————–
Well I had problem with bluetooth inclusion but they don’t appear because I put a symb link of bluetooth header files in /usr/include
Please help …
Ubuntu 8.10
Problem with install.
make: Nothing to be done for `all’.
taz@taz-laptop:/opt/bluesnarfer/bluesnarfer$ sudo make all
make: Nothing to be done for `all’.
taz@taz-laptop:/opt/bluesnarfer/bluesnarfer$
Im a little new but , my ? is why will bluesnarfe only works in opt/bluesnarfe/$
with a (./bluesnarfe)
mmmmm
Is there some thing Im missing to this
Thanks pepe, it worked fine for me!!!
Anyway, bluesnarfer does not work on new bluetooth phone (or i did not understood the way it has to work for it) like Sony Erickson k770i… It asks the phone’s owner if he accepts the connection, what is not really bluesnarfing… Further more, for my k770i (even if i accept the connection) bluesnarfer does not succeed in any data gathering but the phone’s name and mac.
Did I miss something?
What is the password when you type in “su root”
I have tried
root
toor
my account password
LoL…You should be the one who knows the password or your system administrator if you are working for a company…
Anyway try “sudo” (for ubuntu stations) then you’ll be asked for password…tye yours if you’ve got administrative rights on your computer…
good luck
This is a good guide, but what to do when all the steps are done???? I’ve seen “Intro To Bluesnarfing By Williamc and Twinvega”
http://www.irongeek.com/i.php?page=videos/bluesnarf1
and the only thing it says when I write “bluesnarfer -r 1-100 -b XX:XX:XX:XX:XX:XX” is “bash: bluesnarfer: command not found”
HOW TO SOLVE????
Thanks for the idea to copy the new libs just changing their name to the old ones. That was a great fix.
Does anyone know this problem:
sudo ./bluesnarfer -r 1-4 -b XX:XX:XX:XX:XX:XX
device name: Mickey
bluesnarfer: open /dev/bluetooth/rfcomm/0, No such file or directory
bluesnarfer: bt_rfcomm_config failed
bluesnarfer: unable to create rfcomm connection
bluesnarfer: release rfcomm ok
? 😦
i’m using Ubuntu 9.04
Hi, I have the same problem at the moment, if you know the solution, please tell me?? thx.
Hm… i have the same problem, in this 6 years, do you know how to fix this ? 😦
Hey..i had experimented it, it was back in the first year of college..
the thing is we cant actually implement it on every bluetooth enable phone..because the security of bluetooth on the phone nowadays is slightly better than the past, i did some of it but it was working on certain phone such as sony ericsson t610..
if u try to do it on today’s phone probably u’ll get failed..
This is how my bluesnarfer folder looks like.
total 368
-rw——- 1 666 users 30431 2004-07-27 23:40 BFi13-dev-18
drwxr-xr-x 4 root root 4096 2009-07-29 16:13 bluesnarfer
-rw-r–r– 1 root root 15717 2009-07-29 16:11 bluesnarfer.tar.gz
drwxrwxrwx 4 root root 4096 2008-07-11 10:59 bluez-libs-3.36
-rw-r–r– 1 root root 313376 2009-07-29 16:11 bluez-libs-3.36.tar.gz
when I go root and type the command:
/opt/bluesnarfer/bluez-libs-3.36# ./configure ; make ; make install
it prompts
bash: /opt/bluesnarfer/bluez-libs-3.36#: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
WTF must I do to make this happen?
Plz help me, I really wanna make this work.
Ups… I didn’t see my mistake, so now Its done. Thx anyway 😀
[…] gerade ne idiotensichere Installationsanleitung gefunden, aber nicht getestet. Share and Bookmark Diese Icons verlinken auf Bookmark Dienste bei […]
when I go root and type the command:
/opt/bluesnarfer/bluez-libs-3.36# ./configure ; make ; make install
it prompts
bash: /opt/bluesnarfer/bluez-libs-3.36#: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
WTF must I do to make this happen?
Plz help me, I really wanna make this work.
(Same problem with me??? help please !!!!
Don’t loose your time! I’ve been testing it completly after hours of fighting against a poorly writtent install script and guess what?… this is bullshit! It only works if the targets accepts the request…It may work on 15 yaer old phone…but who’s using such a phone? NONE.
The best thing to do is just install the bluetooth dev library from the prepackaged sources.
sudo apt-get install libbluetooth-dev
after that just sudo make for bluesnarfer (no install procedure) and it’s done.
can some one help me thru this step by step please im confused on what to do in the terminal after adding the new directory….thanks in advance
Sweet Details I enjoy the various articles that have been written, and especially the comments posted! I am going to come back!
Hey thanks for the help! It realy worked. For those of you who completed the installation sucsessfuly but still cant use it must do the following:
sudo -i
cd /opt/bluesnarfer/bluesnarfer
./bluesnarfer
Hope it works!!!
Hi ,
The installation worked fine and i could run the bluesnarfer application , but i use a usb bluetooth dongle on my system.Wanted to know whether that is the reason i got this error message!!
deepak@Deepak:/opt/bluesnarfer/bluesnarfer$ sudo ./bluesnarfer -r N-M -b 00:1C:9A:F0:23:65
device name: Grace
bluesnarfer: open /dev/bluetooth/rfcomm/0, No such file or directory
bluesnarfer: bt_rfcomm_config failed
bluesnarfer: unable to create rfcomm connection
bluesnarfer: release rfcomm ok
Insights please!!!
I have the same problem, any work-around found yet?
Cheers,
Stu
hey when i type in ./configure i get an error : checking for DBUS… no
configure: error: D-Bus library is required
anyone ?
Cannot make blue snarffer
step 8 of png image is not performing
i love mobile phones that can surf the net in lightning fast speed~,*
To OP or anything that could help. I am trying very hard to learn Linux, but I just installed 2 days ago and cannot for the life of e figure out how to install this.
*I have downloaded the 2 files into my browser default folder
*I have created the opt directory per instructed
But when I get to: “Copy the two files in it. The download directory will be based on your Browser default.” I am confused by both the text and picture.
Copy the two files in it? Copy the two downloaded files to where? the opt dir? the clipboard?
the first line in the picture is:” cd mydata/new_download” which does nothing when I run it. I though new_download was OP’s download dir so I replaced it with “downloads”, my dir. Nothing again.
I am probably grasping at air here. Any help would be very useful.
Linux n00b,
Yes copy the 2 files into the Opt directory, or whatever directory that you created.
i am so confused.. lol
I really relate to that post. Thanks for the info.
[root@nettech blusnarfer]# sudo tar xvzf bluesnarfer.tar.gz
BFi13-dev-18
bluesnarfer/Makefile
bluesnarfer/README
bluesnarfer/include/
bluesnarfer/include/bluesnarfer.h
bluesnarfer/src/
bluesnarfer/src/bluesnarfer.c
[root@nettech blusnarfer]# ls -l
total 368
-rw——- 1 666 users 30431 Jul 28 2004 BFi13-dev-18
drwxr-xr-x 4 root root 4096 Oct 26 15:39 bluesnarfer
-rwxr-xr-x 1 root root 15717 Nov 6 2011 bluesnarfer.tar.gz
drwxrwxrwx 4 root root 4096 Jul 11 2008 bluez-libs-3.36
-rwxr-xr-x 1 root root 313376 Nov 6 2011 bluez-libs-3.36.tar.gz
[root@nettech blusnarfer]# cd bluez-libs-3.36/
[root@nettech bluez-libs-3.36]# su root
[root@nettech bluez-libs-3.36]# ./configure ; make ; make install
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
[root@nettech bluez-libs-3.36]# cd ..
[root@nettech blusnarfer]# ls -l
total 368
-rw——- 1 666 users 30431 Jul 28 2004 BFi13-dev-18
drwxr-xr-x 4 root root 4096 Oct 26 15:39 bluesnarfer
-rwxr-xr-x 1 root root 15717 Nov 6 2011 bluesnarfer.tar.gz
drwxrwxrwx 4 root root 4096 Oct 26 15:56 bluez-libs-3.36
-rwxr-xr-x 1 root root 313376 Nov 6 2011 bluez-libs-3.36.tar.gz
[root@nettech blusnarfer]# cd bluesnarfer
[root@nettech bluesnarfer]# make
gcc -Iinclude -W -g3 -lbluetooth src/bluesnarfer.c -o bluesnarfer
make: gcc: Command not found
make: *** [bluesnarfer] Error 127
[root@nettech bluesnarfer]# ls-l
bash: ls-l: command not found
[root@nettech bluesnarfer]# ls – l
ls: -: No such file or directory
ls: l: No such file or directory
[root@nettech bluesnarfer]# ls -l
total 16
drwx—— 2 666 users 4096 Jul 20 2004 include
-rw——- 1 666 users 208 Jul 16 2004 Makefile
-rw——- 1 666 users 826 Jul 27 2004 README
drwx—— 2 666 users 4096 Jul 20 2004 src
[root@nettech bluesnarfer]#
i m having problem with ./configure ; make ; make install
[root@nettech bluez-libs-3.36]# ./configure ; make ; make install
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
can any intelligent person help me ??
You’ll need to run it as a root. To do so, type in: (always without the dollar-signs)
$ su
$ your password
If this doesn’t work, or you don’t know your password, type the following:
$ sudo passwd
$ if neccessary, type in your existing password (from YOUR account, obviously not the root one ;D)
$ Imagine a password for root and enter it twice. Now redo the first step (su).
After logging into root (it should say ‘root@ubuntu:~$’ (in place of ubuntu your linux version), redo the steps to install the lib. (./configure; make; make install)
I’ve got another problem: after installing the librarys succesfully, i can’t install bluesnarf itself. When entering make (in the right direction, with root and everything correctly), it returns an error.
(collect 2 returns ‘make: *** [bluesnarfer] error 1’)
What can i do?
Edit: Sorry, i didn’t saw you were root already -.-… Can’t help you there Maybe try $ apt-get updates just to make sure the ‘C-Compiler’ is updated and stuff? Sorry again..
it works!
but, the notif was :
device name: BlossomPurple
bluesnarfer: open /dev/bluetooth/rfcomm/0, No such file or directory
bluesnarfer: bt_rfcomm_config failed
bluesnarfer: unable to create rfcomm connection
bluesnarfer: release rfcomm ok
the device mobile is Sony Ericsson G900, is that the reason why I can’t enter the phonebook??
i have exactly the same issue on make in Bluesnarfer. Seems the code is not compatible? any help?
The GCC CLI args are in the wrong order in the Makefile, causing those linker errors. Maybe older GCC was more forgiving? Anyway, edit the Makefile and move the linker flags to the end of the build command. Change:
bluesnarfer:
$(CC) $(INC) $(CFLAGS) $(LDFLAGS) $(SRC)/bluesnarfer.c -o bluesnarfer
to:
bluesnarfer:
$(CC) $(INC) $(CFLAGS) $(SRC)/bluesnarfer.c -o bluesnarfer $(LDFLAGS)
same problem as hamstamp too, can’t open the makefile due to lack of permisson though
ok, fixed the issue, editted makefile in nautilus.
having trouble getting any real data out of bluetooth devices using the bluesnarfer though
Can you suggest how to edit the makefile.. Please help
Having trouble figuring this out can anyone help me
for users who were stuck on the final make command while compiling, i have the solution :).
on the github page for bluesnarfer, there is an update to the ‘makefile’ that solves the problem.
so open the existing makefile located in the “/opt/bluesnarfer/bluesnarfer” folder using a text editor. you can do this by typing “sudo gedit /opt/bluesnarfer/bluesnarfer/Makefile”
copy the script on the “github makefile” and paste it into the existing makefile that you have opened.
after that its just smooth sailing. type “make” and there you have it
the directory you are performing the command from seems to be the problem