DOCSIS - 4. Security
With Cable Modems it would be possible for your neighbours to view, with some kind of packet sniffing tool or similar, the data your are sending and receiving. To counter this problem the cable operators employ a system known as Baseline Privacy Plus (BPI+). This encrypts all your data to ensure that anyone can not snoop on your transmissions. The BPI+ also stops the illegal use of someone?s connection to gain free access.
The encryption used must travel with the information where ever it goes. The US has laws on the level of encryption that is allowed to be exported. As such the maximum encryption available is 128 bit. To have a data exchange there is first key exchange. The key exchange uses triple DES as its encryption. This is quite a strong encryption and provides a satisfactory protection to the key exchange. The algorithm used is a public key exchange. [GABE99d]
4.1 Authentication
Cable Modems do not require a username and password in the same way the dial up connections do. The authentication is actually hard coded into the Cable Modems when they are built. This is called the X.509 digital certificate it is built up of the following items:
- A serial number
- Cryptographic public key
- Ethernet MAC address
- The Manufacture?s Identification
The X.509 is verified by the head end also known as distribution hub. Once this has been verified the following data sent by that user is encrypted using their public key.
Figure 4.1 shows how a basic authentication is carried out between the cable modem and cable modem termination system. The CM Certificate is the X.509 certificate and the CM-ID is the serial number, manufacture ID, MAC address and RSA public key.
The cable modem first sends its X.509 certificate and manufactures certificate. This is verified by checking its expiration date, ensuring issuer name is the same as manufactures name and finally that the X.509 signature is valid using the manufactures certificate public key. The CMTS also verifies the manufacturer certificate but using DOCSIS root public key to test signature. Once the CMTS has verified the x.509 certificate it responds to ensure the owner is actually the correct owner.
To do this the CMTS will encrypt the authorization key with the CM public key. The CM uses it private key (if it was an impostor it would not have the matching private key) to get the authorization key. Using this it will generate a mso-bidi-font-family:Hash-based Message Authentication Code (HMAC) key and reply to the CMTS with this. The verification of this HMAC key proves the CM has the private key to match the public key.
4.2 QoS (Quality of Service)
Quality of Service was added to the DOCSIS standard in version 1.1. In order to implement Quality of Service, the following features where added into DOCSIS 1.1:
- Packet Priorities
- CMTS
- Unsolicited Grants
- Packet Fragmentation
- Payload Header Suppression
4.2.1 Packet Priorities
The packets are assigned a priority, those with higher priorities are dealt with first and can jump ahead of queues on routers etc.
4.2.2 CMTS Control
The CMTS instructs the modem how much data and for what period of time it may transmit its data.
4.2.3 Unsolicited Grants
The issue with CMTS is that everyone might transmit at the same time; the data would overlap and become confused and muddled. The UCG (Unsolicited Grant Service) solves this problem. Essentially what the UGS does is have the cable modem transmit the requirements of it?s session. This information is used to assign a slot of time to this transmission so that the different Cable Modems do not overlap and collide.