Skip to contentSkip to conversation

authentication question

Bluez-users Gabor LENGYEL 1 participant 1 message Oct 27, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi!

I'm developing software where I need to make sure that a certain Bluetooth device (eg. a mobile phone) is near (present). Identification is based on bdaddr, a trivial approach is to check whether discovery finds it or not, or does it reply to l2 echo request or not.

However, an attacker can change a malicious device's bdaddr to whatever, thus impersonating the device i'm looking for. I implemented a simple challenge-response protocol between the mobile device (j2me) and the host, but i'm not sure if this is secure without application level encryption.

After reading quite a lot, i'm still confused about what security modes and pairing mean exactly. My simple protocol runs over l2cap, after previously pairing the mobile device and the host computer. But does pairing ensure authenticity? Or do i need application level encryption with an application level shared secret to authenticate the mobile device? This seems unnecessary, considering all the security measures taken by the Bluetooth protocol.

Sorry for the long question, thank you!
Gabor

---------------------------------------------------------------
This mail sent through: www.site.hu - One Site to host them all

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users