Project

General

Profile

SysmoUSIM-SJS1 » History » Version 18

herlesupreeth, 01/19/2020 05:38 PM

1 4
{{>toc}}
2 1
3 4
h1. sysmoUSIM-SJS1
4
5 1
The sysmoUSIM-SJS1 is programmable and Java capable USIM card. Not all commands are known yet and this page should grow over time. Each card is using a separate ADM1 key and the default configuration is hacker/developer friendly (fields being writable, reduced security for installing applets to have more quick development cycles).
6 3
7 16 laforge
{{thumbnail(sysmousim-sjs1-h-50p.jpg,size=800)}}
8
9 1
10
11 5 laforge
h2. User Manual
12 1
13 17 laforge
sysmocom provides a comprehensive user manual at https://sysmocom.de/manuals/sysmousim-manual.pdf - please refer to that manual rather than this rarely maintained wiki page for most up-to-date reference information.
14 1
15 9 dexter
h2. Tools
16 10 dexter
17 17 laforge
h3. pySIM
18 1
19 17 laforge
The sysmoUSIM-SJS1 can be parameterized using pySim and sysmo-usim-tool. 
20 1
21 17 laforge
PySim provides the common general bulk provisioning features, which are already known from MagicSIM and previous sysmocom simcard models. Most of the settings (like Ki, ICCIC, OPC, etc...) listed below are covered by PySim. 
22 1
23 17 laforge
Please see the *pySim-prog.py* program from @git://git.osmocom.org/pysim@ (http://git.osmocom.org/pysim/) and 
24
25
h3. sysmo-usim-tool
26
27
For tweaking higly sysmoUSIM-SJS1 specific parameters (authentication algorithms, milenage parameters, enable/disable USIM application etc...), sysmo-usim-tool can be used. For more information see section "7.2 sysmo-usim-tool" in the provided manual.
28
29
Please see the *sysmo-usim-tool* program from @git://git.sysmocom.de/sysmo-usim-tool@ (http://git.sysmocom.de/sysmo-usim-tool)
30
31
h3. SIM Toolkit
32
33
Please see [[shadysim.py]] for a tutorial on installing and removing a SIM Toolkit applications.
34
35 18 herlesupreeth
h3. VoLTE / Android Carrier Privileges / ARA-M / IMS Configuration
36
37
If you want to use IMS (VoLTE/VoWiFi) on android devices, you will need to grant an android app special carrier privileges. This is done by storing a hash of the singing key of the android app on the SIM.
38
39
See [[VoLTE_IMS_Android_Carrier_Privileges]] for details.
40
41
42 6 laforge
h2. Availability
43 1
44
sysoUSIM-SJS1 is available from http://shop.sysmocom.de/ in both 2FF+3FF (micro) and 2FF+4FF (nano) form factors.
45 6 laforge
46
47 1
h2. Command Reference
48 17 laforge
49
*Please primarily refer to the user manual for more detailed information!*
50 4
51 1
To understand this reference, it is assumed that you are familiar with basic knowledge on smartcard
52
technologies, such as standard ISO 7816-3/-4 APDUs and GSM TS 11.11.
53
54
The below should be possible to set after authenticating with the ADM1 pin
55
56
57 4
h3. Setting the IMSI
58
59 1
Use a standard UPDATE BINARY command on EF.IMSI (7F20/6F07)
60
61
62 4
h3. Setting the ICCID
63
64 1
Use a standard UPDATE BINARY command on EF.ICCID (2FE2)
65
66
67
h3. Setting the Ki
68 4
69 1
Use a standard UPATE BINARY command on EF.KI (7F20/00FF)
70
71
72 9 dexter
h3. Setting the OP/OPC
73 1
74 9 dexter
Use a standard UPATE BINARY command on the EF.OPC (7F20/00F7)
75 4
76 9 dexter
|_. Offset |_. Size |_. Description |
77
|0|1| 0x00 for OP, 0x01 for OPc|
78
|1|16|OP or OPc value, depending on byte at offset 0|
79 1
80 4
81
h3. Setting the Algorithm(s)
82 2
83
Use a standard UPDATE BINARY command on EF.AUTH (7FCC/6F00)
84
85
Two bytes, first byte for 2G, second byte for 3G.
86 1
87 7 laforge
|_. Value |_. Algorithm |_. Supported Mode |
88
|01|Milenage|2G + 3G|
89
|03|COMP128v1|2G|
90
|04|XOR 2G|2G|
91
|06|COMP128v2|2G|
92
|07|COMP128v3|2G|
93
|08|XOR 3G|3G|
94 8 dexter
95
96
h3. Setting the Milenage parameters (Ci/Ri)
97
98
Use a standard UPATE BINARY command on EF.MLNGC (7FCC/6F01)
99
100
|_. Offset |_. Size |_. Description |
101
|0|16|C1|
102
|16|16|C2|
103
|32|16|C3|
104
|48|16|C4|
105
|64|16|C5|
106
|80|1|R1|
107
|81|1|R2|
108
|82|1|R3|
109
|83|1|R4|
110
|84|1|R5|
Add picture from clipboard (Maximum size: 48.8 MB)