Project

General

Profile

SysmoUSIM-SJS1 » History » Version 19

laforge, 10/14/2020 04:23 PM

1 4
{{>toc}}
2 1
3 4
h1. sysmoUSIM-SJS1
4
5 19 laforge
*NOTE: As of October 2020, sysmoUSIM-SJS1 is obsolete and has been superseeded by [[sysmoISIM-SJA2]]*
6
7 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).
8 3
9 16 laforge
{{thumbnail(sysmousim-sjs1-h-50p.jpg,size=800)}}
10
11 1
12
13 5 laforge
h2. User Manual
14 1
15 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.
16 1
17 9 dexter
h2. Tools
18 10 dexter
19 17 laforge
h3. pySIM
20 1
21 17 laforge
The sysmoUSIM-SJS1 can be parameterized using pySim and sysmo-usim-tool. 
22 1
23 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. 
24 1
25 17 laforge
Please see the *pySim-prog.py* program from @git://git.osmocom.org/pysim@ (http://git.osmocom.org/pysim/) and 
26
27
h3. sysmo-usim-tool
28
29
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.
30
31
Please see the *sysmo-usim-tool* program from @git://git.sysmocom.de/sysmo-usim-tool@ (http://git.sysmocom.de/sysmo-usim-tool)
32
33
h3. SIM Toolkit
34
35
Please see [[shadysim.py]] for a tutorial on installing and removing a SIM Toolkit applications.
36
37 18 herlesupreeth
h3. VoLTE / Android Carrier Privileges / ARA-M / IMS Configuration
38
39
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.
40
41
See [[VoLTE_IMS_Android_Carrier_Privileges]] for details.
42
43
44 1
h2. Availability
45
46 19 laforge
sysoUSIM-SJS1 is (as of October 2020) no longer available.  Its succesor [[sysmoISIM-SJA2]] is available from http://shop.sysmocom.de/products/sysmoISIM-SJA2
47 6 laforge
48 1
h2. Command Reference
49 17 laforge
50
*Please primarily refer to the user manual for more detailed information!*
51 4
52 1
To understand this reference, it is assumed that you are familiar with basic knowledge on smartcard
53
technologies, such as standard ISO 7816-3/-4 APDUs and GSM TS 11.11.
54
55
The below should be possible to set after authenticating with the ADM1 pin
56
57
58 4
h3. Setting the IMSI
59
60 1
Use a standard UPDATE BINARY command on EF.IMSI (7F20/6F07)
61
62
63 4
h3. Setting the ICCID
64
65 1
Use a standard UPDATE BINARY command on EF.ICCID (2FE2)
66
67
68
h3. Setting the Ki
69 4
70 1
Use a standard UPATE BINARY command on EF.KI (7F20/00FF)
71
72
73 9 dexter
h3. Setting the OP/OPC
74 1
75 9 dexter
Use a standard UPATE BINARY command on the EF.OPC (7F20/00F7)
76 4
77 9 dexter
|_. Offset |_. Size |_. Description |
78
|0|1| 0x00 for OP, 0x01 for OPc|
79
|1|16|OP or OPc value, depending on byte at offset 0|
80 1
81 4
82
h3. Setting the Algorithm(s)
83 2
84
Use a standard UPDATE BINARY command on EF.AUTH (7FCC/6F00)
85
86
Two bytes, first byte for 2G, second byte for 3G.
87 1
88 7 laforge
|_. Value |_. Algorithm |_. Supported Mode |
89
|01|Milenage|2G + 3G|
90
|03|COMP128v1|2G|
91
|04|XOR 2G|2G|
92
|06|COMP128v2|2G|
93
|07|COMP128v3|2G|
94
|08|XOR 3G|3G|
95 8 dexter
96
97
h3. Setting the Milenage parameters (Ci/Ri)
98
99
Use a standard UPATE BINARY command on EF.MLNGC (7FCC/6F01)
100
101
|_. Offset |_. Size |_. Description |
102
|0|16|C1|
103
|16|16|C2|
104
|32|16|C3|
105
|48|16|C4|
106
|64|16|C5|
107
|80|1|R1|
108
|81|1|R2|
109
|82|1|R3|
110
|83|1|R4|
111
|84|1|R5|
Add picture from clipboard (Maximum size: 48.8 MB)