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
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
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 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
SIM Access Control - What does ALWAYS mean?
ALWAYS
Always accessible - no restriction EFICCID has this (this is why the ICCID can always be extracted from an examination)
SIM Access Control - What does CHV 1 and 2 mean?
- CARD HOLDER VERIFICATION 1 (CHV1) PIN1.
DF or EF PIN 1 assigned means that access to this file can only occur on successful verification of CHV1 (PIN1) or if it has been disabled. Or alternatively if the unblock CHV1 (PUK 1 may have been utilised during the connection session) - CARD HOLDER VERIFICATION 2 (CHV2). PIN2
Access can only occur to this EF if the CHV2 (PIN 2) has been disabled or verified correctly. Alternatively the unblock CHV2 (PUK2) may have been utilised during the connection session
SIM Access Control - what does ADMINISTRATIVE mean?
- ADMINISTRATIVE if enabled on an EF, access can only occur when the prescribed requirements have been completed - set by the administrative authority
SIM Access Control - what does NEVER mean?
- NEVER. Access to file via SIM interface is forbidden / denied.