ZRTP encryption – Enhancing security for DINSTAR IP PBX 2023-08-10

VoIP knowledge

ZRTP encryption – Enhancing security for DINSTAR IP PBX

  • What is ZRTP?
    ZRTP is an SRTP (Secure Real‑time Transport Protocol)‑based mechanism that facilitates the agreement of shared secrets and key exchange between two endpoints. ZRTP uses "persistent privacy," meaning the RTP stream does not have to worry about security issues but delegates them to ZRTP. When an RTP connection is established between two or more endpoints, ZRTP automatically detects whether the other endpoint supports ZRTP and securely strengthens the channel to the program managing the RTP stream. Unlike SRTP, ZRTP exchanges encryption keys within the media stream, making the encryption process safer and more transparent for servers that do not support the protocol. This makes ZRTP more flexible than SRTP and provides end‑to‑end control for managing encryption requirements at all levels, without the risk of man‑in‑the‑middle attacks.
    What is SRTP?
    Secure Real-Time Transport Protocol. SRTP is a security profile for RTP that adds confidentiality, message authentication, and replay protection to the protocol.
    SRTP key negotiation process
    SRTP.png
    The DINSTAR UC IP PBX series supports ZRTP.
    ZRTP key exchange process
    The ZRTP protocol consists of two processes: the parameter negotiation process and the session key exchange process, which are executed sequentially. Through parameter negotiation, the communicating parties determine the algorithms to use for the session key exchange process and the SRTP protocol. The start of the session key exchange process is indicated by a Commit‑type message, in which the parties negotiate keys according to the session key exchange method specified in the Commit‑type message.
    ZRTP-06.png
    IP PBX configuration for ZRTP
    To enable ZRTP, please go to Profile → SIP → Edit.
    ZRTP config.jpg