So we guessed right about how Dish India had allowed two separate security firms – Conax and Verimatix – to support its TV services – it used CryptoMedia from Rambus as the only independent security core added to most set top chips today.
But a chat this week with Ole Hansvold, now at Rambus’s Cryptography Research, and previously a senior executive at Conax, told us more about why Dish had done this.
Hansvold also presented these ideas at IBC a few weeks ago, and he says that it’s a part of a rising trend, as the piracy war moves from the smartcard to attempting to compromise the entire set top CPU, which is beginning to replace it.
“If an operator has just one CAS, then all the set tops out there can be compromised with one break. But all chipsets today have multiple security cores, so why not use more than one?” Hansvold started.
“The set top has an economic lifetime of 8 to 10 years, and while replacing a smart card can be done without huge financial consequences for an operator (It can force the CAS vendor to pay for this), if a set top is broken in that timeframe, it is the responsibility of the operator and replacing all set tops is too high a price to pay.”
This is a bit of a bind. Rambus 4 or 5 years ago pioneered the idea of adding an independent security core to set top chips, which gave companies like Conax and Verimatrix hardware support on the set top CPU chip. This took security from perhaps 7 or 8 out of ten to being perhaps a 9 out of ten solution. It is far tougher to get into the set top chip without breaking the device, and these chips had other sophisticated tamper proofing and differential power analysis counter measures.
It was NDS (now Cisco) and Nagra which first took the core to the set top chip, and Rambus which offered the first one that was open to multiple CA vendors. Most chips have 3 or 4 security cores on them, so the obvious answer to fixing a break is to be able to replace one CA with another, and in the case where a core gets broken, replace it with one which uses a different core.
Dish has taken the first step – and at present it’s not safe if the Rambus CryptoMedia core ever got hacked, but it IS secure if either Verimatrix or Conax gets hacked and the core remains intact. This is because the core allocates keys outside the view of the operating system, and offers different keys to each of the two CAs.
“The ST Micro ST7100 set top chip got hacked 4 years ago,” said Hansvold, “but ST reacted by telling CA vendors that they could not speak about the hack, under threat of contract cancellation. This was done using a method to trick the CPU key ladder out,” said Hansvold.
This perhaps explains why ST Micro fell out of the set top market. The hack did not include any of the secure cores, but instead it broke into the silicon key ladder in the chip CPU.
Attacks can also now focus on the back end more often, at the transmit side, because these use symmetric keys, and it is the same key that is being used in the device as in the cloud, although Hansvold thinks that genuine cloud instances have plenty of security.
Hansvold continued, “The hardware support inside ARM chips is supported by firmware from Trustonic and the Arm Trustzone, but this is on the same piece of silicon, shared with the CPU. There have been several publications of Trustzone attacks, but this depends upon the chip version – there are some excellent implementations (Samsung) and other handset makers have firmware which is not so good, and it can be tricky into revealing the keys.”
“As a hacker it makes more sense not to attack these platform guys as they have very good security, but to attack the lower end where there are weaker spots, like the media play or middleware.” Hanvold should know, Qualcomm chips have a key ladder protected by a black box system installed by Rambus in the factories of their chip partners. No-one can see the keys being set in a chip and the process is controlled by Qualcomm remotely.
Hansvold said that there were two different philosophies in security cores – and that NDS and Nagra were software oriented looking down, and he typified Rambus as “chip oriented and looking up,” at the software, which learly he thinks is better.
Interestingly another CAS vendor Irdeto at IBC announced a deal to put its own security core into TV and set top chips. This was first done in 2014, but at IBC this year it added the core to its Android set top chips. Irdeto also brings software in Cloaked CA and ActiveCloak to these chips along with its FlexiCore security core. This should mean that MStar can let multiple CAS vendors support smart TVs made with its chips. MStar has about 70% or more market share in smart TV processors.
Another attack that has to be prevented are attacks on the watermarking systems which are supposed to allow any 4K content discovered in the wild being forensically tracked back to the device which made it. “That’s tough to do if some piece of code has told the software player to stop all commands relating to the placement of watermarking,” said Hansvold.
“This is why there needs to be a secure video path throughout a device, at least up until the marking is done,” he said.
He also told us that Vidity, the cable sponsored system which offers secure storage for video, uses an entirely different approach, putting differently timed extra frames into each copy of a movie, so that it can identify it if found in the wild.
As more and more real estate becomes available on a chip with increasing large scale integration, more security cores may emerge, and opting for two CAS vendors or even two separate cores, could easily become a common strategy especially for DTH vendors with no return path, as is common in India. Which in turn could lead to more shared contracts, and dare we say it, increasing cooperation between independent and usually highly competitive CAS vendors. Which in turn could lead to a gradual lowering in price per supported device.
