Wednesday, February 08, 2006

GSM Milenage – Implementing it at the network level

Of the descriptions I have read explaining GSM Milenage, none clearly explain what is involved in implementing it at a network level. The info that is required to accomplish this is not the nuts and bolts of how the authentication or key generation work (which is more of a software design interest when implementing Milenage) but rather which nodes in the network are affected and what is additionally required at these node.

Generally speaking, GSM Milenage is implemented in networks where A3/A8 authentication and key generation algorithms, which preceded Milenage, are already implemented. So this discussion will start with the requirements of the A3/A8 algorithms on a network level and then show what the additional overhead is for Milenage.
When A3/A8 algorithms are implemented, here’s how authentication and key generation work



The inputs are the Ki and the RAND. The outputs are the SRES (which is derived by applying an algorithm known as A3 to the Ki and RAND) and Kc (which is derived by applying an algorithm known as A8 to the Ki and RAND)



To implement it at a network level, the Ki must be stored on the HLR and the SIM and must be identical to each other. On the HLR and the SIM, the A3/A8 algorithms must be implemented, again identically. Only when these two conditions are met can the SIM and the HLR compute SRES values and Ki values that match one another. The matching of these vlaues computed on two different nodes is the success criteria for authentication and key generation.

Switching to GSM Milenage adds an extra input and replaces the A3/A8 algorithms with Milenage algorithms, which are adapted for a GSM network

The extra input required is the OPc (which, like the Ki, is stored on the SIM card and on the HLR and have to be identical) So SIM cards which support Milenage must contain this extra value known as OPC. Like the Ki, it must be synced between the SIM card and HLR.

It may be that SIM cards already in use in the network may not be upgradeable to support GSM Milenage algorithms. In that instance, both A3/A8 algorithms as well as GSM Milenage algorithms will need to be supported in the network. Either that or all SIM cards must be exchanged for new ones.

To explain how to implement the chage from the A3/A8 algorithm to the Milenage algorithm, we need to look at bit more deeply at the nuts and bolts of the GSM Milenage Algorithm. The A3/A8 algorithm used previously is replaced by five different functions in Milenage: f2, f3 and f4, and two others, which use the outputs of f2, f3 and f4 to compute the Kc and the SRES.


The three functions, f2, f3 and f4, come directly from the Milenage standard. The two functions used to compute the Kc and SRES are the adaptations to Milenage that allow it to be used in the GSM network.

The three functions known as f2, f3 and f4 are defined in the standard for Milenage, 3GPP TS 35.205. Any explanation of those three functions will make this discussion far too complicated. Suffice to say that the definition of these three functions are customer controlled and require that values for six variables, c2, c3, c4, r2, r3, and r4, be chosen and stored identically on the HLR and on the SIM.

The last additional overhead is choosing the SRES derivation function. There are two defined and the one chosen must be the same on both the HLR and the SIM. A Kc derivation function must also be implemeted on the SIM and the HLR but that is a internal requirement for the SIM and the HLR and does not add any further actions when implementing Milenage at a network level.


So implementing Milenage at a network level requires,
1. Ki, and OPc must be stored on the HLR as well as the SIM with identical values.
2. Three functions, f2, f3 and f4 much be implemented on both the HLR and the SIM and six values associated with those functions, c2, c3, c4, r2, r3, and r4, must also be stored identically on the SIM and the HLR.
3. The SRES function chosen must be identically implemented on both the HLR and SIM and the function to compute must also be implemented.

65 comments:

Anonymous said...

Excellent explanation. Thanks

Anonymous said...

Thanks for this explanation. I disagree that OPc is supposed to be provisioned though, OPc is derived from the OP and it is an input to the algorithm but can/should be built into the customised algorithm on both sides.

There has been no updated SIM field for the OP in 3GPP 50.011, and 55.205 v6 section 3.2 is fairly clear that it is not an input.

I'm happy, nay thrilled, to discuss this since I'm working through this now. I am tempted just to use COMP-128 vX instead...

Anonymous said...

Hi, I have a question, the GSM MILENAGE is possible to use on 2G networks not only on 3G?? if that so, I need to be on any GSM association or is free??
can u answer me to this mail please:
oscar.ramirez@emtelsa.com.co
thanks

Adriaan said...

In paragraph 4 you probably meant Kc instead of Ki in the following:
Only when these two conditions are met can the SIM and the HLR compute SRES values and Ki values that match one another.

Anonymous said...

Hi, I have the same question the GSM MILENAGE is possible to use on 2G networks not only on 3G? if that so, I need to be on any GSM association or is free?
can u answer me to this mail please:
smiledee@yandex.ru
Thankyou very much!

Anonymous said...

Infatuation casinos? misfortune this unformed [url=http://www.realcazinoz.com]casino[/url] captain and horseplay online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our untrained [url=http://freecasinogames2010.webs.com]casino[/url] orientate at http://freecasinogames2010.webs.com and suppress to natural fabulously long-way-off !
another late-model [url=http://www.ttittancasino.com]casino spiele[/url] purlieus is www.ttittancasino.com , during german gamblers, crinkle up manumitted online casino bonus.

Anonymous said...

Dear Alisa,

For long time I use this free software: [url=http://www.freeflvtomp3converter.com]FLV to MP3 free converter[/url].

FLV to MP3 free converter is a free YouTube, MegaVideo, Google Video and similar video sites to MP3 Converter and allows you to convert a video to MP3 file.

This software is fast, free, and requires no signup. All you need is a FLV Video file, and this software will extract the MP3, and give you an audio file.

So you are able to listen to your favorite YouTube tracks on every MP3 player.

You can download it for free at [url=http://www.freeflvtomp3converter.com]www.freeflvtomp3converter.com[/url].

This may be useful to you.

Nadir Boussoukaia said...

Brilliant.

Thanks it helped a lot.

Anonymous said...

You could easily be making money online in the underground world of [URL=http://www.www.blackhatmoneymaker.com]blackhat ebook[/URL], It's not a big surprise if you have no clue about blackhat marketing. Blackhat marketing uses not-so-popular or misunderstood avenues to produce an income online.

Term Papers said...

I have been visiting various blogs for my term papers writing research. I have found your blog to be quite useful. Keep updating your blog with valuable information... Regards

Anonymous said...

link to [b]buy software for windows[/b] is available at:

buy software for windows
[url=http://www.buysoftwareforwindows.com]buy software for windows[/url]

[url=http://www.buysoftwareforwindows.com/products/buy-dvd-to-mp3-converter/productpage.php]buy dvd to mp3 converter[/url]

buy dvd to iphone converter

Anonymous said...

Yes, really. And I have faced it. Let's discuss this question.

eco vacations costa rica said...

Hello! Incredible information and very professional, I really enjoy reading this information about "GSM Milenage – Implementing it at the network level". I really love to have more information on the subject and be updated on any updates! thank you very much for sharing!

Penis Enlargement Pills said...

nice posting keep blogging,....
i am very new in blogging, please and kindly visit my blog,..
thanks a lot...♥♥♥♥

cellulite removal said...

Thank you for an additional fantastic blog. Where else could anybody get that sort of information written in such an ideal approach? I have a presentation that I'm simply now engaged on, and I've been on the look out for such information.

Anonymous said...

A wide healthiness program tailored to an person wishes very likely core on sole or more clear-cut skills, and on age-[3] or health-related needs such as bone health.[4] Tons sources[citation needed] also cite mental, social and emotional constitution as an significant ingredient of whole fitness. This is regularly presented in textbooks as a triangle made up of three points, which show physical, emotional, and loony fitness. Material fitness can also forestall or act towards various chronic health conditions brought on past ailing lifestyle or aging.[5] Working pass‚ can also help people forty winks better. To delay sturdy it is mighty to agree in physical activity.
Training

Unique to or task-oriented [url=http://www.pella.pl]fitness[/url] is a human being's gifts to perform in a specific venture with a tolerable efficiency: after example, sports or military service. Spelled out training prepares athletes to appear as wonderfully in their sports.

Examples are:

400 m sprint: in a sprint the athlete should be trained to redundant anaerobically from one end to the other the race.
Marathon: in this wrapper the athlete requirement be trained to production aerobically and their persistence have to be built-up to a maximum.
Multifarious alight fighters and the cops officers undergo unvarying fitness testing to draw if they are skilled of the physically exacting tasks required of the job.
Members of the Partnership States Army and Army Governmental Convoy should be able to pass the Army Palpable Competence Check up on (APFT).

Anonymous said...


Xenical [url=http://www.xenical.vc] Buy Xenical Online [/url]http://www.xenical.vc

Anonymous said...

Zxxlibfdt [url=http://www.oakleymaxjp.com/]オークリー サングラス[/url] Hgokjsgqt Oijjgbglg [url=http://www.oakleymaxjp.com/]オークリー アウトレット[/url] Khsdfsbbl Wbrirymum [url=http://www.oakleymaxjp.com/]オークリー ゴルフ[/url] Yozglcivl Qaulytoix [url=http://www.oakleymaxjp.com/]オークリー メガネ[/url] Ubqkepvgl Xfzprzrgc http://www.oakleymaxjp.com/ Dbuuixdmg

Anonymous said...

Qcnccsrdd [url=http://www.oakleymaxjp.com/]オークリー サングラス[/url] Plcuzaqth Wlpdvlqnb [url=http://www.oakleymaxjp.com/]オークリー アウトレット[/url] Fgttkkpda Jkavsmdbi [url=http://www.oakleymaxjp.com/]オークリー ゴルフ[/url] Gphhgahbh Xcxypitdx [url=http://www.oakleymaxjp.com/]オークリー メガネ[/url] Fahdcabfs Onusmjzxb http://www.oakleymaxjp.com/ Lzclgnace

Anonymous said...

Ouruuqwfk [url=http://www.oakleymaxjp.com/]オークリー サングラス[/url] Gjjqbvyrv Akomqktwn [url=http://www.oakleymaxjp.com/]オークリー アウトレット[/url] Ntdwhturn Rpvaehcrd [url=http://www.oakleymaxjp.com/]オークリー ゴルフ[/url] Qogoargov Pygooleui [url=http://www.oakleymaxjp.com/]オークリー メガネ[/url] Uzavoftyp Yeorndoik http://www.oakleymaxjp.com/ Yrdrxrkxf

Anonymous said...

top [url=http://www.001casino.com/]001[/url] brake the latest [url=http://www.casinolasvegass.com/]free casino games[/url] autonomous no consign perk at the chief [url=http://www.baywatchcasino.com/]casino games
[/url].

Anonymous said...

buy tramadol online tramadol hcl online - tramadol online pharmacy usa

Anonymous said...

xanax online xanax reactions - buy xanax alprazolam online

Anonymous said...

xanax online illegal order xanax online - xanax dosage daily

Anonymous said...

buy tramadol online tramadol 100mg vs vicodin - buy tramadol online usa

Anonymous said...

buy tramadol online ultram side effects in women - tramadol overdose level

Anonymous said...

buy tramadol online buy tramadol online next day delivery - tramadol dosage guidelines

Anonymous said...

buy tramadol online tramadol hcl nsaid - tramadol 50 mg safe

Anonymous said...

xanax mg xanax side effects yahoo - alprazolam 0.5 mg street price

Anonymous said...

can i buy xanax online generic xanax xr cost - buy xanax no prescription

Anonymous said...

xanax online no prescription drug interactions xanax and ibuprofen - xanax effects birth control

Anonymous said...

cialis online is it safe to buy cialis online usa - buy cialis online germany

Anonymous said...

buy tramadol cash on delivery tramadol dosage route - tramadol no prescription overnight cod

Anonymous said...

buy tramadol cod online buy tramadol for dogs - can buy tramadol online usa

Anonymous said...

03 Purchase Sumatriptan - buy sumatriptan without prescription http://www.cheapimitrexbuy.net/#imitrex-price, [url=http://www.cheapimitrexbuy.net/#imitrex-no-prescription]Cheap Imitrex[/url]

Anonymous said...

4, cheap propecia 5mg - cheap finasteride 5mg http://www.propeciasaleonline.net/#cheap-propecia-5mg, [url=http://www.propeciasaleonline.net/#cheap-propecia-5mg]finasteride online[/url]

Anonymous said...

buy tramadol cheap xymel 50mg tramadol - buy tramadol online with american express

Anonymous said...

tramadol 50mg tramadol 50 mg is it a narcotic - tramadol 50 mg vs norco

Anonymous said...

buy tramadol tramadol ultram fibromyalgia - pet meds tramadol no prescription

Anonymous said...

all, buy generic plavix online - buy plavix no prescription http://www.plavixonlineorder.com/#buy-plavix-no-prescription , [url=http://www.plavixonlineorder.com/#low-cost-plavix ]low cost plavix [/url]

Anonymous said...

buy ativan online ativan xanax conversion - lorazepam 1 mg im

Anonymous said...

buy tramadol tramadol drug - tramadol overnight shipping no prescription

Anonymous said...

buy lorazepam online ativan 2.5 mg online - ativan side effects humans

Anonymous said...

buy tramadol online tramadol purchase no prescription - buy tramadol pharmacy

Anonymous said...

buy tramadol online tramadol withdrawal symptoms depression - tramadol ingredients codeine

Anonymous said...

Options include pharmacologic and generic cialis generic cialis,cialis cialis price, generic viagra generic cialis,viagra cialis price
http://genericcialispricegnf.com#cialis pills http://cialisonlinepillsgkd.com#cialis http://genericviagraonlinejvrg.com#generic viagra http://buyviagraonlinertvr.com#viagra

Anonymous said...

phase III clinical trials. The mean change in the erectile function as estimated by erectile function scores was significantly cialis generic cialis,cialis online cialis, generic viagra generic cialis,viagra online cialis price
http://genericcialispricegnf.com#cialis pills http://cialisonlinepillsgkd.com#cialis http://genericviagraonlinejvrg.com#viagra http://buyviagraonlinertvr.com#viagra online

Anonymous said...

In each of the unplanned instances of needle sharing that were observed, the users cialis cialis,cialis cialis, viagra online generic cialis,buy viagra cialis
http://genericcialispricegnf.com#cialis pills http://cialisonlinepillsgkd.com#cialis pills http://genericviagraonlinejvrg.com#generic viagra http://buyviagraonlinertvr.com#viagra

Anonymous said...

Bowers: That a turtle would have an erection in the same cialis cialis price,cialis cialis, viagra online cialis price,viagra online cialis
http://genericcialispricegnf.com#cialis pills http://cialisonlinepillsgkd.com#cialis online http://genericviagraonlinejvrg.com#viagra online http://buyviagraonlinertvr.com#buy viagra

Anonymous said...

Missouri, the auditing system is very similar to cialis price cialis,cialis pills cialis, generic viagra cialis,viagra online generic cialis
http://genericcialispricegnf.com#cialis http://cialisonlinepillsgkd.com#cialis http://genericviagraonlinejvrg.com#viagra http://buyviagraonlinertvr.com#viagra

Anonymous said...

Oklahoma City and San Antonio recorded the generic cialis cialis price,cialis pills cialis, viagra online generic cialis,viagra cialis price
http://genericcialispricegnf.com#cialis online http://cialisonlinepillsgkd.com#cialis online http://genericviagraonlinejvrg.com#viagra online http://buyviagraonlinertvr.com#buy viagra

Anonymous said...

L-Arginine generic cialis cialis price,cialis generic cialis, viagra cialis price,viagra cialis
http://genericcialispricegnf.com#cialis http://cialisonlinepillsgkd.com#cialis http://genericviagraonlinejvrg.com#generic viagra http://buyviagraonlinertvr.com#viagra online

Anonymous said...

Although erectile dysfunction is a common problem, many patients are reluctant to discuss it. Certainly, some patients who present with issues relating to depression or anxiety disorders actually have a significant problem with erectile dysfunction. Additionally, patients who are poorly compliant with medication prescribed for hypertension may be experiencing significant erectile dysfunction. The best way to elicit whether the problem is present is to ask questions about sexual function as a routine part of the examination. cialis cialis price,cialis pills cialis, viagra online generic cialis,buy viagra cialis price
http://genericcialispricegnf.com#cialis pills http://cialisonlinepillsgkd.com#cialis pills http://genericviagraonlinejvrg.com#viagra online http://buyviagraonlinertvr.com#viagra

Anonymous said...

In past cases with other individuals, positive testing in both samples has led to indefinite suspension of drivers or crewmen. cialis price generic cialis,cialis online cialis price, generic viagra generic cialis,viagra generic cialis
http://genericcialispricegnf.com#cialis http://cialisonlinepillsgkd.com#cialis http://genericviagraonlinejvrg.com#viagra http://buyviagraonlinertvr.com#viagra

Anonymous said...

It does not grant undocumented immigrants to incur any land welfare, and prohibits them minimum $20 to Create you eligible for the tally bonus. [url=http://www.hupkp.co.uk/]woohoo online casino[/url] uk online casino De belangrijkste kenmerken van een slot biz zijn de does, All the same, involve Corking subject area and science. http://www.qouar.co.uk/

Anonymous said...

The topographic point bet on the warns Steven I. Lieber, chairwoman of Blare direction pot of Dandy neck opening, L. I. [url=http://www.tasty-onlinecasino.co.uk/]online casino[/url] uk online casino Dalam pertandingan kedua tim ini berhasil di menangkan oleh finales y cobros: 1. http://www.onlinecasinoburger.co.uk/

Anonymous said...

This is the single, most important bit of reform legislation that no one seems to understand, he said [url=http://www.ibydh.co.uk/]your 12 month loans[/url] long term loans uk In the event the interest for your period is just not paid entirely the balance will be added to a mortgage http://www.ibydh.co.uk/

Anonymous said...

tramadol online no prescription generic tramadol - tramadol 50mg

Anonymous said...

great information Some people have noted that they get numbness, do get a slight headache, dizziness sets in or vertigo, fatigue. This is only possible after they do a professional training course in massage therapy, pass the National Certification Exam (NCE), and earn a license.
http://hyderabad.locanto.in/ID_163682523/Male-to-Female-Body-Massage-in-Hyderabad.html

Anonymous said...

buy non-generic ambien buy ambien legally online - buy ambien from us

Unknown said...
This comment has been removed by the author.
Unknown said...

Firstly thanks a lot for such an informative post. I am happy that I found your post while searching for informative posts.

Soma Gen | Ultram Gen

yanmaneee said...

balenciaga speed
balenciaga shoes
lebron james shoes
lebron shoes
goyard tote
golden goose outlet
nike air max 90
coach factory outlet
louboutin shoes
yeezy shoes

yanmaneee said...

supreme clothing
calvin klein outlet
timberland boots
hermes
polo ralph lauren
golden goose
converse shoes
curry 5
calvin klein underwear
offwhite

sesash said...

v7v65q9i84 b5i35d7h78 m9j02s2k90 g3l52n0i20 r2y99v3f97 b8a85g6e11

  • Book reviews