Ain Shams University Faculty of Computer and Information Science Virtual SIM Card
Jan 16, 2015
Ain Shams University Ain Shams University Faculty of Computer and Information Science Faculty of Computer and Information Science
Virtual SIM CardVirtual SIM Card
Team WorkTeam Work
Ahmed Mohamed Elshal CSYS
Ahmed Hassan Mohamed CSYS
Eman Ezzat Shedid CSYS
Heba Allah Mouhamed Saieed IS
Shaymaa Saied Mohammed IS
Supervisors:
PROF.Dr. Mohamed Hashem Dr. Khaled Elbhansy T.A. Mahmoud Fayez
AgendaAgenda
• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
Problem DefinitionProblem Definition
MOBILE USERS WANTS TO USE MORE THAN ONE SIM CARD
Problem DefinitionProblem Definition
The mobile users try achieving their goal by:
Two options
Use one mobile with multiple SIM
card
Use more than one Mobile device.
ContinueContinue
Expensive
Not suitable
Use more than one mobile device
ContinueContinue
Use one mobile with multiple
SIM card
At Most Three SIM Card
Higher quality ,higher cost
Lower quality ,lower cost
AgendaAgenda
• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
ObjectivesObjectives
Regular mobile phone support multi SIM card
Lead to
Virtual SIM CardConcept Virtual SIM Card One Regular Mobile
AgendaAgenda• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
Scientific BackgroundScientific Background
What Is the SIM Card?
The SIM, Subscriber Identity Module, is a smart microprocessor chip for mobile phones used in all GSM and 3G networks as well as other digital telephone networks
ContinueContinue
Why using SIM cards in GSM networks?
• It Identifies the Subscriber. Subscriber information, such as the IMSI (International Mobile Subscriber Identity), is stored in the SIM• Access and Security: Originally designed to allow access to mobile phone networks, it authenticates the subscriber and holds the GSM network authentication Keys and Algorithms.• SIM card can be used to store user-defined information such as phonebook entries SMS, and Subscriber related information
ContinueContinue
SIM Card Architecture
– 8 bit CPU– 16 K ROM– 256 bytes
RAM– 4K EEPROM
ContinueContinue
SIM Card Memory Structure
ContinueContinue
SIM Card Tasks
authentication algorithm (A3).cipher key generation algorithm (A8).Encryption and Decryption.Data storage.
AgendaAgenda
• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
System Analysis and DesignSystem Analysis and Design
• RUP Methodology
• Three tires
System Analysis:System Analysis:
• Use Case Diagram
System Sequence Diagram:
System SequenceDiagram:
Make call
Cont…Cont…
Send Message
Class Diagram:Class Diagram:
Sequence Diagram:Sequence Diagram:
System ArchitectureSystem Architecture
Virtual
SIM
Card
Software Driver:
That simulate SIM card
Functionality
Microcontroller:
That interact with the
mobile phone
Text
Text
AgendaAgenda
• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
Development Tools andPlatforms
Development Tools and Platforms
Hardware ToolsSoftware Tools
ContinueContinue
Hardware Tools
LS6410 SAMSUNG ARM11 S3C6410 board kit 4.3 TFT LCD (Android).
ContinueContinue
Hardware Tools
GSM/GPRS Module SIM300
ContinueContinue
Hardware Tools
PIC (16FF877A) Microcontroller
ContinueContinue
Software Tools
Eclipse IDE for JAVA Developer
MICROC for PIC Developer
Android SDK
AgendaAgenda• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo• References
Implementation phasesImplementation phases
Implement software driver -that simulate SIM card functionality :•Authentication •Key generation•Encryption and Decryption•Data storage-That software allow using queue of SIM cards
Implement SIM Card Driver
ContinueContinue
Retrieve SIM Card Information.
Android Application
ContinueContinue
SIM card Reader
Construct SIM card reader that read the SIM memory to use this data to test the virtual SIM card that consist of serial SIM reader and application
AgendaAgenda
• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
Steps to use Virtual SIM CardSteps to use Virtual SIM Card
• Service provider side: To use system in reality there will be an intermediate company or website that will take the SIM card information by the SIM card reader (implemented) or by the java application (Implemented), the company will be responsible about subscriber authentication key(Ki), the system is available for unlimited number of SIMs.• User side: very simple such as traditional way (buy the PIC controller as a virtual SIM card)
Reality
For EducationFor Education
•We make GSM simulator to simulate what happen in reality by Applying GSM -SIM Card protocols , the only difference between Simulation and Reality is that we cannot have the Subscriber Authentication Key(Ki) as it is illegal to obtain it because its top secret and if it known it will make high danger on the owner of the SIM chip.
GSM Simulator
AgendaAgenda• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
DemoDemo
• SIMULATION.EXE
• MOBILE STATION SIMULATION
AgendaAgenda• Problem Definition• Objectives• Scientific Background• System Analysis
use case diagram. System Sequence diagram
• System Design Class Diagram Sequence Diagram System Architecture
• Development Tools and Platforms • Implementation phases• Steps to use Virtual SIM Card
Reality GSM Simulation
• Demo • References
ReferencesReferences
Books :
Book title Author DescriptionMobile
ComputingRaj kamal. Illustrate GSM
protocols and GSM architecture.
Android Programmer's
J.F.DiMarzio. HOW to make android application.
Professional android
Application Development
Reto Meier Creating application for the android mobile phone
platform.
ReferencesReferences
Papers:
Paper title Author DateChallenges of
MobileComputing
Professor Randy H. Katz
1996
Mobile Computing
R. K. Ghosh April, 2005
SIM cards Yousef Rashidy(Vodaf
one Egypt, Technology,
PSD)
2005
SIM Card Security
Prof. Dr.-Ing. Christof Paar
12.07.2007
ReferencesReferences
Web Resources:
http://developer.android.com/reference/android/telephony/gsm/package-summery.html
http://en.wikipedia.org/wiki/Subscriber_Identity_Module
http://www.experts-exchange.com/Networking/Wireless/Standards/GSM/Q_20449376.html
http://www.slideshare.net/c.enrique.ortiz/sim-card-overview
https://www.emt.ee/en/teenused/lisateenused/mobiil_id/sim_kaart
http://www.netmite.com/android/mydroid/development/pdk/docs/telephony.html
Questions? Questions?
?