SIM Card
SIM Card
SIM Card
SIM Card
Acknowledgement
2009
N.C. Dhandhukia
N.C. Bhuva
Page 2
SIM Card
Index
Page NO.
4
2) Operating systems
3) Data
ICCID
IMSI
Authentication process
10
2. UICC
12
3. IMEI
14
4. IMSI
18
19
6. Dual SIM
21
7. Bibliography
23
2009
TOPIC
Page 3
SIM Card
Since a SIM card is a smart card, it also has an ICC-ID number based on
International Standard ISO/IEC 7812. The maximum length of the visible
card number is 20 characters; 19 digits are preferred, but
telecommunication network operators who are already issuing Phase 1 SIM
cards with an identification number length of 20 digits may retain this
length. The number is composed of the following subparts:
Issuer Identification number (max. 7 digits)
Shantilal Shah Engineering College, Bhavnagar
Page 4
SIM Card
Major Industry Identifier (MII), 2 digits, 89 for telecommunication
purposes.
2009
W-SIM is a SIM card which also integrates core cellular technology into the
card itself.
A Virtual SIM is a mobile phone number provided by a wireless carrier which
does not require a SIM Card to terminate phone calls on a user's mobile
phone.
Page 5
SIM Card
2009
network, but which leases capacity from one of the network operators, and
only provides a SIM card to its customers. MVNOs first appeared in
Denmark, Hong Kong, Finland and the UK and today exist in over 50
countries including most of Europe, USA and Canada, and Australia and
parts of Asia and account for approximately 10% of all mobile phone
subscribers around the world.
On some networks the mobile phone is locked to its SIM card such as on the
GSM networks in the USA and the UK. This tends to happen only in countries
where mobile phones are heavily subsidized, but even then not all countries
and not all operators; such as in the UK, typically, most phones with
subsidies are SIM-locked.
Phones sold with a contract are often locked (SIM-locked) to the network
that provided the phone, as the phones are often subsidized and the
network operator wants to claw back the subsidy over the following 18 or
24 months of the contract. The customer effectively agrees to the "lock-in"
in order to get a phone that would ordinarily cost them a lot more on the
open market. For example in the UK, a phone that cost 250 as a "SIM-free"
or unlocked device on the open market might be offered free-of-charge with
an 18 month contract commitment of 30 per month. A plethora of online
and high-street businesses now offer the ability to remove the SIM-lock from
a phone, effectively making it possible to then use the phone on any
network by inserting a different SIM-card. This is a useful benefit for
travellers that might want to put a local SIM-card into their phone when
they arrive in a country, in order to minimize roaming charges. In many
countries now it is possible to buy a pre-pay SIM card just by walking into a
store, and these "SIM-only" deals are a cost effective way to stay in contact
when travelling.
Phones sold as pre-pay often also have an operator subsidy, especially in
competitive mobile markets like the UK. These phones are sold not just
through mobile phone stores, but also supermarkets, catalogues, stationery
outlets and online, and so the mobile companies are constantly in a race to
the lowest price. These prepay phones come with a bundled SIM, so the
intention is that you should buy the phone, and then activate it using the
SIM provided. Once again the handsets are often SIM-locked to make sure
that you do not use another operator, so that the original operator will then
eventually recoup their subsidy. However, because the units can be
Shantilal Shah Engineering College, Bhavnagar
Page 6
SIM Card
2009
unlocked for a small fee (and even the operators themselves offer this
service), units can be bought cheaply, separated from the original SIM-card
and sold on for a profit, perhaps in other markets, perhaps as contract
phone. This is known in the industry as 'box breaking', and often harms the
profits of the operator while allowing complicit sales staff and box breakers
to reap the rewards.
Mostly, GSM and 3G mobile handsets can easily be SIM-unlocked and used
on any suitable network with any SIM card. A notable exception is the Apple
iPhone, where in most markets Apple have gone to extreme lengths to lockdown their phones so that they can only be used with the partner's network.
This has led to a popular hack called the "jail-break", which frees the iPhone
from the partner network, so that any SIM-card can be inserted. Apple and
the hackers are locked in a war of escalation, with Apple constantly trying to
close loopholes in their operating system, and the hackers finding new ways
to jailbreak each version as it becomes available.
In countries where the phones are not subsidised, such as Italy and
Belgium, all phones are unlocked. Where the phone is not locked to its SIM
card, the users can easily switch networks by simply replacing the SIM card
of one network with that of another while using only one phone. This is
typical for example among users who may want to optimise their telecoms
traffic by different tariffs to different friends on different networks. It is
called the "SIM card switch"
Dual SIM phones are now made by Samsung. Which save the user from
having to carry 2 phones. The user can have separate numbers for
family/friends and business/work.
2. Operating systems
SIM operating systems come in two main types: Native and Java Card.
Native SIMs are based on proprietary, vendor specific software whereas the
Java Card SIMs are based on standards, particularly Java Card which is a
subset of the Java programming language specifically targeted at
embedded devices. Java Card allows the SIM to contain programs that are
hardware independent and interoperable.
3. Data
Page 7
SIM Card
2009
ICCID
Each SIM is internationally identified by its ICC-ID (Integrated Circuit Card
ID). ICCIDs are stored in the SIM cards and are also engraved or printed on
the SIM card body during a process called personalization. The ICCID is
defined by the ITU-T recommendation E.118. The number is up to 18 or 19
digits long and in addition is often associated with a single check digit
calculated using the Luhn algorithm.
IMSI
SIM cards are identified on their individual operator networks by holding a
unique International Mobile Subscriber Identity. Mobile operators connect
mobile phone calls and communicate with their market SIM cards using
their IMSI.
Page 8
SIM Card
Authentication process
2009
5. The operator network then compares its computed SRES_1 with the
computed SRES_2 that the Mobile Equipment returned. If the two
numbers match the SIM is authenticated and the Mobile Equipment is
granted access to the operator's network. Kc is used to encrypt all
further communications between the Mobile Equipment and the
network.
Page 9
SIM Card
having to search the whole list of frequencies that the telephone normally
would.
2009
Most SIM cards will orthogonally store a number of SMS messages and
phone book contacts. The contacts are stored in simple 'Name and number'
pairs - entries containing multiple phone numbers and additional phone
numbers will usually not be stored on the SIM card. When a user tries to
copy such entries to SIM the handset's software will break them up into
multiple entries, discarding any information that isn't a phone number. The
number of contacts and messages stored depends on the SIM; early models
would store as little as 5 messages and 20 contacts while modern SIM cards
can usually store over 250 contacts.
SIM Serial Number (SSN) Digits
A typical SSN (19 digits) example 89 91 10 1200 00 320451 0, provides
several details as follows:
The first two digits (89 in the example) refers to the Telecom Id.
The next two digits (91 in the example) refer to the country code (91India).
The next two digits (10 in the example) refers to the network code.
The next four digits (1200 in the example) refers to the month and
year of manufacturing; December, 2000 in this case.
The next two digits (00 in the example) refers to the switch
configuration code.
The next six digits (320451 in the example) refers to the SIM number.
The last digit which is separated from the rest is called the check
digit.
Page 10
SIM Card
Figure shows a card that has not been
removed from its larger Card.
2009
Equivalents on 2G
Page 11
SIM Card
2009
The R-UIM card has been superseded by CSIM on UICC. This technique
allows all three applications (SIM, CSIM, and USIM) to coexist on a single
smartcard, allowing the card to be used in virtually any phone worldwide
that supports smart cards.
Page 12
SIM Card
UICC
2009
The UICC (Universal Integrated Circuit Card) is the smart card used in
mobile terminals in GSM and UMTS networks. The UICC ensures the
integrity and security of all kinds of personal data, and it typically holds a
few hundred kilobytes. With the advent of more services, the storage space
will need to be larger.
In a GSM network, the UICC contains a SIM application and in a UMTS
network it is the USIM application. A UICC may contain several applications,
making it possible for the same smart card to give access to both GSM and
UMTS networks, and also provide storage of a phone book and other
applications. It is also possible to access a GSM network using an USIM
application and it is possible to access UMTS networks using a SIM
application with mobile terminals prepared for this. With the UMTS release 5
a new application, the IP multimedia Services Identity Module (ISIM) is
required for services in the IMS. The telephone book is a separate
application and not part of either subscription information module.
In a CDMA network, the UICC contains a CSIM application, in addition to
3GPP USIM and SIM applications. A card with all 3 features is called a
removable user identity card, or R-UIM. Thus, the R-UIM card can be
inserted into CDMA, GSM, or UMTS handsets, and will work in all three
cases.
In 2G networks, the SIM card and SIM application were bound together, so
that "SIM Card" could mean the physical card, or any physical card with the
SIM application. In 3G networks, it is a mistake to speak of a USIM, CSIM, or
SIM card, as all three are applications running on a UICC card.
Page 13
SIM Card
2009
The UICC smart card consists of a CPU, ROM, RAM, EEPROM and I/O circuits.
Early versions consisted of the whole fullsize (85 54 mm) smart card.
Soon the race for smaller telephones called for a smaller version of the
card. The card was cropped down to 25 15 mm (as illustrated).
Since the card slot is standardized, a subscriber can easily move their
wireless account and phone number from one handset to another. This will
also transfer their phone book and text messages. Similarly, in theory, a
subscriber can change carriers by inserting a new carrier's UICC card into
their existing handset. However, this is not always possible, because many
carriers SIM-lock the phones that they sell, preventing rival carriers' cards
being used.
The use and content of the card can be protected by use of PIN codes. One
code, PIN1, can be defined to control normal use of the phone. Another
code, PIN2, can be set, to allow the use of special functions (like limiting
outbound telephone calls to a list of numbers). PUK1 and PUK2 are used to
reset PIN1 and PIN2 respectively.
The integration of the ETSI framework and the Application management
framework of GlobalPlatform is standardized in the UICC configuration.
Page 14
SIM Card
Mobile
Equipment
2009
International
Identity
Page 15
SIM Card
Prior to 2002, the TAC was six digits long and was followed by a two-digit
Final Assembly Code (FAC), which was a manufacturer-specific code
indicating the location of the device's construction.
2009
AA
BBBBBB
CCCCCC
Serial
sequence of
the model
EE
Luhn check
Software
digit of the
Version
entire number Number (SVN).
(or zero)
For example, the IMEI code 35-209900-176148-1 or IMEISV code 35209900-176148-23 tells us the following:
TAC: 352099 so it was issued by the BABT and has the allocation number
2099
FAC: 00 so it was numbered during the transition phase from the old format
to the new format
SNR: 176148 - uniquely identifying a unit of this model
CD: 1 so it is a GSM Phase 2 or higher
SVN: 23 - The "software version number" identifying the revision of the
software installed on the phone. 99 is reserved.
The format changed as of April 1, 2004, when the Final Assembly Code
ceased to exist and the Type Approval Code increased to eight digits in
length and became known as the Type Allocation Code. From January 1,
2003 until that time the FAC for all phones was 00.
The Reporting Body Identifier is allocated by the Global Decimal
Administrator; the first two digits must be decimal (i.e., less than 0xA0) for
it to be an IMEI and not an MEID.
The new CDMA Mobile Equipment Identifier (MEID) uses the same basic
format as the IMEI.
Page 16
SIM Card
2009
On many devices, the IMEI number can be retrieved by entering *#06#. The
IMEI number of a GSM device can be retrieved by sending the command
AT+CGSN.Retrieving IMEI Information from an older Sony or Sony Ericsson
handset can be done by entering these keys: Right * Left Left * Left
The BGAN, Iridium and Thuraya satellite phone networks all use IMEI
numbers on their transceiver units as well as SIM cards in much the same
way as GSM phones do. The Iridium 9601 modem relies solely on its IMEI
number for identification and uses no SIM card; however, Iridium is a
proprietary network and the device is incompatible with regular GSM
networks.
Page 17
SIM Card
2009
When mobile equipment is stolen or lost, the operator or owner will typically
contact the Central Equipment Identity Register (CEIR), which blacklists the
device in all operator switches so that it will, in effect, become unusable,
making theft of mobile equipment a useless business.
The IMEI number is not supposed to be easy to change, making the CEIR
blacklisting effective. However, this is not always the case: a phone's IMEI
may be easy to change with special tools and some operators may even
flatly ignore the CEIR blacklist.
Difficulties
Page 18
SIM Card
ME IMEI/Type Accreditation label. The check digit shall always be
transmitted to the network as "0".
1. Starting from the right, double a digit every two digits (e.g., 7 14).
2009
every
Sum digits
18
14
4 + (1 + 8) + 0 + 2 + 5 + 8 + 2 + 0 + 3 + 4 + 3 + (1 +
4) + 5 + 2 + ? = 52 + ?
Page 19
SIM Card
Mobile
Subscriber
2009
International
Identity
The IMSI is used in any mobile network that interconnects with other
networks, in particular CDMA networks as well as GSM networks. This
number is provisioned in the phone directly or in the R-UIM card (a CDMA
analogue equivalent to a SIM card in GSM).
An IMSI is usually 15 digits long, but can be shorter (for example MTN South
Africa's old IMSIs that are still being used in the market are 14 digits). The
first 3 digits are the Mobile Country Code (MCC), and are followed by the
Mobile Network Code (MNC), either 2 digits (European standard) or 3 digits
(North American standard). The remaining digits are the mobile station
identification number (MSIN) within the network's customer base.
Page 20
SIM Card
Countries (the phone will work in one country, but not another)
SIM types (i.e. only specific SIM cards can be used with the phone).
In most countries, most mobile phones are shipped with country and/or
network provider locks. In addition, these locked phones tend to have
firmware installed on them which is specific to the network provider. For
example, if you have a Vodafone or Telstra branded phone in Australia, it
displays the relevant logo and may only support features provided by that
network (e.g. Vodafone Live!). This firmware is installed by the service
provider and is separate from the locking mechanism.
Most mobile phones can be unlocked to work with any GSM, such as O2 or
Orange (in the UK), but the phone may still display the original branding
and may not support features of your new carrier. Most phones can be
unbranded by uploading a different firmware version, a procedure
recommended for advanced users only.
SIM cloning
SIM cloning consists of duplicating the SIM card, which allows calls or
other services to use the identification of the cloned SIM and to be charged
to that account.
In the early 1990s, due to poor security, cloning was more common than it
is today. Cloning has now been rendered more challenging technically
(since physical access to the SIM card is now required, contrary to simply
being within radio reach). The cards now perform security operations
themselves on data buried within them.
Page 21
SIM Card
SIM cloning is a great concern to security/police services since it renders
GSM location-based service (LBS) unreliable when more than one handset
uses the same SIM.
2009
In the movie The Bourne Supremacy, the main character, Jason Bourne,
clones a SIM card to enable him to listen in to calls to a U.S. official from the
CIA. A realistic time for extracting the Ki from a SIM card is approximately 48 hours. There is 40% probability of damaging the card in the process.
Additionally, the attacker must have pre-knowledge of the SIM card's PIN
(CHV1).
A user of Woron Scan v1.05 has claimed scans in less than 5 minutes. Since
that time, Woron Scan 1.09 has been released. An implementation in an
FPGA would allow IMSI and Ki extraction in seconds if the algorithm scales
similarly to DES.
Cracking Ki by overhearing radio GSM traffic is difficult but not impossible
(although illegal in the United States). In many countries GSM traffic is not
encrypted, thus it is possible with proper equipment (a computer-based
radio scanner (e.g. USRP) and proper software).
The security has been improved with the newer generation of SIM cards to
be used with 3GSM networks, known as USIMs. The new specification
implements a new publicly announced algorithm (the KASUMI algorithm).
SIM cloning is also sometimes used to unlock phones from foreign providers
for use on your home network; by using your Ki and switching between your
IMSI and the IMSI that the phone expects the phone can be fooled into
thinking that it has the SIM from its native provider (this is commonly done
for Japanese phones as well as the iPhone before its software unlock was
released).
Page 22
SIM Card
Dual SIM
2009
A dual SIM mobile phone is one which has two Subscriber Identity Modules
(SIMs). Dual-SIM adapters are available to allow cellphones to contain two
SIMs, and to switch from one to the other as required. Some phones are
designed to work with two SIMs, both of which may be active at the same
time.
Dual-SIM operation allows the use of two services without the need to carry
two phones at the same time. For example, the same handset can be used
for business and private use with separate numbers and bills; or for travel,
with an additional SIM for the country visited.
Page 23
SIM Card
2009
Mobile phones with simultaneous dual SIM capability built in have the
advantage that there are no possible legal issues, breach of contract, or
voiding of warranty. They allow both SIMs to be active simultaneously and
allow calls to be received on either number, unlike adapters that make one
or other number active as required.
Normal GSM phones contain a single transceiver; dual-SIM phones must
have dual transceivers, and need to display signal strength for both
networks. A phone with a single transceiver cannot be converted to
simultaneous dual-SIM operation; at most it can be made switchable with
the use of an adapter.
Although battery life (talk time and standby time) of dual-SIM phones is
reduced, typically by about a third, when both SIMs are active, to
compensate this they often came with better capacity batteries, or in the
case of Chinese-made phones, bundle their units with two batteries,
compared to single-SIM phones.
As of autumn 2007 some little-known Chinese companies supply
inexpensive dual-SIM mobiles, mainly in Asian countries. The latest model
include I-phone look alike which is the smallest dual-SIM phone ever built.
Philips has made models Xenium 9@9w and 699 with this capability
belonging to the restart to change active-line generation. Samsung also
released the D880 DuoS in November 2007, a slider which can hold two SIM
cards with simultaneous standby, and there is a Windows Mobile based
dual-sim phone too, called E-TEN glofiish DX900 (released in November
2008, been renamed to Acer Tempo DX900 in January 2009, after Acer
bought E-TEN). The WIKI dual SIM phone with integrated TV is also
increasingly popular in the African region.
An Electronics Engineer in India has a patent and he claims he invented
dual-SIM phones, he has taken Samsung to court, and the court has
temporarily banned Samsung, among others, from selling dual-SIM phones
in India.
################################################################
Page 24
SIM Card
Bibliography
www.wikipedia.com
2009
www.google.com
www.howstuffworks.com
Page 25