The security for both models of restricted 5G ProSe Direct Discovery is similar to that of open 5G ProSe Direct Discovery described in
clause 6.1.3.1. Both models also use a UTC-based counter (see step 9 in
clause 6.1.3.1) to provide freshness for the protection of the restricted 5G ProSe Direct Discovery message on the PC5 interface. The parameters CURRENT_TIME and MAX_OFFSET are also provided to the UE from the 5G DDNMF in its HPLMN to ensure that the obtained UTC-based counter is sufficiently close to real time to protect against replays.
The major differences are that restricted 5G ProSe Direct Discovery requires confidentiality protection of the discovery messages (e.g. to ensure a UE's privacy is not disclosed to unauthorized parties or tracked due to constantly sending the same ProSe Restricted/Response Code in the clear) and that the MIC checking may be performed by the receiving UE (if allowed by the 5G DDNMF).
The security parameters needed by a sending UE to protect a discovery message (i.e. in Model A the Announcing UE and in Model B the Discoverer UE sending the ProSe Query Code and the Discoveree UE sending the ProSe Response Code) are provided in the Code-Sending Security Parameters. Similarly, the security parameters needed by a UE receiving a discovery message (i.e. in Model A the Monitoring UE and in Model B the Discoverer UE receiving a ProSe Response Code and the Discoveree receiving a ProSe Query Code) are provided in the Code-Receiving Security Parameters.
In addition to
clause 6.1.3.4.1 in TS 33.303, 5G Prose introduced two new features:
-
During the discovery request procedure, 5G DDNMF may optionally provide the PC5 security policies to the UEs.
-
A ciphering algorithm for message-specific confidentiality is configured at the UE during the Discovery Request procedure.
5G ProSe UE-to-Network Relay discovery is different from 5G ProSe Restricted Direct Discovery. In 5G ProSe UE-to-Network Relay discovery, the discovery security materials are provided by the PKMF for RSC(s) representing user-plane based security procedure, and by the DDNMF or the PCF for RSC(s) with Control Plane Security Indicator set representing control-plane based security procedure. The 5G ProSe UE-to-Network Relay discovery procedures described in
clause 6.1.3.2.2.1 and
clause 6.1.3.2.2.2 apply with adjustment when 5G DDNMF or 5G PKMF is used for 5G ProSe UE-to-Network Relay discovery. In the case of UE-to-Network relays belonging to different HPLMNs serving the same RSC, distinct sets of discovery security materials for potential relays of different HPLMNs are provided to the 5G ProSe remote UE. HPLMN ID of the 5G DDNMF/5G PKMF of the potential 5G ProSe UE-to-Network Relays is carried in PC5 discovery messages to identify the corresponding discovery security materials.