Institutional Repository of Vilnius University
Secure messaging system with multi-factor authentication and encryption mechanisms /
Abstract
dc:descriptionThis bachelor thesis presents the development of a secure messaging platform that integrates multi-factor authentication (MFA) and encryption mechanisms to enhance the security of communications. The research addresses the need for more messaging applications with additional security capabilities, especially in the context of the increasing number of cybersecurity threats and the growing importance of protecting sensitive messages. The main objective is to develop a web-based messaging system that combines strong authentication mechanisms and secure messaging. The system is developed using Python (Flask framework) for the server subsystem, HTML/CSS for the client subsystem and SQLite for the database. The main security features include password encryption using the Werkzeug security module, MFA implementation using Google Authenticator and message encryption using cryptography.fernet. A detailed analysis of existing secure messaging platforms (Signal, Telegram, AWS Wickr) has been carried out using the methods of literature review and benchmarking of existing information systems (IS) to identify gaps in current solutions, with a particular focus on the fact that several of these platforms do not have local MFA support. This analysis helped to shape the system requirements and the security features implemented in the final solution. The design process was carried out using UML diagrams created with the MagicDraw and Draw.io tools, thus providing a clear visualisation of the system architecture and workflow. The system under development has focused on the core functionality, which includes user authentication, encrypted messaging and administration capabilities. The solution developed includes security measures such as: MFA authentication using Google Authenticator, the requirement to use complex passwords, secure message encryption, session management, admin controls for user management and system monitoring, and monitoring of login attempts. System testing has been carried out using static and automated tests using the Python coverage library. The test cases covered authentication, user management, messaging functionality and security features. The tests showed strong model and configuration coverage (94-100%), although areas for improvement were identified in application routing and error handling (54% coverage). The developed system has successfully implemented secure messaging, fulfilling the main objective and maintaining the ease and convenience of use of the system. The platform efficiently manages both individual and group messages using appropriate access control and security measures. The integrated MFA functionality enhances the level of security of the IS, distinguishing it from the aforementioned solutions available on the market. The main conclusions highlight the ability of the system to combine MFA and encrypted messaging and point to possible areas for future improvement. These areas include: implementing client-side end-to-end encryption, providing more MFA options, improving test cases and adding other features such as voice messaging, calling options and file sharing. The study shows that a messaging platform can combine robust security measures with ease of use. It is a platform that prioritises the user's communication experience and robust security options, demonstrating the application of multi-layered security approaches to digital communication.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Cheoh-Suh, Neba Forbacha,
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- eng
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD229558354&prefLang=en_US