Tuesday, 28 October 2014

Bluetooth Development Essential


A Short range Wireless Communication Standard for End to End device for share  the data between two ends. Like other Short range Wireless Communication  standard, Bluetooth also using an unlicensed 2.4 GHz baseband communication to  Physical Layer. It's have a protocol stack to perform an end to end  application and supports wide  range of application  in different  embedded  devices for short  range  communication . Now  it's  become  an essential  communication standard  in Smart Mobile  and  other devices in the market.  Before  Developing an  application  for  Bluetooth  we  should  have to  know  about it  very well  for  ease the  development .  

Bluetooth  version

   The Bluetooth Special Interest Group (SIG) is the body that oversees the development of Bluetooth standards and the licensing of the Bluetooth technologies and trademarks to manufacturers. The  following  are  some Bluetooth version that  we  are  currently  using  in different  sectors.
Bluetooth Protocol Stack

Baseband + Bluetooth Radio - Physical Layer Operation in Bluetooth or  transmission of data from one end to another.

LMP  -  Link  Management Protocol for to Provide a link to the application  using the Link channel and also participates  the  Multiplexing of channel using  PSM code in Link Layer.

RFCOMM -  RF Virtual COM port for Serial Communication Emulator.

BNEP  -  Bluetooth Network Encapsulation Protocol is help to provide a  network Stack to Bluetooth for doing a SEQPACKET, SOCKSTREAM socket  communication  to  device.

L2CAP - Logical  Link Control  and  Adaptation Protocol   provide a  logical  link connection to the RFCOMM and any other application layer protocol protocol  in the Stack.

OBEX  -Object Exchange Protocol. Its an application Layer protocol to perform  data  exchange  operation  between  devices.

SDP  -  Service  Discovery protocol  is  help  to  acquire  the  information of the  services run  in the  Bluetooth  device.
 
Network topology
 
   Bluetooth have one topology named "Scatternet" which help to build a bluetooth device network, but there have only few implementation is there in practical scenario.  Actually Scatternet is the collection of small net consist of 7   Bluetooth nodes called as piconet. Piconet consists of 7 nodes and each node  perform a direct link to link connection between two node. A node is the host all  other node in the network we can call it as "MASTER node" and a node is  intended to connect to the "MASTER node"  is called as SLAVE node.

Bluetooth  Development  Library

BlueZ :-
   If  you  are   using  Linux  you can  download  from  the  repo  by  using  the  command
      #sudo  apt-get  install  bluez
hcidump:-
        Promiscuous  Sniffer  for  Bluetooth
      #sudo  apt-get  install  bluez-hcidump
Bluecova  :- 
  Bluecova  is a  Java  library  for Bluetooth  Application Development  and it   runs  over  a  Java  Virtual  Machine.

Bluetooth  Hacking Tools

BlueScanner – BlueScanner searches out for Bluetooth-enabled devices. It will try to extract as much information as possible for each newly discovered device. Download BlueScan.
BlueSniff – BlueSniff is a GUI-based utility for finding discoverable and hidden Bluetooth-enabled devices. Download BlueSniff.
BTBrowser – Bluetooth Browser is a J2ME application that can browse and explore the technical specification of surrounding Bluetooth-enabled devices. You can browse device information and all
supported profiles and service records of each device. BTBrowser works on phones that supports JSR-82 – the Java Bluetooth specification. Download BTBrowser.
BTCrawler -BTCrawler is a scanner for Windows Mobile based devices. It scans for other devices in range and performs service query. It implements the BlueJacking and BlueSnarfing attacks. Download BTCrawler.
Hacking Bluetooth Devices
BlueBugger -BlueBugger exploits the BlueBug vulnerability. BlueBug is the name of a set of Bluetooth security holes found in some Bluetooth-enabled mobile phones. By exploiting those vulnerabilities, one can gain an unauthorized access to the phone-book, calls lists and other private information. Download BlueBugger.
CIHWB – Can I Hack With Bluetooth (CIHWB) is a Bluetooth security auditing framework for Windows Mobile 2005. Currently it only support some Bluetooth exploits and tools like BlueSnarf, BlueJack, and some DoS attacks. Should work on any PocketPC with the Microsoft Bluetooth stack. Download CIHWB.
Bluediving – Bluediving is a Bluetooth penetration testing suite. It implements attacks like Bluebug, BlueSnarf, BlueSnarf++, BlueSmack, has features such as Bluetooth address spoofing, an AT and a RFCOMM socket shell and implements tools like carwhisperer, bss, L2CAP packetgenerator, L2CAP connection resetter, RFCOMM scanner and green plaque scanning mode. Download Bluediving.
Transient Bluetooth Environment Auditor – T-BEAR is a security-auditing platform for Bluetooth-enabled devices. The platform consists of Bluetooth discovery tools, sniffing tools and various cracking tools. Download T-BEAR.
Bluesnarfer – Bluesnarfer will download the phone-book of any mobile device vulnerable toBluesnarfing. Bluesnarfing is a serious security flow discovered in several Bluetooth-enabled mobile phones. If a mobile phone is vulnerable, it is possible to connect to the phone without alerting the owner, and gain access to restricted portions of the stored data. Download Bluesnarfer.
BTcrack – BTCrack is a Bluetooth Pass phrase (PIN) cracking tool. BTCrack aims to reconstruct the Passkey and the Link key from captured Pairing exchanges. Download BTcrack.
Blooover II – Blooover II is a J2ME-based auditing tool. It is intended to serve as an auditing tool to check whether a mobile phone is vulnerable. Download Blooover II.
BlueTest – BlueTest is a Perl script designed to do data extraction from vulnerable Bluetooth-enabled devices. Download BlueTest.
BTAudit – BTAudit is a set of programs and scripts for auditing Bluetooth-enabled devices. Download BTAuding.

1 comment:

  1. Videocon group has constantly leveraged a culture of innovation to develop a range of market re-defining products. The Group has several manufacturing facilities globally and R&D centers spread across Americas, Europe and Australasia that are constantly working towards creating global quality products deploying the most up-to-date technology.

    ReplyDelete