This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What advantage does Pairing using Legacy Pairing (BLE 4.0,4.1 devices) give me over a simple connection between 2 devices?

BLE 4.2 uses something called LESC (LE Secure Connection) for significantly enhancing the link encryption between 2 devices (using public private key pair model). But prior to that the way devices would pair with each other, what advantage would that give me over a normal connection as the data exchanged between the 2 paired devices (BLE 4.0,4.1) is easily sniffable and if the pairing method is 'Just Works' then it's even highly prone to MITM attacks. So, what good is pairing in devices using BLE v.4.0 or 4.1 ?

Parents
  • Hi,

    Legacy pairing is a “fallback” mode for devices that don’t support LESC, like WEP for wifi routers, there are no advantages comparing with LESC. Nevertheless, there may be some use cases when you may consider using legacy pairing:

    - when security is not an issue at all, and pairing is needed only to let devices know each other and to speed up connection establishment

    - there is a second level of encryption and MITM protection (e.g. TLS over BLE)

    - at development stage, because legacy connection is much easier to debug (the sniffer has no way to know LESC keys)

  • there are no advantages comparing with LESC.

    I'm not at all comparing legacy pairing with LESC. My question clearly asks, advantages of legacy pairing over a simple connection ? Sharing keying information and generating STKs within each device, if I didn't do that and just started communicating data over the link between 2 'connected' devices, what difference does that make ?

    to speed up connection establishment

    Pairing is done post connection.

    there is a second level of encryption and MITM protection

    If my pairing method is 'Just Works' it can't protect devices from MITM attack.

    at development stage, because legacy connection is much easier to debug

    Exactly what I said, I can sniff data when communicated between 2 connected devices and same happens while 2 devices are paired with each other. So why did I go for legacy pairing? What's the advantage?

Reply
  • there are no advantages comparing with LESC.

    I'm not at all comparing legacy pairing with LESC. My question clearly asks, advantages of legacy pairing over a simple connection ? Sharing keying information and generating STKs within each device, if I didn't do that and just started communicating data over the link between 2 'connected' devices, what difference does that make ?

    to speed up connection establishment

    Pairing is done post connection.

    there is a second level of encryption and MITM protection

    If my pairing method is 'Just Works' it can't protect devices from MITM attack.

    at development stage, because legacy connection is much easier to debug

    Exactly what I said, I can sniff data when communicated between 2 connected devices and same happens while 2 devices are paired with each other. So why did I go for legacy pairing? What's the advantage?

Children
Related