Difference between revisions of "SIM Cards"

From ForensicsWiki
Jump to: navigation, search
(SIM Forensics)
m (Added what service providers use sim cards in the US)
Line 95: Line 95:
* [[Call Detail Record]]s (CDR)
* [[Call Detail Record]]s (CDR)
* [[Home Location Register]] (HLR)
* [[Home Location Register]] (HLR)
== Service Providers that use SIM Cards in the United States ==
* T-Mobile
* Cingular/AT&T
== Sim Card Text Encoding ==
== Sim Card Text Encoding ==

Revision as of 13:44, 24 September 2008

A typical SIM card.

SIM-Subscriber Identity Module

The UICC (Universal Integrated Circuit Card) is a smart card which contains account information and memory that is used to enable GSM cellular telephones. One of the applications running on the smart card is the SIM, or Subscriber Identity Module. In common parlance the term "UICC" is not used an the phrase "SIM" is used to describe the smart card itself.

Because the SIM is just one of several applications running on the smart card, a given card could, in theory, contain multiple SIMs. This would allow multiple phone numbers or accounts to be accessed by a single UICC. This is seldom seen, though there is at least one "12-in-1" SIM card being advertised at present.

Early versions of the UICC used full-size smart cards (85mm x 54mm x 0.76mm). The card has since been shrunk to the standard size of 25mm x 15mm x 0.76mm.

Although UICC cards traditionally held just 16 to 64KB of memory, the recent trend has been to produce SIM cards with larger storage capacities, ranging from 512MB up to M-Systems' 1GB SIM Card slated for release in late 2006.

SIM Security

Information inside the UICC can be protected with a PIN and a PUK.

The PIN (Personal Identification Number) is a code that locks access to the SIM. Not all SIMs have PINs; if a SIM has a PIN, the PIN must be entered to unlock the SIM. PUK (Personal Unlocking Code) codes are provided by the network provider to unlock a code. If the PUK is incorrectly put in 10 times the SIM card will be permanently locked.

SIM Forensics

The data that a SIM card can provide the forensics examiner can be invaluable to an investigation. Acquiring a SIM card allows a large amount of information that the suspect has dealt with over the phone to be investigated.

In general, some of this data can help an investigator determine:

  • Phone numbers of calls made/received
  • Contacts
  • SMS details (time/date, recipient, etc.)
  • SMS text (the message itself)
  • Picture (if there is a camera)

There are many software solutions that can help the examiner to acquire the information from the SIM card. Several products include 3GForensics SIMIS [1], Inside Out's SIMCon, or SIM Content Controller, and Paraben Forensics' SIM Card Seizure.

The SIM file system is hierarchical in nature consisting of 3 parts:

  • Master File (MF) - root of the file system that contains

DF’s and EF’s

  • Dedicated File (DF)
  • Elementary Files (EF)

Data Acquisition

These software titles can extract such technical data from the SIM card as:

  • International Mobile Subscriber Identity (IMSI): A unique identifying number that identifies the phone/subscription to the GSM network
  • Mobile Country Code (MCC): A three-digit code that represents the SIM card's country of origin
  • Mobile Network Code (MNC): A two-digit code that represents the SIM card's home network
  • Mobile Subscriber Identification Number (MSIN): A unique ten-digit identifying number that identifies the specific subscriber to the GSM network
  • Mobile Subscriber International ISDN Number (MSISDN): A number that identifies the phone number used by the headset
  • Abbreviated Dialing Numbers (ADN): Telephone numbers stored in sims memory
  • Last Dialed Numbers (LDN)
  • Short Message Service (SMS): Text Messages
  • Public Land Mobile Network (PLMN) selector
  • Forbidden PLMNs
  • Location Information (LOCI)
  • General Packet Radio Service (GPRS) location
  • Integrated Circuit Card Identifier (ICCID)
  • Service Provider Name (SPN)
  • Phase Identification
  • SIM Service Table (SST)
  • Language Preference (LP)
  • Card Holder Verification (CHV1) and (CHV2)
  • Broadcast Control Channels (BCCH)
  • Ciphering Key (Kc)
  • Ciphering Key Sequence Number
  • Emergency Call Code
  • Fixed Dialing Numbers (FDN)
  • Forbidden PLMNs
  • Local Area Identitity (LAI)
  • Own Dialing Number
  • Temporary Mobile Subscriber Identity (TMSI)
  • Routing Area Identifier (RIA) netowrk code
  • Service Dialing Numbers (SDNs)
  • Service Provider Name
  • Depersonalizatoin Keys

This information can be used to contact the service provider to obtain even more information than is stored on the SIM card.

USIM-Universal Subscriber Identity Module

A Universal Subscriber Identity Module is an application for UMTS mobile telephony running on a UICC smart card which is inserted in a 3G mobile phone. There is a common misconception to call the UICC card itself a USIM, but the USIM is merely a logical entity on the physical card.

It stores user subscriber information, authentication information and provides storage space for text messages and phone book contacts. The phone book on a UICC has been greatly enhanced.

For authentication purposes, the USIM stores a long-term preshared secret key K, which is shared with the Authentication Center (AuC) in the network. The USIM also verifies a sequence number that must be within a range using a window mechanism to avoid replay attacks, and is in charge of generating the session keys CK and IK to be used in the confidentiality and integrity algorithms of the KASUMI block cipher in Universal Mobile Telecommunications System (UMTS).

In Mobile Financial Services, USIM seems to be a mandetory Security Element for user authentication, authorization and stored credentials. With the integration of NFC Handset and USIM, users will be able to make proximity payments where the NFS handset enables contactless payment and USIM enables independent security element. This is the evolution of the SIM for 3G devices. It can allow for multiple phone numbers to be assigned to the USIM, thus giving more than one phone number to a device.

Service Provider Data

Some additional information the service provider might store:

Service Providers that use SIM Cards in the United States

  • T-Mobile
  • Cingular/AT&T

Sim Card Text Encoding

Originally the middle-European GSM network used only a 7-bit code derived from the basic ASCII code. However as GSM spread worldwide it was concluded that more characters, such as the major characters of all living languages, should be able to be represented on GSM phones. Thus, there was a movement towards a 16-bit code known as UCS-2 which is now the standard in GSM text encoding. This change in encoding can make it more difficult to accurately obtain data form SIM cards of the older generation which use the 7-bit encoding. This encoding is used to compress the hexadecimal size of certain elements of the SIMs data, particularly in SMS and Abbreviated Dialing Numbers.