GSM security under threat I
![]()
Soon even a neighbour of average intelligence will be able to listen to our calls. Reality, or just another empty threat?

Security in second-generation mobile networks is essentially nonexistent. Communication is encrypted only on the Um interface, between the BTS base station and the mobile phone, using the twenty-year-old A5/1 algorithm. A generator produces a stream cipher, which is logically added to the original data bit by bit. The cipher therefore operates at the first, physical layer, which can be intercepted directly.
Several attacks on the A5/1 cipher have already been published over the years. In March 2008, we reported on two security experts who presented a USD 1,000 device capable of decoding communications within 30 minutes at Black Hat, a conference where specialists and company representatives meet hackers.
The A5/1 cipher is initialised using a 64-bit key and a known 22-bit frame number. The current implementation also adds 10 zeros, so the effective key length is only 54 bits. GSM essentially works with so-called bursts: data is transmitted in blocks 114 bits long. One of the service bursts always has a known form, so an attacker knows the original and captures its encrypted form — a known-plaintext attack. This allows a table of the keys used and a codebook to be constructed.
Cryptographer Karsten Nohl announced the creation of just such a table a few days ago at a conference in Berlin (read his presentation in English). The raw size of the A5/1 cipher’s codebook is 128 petabytes — 128,000 terabytes — and calculating it would take a processor with a single computing thread at least a hundred thousand years. Ordinary processors, however, were replaced by graphics processors, primarily NVIDIA, based on the CUDA architecture. Through extensive parallelisation, an NVIDIA GTX280 or ATI HD5870 can calculate 500 keys per second. With 40 CUDA processors and further optimisation, the time required to construct the table falls to just three months. Optimisation and so-called rainbow tables have reduced its total size to just 2 TB. Anyone can also contribute to the calculation by downloading the necessary program. The table is then to be shared through BitTorrent.
Karsten Nohl is certainly not ashamed of breaking GSM protection (photo: www.thetechherald.com).
You may well be thinking that the table is no cure-all and that something is still missing for successfully intercepting other people’s calls. Yes: radio equipment is needed to capture communications on the relevant frequency. Unfortunately, Nohl also offers several concrete and, above all, inexpensive solutions here. For example, the Ettus Research USRP2 can capture a spectrum up to 25 MHz wide, while a single communications channel is only 200 kHz wide, with a maximum of eight voice/data connections in one channel. The signal processor used for decoding can be replaced by an open-source software solution, OpenBTS.
From this perspective, third-generation networks are considerably better off. Encryption uses 128-bit keys, and above all, capturing the communications itself remains a much tougher challenge in practice than with GSM. Communication between the base station and the mobile phone does not take place in frequency channels and fixed time slots, but uses the entire bandwidth — 5 MHz for conventional UMTS. At the physical layer, so-called spreading takes place using orthogonal codes. If the reverse operation is performed at the receiving end using a different code, the receiver obtains only noise. Irregular timing of the communications further complicates matters for an attacker.
GSM network security is truly poor, and if it is not happening already, we will soon see “expert services” offering to intercept anyone’s calls at any time for a fee. Unless you use the phone to plan the overthrow of the state or transfers of billions to foreign accounts, however, you can essentially be entirely indifferent to this danger. And how do people communicate when they really do not want to be overheard? They use modified phones that perform real-time end-to-end encryption, directly between one another.
Are you interested in your own GSM transmitter at your business? But note that operating a BTS is not authorised within the EU! slovakia @ alibaba sk










