Detecting Unwanted Location Trackers B. Ledvina Internet-Draft Apple Intended status: Informational D. Lazarov Expires: 25 December 2024 Google B. Detwiler Apple S. P. Polatkan Google 23 June 2024 Detecting Unwanted Location Trackers Accessory Protocol draft-ledvina-dult-accessory-protocol-00 Abstract This document lists a set of best practices and protocols for accessory manufacturers whose products have built-in location- tracking capabilities. By following these requirements and recommendations, a location-tracking accessory will be compatible with unwanted tracking detection and alerts on mobile platforms. This is an important capability for improving the privacy and safety of individuals in the circumstance that those accessories are used to track their location without their knowledge or consent. About This Document This note is to be removed before publishing as an RFC. The latest revision of this draft can be found at https://bledvina.github.io/draft-ledvina-dult-accessory-protocol/ draft-ledvina-dult-accessory-protocol.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft- ledvina-dult-accessory-protocol/. Discussion of this document takes place on the Detecting Unwanted Location Trackers Working Group mailing list (mailto:unwanted- trackers@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/unwanted-trackers/. Subscribe at https://www.ietf.org/mailman/listinfo/unwanted- trackers/. Source for this draft and an issue tracker can be found at https://github.com/bledvina/draft-ledvina-dult-accessory-protocol. Ledvina, et al. Expires 25 December 2024 [Page 1] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 25 December 2024. Copyright Notice Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1. Conventions and Definitions . . . . . . . . . . . . . . . 4 1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 2. Background . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1. Applicability . . . . . . . . . . . . . . . . . . . . . . 6 3. Requirements . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . 6 3.2. Bluetooth Low Energy . . . . . . . . . . . . . . . . . . 6 3.2.1. Advertising . . . . . . . . . . . . . . . . . . . . . 6 3.2.2. Connection . . . . . . . . . . . . . . . . . . . . . 6 3.3. Location Tracking . . . . . . . . . . . . . . . . . . . . 7 3.4. Location-enabled Bluetooth LE Advertisement Payload . . . 8 3.4.1. Overview . . . . . . . . . . . . . . . . . . . . . . 8 3.4.2. Location-enabled advertisement payload format . . . . 8 Ledvina, et al. Expires 25 December 2024 [Page 2] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.4.3. Duration of advertising location-enabled advertisement payload . . . . . . . . . . . . . . . . . . . . . . . 9 3.4.4. Maximum duration after physical separation from owner to transition into separated mode . . . . . . . . . . 9 3.4.5. Maximum duration after reunification with owner to transition into near-owner mode . . . . . . . . . . . 9 3.5. MAC address . . . . . . . . . . . . . . . . . . . . . . . 10 3.5.1. Rotation policy . . . . . . . . . . . . . . . . . . . 10 3.6. Service data TLV . . . . . . . . . . . . . . . . . . . . 11 3.7. Network ID . . . . . . . . . . . . . . . . . . . . . . . 11 3.8. Proprietary company payload . . . . . . . . . . . . . . . 11 3.9. Near-owner bit . . . . . . . . . . . . . . . . . . . . . 11 3.10. Bluetooth LE advertising interval . . . . . . . . . . . . 12 3.11. Accessory Connections . . . . . . . . . . . . . . . . . . 12 3.11.1. Byte transmission order . . . . . . . . . . . . . . 12 3.11.2. Maximum transmission unit . . . . . . . . . . . . . 12 3.12. Accessory Information . . . . . . . . . . . . . . . . . . 12 3.12.1. Opcodes . . . . . . . . . . . . . . . . . . . . . . 12 3.13. Non-Owner Finding . . . . . . . . . . . . . . . . . . . . 21 3.13.1. Hardware . . . . . . . . . . . . . . . . . . . . . . 21 3.13.2. Motion detector . . . . . . . . . . . . . . . . . . 22 3.13.3. Sound maker . . . . . . . . . . . . . . . . . . . . 23 3.13.4. Non-owner controls . . . . . . . . . . . . . . . . . 24 3.13.5. Alternate finding hardware . . . . . . . . . . . . . 28 3.13.6. Recommended Finding Options . . . . . . . . . . . . 28 3.13.7. Future hardware . . . . . . . . . . . . . . . . . . 28 3.14. Disablement . . . . . . . . . . . . . . . . . . . . . . . 28 3.14.1. Disablement instructions . . . . . . . . . . . . . . 29 3.15. Identification . . . . . . . . . . . . . . . . . . . . . 29 3.15.1. Serial number identification . . . . . . . . . . . . 29 3.15.2. Identifier retrieval capability . . . . . . . . . . 29 3.15.3. Identifier retrieval over Bluetooth LE . . . . . . . 29 3.15.4. Identifier retrieval from a server . . . . . . . . . 29 3.15.5. Identifier over NFC . . . . . . . . . . . . . . . . 30 3.16. Owner registry . . . . . . . . . . . . . . . . . . . . . 30 3.16.1. Obfuscated owner information . . . . . . . . . . . . 31 3.16.2. Persistence . . . . . . . . . . . . . . . . . . . . 31 3.16.3. Availability for law enforcement . . . . . . . . . . 31 4. Accessory Category Value . . . . . . . . . . . . . . . . . . 31 5. Firmware Updates . . . . . . . . . . . . . . . . . . . . . . 33 5.1. Backwards Compatibility . . . . . . . . . . . . . . . . . 33 5.1.1. Existing trackers . . . . . . . . . . . . . . . . . . 33 6. Platform Support for Unwanted Tracking . . . . . . . . . . . 34 7. Onboarding . . . . . . . . . . . . . . . . . . . . . . . . . 34 8. Security Considerations . . . . . . . . . . . . . . . . . . . 34 8.1. Obfuscated owner information look-up . . . . . . . . . . 34 8.1.1. Design of encrypted identifier look-up . . . . . . . 35 9. Privacy Considerations . . . . . . . . . . . . . . . . . . . 35 Ledvina, et al. Expires 25 December 2024 [Page 3] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 9.1. Obfuscated owner information . . . . . . . . . . . . . . 36 9.2. Identifier look-up . . . . . . . . . . . . . . . . . . . 36 9.3. Location-enabled payload . . . . . . . . . . . . . . . . 36 9.3.1. Stable identifiers . . . . . . . . . . . . . . . . . 36 9.3.2. Proprietary company payload data . . . . . . . . . . 36 10. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 37 11. Normative References . . . . . . . . . . . . . . . . . . . . 37 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 37 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 37 1. Introduction This document’s goal is to, in part, help protect the privacy of individuals from unwanted tracking by location-tracking accessories. Location-tracking accessories provide numerous benefits to consumers, but, as with all technology, it is possible for them to be misused. Misuse of location-tracking accessories can result in unwanted tracking of individuals or items for nefarious purposes such as stalking, harassment, and theft. This document is focused on protecting people from misuse of location-tracking accessories. Formalizing a set of best practices for manufacturers will allow for scalable compatibility with unwanted tracking detection technologies on various smartphone platforms and improve privacy and security for individuals. Unwanted tracking detection can both detect and alert individuals that a location tracker separated from the owner's device is traveling with them, as well as provide means to find and disable the tracker. This document outlines technical best practices for location tracker manufacturers, which will allow for their compatibility with unwanted tracking detection and alerting technology on platforms. 1.1. Conventions and Definitions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 1.2. Terminology Throughout this document, these terms have specific meanings: * The term platform is used to refer to mobile device hardware and associated operating system. Examples of mobile devices are phones, tablets, laptops, etc. Ledvina, et al. Expires 25 December 2024 [Page 4] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 * The term accessory is used to refer to any product intended to interface with a platform through the means described in this specification. * The term owner device is a device that is associated with the accessory and can retrieve the accessory’s location. * The term non-owner device refers to a device that may connect to an accessory but is not an owner device of that accessory. * The term location-tracking accessory refers to any accessory that has location-tracking capabilities, including, but not limited to, crowd-sourced location, GPS/GNSS location, WiFi location, cell location, etc., and provides the location information back to the owner of the accessory via the internet, cellular connection, etc. * The term location-enabled state refers to the state an accessory in where its location can be remotely viewed by its owner * The term location-enabled advertisement payload refers to the Bluetooth (BT) advertisement payload that is advertised when an accessory has recently, is currently, or will in the future provide location updates to its owner * The term unwanted tracking (UT) refers to undesired tracking of a person, their property, or their belongings by a location-enabled accessory. * The term unwanted tracking detection refers to the algorithms that detect the presence of an unknown accessory traveling with a person over time. * The term unwanted tracking alert refers to notifying the user of the presence of an unrecognized accessory that may be traveling with them over time and allows them to take various actions, including playing a sound on the accessory if it’s in Bluetooth Low Energy (LE) range. * The term platform-compatible method refers to a method of communication between the platform and the accessory/accessory manufacturers to exchange information, including, but not limited to, BT GATT protocol, BT advertisement, HTTP, etc. 2. Background Ledvina, et al. Expires 25 December 2024 [Page 5] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 2.1. Applicability These best practices are REQUIRED for location-enabled accessories that are small and not easily discoverable. For large accessories, such as a bicycle, these best practices are RECOMMENDED. Accessories are considered easily discoverable if they meet one of the following criteria: * The item is larger than 30 cm in at least one dimension. * The item is larger than 18 cm x 13 cm in two of its dimensions. * The item is larger than 250 cm^3 in three-dimensional space. 3. Requirements 3.1. Overview This section details requirements and recommendations for best practices for location-enabled accessory manufacturers to allow unwanted tracking detection by platform makers. 3.2. Bluetooth Low Energy The accessory SHALL use Bluetooth Low Energy (LE) as the transport protocol. This enables platforms to detect and connect to accessories. 3.2.1. Advertising The accessory SHALL advertise using Bluetooth LE. 3.2.2. Connection The accessory MUST support at least one non-owner unencrypted connection in a peripheral role. The connection interval of the Bluetooth LE link between the device and accessory MAY depend on the type of user interaction. Non-owner connections to the accessory SHALL be implemented using a platform-compatible method, e.g., BT GATT service. Ledvina, et al. Expires 25 December 2024 [Page 6] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.3. Location Tracking The location-enabled accessory has location capabilities via Bluetooth crowd-sourcing, GPS/GNSS location, WiFi location, cellular location, or by some other means. Furthermore, the accessory has a way to communicate its location to its owner via a network (e.g., cell network, crowd-sourced location via Bluetooth, etc.). The accessory SHALL maintain an internal state that detects when its location is, or has been, available to the owner via a network. This state is called the location-enabled state. Misuse of location-enabled accessories can occur when the owner’s device is not physically with the accessory. Thereby, the accessory SHOULD maintain a second internal state, denoted the near-owner state, which indicates if the accessory is connected to or nearby one or more of the owner’s devices. Near-owner state can take on two values, either near-owner mode or separated mode. Near-owner mode is denoted as the opposite of separated mode. Figure 1 details the requirements and recommendations for advertising the location-enabled payload based on the location-enabled state and separated state. +---------------------+ | Location | | Currently Enabled | | OR | | Enabled in Past 24 | | Hours | +--------------------+---------------------| | near-owner | MAY | | mode | advertise location- | | Near- | enabled payload | | Owner +---------------------| | State separated | MUST advertise | | mode | location-enabled | | | payload | +--------------------+---------------------+ Figure 1: Requirements & Recommendations For Advertising Location-Enabled Payload If the accessory maker chooses to continue advertising the location- enabled payload while in near-owner mode, setting the near-owner bit (Section 3.9) compensates for this. Ledvina, et al. Expires 25 December 2024 [Page 7] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.4. Location-enabled Bluetooth LE Advertisement Payload 3.4.1. Overview When in location-enabled state, the accessory SHALL advertise a Bluetooth LE format, denoted the location-enabled Bluetooth advertisement payload, that is recognizable to the platforms. The primary purpose of the advertisement in the context of this specification is to allow the detection of unwanted location trackers. All accessories in scope of this document are associated with an owner. The advertisement MUST allow the owner’s platform to reliably recognize the owner's associated accessories, that is a critical signal to distinguish unwanted trackers from expected ones. False alerts associated to owned or expected accessories may otherwise desensitize users, leading them to miss relevant ones. 3.4.2. Location-enabled advertisement payload format The payload format is defined in Table 1 +=======+======================================+=============+ | Bytes | Description | Requirement | +=======+======================================+=============+ | 0-5 | MAC address | REQUIRED | +-------+--------------------------------------+-------------+ | 6-8 | Flags TLV; length = 1 byte, type = 1 | OPTIONAL | | | byte, value = 1 byte | | +-------+--------------------------------------+-------------+ | 9-12 | Service Data TLV; length = 1 byte, | REQUIRED | | | type = 0x16, value = 0xFCB2 | | +-------+--------------------------------------+-------------+ | 13 | Network ID | REQUIRED | +-------+--------------------------------------+-------------+ | 14 | Near-owner bit (1 bit, least | REQUIRED | | | significant bit) + reserved (7 bits) | | +-------+--------------------------------------+-------------+ | 15-36 | Proprietary company payload data | OPTIONAL | +-------+--------------------------------------+-------------+ Table 1: Location-Enabled Payload Format Ledvina, et al. Expires 25 December 2024 [Page 8] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 When Flags TLV are not added, the MAC address type needs to be set to random. This implies that if Bluetooth LE pairing is supported, the accessory SHALL NOT use its public address as its public identity when exchanging pairing keys at phase 3 (see Vol.3, Part H, Section 2.1 of the [BTCore5.4]) and it SHALL only use a static random address. Additionally, the LE advertisement needs to be connectable to allow for non-owner unencrypted connections to the accessory. Further details are discussed in Section 3.11. Proprietary company payload data is both OPTIONAL and variable length. 3.4.3. Duration of advertising location-enabled advertisement payload The accessory SHALL broadcast the location-enabled advertisement payload if location is available to the owner or was available any time within the past 24 hours. This allows unwanted tracking detection to operate both between and beyond the specific moments an accessory's location is made available to the owner. 3.4.4. Maximum duration after physical separation from owner to transition into separated mode The accessory SHALL transition from near-owner mode to separated mode under the conditions listed in Table 2 below. +======================+=====================================+ | Preferred | Acceptable | +======================+=====================================+ | The accessory has | The accessory has been physically | | been physically | separated from the owner device for | | separated from the | more than 30 minutes *AND* The | | owner device for | owner of the accessory has received | | more than 30 minutes | a more recent location update for | | | that accessory after 30 minutes | +----------------------+-------------------------------------+ Table 2: Advertising Policy 3.4.5. Maximum duration after reunification with owner to transition into near-owner mode The accessory SHALL transition from separated to near-owner mode if it has reunited with the owner device for a duration no longer than 30 minutes. Ledvina, et al. Expires 25 December 2024 [Page 9] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.5. MAC address The Bluetooth LE advertisement payload SHALL contain an address in the 6-byte Bluetooth MAC address field which looks random to all parties while being recognizable by the owner device. The address SHALL rotate periodically (see Rotation policy (Section 3.5.1)); otherwise if the same address is used for long periods of time, an adversary may be able to track a legitimate person carrying the accessory through local Bluetooth LE scanning devices. Same rules apply to all of the advertised payload. It is possible to generate the MAC address in a way which meets the privacy requirement while allowing the platform to recognize an owned accessory without ambiguity using the MAC address, as defined in (TODO: Section Implementation Owned has been removed). When taking this approach, the address type SHALL be set as a non-resolvable private address or as a static device address, as defined in Random Device Address in Vol 6, Part B, Section 1.3.2 of the [BTCore5.4]. The owner MUST be able to predict the MAC address value at any given time in order to suppress unwanted tracking alerts caused by a device’s owned accessory. See (TODO: Section Owned Accessory Identification) for additional details. Alternatively, the owner recognizable value may be placed in Proprietary company payload data defined in Proprietary company payload (Section 3.8). In this scenario, the MAC address of the accessory advertisement may be set to resolvable private address. 3.5.1. Rotation policy An accessory SHALL rotate its address on any transition from near- owner state to separated state as well as any transition from separated state to near-owner state. When in near-owner state, the accessory SHALL rotate its address every 15 minutes. This is a privacy consideration to deter tracking of the accessory by non-owners when it is in physical proximity to the owner. When in a separated state, the accessory SHALL rotate its address every 24 hours. This duration allows a platform's unwanted tracking algorithms to detect that the same accessory is in proximity for some period of time, when the owner is not in physical proximity. Ledvina, et al. Expires 25 December 2024 [Page 10] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.6. Service data TLV The Service data TLV with a 2-byte UUID value of 0xFCB2 provides a way for platforms to easily scan for and detect the location-enabled Bluetooth advertisement. 3.7. Network ID The 1-byte Network ID SHALL be set based on a registered value for the manufacturer, as defined in (TODO: Section Finding Network Registry has been removed). 3.8. Proprietary company payload To maintain the privacy properties of the MAC address, the values of payload which may be different between accessories SHALL rotate at the same time and interval as the MAC address. The approach using a Pseudo-Random Function suggested in (TODO: Section Implementation has been removed). may be used to meet this privacy requirement. If a Resolvable Private MAC address is used, this field SHALL be populated with a value of 6 bytes minimum which allows the platform to recognize an owned accessory without ambiguity to support the identification of owned accessory by the platform as defined in (TODO: Section Owned Accessory Identification has been removed). 3.9. Near-owner bit It is important to prevent unwanted tracking alerts from occurring when the owner of the accessory is in physical proximity of the accessory, i.e., it is in near-owner mode. In order to allow suppression of unwanted tracking alerts for an accessory advertising the location-enabled advertisement with the owner nearby, the accessory MUST set the near-owner bit to be 1 when the near-owner state is in near-owner mode, otherwise the bit is set to 0. Table 3 specifies the values of this bit. The near-owner bit MUST be the least significant bit. +======================+==================+ | Near-owner Bit Value | Near-owner state | +======================+==================+ | 1 | Near-owner mode | +----------------------+------------------+ | 0 | Separated mode | +----------------------+------------------+ Table 3: Near-Owner Bit Ledvina, et al. Expires 25 December 2024 [Page 11] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.10. Bluetooth LE advertising interval The detection rate performance has a dependency on the BLE advertising interval used. A maximum advertising interval of 4 seconds SHALL be used; for the best detection rate, the advertising interval SHOULD be less than or equal to 2 seconds. 3.11. Accessory Connections The accessory non-owner service UUID SHALL be 15190001-12F4-C226- 88ED-2AC5579F2A85. This service SHALL use GATT over LE. The non- owner accessory service SHALL be instantiated as a primary service. The accessory non-owner characteristic UUID SHALL be 8E0C0001-1D68-FB92-BF61-48377421680E. 3.11.1. Byte transmission order The characteristic used within this service SHALL be transmitted with the least significant octet first (that is, little endian). 3.11.2. Maximum transmission unit Data fragmentation and reassembly is not defined in this document; therefore, the accessory SHALL NOT request an MTU (Maximum Transmission Unit) smaller than the maximum length of its write responses for the opcodes defined in Non-owner controls (Section 3.13.4) and Section 3.12.1. In other words, all opcode response data must fit within a single write operation. 3.12. Accessory Information The following accessory information MUST be persistent through the lifetime of the accessory: Product data (Section 3.12.1.1), Manufacturer name (Section 3.12.1.2), Model name (Section 3.12.1.3), Accessory category (Section 3.12.1.4), Accessory capabilities (Section 3.12.1.6), Network ID (Section 3.7), and Battery Type (Section 3.12.1.9). 3.12.1. Opcodes The 2-byte opcodes for accessory information are defined in Table 4. +=======================+======+==============+============+===========+ |Opcode |Opcode| Operands | GATT |Requirement| | | value| |subprocedure| | +=======================+======+==============+============+===========+ |Get_Product_Data |0x0003| None | Write; To | REQUIRED | | | | | Accessory | | Ledvina, et al. Expires 25 December 2024 [Page 12] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +-----------------------+------+--------------+------------+-----------+ |Get_Product_Data_ |0x0803| Product Data |Indications;| REQUIRED | |Response | | (Section | From | | | | | 3.12.1.1) | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Manufacturer_ |0x0004| None | Write; To | REQUIRED | |Name | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Manufacturer_ |0x0804| Manufacturer |Indications;| REQUIRED | |Name_Response | |Name (Section | From | | | | | 3.12.1.2) | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Model_Name |0x0005| None | Write; To | REQUIRED | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Model_Name_ |0x0805| Model Name |Indications;| REQUIRED | |Response | | (Section | From | | | | | 3.12.1.3) | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Accessory_ |0x0006| None | Write; To | REQUIRED | |Category | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Accessory_ |0x0806| Accessory |Indications;| REQUIRED | |Category_Response | | Category | From | | | | | (Section | Accessory | | | | | 3.12.1.4) | | | +-----------------------+------+--------------+------------+-----------+ |Get_Protocol_ |0x0007| None | Write; To | REQUIRED | |Implementation_Version | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Protocol_ |0x0807| Protocol |Indications;| REQUIRED | |Implementation_Version_| |Implementation| From | | |Response | | Version | Accessory | | | | | (Section | | | | | | 3.12.1.5) | | | +-----------------------+------+--------------+------------+-----------+ |Get_Accessory_ |0x0008| None | Write; To | REQUIRED | |Capabilities | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Accessory_ |0x0808| Accessory |Indications;| REQUIRED | |Capabilities_Response | | Capabilities | From | | | | | (Section | Accessory | | | | | 3.12.1.6) | | | +-----------------------+------+--------------+------------+-----------+ |Get_Network_ID |0x0009| None | Write; To | REQUIRED | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Network_ID_ |0x0809| Network ID |Indications;| REQUIRED | Ledvina, et al. Expires 25 December 2024 [Page 13] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 |Response | |(Section 3.7) | From | | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Firmware_Version |0x000A| None | Write; To | REQUIRED | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Firmware_Version_ |0x080A| Firmware |Indications;| REQUIRED | |Response | | version | From | | | | | (Section | Accessory | | | | | 3.12.1.8) | | | +-----------------------+------+--------------+------------+-----------+ |Get_Battery_Type |0x000B| None | Write; To | OPTIONAL | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Battery_Type_ |0x080B| Battery Type |Indications;| OPTIONAL | |Response | | (Section | From | | | | | 3.12.1.9) | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Battery_Level |0x000C| None | Write; To | OPTIONAL | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Battery_Level_ |0x080C|Battery Level |Indications;| OPTIONAL | |Response | | (Section | From | | | | | 3.12.1.10) | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Network_Version |0x000D| None | Write; To | OPTIONAL | | | | | Accessory | | +-----------------------+------+--------------+------------+-----------+ |Get_Network_Version_ |0x080D| Network |Indications;| OPTIONAL | |Response | | Version | From | | | | | (Section | Accessory | | | | | 3.12.1.11) | | | +-----------------------+------+--------------+------------+-----------+ |RESERVED |0x000E| | | | | | -| | | | | |0x005F| | | | +-----------------------+------+--------------+------------+-----------+ |RESERVED (Response) |0x080E| | | | | | -| | | | | |0x085F| | | | +-----------------------+------+--------------+------------+-----------+ Table 4: Accessory Information Opcodes These opcodes SHALL be available when the accessory is in separated state. These opcodes SHALL NOT be available when the accessory is in the near-owner state. When any opcode is not available, the accessory SHALL return the Invalid_command error as the Ledvina, et al. Expires 25 December 2024 [Page 14] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 ResponseStatus in Command_Response. If an optional opcode is not available, the accessory SHALL return the Invalid_command error as the ResponseStatus in Command_Response. If any opcode value is commanded that is not supported by the accessory, it SHALL return the Invalid_command error as the ResponseStatus in the Command_Response. See Command Response (Section 3.13.4.1.1) for details. In the circumstances that there are multiple non-owner connections, all GATT indication subprocedures defined in Table 4 SHALL be sent through only to the connection that commanded the affiliated write subprocedure. Opcodes should be structured as defined below. +=======+==============+ | Bytes | Description | +=======+==============+ | 0-1 | Opcode value | +-------+--------------+ | 2+ | Operand | +-------+--------------+ Table 5: Accessory Opcode Structure 3.12.1.1. Product data The Product Data operand represents an 8-byte value that is intended to serve as a unique identifier for the accessory make and model. This value SHALL be determined during the onboarding process (Section 7). +==============+=======+=======+============+====================+ | Operand name | Data | Count | Total Size | Description | | | type | | (Bytes) | | +==============+=======+=======+============+====================+ | Product Data | Uint8 | 8 | 8 | See Product data | | | | | | (Section 3.12.1.1) | +--------------+-------+-------+------------+--------------------+ Table 6: Product Data Operand 3.12.1.2. Manufacturer name The Manufacturer Name operand contains the name of the company whose brand will appear on the accessory, e.g., ”Acme”. Ledvina, et al. Expires 25 December 2024 [Page 15] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +==============+===========+===========+============+==============+ | Operand name | Data type | Count | Total Size | Description | | | | | (Bytes) | | +==============+===========+===========+============+==============+ | Manufacturer | UTF-8 | 64 | 64 | Manufacturer | | Name | | (maximum) | (maximum) | name | +--------------+-----------+-----------+------------+--------------+ Table 7: Manufacturer Name Operand When the Manufacturer Name is less than 64 bytes, it SHALL be formatted either as: * a string value with length less than 64 bytes * a string value that is both zero-terminated and zero-padded up to 64 bytes 3.12.1.3. Model name The Model Name operand contains the manufacturer specific model of the accessory. +==============+===========+===========+============+=============+ | Operand name | Data type | Count | Total Size | Description | | | | | (Bytes) | | +==============+===========+===========+============+=============+ | Model Name | UTF-8 | 64 | 64 | Model name | | | | (maximum) | (maximum) | | +--------------+-----------+-----------+------------+-------------+ Table 8: Model Name Operand When the Model Name is less than 64 bytes, it SHALL be formatted either as: * a string value with length less than 64 bytes * a string value that is both zero-terminated and zero-padded up to 64 bytes 3.12.1.4. Accessory category The Accessory Category operand describes the category the accessory most closely resembles. Ledvina, et al. Expires 25 December 2024 [Page 16] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +===========+=======+=======+=========+=======================+ | Operand | Data | Count | Total | Description | | name | type | | Size | | | | | | (Bytes) | | +===========+=======+=======+=========+=======================+ | Accessory | Uint8 | 8 | 8 | Byte 0: Uint8 value | | Category | | | | of Accessory Category | | | | | | Value (Section 4) | | | | | | Byte 1-7: Reserved | +-----------+-------+-------+---------+-----------------------+ Table 9: Accessory Category Operand 3.12.1.5. Protocol implementation version The Protocol Implementation Version operand contains a value indicating an implementation version of these protocols. +================+========+=======+=========+===================+ | Operand name | Data | Count | Total | Description | | | type | | Size | | | | | | (Bytes) | | +================+========+=======+=========+===================+ | Protocol | Uint32 | 1 | 4 | Byte 0 : revision | | Implementation | | | | version number | | Version | | | | Byte 1 : minor | | | | | | version number | | | | | | Byte 2-3 : major | | | | | | version number | +----------------+--------+-------+---------+-------------------+ Table 10: Protocol Implementation Version Operand The Major.Minor.Revision value associated with this document is 1.0.0. The equivalent 4-byte value is 0x00010000. 3.12.1.6. Accessory capabilities The Accessory Capabilities operand enumerates the various capabilities supported on the accessory as defined in Table 11. Ledvina, et al. Expires 25 December 2024 [Page 17] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +==============+========+=======+=========+=======================+ | Operand name | Data | Count | Total | Description | | | type | | Size | | | | | | (Bytes) | | +==============+========+=======+=========+=======================+ | Accessory | Uint32 | 1 | 4 | Bit 0 : Supports play | | Capabilities | | | | sound (REQUIRED) | | | | | | Bit 1 : Supports | | | | | | motion detector UT | | | | | | Bit 2 : Supports | | | | | | identifier lookup by | | | | | | NFC | | | | | | Bit 3 : Supports | | | | | | identifier lookup by | | | | | | BLE | | | | | | Bit 4-8 : Reserved | | | | | | for private use | | | | | | Bit 9-31 : Reserved | +--------------+--------+-------+---------+-----------------------+ Table 11: Accessory Capabilities Operand For example, an accessory supporting play sound, motion detector UT, and identifier look-up over BT will have the value set as 0b1011 in binary and 11 as Uint32. 3.12.1.7. Network ID The Network ID operand contains the Network ID for the accessory. This is the same information that's in the BT advertisement header in Table 1. +==============+===========+=======+============+=============+ | Operand name | Data type | Count | Total Size | Description | | | | | (Bytes) | | +==============+===========+=======+============+=============+ | Network ID | Uint8 | 1 | 1 | Network ID | +--------------+-----------+-------+------------+-------------+ Table 12: Network ID Operand 3.12.1.8. Firmware version The Firmware Version describes the current firmware version running on the accessory. The firmware revision string SHALL use the x[.y[.z]] format where : * is the major version number, required. Ledvina, et al. Expires 25 December 2024 [Page 18] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 * is the minor version number, required if it is non zero or if is present. * is the revision version number, required if non zero. The firmware revision MUST follow these rules: * is incremented when there is significant change; for example, 1.0.0, 2.0.0, 3.0.0, and so on. * is incremented when minor changes are introduced, such as 1.1.0, 2.1.0, 3.1.0, and so on. * is incremented when bug fixes are introduced, such as 1.0.1, 2.0.1, 3.0.1, and so on. * Subsequent firmware updates can have a lower version only if is incremented. * Subsequent firmware updates can have a lower version only if or is incremented. Major version MUST not be greater than (2^16 - 1). Minor and revision version MUST not be greater than (2^8 - 1). The value MUST change after every firmware update. +==========+========+=======+=========+===================+ | Operand | Data | Count | Total | Description | | name | type | | Size | | | | | | (Bytes) | | +==========+========+=======+=========+===================+ | Firmware | Uint32 | 1 | 4 | Byte 0 : revision | | version | | | | version number | | | | | | Byte 1 : minor | | | | | | version number | | | | | | Byte 2:3 : major | | | | | | version number | +----------+--------+-------+---------+-------------------+ Table 13: Firmware Version Operand As an example, a Major.Minor.Revision value of 1.0.0 has an equivalent 4-byte value of 0x00010000. 3.12.1.9. Battery type The Battery type operand describes the battery type used in the accessory. Ledvina, et al. Expires 25 December 2024 [Page 19] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +=========+=======+=======+=========+=============================+ | Operand | Data | Count | Total | Description | | name | type | | Size | | | | | | (Bytes) | | +=========+=======+=======+=========+=============================+ | Battery | Uint8 | 1 | 1 | 0x00 : Powered | | Type | | | | 0x01 : Non-rechargeable | | | | | | battery | | | | | | 0x02 : Rechargeable battery | | | | | | 0x03-0xFF : Reserved | +---------+-------+-------+---------+-----------------------------+ Table 14: Battery Type Operand 3.12.1.10. Battery level The Battery level operand indicates the current battery level. +=========+=======+=======+=========+=======================+ | Operand | Data | Count | Total | Description | | name | type | | Size | | | | | | (Bytes) | | +=========+=======+=======+=========+=======================+ | Battery | Uint8 | 1 | 1 | 0x00 : Full | | Level | | | | 0x01 : Medium | | | | | | 0x02 : Low | | | | | | 0x03 : Critically low | | | | | | 0x04-0xFF : Reserved | +---------+-------+-------+---------+-----------------------+ Table 15: Battery Level Operand 3.12.1.11. Network version The Network Version describes the network specification the accessory complies with for the network specified by Network ID (Section 3.7). The network revision string SHALL use the x[.y[.z]] format where : * is the major version number, required. * is the minor version number, required if it is non zero or if is present. * is the revision version number, required if non zero. The network revision MUST follow these rules: Ledvina, et al. Expires 25 December 2024 [Page 20] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 * is incremented when there is significant change; for example, 1.0.0, 2.0.0, 3.0.0, and so on. * is incremented when minor changes are introduced, such as 1.1.0, 2.1.0, 3.1.0, and so on. * is incremented when bug fixes are introduced, such as 1.0.1, 2.0.1, 3.0.1, and so on. * Subsequent network updates can have a lower version only if is incremented. * Subsequent network updates can have a lower version only if or is incremented. Major version MUST not be greater than (2^16 - 1). Minor and revision version MUST not be greater than (2^8 - 1). The value MUST change after every network update. +=========+========+=======+=========+===================+ | Operand | Data | Count | Total | Description | | name | type | | Size | | | | | | (Bytes) | | +=========+========+=======+=========+===================+ | Network | Uint32 | 1 | 4 | Byte 0 : revision | | version | | | | version number | | | | | | Byte 1 : minor | | | | | | version number | | | | | | Byte 2:3 : major | | | | | | version number | +---------+--------+-------+---------+-------------------+ Table 16: Network Version Operand As an example, a Major.Minor.Revision value of 1.0.0 has an equivalent 4-byte value of 0x00010000. 3.13. Non-Owner Finding Once a user has been notified of an unknown accessory traveling with them, it is REQUIRED they have the means to physically locate the accessory. This is called non-owner finding of the accessory. 3.13.1. Hardware This is a description of the REQUIRED and RECOMMENDED hardware to be incorporated into the accessory to enable non-owner finding. Ledvina, et al. Expires 25 December 2024 [Page 21] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.13.2. Motion detector The accessory SHOULD include a motion detector that can detect accessory motion reliably (for example, an accelerometer). If the accessory includes an accelerometer, it MUST be configured to detect an orientation change of ±10° along any two axes of the accessory. 3.13.2.1. Implementation The details in this section apply to those accessories that include a motion detector. Values of the variables referenced are specified in Table 17. After T_(SEPARATED_UT_TIMEOUT) in separated state, the accessory MUST enable the motion detector to detect any motion within T_(SEPARATED_UT_SAMPLING_RATE1). If motion is not detected within the T_(SEPARATED_UT_SAMPLING_RATE1) period, the accessory MUST stay in this state until it exits separated state. If motion is detected within the T_(SEPARATED_UT_SAMPLING_RATE1) the accessory MUST play a sound. After first motion is detected, the movement detection period is decreased to T_(SEPARATED_UT_SAMPLING_RATE2). The accessory MUST continue to play a sound for every detected motion. The accessory SHALL disable the motion detector for T_(SEPARATED_UT_BACKOFF) under either of the following conditions: * Motion has been detected for 20 seconds at T_(SEPARATED_UT_SAMPLING_RATE2) periods. * Ten sounds are played. If the accessory is still in separated state at the end of T_(SEPARATED_UT_BACKOFF), the UT behavior MUST restart. A Bluetooth LE connection from an associated device MUST reset the separated behavior. Ledvina, et al. Expires 25 December 2024 [Page 22] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +=================================+==============+==================+ | Name | Value | Description | +=================================+==============+==================+ | T_(SEPARATED_UT_SAMPLING_RATE1) | 10 seconds | Sampling rate | | | | when motion | | | | detector is | | | | enabled in | | | | separated | | | | state. | +---------------------------------+--------------+------------------+ | T_(SEPARATED_UT_SAMPLING_RATE2) | 0.5 seconds | Motion detector | | | | sampling rate | | | | when movement | | | | is detected in | | | | separated | | | | state. | +---------------------------------+--------------+------------------+ | T_(SEPARATED_UT_BACKOFF) | 6 hours | Period to | | | | disable motion | | | | detector if | | | | accessory is in | | | | separated | | | | state. | +---------------------------------+--------------+------------------+ | T_(SEPARATED_UT_TIMEOUT) | random value | Time span in | | | between 8-24 | separated state | | | hours chosen | before enabling | | | from a | motion | | | uniform | detector. | | | distribution | | +---------------------------------+--------------+------------------+ Table 17: Motion Detector Time Values 3.13.3. Sound maker The accessory MUST include a sound maker (for example, a speaker) to play sound when in separated state, either periodically or when motion is detected. Ledvina, et al. Expires 25 December 2024 [Page 23] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 It MUST also play sound when a non-owner tries to locate the accessory by initiating a play sound command from a non-owner device when the accessory is in range and connectable through Bluetooth LE. The sound maker MUST emit a sound with minimum 60 Phon peak loudness as defined by ISO 532-1:2017. The loudness MUST be measured in free acoustic space substantially free of obstacles that would affect the pressure measurement. The loudness MUST be measured by a calibrated (to the Pascal) free field microphone 25 cm from the accessory suspended in free space. 3.13.4. Non-owner controls Non-owner controls SHALL use the same service and characteristic UUIDs as defined in Accessory Connections (Section 3.11). These controls allow a non-owner to locate the accessory by playing a sound as well as fetch an encrypted payload used to retrieve the identifier of the device. These 2-byte opcodes are defined in Table 18. +=======================+======+===========+============+===========+ | Opcode |Opcode| Operands | GATT |Requirement| | |value | |subprocedure| | +=======================+======+===========+============+===========+ | Sound_Start |0x0300| None | Write; To | REQUIRED | | | | | accessory | | +-----------------------+------+-----------+------------+-----------+ | Sound_Stop |0x0301| None | Write; To | REQUIRED | | | | | accessory | | +-----------------------+------+-----------+------------+-----------+ | Command_Response |0x0302| Command |Indications;| REQUIRED | | | | Response | From | | | | | (Section | accessory | | | | |3.13.4.1.1)| | | +-----------------------+------+-----------+------------+-----------+ | Sound_Completed |0x0303| None |Indications;| REQUIRED | | | | | From | | | | | | accessory | | +-----------------------+------+-----------+------------+-----------+ | Get_Identifier |0x0404| None | Write; To | OPTIONAL | | | | | accessory | | +-----------------------+------+-----------+------------+-----------+ |Get_Identifier_Response|0x0405| Identifier|Indications;| OPTIONAL | | | | Payload | From | | | | | (Section | accessory | | | | | 3.13.4.2) | | | +-----------------------+------+-----------+------------+-----------+ Ledvina, et al. Expires 25 December 2024 [Page 24] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 | RESERVED for private |0x0304| | | | | use | | | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED |0x0305| | | | | | - | | | | | |0x0319| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED for private |0x031A| | | | | use | | | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED |0x031B| | | | | | - | | | | | |0x031F| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED for private |0x0320| | | | | use | - | | | | | |0x033F| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED |0x0340| | | | | | - | | | | | |0x035F| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED (Response) |0x0406| | | | | | - | | | | | |0x041F| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED for private |0x0420| | | | | use (Response) | - | | | | | |0x043F| | | | +-----------------------+------+-----------+------------+-----------+ | RESERVED (Response) |0x0440| | | | | | - | | | | | |0x045F| | | | +-----------------------+------+-----------+------------+-----------+ Table 18: Non-Owner Controls Opcodes Sound_Start and Sound_Stop SHALL only be available to the platform when the accessory is in the separated state. In all other states, the accessory SHALL return the Invalid_command error as the ResponseStatus in Command_Response. If Identifer Retrieval over Bluetooth LE (Section 3.15.3) is supported, Get_Identifier SHALL only be available when in identifier read state; otherwise, it MUST send Command_Response (Section 3.13.4.1.1) with the Invalid_command as the ResponseStatus. Ledvina, et al. Expires 25 December 2024 [Page 25] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 The identifier read state is discussed further in Identifier Payload (Section 3.13.4.2). In the circumstances that there are multiple non-owner connections, all GATT indication subprocedures defined in Table 18 SHALL be sent through only to the connection that commanded the affiliated write subprocedure. Sound_Completed MAY be sent over all non-owner connections. 3.13.4.1. Play sound The Sound_Start opcode is used to play sound on the sound maker of the accessory. The sound maker MUST play sound for a minimum duration of 5 seconds and a maximum duration of 30 seconds. The RECOMMENDED duration is 12 seconds. * The accessory SHALL confirm the start of the play sound procedure by sending a Command_Response (Section 3.13.4.1.1) with the corresponding CommandOpCode and a ResponseStatus value of Success. * Once the play sound action is completed, the accessory sends the Sound_Completed message. * The Sound_Stop opcode is used to stop an ongoing sound request. * If the sound event is completed or was not initiated by the connected non-owner device, the accessory responds with the Invalid_state ResponseStatus code. * If the accessory does not support the play sound procedure, it responds with Invalid_command ResponseStatus code. * If a Sound_Start procedure is initiated when another play sound action is in progress, it rejects with Invalid_state error code. * The accessory SHALL confirm the completion of the stop sound procedure by sending the Sound_Completed message. 3.13.4.1.1. Command Response There are 2 components of the command response operands: CommandOpCode and ResponseStatus. The CommandOpCode operand indicates the procedure that the accessory is responding to and ResponseStatus operand indicates the status of the response. The accessory SHALL respond to any invalid opcode with Command_Response and Invalid_command as the ResponseStatus. Ledvina, et al. Expires 25 December 2024 [Page 26] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 +================+========+=====+=========+=========================+ | Operand name | Data |Count| Total | Description | | | type | | Size | | | | | | (Bytes) | | +================+========+=====+=========+=========================+ | CommandOpCode | Uint16 | 1 | 2 | The control procedure | | | | | | matching this response | +----------------+--------+-----+---------+-------------------------+ | ResponseStatus | Uint16 | 1 | 2 | 0x0000 : Success | | | | | | 0x0001 : Invalid_state | | | | | | 0x0002 : | | | | | | Invalid_configuration | | | | | | 0x0003 : | | | | | | Invalid_length | | | | | | 0x0004 : Invalid_param | | | | | | 0x0005-0xFFFE : | | | | | | Reserved | | | | | | 0xFFFF : | | | | | | Invalid_command | +----------------+--------+-----+---------+-------------------------+ Table 19: Command Response Operands 3.13.4.2. Identifier Payload The Get_Identifier opcode is used to retrieve identifier lookup payload over Bluetooth LE. To enable this opcode, the accessory MUST be in the identifier read state. To enter the identifier read state, a user action on the accessory MUST be performed (for example, press and hold a button for 10 seconds). The identifier read state MUST be enabled for 5 minutes once the user action on the accessory is successfully performed. When the accessory is in this mode, it MUST respond with Get_Identifier_Response opcode and Identifier Payload operand. +============+=======+============+============+==================+ | Operand | Data | Count | Total Size | Description | | name | type | | (Bytes) | | +============+=======+============+============+==================+ | Identifier | Uint8 | defined by | defined by | The encrypted | | Payload | | accessory | accessory | identifier as an | | | | | | array of bytes. | +------------+-------+------------+------------+------------------+ Table 20: Identifier Payload Over Bluetooth It is REQUIRED that the encrypted identifier (which in some cases is the product serial number) be non-identifiable. Ledvina, et al. Expires 25 December 2024 [Page 27] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 If the accessory is not in identifier read state, it MUST send Command_Response (Section 3.13.4.1.1) with the Invalid_command as the ResponseStatus. Further considerations for how these operands should be implemented are discussed in Design of encrypted identifier look-up (Section 8.1.1). 3.13.5. Alternate finding hardware The accessory SHOULD provide alternate means to help find it, e.g. by vibrating or flashing lights, via a platform-compatible method. Future versions of this document will consider support for haptics and lights. 3.13.6. Recommended Finding Options Table 21 lists two RECOMMENDED options on the set of technology in an accessory to make it findable. Given that a sound maker is REQUIRED, the accessory maker SHALL at very least implement Option A. +=============+==========+==========+ | | Option A | Option B | +=============+==========+==========+ | | Good | Better | +-------------+----------+----------+ | Sound maker | X | X | +-------------+----------+----------+ | Haptics | | X | +-------------+----------+----------+ | Lights | | X | +-------------+----------+----------+ Table 21: Accessory Finding Hardware Options 3.13.7. Future hardware Future technologies for finding MAY be considered in revisions of this document. 3.14. Disablement The accessory SHALL have a way to be disabled such that its future locations cannot be seen by its owner. Disablement SHALL be done via some physical action (e.g., button press, gesture, removal of battery, etc.). Ledvina, et al. Expires 25 December 2024 [Page 28] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.14.1. Disablement instructions The accessory manufacturer SHALL provide both a text description of how to disable the accessory as well as a visual depiction (e.g. image, diagram, animation, etc.) that MUST be available when the platform is online and OPTIONALLY when offline. Disablement procedure or instructions CAN change with accessory firmware updates. These are provided as part of the onboarding process (Section 7). 3.15. Identification The accessory MUST include a way to uniquely identify it - either via a serial number or other privacy-preserving solution. Guidelines for serial numbers only apply if the accessory supports identification via a serial number. 3.15.1. Serial number identification If a serial number is available, it SHALL be printed and be easily accessible on the accessory. The serial number MUST be unique for each product ID. 3.15.2. Identifier retrieval capability The identifier payload SHALL be readable either through NFC tap (see Identifier over NFC (Section 3.15.5)) or Bluetooth LE (see Identifier Retrieval over Bluetooth LE (Section 3.15.3) ). 3.15.3. Identifier retrieval over Bluetooth LE For privacy reasons, accessories that support identifier retrieval for identifiers not included in the advertising packet over Bluetooth LE MUST have a physical mechanism, for example, a button, that SHALL be required to enable the Get_Identifier opcode, as discussed in Identifier Payload (Section 3.13.4.2). The accessory manufacturer SHALL provide both a text description of how to enable identifier retrieval over Bluetooth LE, as well as a visual depiction (e.g. image, diagram, animation, etc.) that MUST be available when the platform is online and OPTIONALLY when offline. The description and visual depiction CAN change with accessory firmware updates. These are provided as part of the onboarding process (Section 7). 3.15.4. Identifier retrieval from a server For security reasons, the identifier payload returned from an accessory in the paired state SHALL be encrypted. Ledvina, et al. Expires 25 December 2024 [Page 29] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.15.5. Identifier over NFC For those accessories that support identifier retrieval over NFC, an associated accessory SHALL advertise the whole URL with arguments as the payload over NFC. The payload SHALL look like the URL shown below. "https://{URL}?pid=%04x&b=%02x&fv=%08x&e=%s" +==========+==============+==================+=====================+ | URL | URL Argument | Notes | Reference | | argument | Type | | | +==========+==============+==================+=====================+ | b | hex string | Battery Level | Battery Level | | | | (Optional) | (Section 3.12.1.10) | +----------+--------------+------------------+---------------------+ | bt | hex string | BT Mac address | MAC address | | | | (Optional) | (Section 3.5) | +----------+--------------+------------------+---------------------+ | fv | hex string | Firmware version | Firmware version | | | | (Optional) | (Section 3.12.1.8) | +----------+--------------+------------------+---------------------+ | e | hex string | Encrypted | Identifier Payload | | | | Identifier | (Section 3.13.4.2) | | | | (Required) | | +----------+--------------+------------------+---------------------+ | pid | hex string | Product Data | Product Data | | | | (Required) | (Section 3.12.1.1) | +----------+--------------+------------------+---------------------+ Table 22: Identifier Lookup URL-arguments The URL SHALL be hosted by the network provider. The URL SHALL decrypt the identifier payload and return the identifier of the accessory in a form that can be rendered in the platform's HTML view. One approach to exchange the URL with the accessory, is when the accessory owner associates the accessory to a network provider. When a user performs NFC Tap and the accessory is in associated state, the encrypted identifier encoded in hex string SHALL be an argument ("e") passed to the identifier retrieval URL. When a user performs NFC Tap and the accessory is not in associated state, the behavior is undefined and is beyond the scope of this spec. 3.16. Owner registry Verifiable identity information of the owner of an accessory at time of association SHALL be recorded and associated with the identifier of the accessory, e.g., phone number, email address. Ledvina, et al. Expires 25 December 2024 [Page 30] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 3.16.1. Obfuscated owner information A limited amount of obfuscated owner information from the owner registry SHALL be made available to the platform along with a retrieved identifier (identifier-retrieval). This information SHALL be part of the response of the identifier retrieval from a server (identifier-from-server) which can be rendered in a platform's HTML view. This MUST include at least one of the following: * the last four digits of the owner's telephone number. e.g., (***) ***-5555 * an email address with the first letter of the username and entity visible, as well as the entire extension. e.g., b********@i*****.com 3.16.2. Persistence The owner registry SHOULD be stored for a minimum of 25 days after an owner has unassociated an accessory. After the elapsed period, the data SHOULD be deleted. 3.16.3. Availability for law enforcement Available ownership registry information SHOULD be produced in response to a valid law enforcement request seeking information related to the misuse of location-tracking accessories provided that the request is submitted pursuant to defined procedures for obtaining such information. Network providers SHOULD define their own procedures for submission of valid legal requests from law enforcement. 4. Accessory Category Value Accessory manufacturer’s MUST pick an accessory category value that closest resembles their physical product. If none of the accessory categories provided in Table 23 match the physical product, Other MUST be chosen. +============================+=============+ | Accessory Category Name | Value | +============================+=============+ | Location Tracker | 1 | +----------------------------+-------------+ | Other | 128 | +----------------------------+-------------+ Ledvina, et al. Expires 25 December 2024 [Page 31] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 | Luggage | 129 | +----------------------------+-------------+ | Backpack | 130 | +----------------------------+-------------+ | Jacket | 131 | +----------------------------+-------------+ | Coat | 132 | +----------------------------+-------------+ | Shoes | 133 | +----------------------------+-------------+ | Bike | 134 | +----------------------------+-------------+ | Scooter | 135 | +----------------------------+-------------+ | Stroller | 136 | +----------------------------+-------------+ | Wheelchair | 137 | +----------------------------+-------------+ | Boat | 138 | +----------------------------+-------------+ | Helmet | 139 | +----------------------------+-------------+ | Skateboard | 140 | +----------------------------+-------------+ | Skis | 141 | +----------------------------+-------------+ | Snowboard | 142 | +----------------------------+-------------+ | Surfboard | 143 | +----------------------------+-------------+ | Camera | 144 | +----------------------------+-------------+ | Laptop | 145 | +----------------------------+-------------+ | Watch | 146 | +----------------------------+-------------+ | Flash drive | 147 | +----------------------------+-------------+ | Drone | 148 | +----------------------------+-------------+ | Headphones | 149 | +----------------------------+-------------+ | Earphones | 150 | +----------------------------+-------------+ | Inhaler | 151 | +----------------------------+-------------+ | Sunglasses | 152 | +----------------------------+-------------+ Ledvina, et al. Expires 25 December 2024 [Page 32] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 | Handbag | 153 | +----------------------------+-------------+ | Wallet | 154 | +----------------------------+-------------+ | Umbrella | 155 | +----------------------------+-------------+ | Water bottle | 156 | +----------------------------+-------------+ | Tools or tool box | 157 | +----------------------------+-------------+ | Keys | 158 | +----------------------------+-------------+ | Smart case | 159 | +----------------------------+-------------+ | Remote | 160 | +----------------------------+-------------+ | Hat | 161 | +----------------------------+-------------+ | Motorbike | 162 | +----------------------------+-------------+ | Consumer electronic device | 163 | +----------------------------+-------------+ | Apparel | 164 | +----------------------------+-------------+ | Transportation device | 165 | +----------------------------+-------------+ | Sports equipment | 166 | +----------------------------+-------------+ | Personal item | 167 | +----------------------------+-------------+ | Reserved for future use | 2-127, 168+ | +----------------------------+-------------+ Table 23: Accessory Category Values 5. Firmware Updates The accessory SHOULD have a mechanism for the manufacturer to provide firmware updates. 5.1. Backwards Compatibility 5.1.1. Existing trackers Existing trackers should be updated on a best-effort basis to implement the protocols and practices outlined above. Ledvina, et al. Expires 25 December 2024 [Page 33] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 6. Platform Support for Unwanted Tracking This section details the requirements and recommendations for platforms to be compatible with the accessory protocol behavior described in the document. TODO 7. Onboarding Accessory manufacturers MUST follow a minimum set of steps for their accessories to be detectable by platforms such as adding their Network ID value to the (TODO: Section Finding Network Registry has been removed). During onboarding, a product data registry SHALL be created and maintained by the network provider for all accessory manufacturers participating in their network. Accessory manufacturers will work with the network providers they participate in, to provide information such as: * Product Data: an 8-byte string representing a unique identifier for a product. See Product Data (Section 3.12.1.1). * Disablement Instructions: information on how a user can disable the tracker. * Identifier Look-up Over Bluetooth Instructions: visual depictions for enabling identifier look-up over Bluetooth LE. * Identifier Look-up: a method to retrieve the obfuscated owner information and possibly identifier. * Product Name: a string representing the accessory make and model associated with the Product Data string. TODO 8. Security Considerations 8.1. Obfuscated owner information look-up Obfuscated owner information look-up is required to display important information to users who encounter an unwanted tracking notification. It helps them tie the notification to a specific physical device and recognize the accessory as belonging to a friend or relative. Displaying an identifier (or serial number) may be one method to allow for partial user information look up. Ledvina, et al. Expires 25 December 2024 [Page 34] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 However, the identifier is unique and stable, and the partial user information can further make the accessory identifiable. Therefore, identifier (if used) and obfuscated owner information SHOULD NOT be made directly available to any requesting devices. Instead, several security- and privacy-preserving steps SHOULD be employed. The obfuscated owner information and identifier look-up SHALL only be available in separated mode for an associated accessory. When requested through any long range wireless interface like Bluetooth, a user action MUST be required for the requesting device to access the obfuscated owner information and identifier. Over NFC, it MAY be acceptable to consider the close proximity as intent for this flow. To uphold privacy and anti-tracking features like the Bluetooth MAC address randomization, the accessory MUST only provide non- identifiable data to non-owner requesting devices. One approach is for the accessory to provide encrypted and unlinkable information that only the accessory network service can decrypt. With this approach, the server can employ techniques such as rate limiting and anti-fraud to limit access to the identifier. In addition to being encrypted and unlinkable, the encrypted payload provided by the accessory SHOULD be authenticated and protected against replay. The replay protection is to prevent an adversary using a payload captured once to monitor changes to the partial information associated with the accessory, while the authentication prevents an adversary from impersonating any accessory from a single payload. 8.1.1. Design of encrypted identifier look-up One way to design this encryption is for the accessory to contain a public key for the accessory network server. For every request received by a device nearby, the accessory would use the public key and a public key encryption scheme (ie: RSA-OAEP, ECIES, or HPKE) to encrypt a set of fields including the identifier, a monotonic counter or one time token and a signature covering both the identifier and counter or token. The signature can be either a public key signature or symmetric signature, leveraging a key trusted by the network server which MAY be established at manufacturing time or when the user sets up the accessory. Some additional non-identifiable metadata MAY be sent along with this encrypted payload, allowing the requesting device to determine which accessory network service to connect to for the decryption, and for the service to know which decryption key and protocol version to use. 9. Privacy Considerations Ledvina, et al. Expires 25 December 2024 [Page 35] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 9.1. Obfuscated owner information In many circumstances when unwanted tracking occurs, the individual being tracked knows the owner of the location-tracker. By allowing the retrieval of an obfuscated email or phone number when in possession of the accessory, as described in Section 3.16.1, this provides the potential victim with some level of information on the owner, while balancing the privacy of accessory owners in the arbitrary situations where they have separated from those accessories. 9.2. Identifier look-up An identifier both physically on the device, as well as retrievable over NFC or Bluetooth LE, can aid recourse actions in the case of unwanted tracking. While retrieval of the identifier over NFC implies having physical possession of the accessory, the same conclusion can not be made for Bluetooth given its wireless range. The procedure required for identifier look-up over Bluetooth LE intends to strike a balance between the privacy of the owner and ability to empower potential victims, by requiring both the accessory to be in separated state as well as a physical action be performed to enable the identifier retrieval. 9.3. Location-enabled payload 9.3.1. Stable identifiers Rotating the mac address of the location-enabled payload, as described in Section 3.5, balances the risk of nefarious stable identifier tracking with the need for unwanted tracking detection. If the address were permanently static, then the accessory would become infinitely trackable for the life of its power source. By requiring rotation, this reduces the risk of a malicious actor having the ability to piece together long stretches of longitudinal data on the whereabouts of an accessory. 9.3.2. Proprietary company payload data Accessory manufacturers SHOULD evaluate the contents of the proprietary company payload data in Table 1 to ensure it does not introduce additional privacy risk through the broadcast of stable identifiers or unencrypted sensitive data. Ledvina, et al. Expires 25 December 2024 [Page 36] Internet-Draft Detecting Unwanted Location Trackers Acc June 2024 10. IANA Considerations Eventually an IANA will create a new registry group called "Unwanted Tracking Protocols (UTP)". This group includes the "Finding Network ID" registry. TODO 11. Normative References [BTCore5.4] "Bluetooth Core Specification v5.4", 31 January 2023, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . Acknowledgments TODO acknowledge. Authors' Addresses Brent Ledvina Apple Email: bledvina@apple.com David Lazarov Google Email: dlazarov@google.com Ben Detwiler Apple Email: bdetwiler@apple.com Siddika Parlak Polatkan Google Email: siddikap@google.com Ledvina, et al. Expires 25 December 2024 [Page 37]