PDA

View Full Version : SIM emulation and asm



PicPa
09-08-2003, 11:29 PM
Hello,

I've succesfully cloned my sim with several programs that I found in this forum. I want to ask if anyone knows how can i create my own .hex files for pic gold card (pic+eeprom). I know that they are in pic asm but I haven't found anywhere sourced of those .hex files or a tutorial on how to create them.

They propably are a3a8 routines for the authentication of the sim to the network but still i can't understand how to do it my self. I have the implementation of the a3a8 (comp128) algorithm in C source (I know C) but I'm just starting with pic asm. So if anyone has resources or a source code that he could share with me i would appreciate it.

thanks.

SirGraham
11-08-2003, 05:59 AM
Hi,

You have the source (with A3/A8) in ASM for the PIC in the Dejan“s page:

http://users.net.yu/~dejan/



GSM a38 Gold & Silver Wafer card (34.246 bytes)

Gsm Sim based on Gold Wafer card (PIC 16F84 & 24lc16) & SIlver Wafer card (PIC 16F876 & 24lc64) is compatible with GSM MoU a38 SIM and allows you to make backup of YOUR SIM. GSM SIM Sliver Wafer card allows you storing to 8 different SIM cards in ONE card with 219 Phone book and 42 SMS positions.


SIMEMU has made from this sorce....

Good luck...

Regards,
Sir Graham,

nokiafreek101
12-08-2003, 02:39 PM
can some one please email me or post a link to a3a8 sources in c.
thanx a lot in advance

PicPa
12-08-2003, 08:54 PM
You can search on google for a3a8 algorithm and you should find lots of results. But then again you can download it from one of these sites:

http://www.scard.org/gsm/a3a8.txt
http://www.mirrors.wiretapped.net/security/cryptography/algorithms/gsm/

ekonomi.

ekonomi
12-08-2003, 09:16 PM
Hi

the scard.org site seems to be down for a long time, as for a3a8 algorithm there is an implementation in c attached.

ekonomi

mygod100
28-03-2004, 03:28 PM
Is there any guider or spec for this code?
the spec of ISO 8716? or any other?
thank you!

ekonomi
29-03-2004, 12:19 AM
Is there any guider or spec for this code?
the spec of ISO 8716? or any other?
thank you!

The algorithm has leaked some years ago from a univ and was also reversed engineered by the ISAAC security research group (check details at http://www.isaac.cs.berkeley.edu/isaac/gsm.html). Other than this you can check the gsm specifications at http://www.etsi.org