Week 4 - SIM / UICC Flashcards
What is a SIM and UICC?
The most general term for a smart card (a micro-controller based access module) - not just for mobile communication purposes is Integrated Circuit Card (ICC)
Subscriber Identity Module (SIM) is the ICC defined for 2G GSM networks including the physical card & logical application
Universal Integrated Circuit Card (UICC) is the physical card as defined by UMTS, LTE & 5G networks
Universal Subscriber Identity Module (USIM) is the logical application as designed for the UMTS, LTE & 5G networks.
It is possible to have a number of USIM applications installed on one UICC
There are 3 types of ICC in mobile devices. What is the role of all 3?
All three types of ICC in mobile devices are designed to:
-Identify & authenticate the user
- Set up encryption on the network
- Provide secure storage for user & network data (limited amount on UICC which are portable).
List the three main types of ICC in mobile devices
- GSM Subscriber Identity Module (SIM)
-Hosts a single SIM application
- Provides a GSM service for GSM devices
- Provides GSM service only even if inserted in a 3g or 4g or 5g device - Single Application Card (USIM) with UICC
- hosts a single USIM application
- provides a 2g / 3g / 4g / 5g service in a compatible device
- A USIM will not provide any service if installed in a GSM device so should not find one in a GSM device - Multi application card (one SIM with multiple CSIM / USIM etc) with a UICC
- hosts multiple applications on one card
- provides a GSM service if intalled in a GSM device
- provides CDMA / 3g /4g/ 5g service if installed in a compatible device
Additional types of ICC in mobile devices
RUIM - Removeable User Identity Module.
An ICC that allows a GSM subsrciber to operate on a CDMA network.
The RUIM will contain a SIM and CSIM application.
A CDMA Subscriber Identity Module (CSIM) is an application that allows a subscriber to operate on a CDMA network.
SIM card types - size and capacity
First Form Factor 1FF was size of credit card
Second Form Factor (2FF) plug in SIM
Third Form Factor (3FF) Micro SIM
Fourth Form Factor (4FF) Nano SIM
Backward compatible - same connection and contact area is used between all.
Machine 2 Machine Form Factor (M2MFF) also called embedded SIM or eSIM or embedded UICC (eUICC) - permanent installation e.g vehicles kindle e-readers. Can contain multiple profiles but only one can be active at a time. Has remote manangement
SIM Components
SIM is mini computer - with working memory (RAM), operating software (ROM) Data Store area (E PROM min size 16kb modern devices up to 128kb - still v small compared to device memory sizes), micro processsor and serial input / output. (see diagram of SIM components).
(An EPROM, or erasable programmable read-only memory, is a type of programmable read-only memory chip that retains its data when its power supply is switched off.)
SIM has a defined set of connections 8 connector pins.
Pin 3 is for data input and output, Pin 4 is clock connection, pin 5 and 6 are supply voltage connections, pin 7 is ground connection. Modern cards can operate of 5, 3 and 1.8 volts DC.
‘under the hood’ of SIMs
The electronic chip is bonded to the metal contacts with adhesive
Connection between the chip and metal contacts is via ultra fine bond wire.
The chip is encapsulated and bonded to the chip plastic.
If chip is deliberately damaged it is usually the bond wire(s) that break. Can be overcome by decapsulation of the chip and probing directly to the contacts on the chip
Describe the SIM file structure
The SIM file structure is a hierachical File Tree sturcture.
3 types of file
- Master File (MF)
Mandatory root files containing access conditions & the DFs and EFs (i.e all the other files are contained in the MF) - Dedicated File (DF)
Underneath the MF in structure & can contain access conditions & other DF & MF (like sub folders). Remember first level DF and second level DF (see power point p.10) - Elementary File (EF)
Usually sits underneath a DF in structure & contains access conditions and defined formatted data but there are exceptions… Some EF sit directly under the MF. Some EF are mandatory some are optional
What are FIRST Level DEDICATED files?
First level Dedicated files are dedicated files that sit directly under the MASTER file.
Give an example of 2 FIRST level DEDICATED files
DFtelecom and DFgsm
DFtelecom contains service related information. 2 byte identifer is 0x7F10
DFgsm contains network information. 2 byte identifier is 0x7F20
What are SECOND level DEDICATED files?
Second level Dedicated files are dedicated files that are contained within other dedicated plans
Give 4 examples of SECOND level DEDICATED files
DFiridium
DFglobalstar
DFICO
DFSOLSA
Where do ELEMENTARY files sit?
Some sit directly in the master file, most sit in dedicated files
Give 2 examples of ELEMENTARY files that sit directly under the MASTER file
EFICCID (a mandatory EF). Has 2 byte identifer of 0x2FE2
EFpl (an optional EF). 0x2F05
SIM File structure - First Byte Values
First byte for GSM identifies the type of file.
3F = first byte identifier for the Master File
7F = First Level Dedicated File
5F = Second Level Dedicated File
2F = Elementary File under the Master File
6F = Elementary File under First Level Dedicated File
4F = Elementary File under Second Level Dedicated File
What is the first byte identifer for the master file?
3F
And the full file 2 byte identifer is 0x3F00
MF, DF & EF Identifiers
A selection of 2 Byte Value Identifiers for the MF and each individual DF and EF
MF (0x3F00)
DFTELECOM (0x7F10)– EFADN (0x6F3A) , EFFDN (0x6F3B),
EFMSISDN (0x6F40), EFSMS (0x6F3C)
DFGSM (0x7F20)– EFIMSI (0x6F07) , EFKC (0x6F20) , EFLOCI (0x6F7E) , EFFPLMN(0x6F7B)
EFICCID (0x2FE2)
EFPL previously EFELP (0x2F05)
DFIRIDIUM (0x5F30)
DFGLOBALSTAR (0x5F31)
DFPCS1900 (0x5F40
What is the first byte identifer for the First level dedicated file?
7F
What are the 5 types of SIM File Access Control?
Security Mechanisms on a SIM - EFs on a SIM can be assigned different access control.
There are 5 different access controls:
- ALWAYS
- Cardholder Verification 1 (CHV1)
- Card Holder Verification 2 (CHV2
- ADMINISTRATION
- NEVER