IFImed El Fray

Imed El Fray

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Imed El Fray has a total of 20 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Detection of attacks on computer networks using machine learning – predictive model

    by Julia Stepien, Imed El Fray

    Intrusion detection systems based on machine learning achieve high effectiveness in optimal testing conditions. However, real environments come with limitations such as changing data characteristics, previously unknown attacks or low and delayed label availability. To address these challenges,...

  • Open Access

    Enhancing Two-Factor Authentication Security by Analyzing and Detecting SMS OTP-Interception Techniques in Android Malware

    by Maciej Bartłomiejczyk, Imed El Fray, Faouzi Kamoun

    Two-factor authentication (2FA) is a foundational security mechanism that significantly enhances user identity verification's reliability. Despite the availability of various 2FA implementation methods, a considerable proportion still relies on SMS-based one-time passwords (SMS OTP). This approach, however, has been widely discouraged by prominent cybersecurity standardization and advisory bodies such as the National Institute of Standards and Technology (NIST), the European Union Agency for Cybersecurity (ENISA), and the Open Worldwide Application Security Project (OWASP) due to its susceptibility to multiple types of attacks, including those involving malware. The research presented in this paper focuses on evaluating the resilience of a proposed malware detection approach based on static analysis, which is capable of detecting SMS-stealing malware even in the presence of code obfuscation. The study targeted malware applications designed to intercept SMS OTP codes. A key objective was to assess whether code obfuscation techniques hinder the effectiveness of static analysis in detecting such malware. To facilitate this evaluation, a dedicated dataset, SMS Stealing Malware Dataset (SSMD), was constructed using samples from existing collections, including CICMalAnal2017, DREBIN, and RmvDroid. The SSMD consists exclusively of malware samples that actively intercept SMS OTPs. Experimental validation of the proposed malware detection method demonstrated an almost 70% detection rate for malware exploiting the READ_SMS and RECEIVE_SMS permissions. The results further demonstrate that permission-based static analysis techniques remain effective, even when subjected to the evaluated code obfuscation strategies.

  • Open Access

    Device Risk Analysis Protocol for SMS-Based OTP Authentication

    by Maciej Bartłomiejczyk, Imed El Fray

    Two-factor authentication (2FA) is widely recognized as a secure authentication method. Despite the availability of multiple authentication methods, SMS one-time password (OTP) remains popular. However, SMS OTP is vulnerable to several attacks that pose a significant threat to the authentication process. Due to the risk of attacks, particularly those based on social engineering and malware related to endpoint compromise, the National Institute of Standards and Technology (NIST) has removed SMS OTP as a recommended delivery channel. This paper analyses two different variants of passive and active malware attacks on SMS OTP for Android mobile devices. In response to the identified threats, a risk assessment protocol is proposed. This protocol includes a malware detection algorithm to assess device risk and determine whether SMS OTP can be used for user authentication. The security level of the authentication process depends on the user’s specific device. The proposed malware detection algorithm was tested on publicly available applications provided by users participating in the research. Two application datasets were scanned during the research. The first dataset consisted of 520 applications available on the Play Store, and the second dataset consisted of 1,200 applications provided by users who participated in the research.


  • Open Access

    User Authentication Protocol Based on the Location Factor for a Mobile Environment

    by Maciej Bartlomiejczyk, Imed El Fray, Miroslaw Kurkowski, Sabina Szymoniak, Olga Siedlecka-Lamch

    The way the internet is used by billions of users around the world has been revolutionized by mobile devices. The capabilities of smartphones are constantly growing, and the number of services available for mobile devices is also increasing. This undeniable trend makes smartphones terminals for accessing services that process confidential data, which make smartphones priceless targets of cyberattacks. Along with an increasing number of mobile services, the methods of securing the confidentiality, integrity and availability of systems used have also evolved and adapted to the capabilities of a mobile environment. One of the important security services is the user authentication process. This process often implements the postulates of strong authentication, multistage authentication based on factors from the knowledge, position and inherence categories. Unfortunately, the implementation of the factors belonging to these categories is not always possible due to the limitations of smartphones, such as the lack of interfaces for the implementation of biometrics or environmental factors -problems with network or internet access in various countries and regions. Therefore, there is a need to analyse the possibility of implementing a strong authentication process based on additional information about users, e.g., based on location data. The article analyses the requirements for the authentication process and authentication factors. Based on the performed analysis, the criteria that each authentication factor must meet were defined. This article presents a proposal for a user authentication protocol based on the location factor for a mobile environment. The method can be used in the case of problems with the implementation of strong authentication or as an additional authentication factor that increases the security of the user identity confirmation process. The presented protocol has been analysed in terms of performance, security and compliance with the requirements related to the authentication factors.


  • Open Access

    New XML Signature Scheme That is Resistant to Some Attacks

    by Gerard Wawrzyniak, Imed El Fray

    Supporting the execution of transactions through the use of electronic documents requires security. The scope of this security primarily involves ensuring the integrity, authenticity and non-repudiation of the origin of information. The signed XML document is a powerful tool that ensures the above features and the ease of processing and integration with various systems. An XML document may have many signatures, and each of them may sign different parts of the document. This feature is highly attractive, but in order to use it, the signature and structure of the document must be carefully designed. This article presents the existing risks associated with the use of XML signatures, focusing on XML signature wrapping vulnerability. This vulnerability is a consequence of the relationship between the XML signature and the signed document. The authors suggest that without neglecting the need for protection against the possibility of moving and replacing a fragment of the document, the use of secure XML signature references should also be considered and applied. The article proposes the use of secure signature templates as a countermeasure against the threat of an improper indication of the signed content defined in the signature reference. This threat is serious in automatic signature processing, where it is important to correctly indicate the signed content.


  • Open Access

    Multifactor Authentication Protocol in a Mobile Environment

    by Maciej Bartlomiejczyk, El Fray Imed, Miroslaw Kurkowski

    The implementation of services which process confidential data in a mobile environment requires an adequate level of security with the strictest possible mechanisms of information protection. The dominance of mobile devices for client applications of distributed systems has led to development of new techniques that combine traditional methods of protection with protocols using the potential of numerous interfaces available from a smartphone. For this reason, an upward trend in the use of biometrics-based methods and dynamically generated OTP secrets can be observed. Mobiles are increasingly used in complex business processes that require strong user authentication methods, which according to the European Commission document 1 must use at least two authentication factors belonging to different categories. Therefore, on the basis of the analysis of the solutions presented so far, a distributed protocol has been proposed. It enables user authentication using three authentication factors: possession, knowledge and inherence. The described authentication scheme refers to the possibility of carrying out the process in the mobile environment of the Android platform with guaranteed authentication support.