Eap Sim Whitepaper
Eap Sim Whitepaper
Eap Sim Whitepaper
Radiator
White paper discussing EAP-SIM and EAPAKA authentication support for Radiator. For EAP-SIM Module version 1.32
1.0 Introduction
This document describes the emerging EAP-SIM and EAP-AKA authentication standard for Wireless LANs, and outlines the support for EAP-SIM and EAP-AKA authentication available with Radiator, the full source Radius server from Open System Consultants (www.open.com.au/radiator). Radius is the de-facto standard protocol for authenticating users and for recording accounting information for wireless and wired LANs. See RFCs 2138, 2139, 2865 and 2866 for more details on the Radius protocol. EAP is the Extensible Authentication Protocol, which can be used to create new types of authentication protocols for Radius. See RFCs 2284 and 2869 for more details on EAP authentication for Radius. These new types of authentication are commonly used in Wireless LAN systems. EAP-SIM RFC 4186 is a newly emerged EAP authentication protocol, designed for use with existing GSM mobile telephone authentication systems and SIMs (Subscriber Identity Modules) for mobile phones. The EAP-SIM standard allows Wireless LAN users to authenticate access to a Wireless LAN network using a mobile phone SIM card. The standard for EAP-SIM authentication is still in draft form with the IETF (Internet Engineering Task Force). EAP-AKA RFC 4187 is a newly emerged EAP authentication protocol, designed for use with 3GPP authentication system and USIM (Subscriber Identity Modules) cards for mobile phones. EAP-AKA has similar properties and protocols to EAP-SIM. The EAP-AKA standard allows Wireless LAN users to authenticate access to a Wireless LAN network using a 3G mobile phone USIM card.
1 of 12
What is EAP-SIM?
Even more recently, EAP-AKA (AKA prime) RFC 5448 has been introduced. It has similar properties to EAP-AKA Radiator is a highly congurable and extensible Radius server that allows you to easily customize and control how you authenticate users and record accounting information. Radiator supports a wide range of EAP authentication methods, including EAP-MD5, EAP-TLS, EAP-TTLS and EAP-PEAP as part of its standard package. Support for EAP-SIM authentication is available as an add-on package for Radiator. Using Radiator and its optional EAP-SIM and EAP-AKA support, operators and carriers are able to construct complete EAP-SIM wireless authentication and billing systems, that interoperate with and utilize the existing worldwide GSM mobile phone authentication and billing systems, enabling a simple and seamless use and billing experience for roaming wireless LAN users. The Radiator EAP-SIM module comes with support for the Performance Technologies (http://www.pt.com) SGSA Map Gateway out of the box. It also includes source code for customizing and interfacing with other third-party MAP gateways. Support for Cisco ITP MAP Gateway is available on request to qualied Cisco ITP customers.
2 of 12
What is EAP-SIM?
insert a standard GSM SIM card, as issued by their mobile phone operator, into the smart-card reader. The SIM card could be the one from their mobile phone, or a special purpose SIM card issued by their operator. SIM cards uniquely identify a user to the GSM system, and contain the users IMSI (International Mobile Subscriber Identity).
FIGURE 1.
802.1X wireless
SS7 protocol
SS7 protocol
SS7 Network
When the user and their computer roams within range of the WLAN Access Point, the Access Point, Radius server and Wireless client software set up a communications dialog in order to authenticate the user and conrm they are allowed to access the network. During this process, the Radius server will contact the users home GSM operator through a GSM/MAP/SS7 gateway and retrieve the GSM triplets that are used to authenticate the user. If the users Wireless client software and SIM card is able to validate the GSM triplets correctly, the Radius server tells the AP to grant access to the WLAN. The AP connects the client computer to the WLAN, and sends some accounting information to the Radius
3 of 12
What is EAP-SIM?
server, indicating that the users wireless connection is complete. Radiator would usually be congured to insert this data into an SQL database to be used for billing. The user will use the wireless connection to send and receive internet trafc for a period of time. During this time, the AP will typically send accounting Alive messages to the Radius server, indicating the wireless session is still connected. Radiator would usually be congured to insert this data into an SQL database to be used for billing. After a while the user will roam out of range of the AP, or turn off their client computer. The AP will then send an accounting Stop message to the Radius server, indicating that the users session is complete. Radiator would usually be congured to insert this data into an SQL database to be used for billing.
FIGURE 2.
EAP Response/Identity EAP Request/SIM/Start EAP/Response SIM/Start EAP/Request/ SIM/Challenge EAP/Response/ SIM/Challenge
Radius/EAP/Response/SIM/Start
Radius/EAP/Request/SIM/Challenge Radius/EAP/Response/SIM/Challenge
GSM Triplets
GSM Triplets
Radius/Access-Accept
Disconnection
Radius/Accounting/Stop
Wireless Client
GSM/MAP/SS7 Gateway
The overall result of this process is that only people that have a valid GSM SIM card inserted into their smart card reader will be able to get access to the Wireless LAN. Further, with proof that a valid SIM card was used, the operator is able to arrange for pay-
4 of 12
What is EAP-SIM?
ment for WLAN access through the users home GSM operator, using the existing GSM mobile phone billing infrastructure. This simplies the users experience when using and paying for Wireless LAN access. 2.4 How EAP-SIM can be used Such a system would typically be used with publicly accessible Wireless LANs hotspots such as those operated by airports, hotels, cafes, kiosks etc. The hotspot operator would install the Access Points, and the EAP-SIM equipped Radius server would be operated by a telecommunication carrier or other GSM operator. The expectation is that users could roam in and out of range of the hotspots APs, and the user would automatically be connected to the Wireless LAN. Later the user would be billed for the LAN usage through their mobile phone bills. 2.5 Security These days, Wireless LAN security is a very important topic for users and operators. The main issues involve preventing access to unauthorized users, and encrypting wireless trafc with strong, hard to crack keys. The EAP-SIM authentication standard has been developed with high standards of wireless security in mind. With EAP-SIM, passwords are never transmitted over the air or in Radius requests on the internet. EAP-SIM authentication involves secret keys and algorithms that are embedded in the SIM card and at the GSM authentication centre. The secret keys are never accessed by Radiator and are never transmitted over the air or in Radius requests on the internet. During EAP-SIM authentication, the wireless client software authenticates itself to Radiator, proving that it does indeed have access to the correct SIM card for the user. Further, the Radius server authenticates itself to the wireless client software, proving that Radiator is indeed connected to the correct GSM authentication centre. The EAP-SIM draft standard also species support for dynamic Wireless Enhanced Privacy (WEP) keys, eliminating the security risks associated with xed WEP keys. Radiator provides optional support for dynamic WEP keys in EAP-SIM authentication. The EAP-SIM draft standard also provides support for pseudonym Temporary Mobile Subscriber Indentities (TMSI). TMSIs can be generated for each authenticating client after an initial authentication, allowing the users real IMSI to be hidden from wireless packet sniffers. Radiator EAP-SIM includes optional support for pseudonym TMSIs. The EAP-SIM draft standard also provides support for Reauthentication (also called fast-reconnect). This permits reauthentication of an EAP-SIM wireless client without requesting new GSM Triplets from the GSM Authentication Centre (AuC), which can result in improved reconnection performance when EAP-SIM clients roam from cell to cell. Radiator EAP-SIM includes optional support for Reauthentication.
5 of 12
FIGURE 3.
Operator-Specic module (see AuthOPERATOR.pm or AuthSIMSGSA.pm as examples) SQL interface (optional) GSM/MAP/SS7
AuthSIM
Gateway Interface
main
Client
Handler
AuthGeneric
EAP-SIM Supplied with Radiator Supplied with EAP-SIM module for Radiator Supplied by operator
SQL Database
6 of 12
The EAP-SIM support module for Radiator is available as an optional add-on product. In order to use the EAP-SIM support module, operators are required to have a Radiator license, and also to purchase a license for the add-on EAP-SIM support module. Annual maintenance for the EAP-SIM support module is also available. 3.2 Supported EAP-SIM client software The client software is the software that runs on the wireless PC or PDA, and which communicates with the AP to authenticate the user. For EAP-SIM authentication, special EAP-SIM wireless client software is required to be installed on the wireless computer. A number of such clients are in development or are shipping at the current time. At the time of writing, the Radiator EAP-SIM add-on module supports the following clients:
Microsoft Mobile 6 (www.microsoft.com) Cisco V5 EAP-SIM client (www.cisco.com). Funk EAP-SIM client (www.funk.com). Meetinghouse Datas AEGIS EAP-SIM client (www.mtghouse.com) XSupplicant EAP-SIM client for Unix, Linux, Mac etc. (www.open1x.org). Hostap WPA Supplicant EAP-SIM client for Unix, Linux, Mac etc. (hostap.epitest.).
another proprietary EAP-SIM client, which is compliant with Haverinen version 11.
Suppliers of other EAP-SIM clients are invited to submit their client for qualication with Radiator EAP-SIM. In the future, the Radiator EAP-SIM modules are expected to support all readily available EAP-SIM clients on all platforms. Purchasers of the EAP-SIM add-on module will receive updates for new wireless clients if they have purchased annual support for the EAP-SIM add-on module. 3.3 Performance Technologies SGSA MAP Gateway Radiator EAP-SIM comes with support for the Performance Technologies SGSA MAP Gateway as a standard. This means that operators can purchase the SGSA MAP Gateway from Performance Technologies and integrate Radiator EAP-SIM without customizing or developing any other software. The EAP-SIM module comes with a SGSA MAP Gateway simulator to permit end-toend testing prior to the installation and commissioning of the SGSA MAP Gateway. The SGSA MAP Gateway simulator serves GSM triplets that have been previously extracted from a SIM card, allowing complete end-to-end testing, including EAP-SIM client and SIM card.
7 of 12
FIGURE 4.
Radiator
<AuthBy SIMSGSA> Performance Technologies SGSA MAP Gateway GSM Authentication Centre SS7
RADIUS EAP-SIM
TCP/IP
SQL
3.4 Cisco ITP MAP Gateway Radiator EAP-SIM is also available with support for the Cisco ITP MAP gateway for qualied Cisco customers. EAP-SIM module customers who also hold a license for the Cisco ITP MAP Gateway may request and receive eadditional modules to support theCisco ITP MAP Gateway. The Cisco ITP MAP Gateway provides a RADIUS based interface through which SIM authentication commands may be sent. The <AuthBy SIMCISCO> module uses this RADIUS interface to request SIM triplets from the GSM Authentication Centre.
8 of 12
FIGURE 5.
Radiator
<AuthBy SIMCISCO> Cisco ITP MAP Gateway GSM Authentication Centre SS7
RADIUS EAP-SIM
RADIUS
SQL
3.5 MAP Gateway Simulator The Radius EAP-SIM module comes with a simple MAP gateway simulator that can be used for testing the Radius EAP-SIM module. It works with SIM triplets that have been previously extracted from a SIM card and stored in a at le. During EAP-SIM authenticaiotn, the <AuthBy SIMOPERATOR> module sends RADIUS request to the MAP Gateway simulator, requesting a new set of triplets. These are extracted from the triplets le and returned to EAP-SIM. This combination can be used to construct a complete, self contained EAP-SIM authentication system that does not rely on the GSM network for authentication. It can therfore be used for complete end-to-end testing and simulation of EAP-SIM systems.
9 of 12
FIGURE 6.
Radiator
RADIUS EAP-SIM
SQL
3.6 Customizing Radiator EAP-SIM comes with support for the Performance Technologies SGSA MAP Gateway as a standard. However, operators can extend and customize the EAP-SIM module to support other MAP gateways or other custom requirements. It is expected that some EAP-SIM operators will have unique requirements for their SQL database, GSM/MAP/SS7 gateway or for their Radius accounting and billing requirements. The Radiator EAP-SIM support has been built in a way that makes it easy to customize and modify to suit each operators requirements. New installations of Radiator EAPSIM may require an operator-specic module that manages and coordinates access to the SQL database and the GSM/MAP/SS7 gateway. Operators that do not wish to use the PT SGSA MAP Gateway can write and test a custom module according to their own unique requirements. Open System Consultants can provide contract assistance with this task. The operator-specic custom module is typically written entirely in Perl, but portions can be written in C or C++, and possibly other languages if necessary.
10 of 12
The Radiator EAP-SIM support package comes with an example operator-specic module. This example module shows how to interface to an SQL database to store and recover cached triplets with a xed lifetime, and how to request triplets from a radiusenabled GSM/MAP/SS7 gateway. The example module (AuthSIMOPERATOR.pm) can serve as a starting point for developing an operator-specic module. The EAP-SIM package also comes with a simulator for such a radius-enabled GSM/MAP/SS7 gateway. This simulator reads GSM triplets from a data le or from a locally connected SIM card, and can be use for end-to-end testing of clients. There is currently no standard way for handling billing, or for submitting Call Data Records (CDRs) to GSM operators. Therefore, Radiator provides methods to store EAP-SIM accounting data to an SQL database, but does not include standard software for extracting or delivering CDRs to any particular GSM operator. Any operator will be required to provide any required software for billing users, or for extracting and delivering CDRs to GSM operators. It should be noted that the Radiator EAP-SIM module does not include an implementation of any particular GSM/MAP/SS7 gateway (it does however include a simulator for the Performance Technogies SGSA Map gateway). Such gateway software must be purchased or developed by the operator. Open System Consultants recommends the SGSA MAP Gateway from Performance Technologies. Support for the Cisco ITP MAP Gateway is also available from OSC for qualied Cisco ITP customers. 3.7 Testing Prior to deploying a complete system, operators may wish to test the Radiator EAP-SIM module for compliance and performance. The EAP-SIM module distribution comes with a number of tools to facilitate testing, even in an environment where there is no access to a real MAP gateway. The Radiator SGSA MAP gateway simulator acts like the standard Performance Technologies SGSA MAP gateway. It can be used with AuthBy SIMSGSA and the sample goodies/eap_simsgsa.cfg conguration le. It gets GSM triplets from a saved data le. It does not require a connection to the SS7 network. The Radiator Radius MAP gateway simulator receives requests for GSM triplets from the Radiator EAP-SIM SIMOPERATOR module via the Radius protocol and gets GSM triplets from a saved data le or from a locally connected SIM card. It can be used with AuthBy SIMOPERATOR example and the sample goodies/eap_simsoperator.cfg conguration le. It does not require a connection to the SS7 network. Included is a utility for extracting triplets from a GSM SIM card and saving them to a data le that can be read by either the SGSA MAP gateway simulator or the Radius MAP gateway simulator. This means that the EAP-SIM module can be end-to-end tested with one or more EAP-SIM clients. Evaluation versions of the EAP-SIM module and Radiator are available to suitably qualied organizations.
11 of 12
12 of 12