getting MAC failure using osmo-sim-auth for 3G/USIM authentication

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/simtrace@lists.osmocom.org/.

Rupert Lloyd rupert.lloyd at gmail.com
Sat Mar 9 21:45:29 UTC 2013


Good Afternoon,

I am trying to perform USIM/3G authentication using osmo-sim-auth and ran
into the same problem as Stefanos:
http://lists.osmocom.org/pipermail/simtrace/2012-November/000406.html

I followed Benoit's advice to view the details as follows (using the inputs
from the web page):

> rand_bin = stringToByte(a2b_hex('00000000000000000000000000000000'))
> autn_bin = stringToByte(a2b_hex('ec9320c2c2000000e1dd22c1ad3e2d3d'))
> u.authenticate(RAND=rand_bin, AUTN=autn_bin,ctx='3G')
> u.coms()

['INTERNAL AUTHENTICATE apdu: 00 88 00 81 22 10 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 10 EC 93 20 C2 C2 00 00 00 E1 DD 22 C1 AD
3E 2D 3D',
 'sw1, sw2: 98 62 - undefined status',
 (152, 98),
 []]



More information about the simtrace mailing list