3GPP 24.501 v20.0.0 — the document's own text
4.4.4.2 Integrity checking of NAS signalling messages in the UE
Except the messages listed below, no NAS signalling messages shall be processed by the receiving 5GMM entity in the UE or forwarded to the 5GSM entity, unless the network has established secure exchange of 5GS NAS messages for the NAS signalling connection:
- IDENTITY REQUEST (if requested identification parameter is SUCI);
- AUTHENTICATION REQUEST;
- AUTHENTICATION RESULT;
- AUTHENTICATION REJECT;
- REGISTRATION REJECT (if the 5GMM cause is not #76, #78, #81 or #82);
- DEREGISTRATION ACCEPT (for non switch off); and
- SERVICE REJECT (if the 5GMM cause is not #76 or #78).
NOTE: These messages are accepted by the UE without integrity protection, as in certain situations they are sent by the network before security can be activated.
Integrity protection is never applied directly to 5GSM messages, but to the 5GMM message in which the 5GSM message is included.
Once the secure exchange of NAS messages has been established, the receiving 5GMM entity in the UE shall not process any NAS signalling messages unless they have been successfully integrity checked by the NAS. If NAS signalling messages, having not successfully passed the integrity check, are received, then the NAS in the UE shall discard that message. The processing of the SECURITY MODE COMMAND message that has not successfully passed the integrity check is specified in clause 5.4.2.5. If any NAS signalling message is received as not integrity protected even though the secure exchange of NAS messages has been established by the network, then the NAS shall discard this message.