VideoCrypt
   HOME

TheInfoList



OR:

VideoCrypt is a
cryptographic Cryptography, or cryptology (from grc, , translit=kryptós "hidden, secret"; and ''graphein'', "to write", or '' -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of adve ...
,
smartcard A smart card, chip card, or integrated circuit card (ICC or IC card) is a physical electronic authentication device, used to control access to a resource. It is typically a plastic credit card-sized card with an embedded integrated circuit (IC) c ...
-based
conditional access Conditional access (CA) is a term commonly used in relation to software and to digital television systems. Conditional access is that ‘just-in-time’ evaluation to ensure the person who is seeking access to content is authorized to access the c ...
television encryption Television encryption, often referred to as scrambling, is encryption used to control access to pay television services, usually cable, satellite, or Internet Protocol television (IPTV) services. History Pay television exists to make revenue from ...
system that
scrambles ''Scrambles'' is the fifth studio album by Bomb the Music Industry!, released digitally and physically on February 15th, 2009. The album was released a year and a half after Get Warmer, making it the longest gap between the release of two chrono ...
analogue
pay-TV Pay television, also known as subscription television, premium television or, when referring to an individual service, a premium channel, refers to subscription-based television services, usually provided by multichannel television providers, but ...
signals. It was introduced in 1989 by
News Datacom Cisco Videoscape (formerly NDS Group and currently known as Synamedia) was a majority owned subsidiary of News Corp, which develops software for the pay TV industry (including cable, satellite and others). NDS Group was established in 1988 as an ...
and was used initially by Sky TV and subsequently by several other broadcasters on
SES SES, S.E.S., Ses and similar variants can refere to: Business and economics * Socioeconomic status * Scottish Economic Society, a learned society in Scotland * SES, callsign of the TV station SES/RTS (Mount Gambier, South Australia) * SES S.A., ...
' Astra satellites at 19.2° east.


Users


Versions

Three variants of the VideoCrypt system were deployed in Europe: VideoCrypt I for the UK and Irish market and VideoCrypt II for continental Europe. The third variant, VideoCrypt-S was used on a short-lived BBC Select service. The VideoCrypt-S system differed from the typical VideoCrypt implementation as it used line shuffle scrambling. * Sky NZ and Sky Fiji may use different versions of the VideoCrypt standard. * Sky NZ used
NICAM Near Instantaneous Companded Audio Multiplex (NICAM) is an early form of lossy compression for digital audio. It was originally developed in the early 1970s for point-to-point links within broadcasting networks.Croll, M.G., Osborne, D.W. and Spi ...
stereo for many years until abandoning it when the Sky DTH technology started replacing Sky UHF.


Operating principle

The system scrambles the picture using a technique known as "line cut-and-rotate". Each line that made up each picture (video frame) is cut at one of 256 possible "cut points", and the two halves of each line are swapped around for transmission. The series of cutpoints is determined by a pseudo-random sequence. Channels were decoded using a
pseudorandom number generator A pseudorandom number generator (PRNG), also known as a deterministic random bit generator (DRBG), is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random numbers. The PRNG-generate ...
(PRNG) sequence stored on a
smart card A smart card, chip card, or integrated circuit card (ICC or IC card) is a physical electronic authentication device, used to control access to a resource. It is typically a plastic credit card-sized card with an embedded integrated circuit (IC) c ...
(aka Viewing Card). To decode a channel the decoder would read the smart card to check if the card is authorised for the specific channel. If not, a message would appear on screen. Otherwise the decoder seeds the card's PRNG with a seed transmitted with the video signal to generate the correct sequence of cut points. The system also included a cryptographic element called the Fiat Shamir Zero Knowledge Test. This element was a routine in the smartcard that would prove to the decoder that the card was indeed a genuine card. The basic model was that the decoder would present the card with a packet of data (the question or challenge) which the card would process and effectively return the result (the answer) to the decoder proving that it was a genuine card without disclosing any critical information. If the decoder received the wrong result from the card, it was supposed to stop decoding the video. However a technologically insecure implementation of this otherwise strong cryptographic element made it redundant. The VideoCrypt-S variant, used by the BBC Select service, was based on line shuffle scrambling. This form of video scrambling changes the order in which lines are transmitted thus line 20 may be transmitted as line 32. The VideoCrypt-S variant used six blocks of forty seven lines per field. It had three scrambling formats: full shuffle in which 282 lines were affected; half shuffle, in which every alternate field was scrambled; and a line delay scramble in which the start position of the video in each line was pseudo-randomly delayed. The BBC chose to use line shuffle scrambling rather than line cut-and-rotate because tests had shown that line cut-and-rotate is more susceptible to picture degradation when exposed to ghosting and co-channel interference conditions commonly present in terrestrial transmissions.


Attacks

The VideoCrypt system was far from secure and a number of hacks were employed.


Card attacks

* Hackers discovered methods of preventing Sky from killing or deactivating their cards. The simplest of these attacks relied on the fact that Sky was using EPROM technology for its smartcards at the time. Thus by modifying the decoder to limit the write voltage to the card, it was possible to stop cards being turned off over the air. Another, known as the KENtucky Fried Chip attack relied on replacing the microcontroller that controlled the smartcard to decoder interface. This attack relied on blocking packets with the smartcard's identification number. The voltage based attack failed after Sky changed to smartcards that used EEPROM technology. * Commercial pirates completely reverse engineered the Sky smartcard, removed the access control routines and created working pirate smartcards using different microcontroller types (typically the
PIC16C84 The PIC16C84, PIC16F84 and PIC16F84A are 8-bit microcontrollers of which the PIC16C84 was the first introduced in 1993 and hailed as the first PIC microcontroller to feature a serial programming algorithm and EEPROM memory. It is a member of th ...
) from that used by Sky. * Hackers also discovered (after the commercial pirate code became public) ways of switching on "dead" cards using a computer and smartcard interface by sending a properly formatted and addressed activation packet to the card. Variations on this attack also allowed existing subscriber cards to be upgraded to more expensive subscription packages. This attack was known as the "Phoenix Hack" after the mythical bird that could bring itself back to life.


Datastream attacks

* Other successful hacks involved sampling the datastream between the card and the decoder, for example you could record a movie and store the decoder information so that people could then use it to decode the same movie that they recorded earlier with a decoder and "dummy" card (the dummy smartcard was an interface that received the synchronised decryption seeds from a computer). The attack was known as the Delayed Data Transfer hack and it worked because the conditional access data, decoder addressing and encrypted keys, were on the video lines that are recorded by normal VCRs and the data rate, unlike that of
Teletext A British Ceefax football index page from October 2009, showing the three-digit page numbers for a variety of football news stories Teletext, or broadcast teletext, is a standard for displaying text and rudimentary graphics on suitably equipp ...
, was slow enough to allow the data to be recorded with the encrypted video.


Decoder card datastream attacks

* The most successful hack on the VideoCrypt system is the "McCormac Hack" devised by John McCormac. This attack involved broadcasting the decryption keys from the decoder-card data live so that other decoders could use it to watch the encrypted channels, effectively sharing a card with several decoders.
Card sharing Card sharing, also known as control word sharing, is a method of allowing multiple clients or digital television receivers to access a subscription television network with only one valid subscription card. This is achieved by electronically sharin ...
is an implementation of the McCormac Hack.


Brute force

* As desktop computing power increased, such a simple system was always inherently vulnerable to brute force 'image-processing' attacks. * Even without any information at all about the cutpoint sequence, adjacent lines in a picture can be 'correlated' to find the best match, and the picture reconstructed. * The ''Brute force method'' will not work for all pictures, but is an interesting proof-of-concept. * Markus Kuhn's Antisky.c program from 1994 is an early example of such an attack. * More recently it has been shown that, using detailed knowledge of the way colour is transmitted in analogue TV systems, 'perfect' reconstruction could be achieved for many scenes. * Cheap PC TV cards (~£40) with particular chipsets (e.g.: Brooktree) were capable of descrambling the image in near real time (sound was delayed to match). This was made possible with software such as MoreTV or hVCPlus and a reasonably fast PC. The picture quality was on par with an old VHS videotape, with some colour distortion depending on PC performance.


References

* * John McCormac: European Scrambling Systems 5 – The Black Book, Waterford University Press, 1996, . * Markus Kuhn
Attacks on pay-TV access control systems
seminar talk slides, 1997. * Markus Kuhn
Some technical details about VideoCrypt
1996. * Markus Kuhn

1994. This C programme reassembles VideoCrypt encoded stills. {{broadcast encryption Satellite television Digital rights management systems Television technology 1989 introductions Telecommunications-related introductions in 1989 Audiovisual introductions in 1989