Securing Cloud Emails Using Two Factor Authentication Based On Password/Apps In Cloud Computing

Kayigana Virgile, Huiqun YuInternational Journal of Security and Its Applications 2015 · DOI

Abstract

Cloud computing services, particularly cloud-based email, are expanding rapidly. However, security remains a primary concern as traditional username and password credentials are increasingly vulnerable to compromise. This paper proposes a more secure two-factor authentication (2FA) structure that supplements standard credentials with a second factor: a dedicated application stored on the user's smart device. By utilizing device-specific identifiers and random passcode generation, the system enhances the privacy of cloud emails. Testing within a Python environment demonstrates that the proposed scheme offers high security with low implementation costs and minimal latency compared to existing methods.

Introduction

As email services migrate to the cloud, the traditional reliance on a single username/password pair has become a significant security liability. Weak passwords and credential reuse make accounts easy targets for brute-force attacks. While biometric solutions offer higher security, they often require specialized hardware. Conversely, SMS-based 2FA introduces costs, privacy concerns regarding phone numbers, and reliability issues in areas with poor cellular coverage. This research addresses these gaps by proposing a 2FA system that leverages a mobile application and device-specific hardware addresses to provide a cost-effective and secure authentication layer.

System Architecture and Methodology

The proposed system introduces a secondary authentication step after the initial credential check. The core mechanism involves "Device Binding," where the mobile application reads the handheld device’s unique MAC address. This address is encrypted using the Data Encryption Standard (DES) and stored securely by the cloud provider.

The authentication flow follows a structured path as illustrated in the system diagram:

  1. The user provides their username and password.
  2. Upon successful credential verification, the server generates a random 6-digit passcode.
  3. This passcode is sent to the registered mobile application.
  4. The user enters the passcode into the login interface to grant access.
Figure 1: The state transition and flow of the proposed cloud service authentication process, involving the user device, cloud provider components, and the mobile application.

Experimental Results

The system was evaluated using a Python-based simulation with synthetic user databases. The primary metrics measured were the computational latency for credential verification and the "human-in-the-loop" time required for entering the 2FA code.

Figure 5: Experimental results showing the time required for username/password verification and the total time for digit code verification across ten trials.

As shown in the experimental data, the average time to verify a username/password pair is approximately $2.32 \times 10^{-5}$ seconds. The average time for the second factor—including the time for a human to read and input the 6-digit code—is approximately 7.8 seconds. This results in a total login time of under 10 seconds, maintaining a positive user experience while significantly boosting security.

Security and Efficiency Analysis

The use of a 6-digit random code reduces the probability of a successful brute-force attack on the second factor to approximately 1 in 900,000 ($1.11 \times 10^{-6}$). Furthermore, the system is highly scalable; storage requirements for user credentials are minimal, with a database for 100 users requiring only 4KB of space. This suggests that even at a scale of 200 million users, the storage overhead would remain manageable for modern cloud infrastructures.

Conclusion and Future Work

The proposed 2FA scheme provides a robust alternative to SMS and biometric authentication. By binding accounts to physical hardware via a mobile app, it ensures that stolen passwords alone are insufficient for unauthorized access. Future work will focus on upgrading the encryption standard from DES to AES to meet modern cryptographic requirements and developing offline synchronization methods for the 2FA application to ensure functionality in areas without active data connectivity.

Summary updated

Abstract

Cloud computing has been extending extensively, involving multiple users on the service it provides. Cloud based email is one of services provided by cloud computing with number of users expanding on yearly basis. Cloud computing faces concerning problem of security and privacy mainly based on its working environment. Identity authentication is one reliable method in cloud environment to identify users requesting for cloud services, currently user authentication in cloud computing is based on the credentials possessed by the user mostly username & password. However, this method has vulnerability of being compromised by illegitimate users when users' passwords have been revealed or cracked. The paper proposes a more secure structure, i.e the two-factor authentication which authenticates by requiring the username/password pair also needs a second factor to completely grant access. The second factor is App stored in users' smart devices. Username & password/Apps method will continue to allow users to set up passwords for their accounts, it will make a random compulsory code to be entered through App on smart phone devices hence keep privacy of cloud emails. Testing has been done with help of Python program environment. Comparing to recent related proposed schemes, our proposed scheme has advantage of high unbreakable security feature with low implement cost.
BibTeX
@article{virgile2015securing,
  author = {Kayigana Virgile and Huiqun Yu},
  title = {{Securing Cloud Emails Using Two Factor Authentication Based On Password/Apps In Cloud Computing}},
  journal = {International Journal of Security and Its Applications},
  year = {2015},
  doi = {10.14257/ijsia.2015.9.3.12},
}
Figure