Securing Wireless Cellular Systems - Presentation Transcript
Securing Wireless Cellular Systems Arvind Padmanabhan [email_address] 9 th May 2009
Contents
Scope
Cellular Basics
Security Goals
Elements of Security
Protocol Procedures
Algorithmic Background
GSM Flaws & Solutions
Implementation Challenges
Conclusion
References
Scope
Cellular Basics – Network Architecture GSM MS SS7 BTS BSC MSC VLR HLR AuC GMSC BSS PSTN NSS A E C D PSTN Abis B H MS IP GPRS MS PSDN Gi SGSN Gr Gb Gs GGSN Gc Gn UMTS UE Node B RNC RNS Iub IuCS ATM IuPS
Cellular Basics – GSM Protocol Stack Control Plane MS BTS BSC MSC/VLR
Cellular Basics – GPRS Protocol Stack Control Plane
Cellular Basics – UMTS Protocol Stack Control Plane
AKA is also known as Authentication and Key Agreement
Network authenticates the subscriber
Subscriber authenticates the network (not in GSM)
Both parties agree on the keys to use for data confidentiality and data integrity
USIM AuC
GSM AKA A3 Mobile Station Radio Link GSM Operator A8 A5 A3 A8 A5 K i K i K c K c SIM Authentication: are SRES values equal? Challenge RAND m i Encrypted Data m i Signed response (SRES) SRES SRES F n F n
AKA Overview
Location Update Procedure Get CKSN from SIM Get Auth Vector from AuC Invoke SIM calculations Secure data exchange
Incoming Call
RRC Security Procedure
Security Procedure at UE RRC
Change of Location Area User Identity Request User Identity Response Security context is transferred from the old VLR/SGSN to the new VLR/SGSN
Authenticated Session Lifetime START < Yes Session is valid. Keys can be re-used. THRESHOLD No Keys have reached their end of life. Set START as invalid. Set CKSN/KSI as invalid. Updated when RRC connection is released. Fixed by the operator. Stored on SIM/USIM.
Updating the START Value
START' = MSB20 ( MAX {COUNT-C, COUNT-I | radio bearers and signalling radio bearers using the most recently configured CK and IK}) + 2
Once updated, it is saved into SIM/USIM and deleted from the mobile
Counter Check Procedure
Check does not involve Core Network
Prevent “man-in-the-middle” attacks
RRC will query RLC for COUNT-C values
RRC will include mismatches in its response
UTRAM may release RRC connection
Indicating Current CKSN/KSI
This field is indicated by UE MM/GMM in the following messages:
LOCATION UPDATING REQUEST
CM SERVICE REQUEST
PAGING RESPONSE
CM RE-ESTABLISHMENT REQUEST
This field is indicated by UE GMM in the following messages:
Data Integrity Additional protection within the same authentication session
Transmission of Signalling Content Signalling Content RRC SN MAC Message f9 MAC Signalling Content RRC SN RB ID Message f8 Signalling Content RRC SN MAC Message
Integrity Exceptions
Integrity is not applied for:
HANDOVER TO UTRAN COMPLETE
PAGING TYPE 1
PUSCH CAPACITY REQUEST
PHYSICAL SHARED CHANNEL ALLOCATION
RRC CONNECTION REQUEST
RRC CONNECTION SETUP
RRC CONNECTION SETUP COMPLETE
RRC CONNECTION REJECT
RRC CONNECTION RELEASE (CCCH only)
SYSTEM INFORMATION
SYSTEM INFORMATION CHANGE INDICATION
TRANSPORT FORMAT COMBINATION CONTROL (TM DCCH only)
Generating the Quintet
USIM Security Execution Resynchronization procedure exists in the USIM and HLR/AuC Secret Key
AKA for GSM Subscribers 3G phone with GSM SIM connecting to UTRAN 3G phone with GSM SIM connecting to GSM
AKA for UMTS Subscribers 2G phone with USIM connecting to GSM & R98- VLR/SGSN 3G phone with USIM connecting to GSM & R98- VLR/SGSN
Security Service Summary
GSM Handover
Intra-BSC HO
Nothing to be done
Inter-BSC & Intra-MSC HO
BSC informs MSC that HO is required
MSC commands target BSC and passes on security context
Inter-MSC HO
Same as above except that current MSC informs target MSC to initiate HO to target cell
0 comments
Post a comment