请输入您要查询的百科知识:

 

词条 A5/1
释义

  1. History and usage

  2. Description

  3. Security

     Known-plaintext attacks  Attacks on A5/1 as used in GSM 

  4. See also

  5. Notes

  6. References

  7. External links

A5/1 is a stream cipher used to provide over-the-air communication privacy in the GSM cellular telephone standard. It is one of seven algorithms which were specified for GSM use.[1] It was initially kept secret, but became public knowledge through leaks and reverse engineering. A number of serious weaknesses in the cipher have been identified.

History and usage

A5/1 is used in Europe and the United States. A5/2 was a deliberate weakening of the algorithm for certain export regions.[2] A5/1 was developed in 1987, when GSM was not yet considered for use outside Europe, and A5/2 was developed in 1989. Though both were initially kept secret, the general design was leaked in 1994 and the algorithms were entirely reverse engineered in 1999 by Marc Briceno from a GSM telephone. In 2000, around 130 million GSM customers relied on A5/1 to protect the confidentiality of their voice communications; by 2014, it was 7.2 billion.[3]

Security researcher Ross Anderson reported in 1994 that "there was a terrific row between the NATO signal intelligence agencies in the mid-1980s over whether GSM encryption should be strong or not. The Germans said it should be, as they shared a long border with the Warsaw Pact; but the other countries didn't feel this way, and the algorithm as now fielded is a French design."[4]

Description

A GSM transmission is organised as sequences of bursts. In a typical channel and in one direction, one burst is sent every 4.615 milliseconds and contains 114 bits available for information. A5/1 is used to produce for each burst a 114 bit sequence of keystream which is XORed with the 114 bits prior to modulation. A5/1 is initialised using a 64-bit key together with a publicly known 22-bit frame number. Older fielded GSM implementations using Comp128v1 for key generation, had 10 of the key bits fixed at zero, resulting in an effective key length of 54 bits. This weakness was rectified with the introduction of Comp128v3 which yields proper 64 bits keys. When operating in GPRS / EDGE mode, higher bandwidth radio modulation allows for larger 348 bits frames, and A5/3 is then used in a stream cipher mode to maintain confidentiality.

A5/1 is based around a combination of three linear feedback shift registers (LFSRs) with irregular clocking. The three shift registers are specified as follows:

LFSR
number
Length in
bits
Feedback
polynomial
Clocking
bit
Tapped
bits
1 19 8 13, 16, 17, 18
2 22 10 20, 21
3 23 10 7, 20, 21, 22

The bits are indexed with the least significant bit (LSB) as 0.

The registers are clocked in a stop/go fashion using a majority rule. Each register has an associated clocking bit. At each cycle, the clocking bit of all three registers is examined and the majority bit is determined. A register is clocked if the clocking bit agrees with the majority bit. Hence at each step at least two or three registers are clocked, and each register steps with probability 3/4.

Initially, the registers are set to zero. Then for 64 cycles, the 64-bit secret key is mixed in according to the following scheme: in cycle , the ith key bit is added to the least significant bit of each register using XOR —

Each register is then clocked.

Similarly, the 22-bits of the frame number are added in 22 cycles. Then the entire system is clocked using the normal majority clocking mechanism for 100 cycles, with the output discarded. After this is completed, the cipher is ready to produce two 114 bit sequences of output keystream, first 114 for downlink, last 114 for uplink.

Security

A number of attacks on A5/1 have been published, and the American National Security Agency is able to routinely decrypt A5/1 messages according to released internal documents.[5]

Some attacks require an expensive preprocessing stage after which the cipher can be broken in minutes or seconds. Until recently, the weaknesses have been passive attacks using the known plaintext assumption. In 2003, more serious weaknesses were identified which can be exploited in the ciphertext-only scenario, or by an active attacker. In 2006 Elad Barkan, Eli Biham and Nathan Keller demonstrated attacks against A5/1, A5/3, or even GPRS that allow attackers to tap GSM mobile phone conversations and decrypt them either in real-time, or at any later time.

According to professor Jan Arild Audestad, at the standardization process which started in 1982, A5/1 was originally proposed to have a key length of 128 bits. At that time, 128 bits was projected to be secure for at least 15 years. It is now believed that 128 bits would in fact also still be secure until the advent of quantum computing. Audestad, Peter van der Arend, and Thomas Haug says that the British insisted on weaker encryption, with Haug saying he was told by the British delegate that this was to allow the British secret service to eavesdrop more easily. The British proposed a key length of 48 bits, while the West Germans wanted stronger encryption to protect against East German spying, so the compromise became a key length of 54 bits.[6]

Known-plaintext attacks

The first attack on the A5/1 was proposed by Ross Anderson in 1994. Anderson's basic idea was to guess the complete content of the registers R1 and R2 and about half of the register R3. In this way the clocking of all three registers is determined and the second half of R3 can be computed.[4]

In 1997, Golic presented an attack based on solving sets of linear equations which has a time complexity of 240.16 (the units are in terms of number of solutions of a system of linear equations which are required).

In 2000, Alex Biryukov, Adi Shamir and David Wagner showed that A5/1 can be cryptanalysed in real time using a time-memory tradeoff attack,[7] based on earlier work by Jovan Golic.[8] One tradeoff allows an attacker to reconstruct the key in one second from two minutes of known plaintext or in several minutes from two seconds of known plain text, but he must first complete an expensive preprocessing stage which requires 248 steps to compute around 300 GB of data. Several tradeoffs between preprocessing, data requirements, attack time and memory complexity are possible.

The same year, Eli Biham and Orr Dunkelman also published an attack on A5/1 with a total work complexity of 239.91 A5/1 clockings given 220.8 bits of known plaintext. The attack requires 32 GB of data storage after a precomputation stage of 238.[9]

Ekdahl and Johansson published an attack on the initialisation procedure which breaks A5/1 in a few minutes using two to five minutes of conversation plaintext.[10] This attack does not require a preprocessing stage. In 2004, Maximov et al. improved this result to an attack requiring "less than one minute of computations, and a few seconds of known conversation". The attack was further improved by Elad Barkan and Eli Biham in 2005.[11]

Attacks on A5/1 as used in GSM

In 2003, Barkan et al. published several attacks on GSM encryption.[12] The first is an active attack. GSM phones can be convinced to use the much weaker A5/2 cipher briefly. A5/2 can be broken easily, and the phone uses the same key as for the stronger A5/1 algorithm. A second attack on A5/1 is outlined, a ciphertext-only time-memory tradeoff attack which requires a large amount of precomputation.

In 2006, Elad Barkan, Eli Biham, Nathan Keller published the full version of their 2003 paper, with attacks against A5/X сiphers. The authors claim:[13] {{quotation|We present a very practical ciphertext-only cryptanalysis of GSM encrypted communication, and various active attacks on the GSM protocols. These attacks can even break into GSM networks that use "unbreakable" ciphers. We first describe a ciphertext-only attack on A5/2 that requires a few dozen milliseconds of encrypted off-the-air cellular conversation and finds the correct key in less than a second on a personal computer. We extend this attack to a (more complex) ciphertext-only attack on A5/1. We then describe new (active) attacks on the protocols of networks that use A5/1, A5/3, or even GPRS. These attacks exploit flaws in the GSM protocols, and they work whenever the mobile phone supports a weak cipher such as A5/2. We emphasize that these attacks are on the protocols, and are thus applicable whenever the cellular phone supports a weak cipher, for example, they are also applicable for attacking A5/3 networks using the cryptanalysis of A5/1. Unlike previous attacks on GSM that require unrealistic information, like long known plaintext periods, our attacks are very practical and do not require any knowledge of the content of the conversation. Furthermore, we describe how to fortify the attacks to withstand reception errors. As a result, our attacks allow attackers to tap conversations and decrypt them either in real-time, or at any later time.}}

In 2007 Universities of Bochum and Kiel started a research project to create a massively parallel FPGA-based cryptographic accelerator COPACOBANA. COPACOBANA was the first commercially available solution[14] using fast time-memory trade-off techniques that could be used to attack the popular A5/1 and A5/2 algorithms, used in GSM voice encryption, as well as the Data Encryption Standard (DES). It also enables brute force attacks against GSM eliminating the need of large precomputed lookup tables.

In 2008, the group The Hackers Choice launched a project to develop a practical attack on A5/1. The attack requires the construction of a large look-up table of approximately 3 terabytes. Together with the scanning capabilities developed as part of the sister project, the group expected to be able to record any GSM call or SMS encrypted with A5/1, and within about 3–5 minutes derive the encryption key and hence listen to the call and read the SMS in clear. But the tables weren't released.[16]

A similar effort, the [https://web.archive.org/web/20090821163913/http://reflextor.com/trac/a51/wiki A5/1 Cracking Project], was announced at the 2009 Black Hat security conference by cryptographers Karsten Nohl and Sascha Krißler. It created the look-up tables using Nvidia GPGPUs via a peer-to-peer distributed computing architecture. Starting in the middle of September 2009, the project ran the equivalent of 12 Nvidia GeForce GTX 260. According to the authors, the approach can be used on any cipher with key size up to 64-bits.[17]

In December 2009, the A5/1 Cracking Project attack tables for A5/1 were announced by Chris Paget and Karsten Nohl. The tables use a combination of compression techniques, including rainbow tables and distinguished point chains. These tables constituted only parts of the 1.7 TB completed table and had been computed during three months using 40 distributed CUDA nodes and then published over BitTorrent and Google drive that is provided by community member Farid Nasiri [15][16][17][18][19] More recently the project has announced a switch to faster ATI Evergreen code, together with a change in the format of the tables and Frank A. Stevenson announced breaks of A5/1 using the ATI generated tables.[20]

Documents leaked by Edward Snowden in 2013 state that the NSA "can process encrypted A5/1".[21]

See also

  • A5/2
  • KASUMI, also known as A5/3
  • Cellular Message Encryption Algorithm

Notes

1. ^{{cite web|url=http://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_37/Docs/SP-070671.zip|title=Prohibiting A5/2 in mobile stations and other clarifications regarding A5 algorithm support}}
2. ^{{cite web | first = Jeremy | last = Quirke | title = Security in the GSM system | publisher = AusMobile | date = 2004-05-01 | url = http://www.ausmobile.com/downloads/technical/Security+in+the+GSM+system+01052004.pdf | access-date = 8 September 2008 | archive-url = https://web.archive.org/web/20040712061808/http://www.ausmobile.com/downloads/technical/Security%20in%20the%20GSM%20system%2001052004.pdf | archive-date = 12 July 2004 | dead-url = yes | df = dmy-all }}
3. ^{{Cite news|url=https://www.independent.co.uk/life-style/gadgets-and-tech/news/there-are-officially-more-mobile-devices-than-people-in-the-world-9780518.html|title=There are officially more mobile devices than people in the world|date=2014-10-07|work=The Independent|access-date=2017-12-19|language=en-GB}}
4. ^{{cite newsgroup | title = A5 (Was: HACKING DIGITAL PHONES) | author = Ross Anderson | date = 1994-06-17 | newsgroup = uk.telecom |message-id= 2ts9a0$95r@lyra.csx.cam.ac.uk | url = https://groups.google.com/groups?selm=2ts9a0%2495r%40lyra.csx.cam.ac.uk}}
5. ^NSA Able To Crack A5/1 Cellphone Crypto - Slashdot
6. ^http://www.aftenposten.no/nyheter/uriks/Sources-We-were-pressured-to-weaken-the-mobile-security-in-the-80s-7413285.html#.UtBeNpD_sQs
7. ^{{cite journal | authorlink = Alex Biryukov | first = Alex | last = Biryukov |author2= Adi Shamir|author3= David Wagner | title = Real Time Cryptanalysis of A5/1 on a PC | journal = Fast Software Encryption—FSE 2000 | pages = 1–18 | url = http://www.crypto.com/papers/others/a5.ps}}
8. ^{{cite journal | first = Jovan Dj. | last = Golic | title = Cryptanalysis of Alleged A5 Stream Cipher | work = EUROCRYPT 1997 | year = 1997 | pages = 239–55 | url = http://saluc.engr.uconn.edu/refs/stream_cipher/golic97A5.pdf | journal = | access-date = 13 January 2016 | archive-url = https://web.archive.org/web/20100715211638/http://saluc.engr.uconn.edu/refs/stream_cipher/golic97A5.pdf | archive-date = 15 July 2010 | dead-url = yes | df = dmy-all }}
9. ^{{cite journal | first = Eli | last = Biham |author2= Orr Dunkelman | title = Cryptanalysis of the A5/1 GSM Stream Cipher | year = 2000 | journal = Indocrypt 2000 | pages =43–51}}
10. ^{{cite journal | first = Patrik | last = Ekdahl |author2= Thomas Johansson | title = Another attack on A5/1 | journal = IEEE Transactions on Information Theory | volume = 49 | issue = 1 | pages = 284–89 | year = 2003 | url = http://www.it.lth.se/patrik/papers/a5full.pdf | doi = 10.1109/TIT.2002.806129 | archive-url=https://web.archive.org/web/20050525191646/http://www.it.lth.se/patrik/papers/a5full.pdf | archive-date=25 May 2005}}
11. ^{{cite journal | first = Elad | last = Barkan |author2= Eli Biham | title = Conditional Estimators: An Effective Attack on A5/1 | journal = Selected Areas in Cryptography 2005 | year = 2005 | pages = 1–19}}
12. ^{{cite journal | first = Elad | last = Barkan |author2= Eli Biham|author3= Nathan Keller | title = Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication | year = 2003 | journal = Crypto 2003 | pages = 600–16 | url = http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/2006/CS/CS-2006-07.pdf}}
13. ^{{cite web | url = http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/2006/CS/CS-2006-07.pdf | title = Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication by Barkan and Biham of Technion (Full Version) | first = Elad | last = Barkan |author2= Eli Biham|author3= Nathan Keller}}
14. ^{{cite journal | first = Tim | last = Gueneysu |author2= Timo Kasper|author3= Martin Novotný|author4= Christof Paar|author5= Andy Rupp | title = Cryptanalysis with COPACOBANA | url = http://www.sciengines.com/copacobana/paper/TC_COPACOBANA.pdf | journal = Transactions on Computers Nov. 2008 | year = 2008 | pages = 1498–1513 | volume = 57}}
15. ^{{Cite conference| conference = 26th Chaos Communication Congress (26C3):| last = Nohl| first = Karsten|author2= Chris Paget| title = GSM: SRSLY?| accessdate = 2009-12-30| date = 2009-12-27| url = https://events.ccc.de/congress/2009/Fahrplan/events/3654.en.html| archiveurl= https://web.archive.org/web/20100106084817/http://events.ccc.de/congress/2009/Fahrplan/events/3654.en.html| archivedate= 6 January 2010 | deadurl= no}}
16. ^{{cite web|url=https://har2009.org/program/attachments/119_GSM.A51.Cracking.Nohl.pdf |title=Archived copy |accessdate=2009-12-29 |deadurl=yes |archiveurl=https://web.archive.org/web/20110726142029/https://har2009.org/program/attachments/119_GSM.A51.Cracking.Nohl.pdf |archivedate=26 July 2011 }} Subverting the security base of GSM. Karsten Nohl and Sascha Krißler
17. ^{{cite news|url=https://www.nytimes.com/2009/12/29/technology/29hack.html|title=Cellphone Encryption Code Is Divulged|first=Kevin|last=O'Brien|date=2009-12-28|accessdate=2009-12-29|work=New York Times| archiveurl= https://web.archive.org/web/20110429225151/http://www.nytimes.com/2009/12/29/technology/29hack.html| archivedate=29 April 2011| deadurl= no}}
18. ^{{cite news |url=http://www.pcworld.com/article/185542/hackers_show_its_easy_to_snoop_on_a_gsm_call.html |title=Hackers Show It's Easy to Snoop on a GSM Call |first=Robert |last=McMillan |work=IDG News Service }}
19. ^{{cite web |title=Direct Link A5/1 rainbow Table in Google drive |author=Nohl, Karsten|url=https://opensource.srlabs.de/projects/a51-decrypt/wiki/wiki}}
20. ^{{cite web |archiveurl=https://web.archive.org/web/20120306125406/http://lists.lists.reflextor.com/pipermail/a51/2010-May/000605.html |title=Cracks beginning to show in A5/1 |author=Frank A. Stevenson |date=2010-05-01 |archivedate=2012-03-06 |url=http://lists.lists.reflextor.com/pipermail/a51/2010-May/000605.html}}
21. ^{{cite news |url=https://www.washingtonpost.com/business/technology/by-cracking-cellphone-code-nsa-has-capacity-for-decoding-private-conversations/2013/12/13/e119b598-612f-11e3-bf45-61f69f54fc5f_story.html |title=By cracking cellphone code, NSA has ability to decode private conversations |newspaper=The Washington Post |first1=Craig |last1=Timberg |first2=Ashkan |last2=Soltani |date=13 December 2013 |access-date=28 September 2016}}

References

  • {{cite web

| first = Greg | last = Rose
| title = A precis of the new attacks on GSM encryption | publisher = QUALCOMM Australia | date = 2003-09-10
| url = http://www.qualcomm.com.au/PublicationsDocs/GSM_Attacks.pdf
}}
  • {{cite journal

| first = Alexander | last = Maximov |author2= Thomas Johansson|author3= Steve Babbage
| title = An Improved Correlation Attack on A5/1
| journal = Selected Areas in Cryptography 2004 | year = 2004 | pages = 1–18
}}

External links

  • {{cite web

| first = Marc | last = Briceno |author2= Ian Goldberg|author3= David Wagner | date = 1999-10-23
| url = http://www.scard.org/gsm/a51.html
| title = A pedagogical implementation of the GSM A5/1 and A5/2 "voice privacy" encryption algorithms
}}
  • {{cite web

| date = 2009-08-25
| url = http://www.neowin.net/news/main/09/08/25/huge-gsm-flaw-allows-hackers-to-listen-in-on-voice-calls
| archive-url = http://arquivo.pt/wayback/20091014125402/http://www.neowin.net/news/main/09/08/25/huge-gsm-flaw-allows-hackers-to-listen-in-on-voice-calls
| dead-url = yes
| archive-date = 2009-10-14
| title = Huge GSM flaw allows hackers to listen in on voice calls
  • {{cite news

| url = http://www.cs.technion.ac.il/%7Ebarkan/GSM-Media/HaaretzInternetEnglish.pdf
| title = Technion team cracks GSM cellular phone encryption | work = Haaretz
| first = Hadar | last = Horesh | date = 2003-09-03
}}
  • {{cite web

| url = http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-info.cgi?2006/CS/CS-2006-07
| title = Instant Ciphertext-Only Cryptanalysis of GSM Encrypted Communication (Technical Report CS-2006-07)
| first = Elad | last = Barkan |author2= Eli Biham|author3= Nathan Keller |date=July 2006
}}
  • {{cite web

|url=http://www.ma.huji.ac.il/~nkeller
|title=Nathan Keller's Homepage
|deadurl=yes
|archiveurl=https://web.archive.org/web/20080604000934/http://www.ma.huji.ac.il/~nkeller/
|archivedate=4 June 2008
|df=dmy
}}
  • {{cite web

| url = http://l-system.net.pl/crypto/A5_1_stream_cipher.svg
| title = Animated SVG showing A5/1 stream cypher
| deadurl = yes
| archiveurl = https://web.archive.org/web/20120326211404/http://l-system.net.pl/crypto/A5_1_stream_cipher.svg
| archivedate = 26 March 2012
| df = dmy-all{{Cryptography navbox | stream}}{{Use dmy dates|date=August 2016}}{{DEFAULTSORT:A5 1}}

5 : Stream ciphers|Broken stream ciphers|Mobile telecommunications standards|3GPP standards|GSM standard

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 16:18:42