Just like IEEE 802.11 standard, the Bluetooth standard also defines
Layer 1 and Layer 2 of the OSI stack to achieve communication in
single-hop personal-area ad hoc networks. However, by their very
nature, ad hoc networks (Bluetooth) are a much less controlled
environment than WLANs (802.11).
This, combined with the fact that the Bluetooth standard may be used
by a wide range of applications in many different ways, makes
interoperability a much bigger challenge in Bluetooth networks.
To ease the problem of interoperability, the Bluetooth SIG defined application
profiles. A profile defines an unambiguous description of the
communication interface between two Bluetooth devices or one particular
service or application.
There are basic profiles which define the fundamental procedures for
Bluetooth connection and there are special profiles defined for
distinct services and applications. New profiles can be built using
existing profiles, thus allowing for a hierarchical pro- file structure
as shown in Figure 8.4, below.
Each service or application selects the appropriate profile
depending on its needs, and since each application may have different
security requirements, each profile may define different security
modes. The most fundamental profile is the Generic Access Profile (GAP)
which defines the generic procedure related to the discovery of the
Bluetooth devices and link management aspects of connection between
them. The GAP defines three basic security modes of a Bluetooth device.
 |
| Figure
8.4: Profiles in Bluetooth |
Before we discuss the different security modes, it is important to
keep a few things in mind. First, the security mechanisms
(authentication and encryption) specified by the Bluetooth standard are
implemented at the link layer (Layer 2).
This means that the scope of Bluetooth security is the Layer 2 level
link between two nodes separated by a single hop. To be explicit,
Bluetooth security does not deal with end-to-end security and does not
deal with application layer security. (The
source and destination nodes may be more than one hop away as in a
scatternet.)
If such security mechanisms are required, they have to be arranged
for outside the scope of the Bluetooth standard. Second, all Bluetooth
devices must implement an authentication procedure: that is a
requirement.13 Bluetooth devices may or may not implement encryption
procedures: that is optional.
However, just because a device implements or supports authentication
and/or encryption, does not mean that this device would use these
security features in a connection. What security features are used for
a Bluetooth connection depends on the security modes of the master and
the slave in the connection. (On the
other hand, implementing encryption procedures is optional.)