Business

Analysis of Mobile  Secure Mobile Payments

Overview

Mobile Payments is a new convenient scheme for customers to perform transactions, and is predicted to increase as the number of mobile phone users increases. The use of mobile devices, such as a cellular phones and PDAs, to make payments is increasingly common, particularly in Asia and Europe. Mobile payment can be defined as any payment transaction which involves a mobile device. There are wide ranges of options available to perform mobile payments due to the availability of network technologies.

Mobile network technologies have evolved from analog based systems to digital based systems and from circuit switching to packet switching technologies. This evolution can be described by different generations of mobile technologies, i.e. first-generation (1G), second-generation (2G), 2.5G and third-generation (3G) technologies. Only 1G is based on analog technology. Some of the main standards for each generation technology are:

·         1G:  Advance Mobile Phone System (AMPS) in North America, Total Access Communication System (TACS) in UK, Nippon Telegraph & Telephone (NTT)in Japan, Code Division Multiple Access One (CDMAONE).

·         2G:  Global System for Mobile Communication (GSM), Code Division Multiple Access 2000 (CDMA2000), High Speed Circuit Switched Data Technology (HSCSD).

·         2.5G: General Packet Radio System (GPRS) &  Enhanced Data Rate for GSM Evolution (EDGE).

·         3G: Universal Mobile Telephone Standard (UMTS).


Short Message Service (SMS)

SMS provides a mechanism for transmitting short messages to and from wireless handset.

Short Messaging Service was created as a part of the GSM Phase 1 standard to send and receive short text messages, of 70-160 alphanumeric characters in length, 8 bit Binary Message of 140 characters in length to and from mobile phones.

SMS is a smart service, as it can store messages when to the target mobile device is switched off and forwards the messages when the unit is again in use. SMS applications are voicemail/fax notifications, delivery of replacement ring-tones, operator logos and group graphics, unified messaging, personal communication (text messaging), and information services. Basically, any information that fits into a short text message can be delivered by SMS.

Security
The initial idea for SMS usage was intended for the subscribers to send non-sensitive messages across the open GSM network. Mutual authentication, text encryption, end-to-end security, non-repudiation were omitted during the design of GSM architecture.

SMS Spoofing

SMS spoofing is an attack that involves a third party sending out SMS messages that appear to be from a legit sender. It is possible to alter the originator s address field in the SMS header to another alpha-numerical string. It hides the original sender s address and the sender can send out hoax messages and performs masquerading attacks.

SMS Encryption

The default data format for SMS messages is in plaintext. The only encryption involved during transmission is the encryption between the base transceiver station and the mobile station. End-to-end encryption is currently not available. The encryption algorithm used is A5 which is proven to be vulnerable. Therefore a more secure algorithm is needed. The SMS security mechanism relies on GSM/UMTS signaling plane security mechanism. 

SMS may be eavesdropped by the man-in-the-middle attack as no encryption is applied to SMS message transmission.

Conclusion
SMS based mobile payment systems are already in use globally. There might be certain risks when using SMS in the payment transaction. The SMS can be used for mobile payments provided the customized client built by SIM toolkit or Java application is used for the deployment of SMS transaction to provide end-to-end encryption. 

Mobile Banking Security

1.     INTRODUCTION

In the past decade, the number of online banking users has increased rapidly. This has led many developers to investigate more convenient methods for customers to perform remote banking transactions. Mobile banking is a new convenient scheme for customers to perform transactions, and is predicted to increase as the number of mobile phone users increases.
At the moment South African banks like Standard Bank and FNB provide mobile banking through two channels: through the WAP (Wireless Application Protocol) over GPRS (General Packet Radio Service) and SMS (Short Message Service) using the WIG (Wireless Internet Gateway).
In this project, we investigate the security threats in mobile banking implementations using the GSM network. The goal of this project is to build applications for portable devices that ensure users can securely send their banking information via the GSM network. The mobile banking solutions developed provide platforms for users to bank using SMS and GPRS.
In section 2, we provide an overview of the current GSM architecture and the security vulnerabilities of the architecture. In section 3, we discuss the current mobile banking solutions provided by banks in South Africa and their security shortfalls. In section 4 and 5, we present the proposed solutions for secure SMS/GPRS banking protocol. In section 6, we provide a comparison table between current mobile banking solutions and the proposed solutions. In section 7 and 8, we conclude our research and discuss some of the possible future work to extend this research.

1.     GSM AND GPRS SECURITY ARCHITECTURE

Global System for Mobile Communications (GSM) is the most popular standard for mobile phones in the world. Figure 1 shows the basic structure of the GSM architecture; GSM provides SMS and GPRS (General Packet Radio Service) services.


 The GPRS Core network is an integrated part of the GSM network; it is layered over the underlying GSM network, with added nodes to cater for packet switching. GPRS also uses some of the existing GSM network elements; some of these include existing Base Station Subsystems (BSS), Mobile Switching Centers (MSC), Authentication Centers (AUC), and Home Location Registers (HLR).  Some of the added GPRS network elements to the existing GSM network include; GPRS Support Nodes (GSN), GPRS tunneling protocol (GTP), Access points, and the (Packet Data Protocol) PDP  Context.

1.1     Security mechanisms in the GSM network

The GSM network has some security mechanism to prevent activities like Subscriber Interface Module (SIM) cloning, and stop illegally used handsets. GSM has methods to authenticate and encrypt data exchanged on the network.

1.1.1     GSM Authentication Center

The GSM authentication center is used to authenticate each SIM card that attempts to connect to the GSM network. The SIM card authentication takes place when a mobile station initially attempts to connect to the network, i.e. when a terminal is switched on. If authentication fails then no services are offered by the network operator, otherwise the (Serving GPRS Support Node) SGSN and HLR is allowed to manage the services associated with the SIM card. 

1.1.2     Authentication Procedure

The authentication of the SIM depends on a shared secret key between SIM card and the AUC called Ki. This secret key is embedded into the SIM card during manufacture, and it is also securely replicated into the AUC.
When the AUC authenticates a SIM, it generates a random number known as the RAND. It sends this RAND number to the subscriber. Both the AUC and SIM feed the Ki and RAND values into the A3/A8 (or operator proprietary algorithm (COMP128)) and a number known as Signed RESponse (SRES) is generated by both parties. If the SIM SRES matches the AUC SRES the SIM is successfully authenticated.
Both the AUC and SIM can calculate a second secret key called Kc by feeding the Ki and the RAND value into the A5 algorithm. This would be used to encrypt and decrypt the session communications.
After the SIM authentication the SGSN or HLR requests the mobile identity, this is done to make sure that the mobile station being used by the user is not black listed. The mobile returns the IMEI (International Mobile Equipment Identity) number; this number is forwarded to the EIR (Equipment Identity Register). The EIR authorizes the subscriber and responds back to the SIM with the status, if the mobile is authorized the SGSN informs the HLR and PDP Context activation begins.

1.2     Problems with GSM Network

1.2.1     Problems with the A3/A8 authentication algorithm

A3/A8 is the term used to describe the mechanism used to authenticate a handset on a mobile phone network [1]. A3 and A8 are not actually encryption algorithms, but placeholders. In A3/ A8 the commonly used algorithm is COMP128 [1].
COMP128 was broken by Wagner and Goldberg in less than a day [3]. This raises concerns of having GPRS as a secure communication mechanism. After cracking COMP128 Wagner and Goldberg went on to prove that it was possible to obtain the Ki value, therefore making it possible to perform SIM cloning. There has been a release of COMP128-2 and COMP128-3 to cater for some of the SIM cloning issues, but the majority of the SIMs still being used use COMP128.
These security threats illustrate some of the security issues which should be rectified if GPRS is to be used as a secure medium for mobile banking.

1.2.2     Problems with A5 algorithm

The A5 algorithm is used to prevent casual eavesdropping by encrypting communications between mobile station (handset) and BSS. Kc is the Ki and RAND value fed into the A5 algorithm. This Kc value is the secret key used with the A5 algorithm for encryption between the mobile station and BSS.
There are at least three flavours of the A5 algorithm. These include A5/1 which is commonly used in western countries. The A5/1 is “deemed ‘strong’ encryption” [3] but it was reverse engineered some time ago. A5/2 has been cracked by Wagner and Goldberg, the methodology they used required five clock cycles making A5/2 almost useless. Finally A5/0 is a form of A5 that does not encrypt data at all.
All these problems with the A5 encryption algorithms prove that eavesdropping between mobile station and BSS is still possible, making GPRS over the GSM core network very insecure for mobile banking.

1.2.3     Attack on the RAND value

When the AUC attempts to authenticate a SIM card, the RAND value sent to the SIM card can be modified by an intruder failing the authentication. This may cause a denial of service attack [3].

2.     CURRENT MOBILE BANKING

In this section, we look at the security shortfalls of the current mobile banking solutions using the short message service (SMS).

2.1     Current SMS Banking Services in South Africa

Currently South African banks, such as Standard Bank and ABSA use the Wireless Internet Gateway (WIG) for mobile banking. First National Bank (FNB) uses the Unstructured Supplementary Services Data (USSD) with SMS approach. FNB requires the user to first send a USSD string with the user’s PIN to the banking server. Then the server returns a message to notify the user that the server is ready to accept banking SMS message. This approach is not secure because every user’s detail is transmitted in plaintext. The mobile network operator has full access into the banking details sent by the user.

2.2     Security Problems with SMS

The initial idea for SMS usage was intended for the subscribers to send non-sensitive messages across the open GSM network. Mutual authentication, text encryption, end-to-end security, non-repudiation were omitted during the design of GSM architecture [3]. In this section we discuss some of the security problems of using SMS.

2.2.1     Forging Originator’s Address

SMS spoofing is an attack that involves a third party sending out SMS messages that appear to be from a legit sender. It is possible to alter the originator’s address field in the SMS header to another alpha-numerical string. It hides the original sender’s address [1] and the sender can send out hoax messages and performs masquerading attacks.

2.2.2     SMS Encryption

The default data format for SMS messages is in plaintext. The only encryption involved during transmission is the encryption between the base transceiver station and the mobile station. End-to-end encryption is currently not available. The encryption algorithm used is A5 which is proven to be vulnerable [3]. Therefore a more secure algorithm is needed.

2.3     Current GPRS Implementations

2.3.1     Present GPRS banking implementations

In South African there are five banks offering mobile banking using GPRS: Standard Bank, FNB, Absa, Nedbank, and Investec. Of these banks four are using the MTN mobile banking gateway. MTN mobile banking allows bank account holders to access WAP sites and perform banking the same way they would carry out internet banking.

2.3.2     Wireless Application Protocol (WAP)

WAP is an open international standard for applications that uses wireless communication. Its principal application is to enable access to the internet from a mobile phone or PDA [4]. Mobile phones or terminals can access the internet using WAP browsers; WAP browsers can only access WAP sites. Instead of the traditional HTML, XML or XHTML, WAP sites are written in WML (Wireless Markup Language). The WAP protocol is only persistent from the client to the WAP gateway, the connection from the WAP Gateway to the Bank Server is secured by either SSL or TLS. Figure 2 below illustrates this architecture


Figure 2. WAP in relation to external networks. Source from Ric Howell

WAP provides security of communications using the WTLS (WAP Transport Layer Security) protocol and the WIM (WAP Identity Module). WTLS provides a public-key based security mechanism similar to TLS and the WIM stores the secret keys. In order to allow the interoperability of WAP equipment and software with many different technologies WAP uses the WAP protocol suite. Figure 3 illustrates the different layers of the WAP protocol.

1.1     Security problems with Current GPRS Implementations

1.1.1     Security issues with present implementations that use WAP

The present mobile banking implementations that are using WAP have proven to be very secure, but there exist some loopholes which could lead to insecure communications. Some of these loopholes include:
·   There is no end-to-end encryption between client and bank server. There is end-to-end to encryption between the client and the Gateway and between the Gateway and the Bank Server. To resolve this, the bank server could have its own Access Point Name (APN) in any of the GPRS networks. This APN would serve as the WAP Gateway for the bank. Therefore the client would be connected directly to the bank without third parties in the middle of the communication.
·   Public key cryptosystems key sizes offered by the WTLS standard are not strong enough to meet today’s WAP applications’ security requirements. Considering the low processing power of the handheld devices, the key sizes have been restricted [5].
·   Anonymous key exchange suites offered by the WTLS handshake are not considered secure. Neither client nor the server is authenticated. Banks should provide functionality to disallow this option of handshaking.

1.1.2     Security issues associated with using the plain GPRS network

The GPRS core network is too general; it does not cater for some banking security requirements. Some of these requirements include:
·   Lack of account holder or bank authentication. The Bank can provide a unique APN to access the Bank server, but without this or some other authentication mechanism anyone can masquerade as the Bank. All these issues raise concerns of fabrication of either bank information or account holder information
·   Provision of functions to avoid modification of data and ensure the integrity of data for both the account holder and the Bank.
·   The methods to cater for confidentiality of data between the mobile station and the bank server have proven to be weak, and the network operator can view account holder’s information. This raises security issues for both the bank and account holder.
·   The bank cannot prove that the account holder performed a specific action and the account holder cannot prove that the bank performed a specific action.
·   GPRS provides session handling facilities, but does not handle Bank specific sessions; this may cause inconsistencies on the bank’s side raising security issues.

2.     SECURE SMS SOLUTION

The solution provides a secure messaging protocol that uses SMS. The secure messaging protocol overcomes the existing security shortfalls in the GSM architecture. The messaging protocol has been integrated with mobile banking system so as to improve the security of SMS banking.
For demonstration purposes, three types of transactions have been simulated in this project. These transactions are: check balance, transfer money and purchase airtime. The types of transaction can change depending on the types of services provided by the bank.

2.1     Secure SMS Protocol

2.1.1     Message Structure

The secured SMS message is divided into multiple fields to accommodate for the various security checks required for the protocol. To ease the understanding of the message structure, Figure 4 shows the structure overview for a secure SMS message. The numbers above the fields are the minimum number of bytes required for each field in the message. The number of bytes for each field can be increased depending on the implementation requirements.





No comments:

Post a Comment