scieee AI-readable full text Open interactive document viewer

Phishing Webpage Classification via Deep Learning-Based Algorithms: An Empirical Study

Do, Nguyet Quang,Fujita, Hamido

Abstract

This work was supported/funded by the Ministry of Higher Education under the Fundamental Research Grant Scheme (FRGS/1/2018/ICT04/UTM/01/1). The authors sincerely thank Universiti Teknologi Malaysia (UTM) under Research University Grant Vot-20H04, Malaysia Research University Network (MRUN) Vot 4L876, for the completion of the research. Faculty of Informatics and Management, University of Hradec Kralove, SPEV project Grant Number: 2102/2021.

Full text

applied sciences Article Phishing Webpage Classification via Deep Learning-Based Algorithms: An Empirical Study Nguyet Quang Do 1, Ali Selamat 1,2,3,4,* , Ondrej Krejcar 4, Takeru Yokoi 5and Hamido Fujita 6,7,8   Citation: Do, Q.N.; Selamat, A.; Krejcar, O.; Yokoi, T.; Fujita, H. Phishing Webpage Classification via Deep Learning-Based Algorithms: An Empirical Study. Appl. Sci. 2021,11, 9210. https://doi.org/10.3390/ app11199210 Academic Editors: Sławomir Nowaczyk, Mohamed-Rafik Bouguelia and Hadi Fanaee Received: 18 August 2021 Accepted: 29 September 2021 Published: 3 October 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1Malaysia-Japan International Institute of Technology (MJIIT), Universiti Teknologi Malaysia Kuala Lumpur, Jalan Sultan Yahya Petra, Kuala Lumpur 54100, Malaysia; [email protected] 2School of Computing, Faculty of Engineering, Universiti Teknologi Malaysia, Johor Bahru 80000, Johor, Malaysia 3Media and Games Center of Excellence (MagicX), Universiti Teknologi Malaysia, Skudai, Johor Bahru 81310, Johor, Malaysia 4Center for Basic and Applied Research, Faculty of Informatics and Management, University of Hradec Kralove, Rokitanskeho 62, 500 03 Hradec Kralove, Czech Republic; ondrej.kr[email protected] 5Tokyo Metropolitan College of Industrial Technology, Tokyo 140-0011, Japan; [email protected] 6Andalusian Research Institute in Data Science and Computational Intelligence (DaSCI), University of Granada, 18001 Granada, Spain; [email protected] 7i-SOMET Incorporated Association, Morioka 020-0000, Japan 8Regional Research Center, Iwate Prefectural University, Iwate 028-4211, Japan *Correspondence: [email protected] Abstract: Phishing detection with high-performance accuracy and low computational complexity has always been a topic of great interest. New technologies have been developed to improve the phishing detection rate and reduce computational constraints in recent years. However, one solution is insufficient to address all problems caused by attackers in cyberspace. Therefore, the primary objective of this paper is to analyze the performance of various deep learning algorithms in detecting phishing activities. This analysis will help organizations or individuals select and adopt the proper solution according to their technological needs and specific applications’ requirements to fight against phishing attacks. In this regard, an empirical study was conducted using four different deep learning algorithms, including deep neural network (DNN), convolutional neural network (CNN), Long Short-Term Memory (LSTM), and gated recurrent unit (GRU). To analyze the behaviors of these deep learning architectures, extensive experiments were carried out to examine the impact of parameter tuning on the performance accuracy of the deep learning models. In addition, various performance metrics were measured to evaluate the effectiveness and feasibility of DL models in detecting phishing activities. The results obtained from the experiments showed that no single DL algorithm achieved the best measures across all performance metrics. The empirical findings from this paper also manifest several issues and suggest future research directions related to deep learning in the phishing detection domain. Keywords: phishing detection; deep learning (DL); deep neural network (DNN); convolutional neural network (CNN); long short-term memory (LSTM); gated recurrent unit (GRU) 1. Introduction In the past few years, deep learning (DL) techniques have proven to be an effective solution among applications across multiple disciplines, including Internet of Things (IoT), intrusion detection system (IDS), ransomware detection, etc. [ 1 – 5 ]. Numerous researchers in cyber security have shifted their attention towards DL algorithms. Notably, researchers and security experts have also recognized its significance in the phishing detection domain [ 6 – 8 ]. During the last few years, website phishing has become one of the most common phishing attacks in cyberspace. Therefore, various anti-phishing solutions have been developed to detect phishing threats early to minimize the security risks and protect Appl. Sci. 2021,11, 9210. https://doi.org/10.3390/app11199210 https://www.mdpi.com/journal/applsci Appl. Sci. 2021,11, 9210 2 of 32 the end-users. Among them, website phishing detection based on DL algorithms has caught much attention in recent studies. Security strategies based on DL mechanisms have become increasingly popular to deal with evolving phishing attacks [ 9 – 11 ]. There are numerous types of DL techniques designed to solve a specific problem or meet a system’s particular requirement; each has its advantages and disadvantages [2,12,13]. Hence, choosing the right approach best fitted to a target application is not an easy task. Especially when phishers keep changing their attacking tactics to leverage the systems’ vulnerabilities and the users’ unawareness, selecting an inappropriate algorithm would lead to unpredicted outcomes, resulting in a waste of effort and eventually affecting the model’s accuracy and efficiency [ 14 ]. Therefore, choosing an effective phishing detection model, high in performance accuracy and low in computational power, is a challenging task. The fine-tuning process of DL architectures is another issue that needs to be considered. Motivated to solve this problem, this paper adopted an empirical approach to explore the performance of several DL algorithms, such as deep neural network (DNN), convolutional neural network (CNN), Long Short-Term Memory (LSTM), and gated recurrent unit (GRU). This paper also identified the parameter settings for each DL model and investigated the effects of changing these parameters on the model’s performance accuracy. The final goal of this paper was to choose the best DL algorithm with the neural network architecture that produced the maximum accuracy with the minimum computational consumption. The findings from the empirical analysis of this paper also highlight the overlooked issues and future perspectives that encourage researchers to solve these problems. This paper continues our previous research work that described a systematic literature review on phishing detection and machine learning [ 15 ]. One of the findings from this work suggested that DL algorithms appeared to be an effective solution for detecting phishing attacks, yet they have not been fully exploited. In this regard, an empirical analysis was conducted in this study to explore the most recent DL techniques used for phishing detection. In this paper, the following contributions were made via the empirical study: • We exploited the state-of-the-art DL algorithms and compared their performance using numerous evaluation metrics; • We identified the most common parameters and examined their influences on the performance of four DL models; • We highlighted several issues based on the findings from the empirical experiments and recommended possible solutions to address these issues. The remainder of this paper is structured as follows. Section 2provides a short description of four different DL architectures, and reviews previous studies on these algorithms in the phishing detection domain. The methodology used to conduct this research is presented in Section 3, including experiment setup, website features, DL models, and parameter optimization. Section 4summarizes the findings, highlights the issues observed from the obtained results, and suggests possible solutions for future research directions. Finally, the conclusion and future work of this research is given in Section 5. 2. Literature Review This section provides a general overview of four different DL algorithms, including DNN, CNN, LSTM, and GRU. Previous research on these four types of DL architectures in the phishing detection domain is also discussed. In each study, we analyzed the neural network architecture, parameter optimization, and performance metrics to achieve a comprehensive understanding of each DL model’s design, implementation, and evaluation. Finally, the novelty of this research work compared with other related studies in the same research area is also highlighted. 2.1. Deep Neural Network (DNN) Deep neural network (DNN) is one of the most common types of DL algorithm widely used in the cybersecurity domain. DNN is well-known among DL architectures due to its success in a wide range of applications [ 13 ], its ability to express complex functions Appl. Sci. 2021,11, 9210 3 of 32 with fewer parameters, and its capability to facilitate feature extraction and representation learning [ 16 ]. However, DNN requires a substantial amount of labeled data for training. In addition, it still suffers from insufficient parameter selection techniques [ 17 ], and the learning process is time-consuming [ 13 ]. Despite its disadvantages, several research works have been conducted to examine the effectiveness of applying DNN in detecting phishing webpages. Table A1 in Appendix Asummarizes previous studies related to DNN for phishing detection, in the literature. As a single classifier, DNN was used in [ 18 – 20 ] to train the classification system for the detection of phishing websites. Instead of using DNN as a stand-alone classifier, the authors in [ 21 , 22 ] combined it with other DL algorithms to build a model to differentiate between malicious and benign URLs. It was observed that among these DNN-based models, parameters settings play an essential role in determining the system’s performance accuracy. Nevertheless, some studies [ 21 , 22 ] did not mention any of the hyper-parameters in the design of the neural network architecture, while other papers [ 19 , 20 ] only specified a few of them without performing parameter optimization. The authors in [ 18 ] made additional effort in fine-tuning the parameters, but not all were included. Moreover, the performance metric is another crucial factor that needs to be considered when analyzing and evaluating a phishing detection system. Previous studies have shown a limited number of metrics were used to assess the performance of DL models in detecting phishing websites. For example, only two metrics were used in [ 19 ], and three were measured in [ 21 ]. More metrics were used in the studies [ 18 , 22 ], yet only the selected ones were utilized to benchmark with other machine learning classifiers. 2.2. Convolutional Neural Network (CNN) Convolutional Neural Network (CNN) is another popular type of DL technique in the field of cybersecurity. CNN is well-fitted to multi-dimensional data and specializes in image and signal processing [ 1 , 23 ]. In addition, CNN can extract features from raw data more efficiently and can solve complicated tasks. It is also more scalable and requires less training time [ 4 ]. Nevertheless, CNN architecture needs high computational power and a big dataset when dealing with image data [ 13 ]. Although CNN has achieved tremendous success with computer vision, it has also been applied in the cybersecurity domain. Table A2 from Appendix Aprovides a summary of previous research works on CNN in the field of phishing detection. CNN was used as a single classifier in numerous research to distinguish between phishing and legitimate websites [ 7 , 8 , 20 , 24 – 28 ]. It can also be used in combination with other DL techniques to form an ensemble model and to improve phishing detection accuracy [ 10 , 11 , 29 – 36 ]. The difference between the architectures of CNN and DNN is the use of convolutional layers and kernels. Realizing the important role of these elements in determining the performance accuracy of phishing detection models, most researchers paid more attention to specifying these parameters, not others such as learning rate, dropout rate, epoch, or batch size. While this problem was avoided in [ 10 ], details of optimizing these parameters were not provided in the paper. Similarly, the authors of [ 24 , 28 , 29 , 32 ] described the optimization process, but only on certain parameters, for example, the number of convolutional layers, number of kernels, and kernel size. Additionally, in terms of performance metrics, it was observed that accuracy, precision, recall, and F1-score were the most common measures [ 7 , 24 , 28 , 30 – 32 , 34 , 35 , 37 , 38 ]. Other evaluation metrics were training time, detection time, GPU memory requirement, etc. [7,24,28,32–34]. 2.3. Long Short-Term Memory (LSTM) Long Short-Term Memory (LSTM) is a type of Recurrent Neural Network (RNN) that involves a loop structure between neurons in each layer [ 12 ]. LSTM is suitable for sequential or time-series data since it can maintain the continuity of information [ 39 ]. LSTM is more popular than the original RNN because the vanishing or exploding gradient and long-term dependency problems in traditional RNN have been overcome in LSTM [ 1 , 3 , 4 ]. Appl. Sci. 2021,11, 9210 4 of 32 LSTM takes a significantly long time to train, despite these advantages, compared to other DL algorithms [ 1 ]. In addition, LSTM only considers the forward information and does not consider the backward information. This issue, however, can be resolved in Bidirectional LSTM [ 40 ]. LSTM has caught much attention among researchers, and some of their research works in the phishing detection domain are shown in Table A3 (Appendix A). Similar to DNN and CNN, LSTM can be implemented individually [ 20 , 41 – 45 ], incorporated with traditional machine learning techniques [ 46 , 47 ], or combined with other DL algorithms in a hybrid model for an improved performance in detecting malicious websites [ 10 , 11 , 31 , 33 , 35 , 36 ]. Among the studies of LSTM-based phishing detection models, a majority of them specified the parameter settings for neural network architecture, number of epochs, and learning rate; but ignored the dropout rate and batch size [ 31 , 41 , 42 , 44 , 47 ]. Moreover, only certain parameters were optimized during the fine-tuning process [ 32 , 42 ]. To evaluate the overall performance of LSTM models, four popular metrics were used, being accuracy, precision, recall, and F1-score [ 31 , 35 , 41 , 44 , 45 ]. Other measures training time, detection time, error rate, detection cost, number of epochs per second, etc. [33,42,46,47]. 2.4. Gated Recurrent Unit (GRU) Gated Recurrent Unit (GRU) is another variant of RNN and is a lightweight version of LSTM [ 23 ]. While working on small datasets, the performance of GRU is similar to LSTM [ 48 ]. Some of the previous studies that implemented GRU in their phishing detection models are provided in Table A4 (Appendix A). There are a limited number of studies on the implementation of GRU for phishing detection. GRU and Bidirectional GRU can be employed as a single classifier [ 41 , 48 ], or as a replacement to the max-pooling layer in a CNN model [ 34 ]. Similar to LSTM, in implementing GRU-based phishing detection models, only neural network architecture, learning rate, and epoch were specified, but not batch size and dropout rate [ 41 , 48 ]. Plus, none of the reviewed papers on GRU included parameter optimization in their experiments. Regarding the performance metrics, all three studies [ 34 , 41 , 48 ] used accuracy, precision, recall, and F1-score to assess the effectiveness of the DL algorithm. Additional metrics involved GPU memory requirement and parameter set size [34,48]. 2.5. Hyper-Parameters One of the factors that affects the performance of DL algorithms is the selection of hyper-parameters during training. Their values can be fine-tuned to optimize the performance accuracy of phishing detection models. These parameters include, but are not limited to, the number of layers in the neural networks, number of neurons (units) in each layer, learning rate, dropout rate, number of epochs, batch size, etc. [ 17 ]. A basic understanding of each parameter will assist in selecting its value in the design and implementation of various DL architectures. Learning rate. Learning rate is one of the essential factors in the parameter settings of DL models to determine how proper the network can be trained or how fast the model can converge [ 22 , 42 ]. As the learning rate is associated with the convergence speed of the DL algorithm, a more significant learning rate (0.5 to 1) results in a faster convergence speed [ 49 ]. A higher learning rate guarantees not only good performance but also causes low stability. However, this only happens at the early stage; after a certain period, the model’s performance will slow down and eventually stop before reaching optimality. Meanwhile, a smaller learning rate (0.0001 to 0.01) can guarantee the model’s stability, yet it delays the speed of convergence, and hence, a longer time is needed to train the DL algorithm. Dropout rate. Dropout is one of the regularization techniques used to avoid overfitting problems in deep neural network architectures [ 23 ]. Overfitting usually happens when the DL model performs well on the training dataset but does not perform well on the validation set. This causes the training accuracy to be much higher than the validation accuracy. The dropout rate is a probability coefficient at which neurons in a particular layer Appl. Sci. 2021,11, 9210 5 of 32 of deep neural networks are discarded during the training process [ 33 ]. For instance, when a dropout rate of 0.2 is applied to a specific layer, 20% of the total number of neurons in that particular layer will be dropped. Dropout strategy is usually used in CNN, LSTM, and GRU architectures to prevent overfitting issues [10,30,34]. Batch size. In implementing a DL algorithm, a dataset consisting of numerous samples is used and split into two parts, namely training and testing. In the training phase, instead of passing the whole set of samples to the DL model, training data is divided into batches, in which each batch contains a small amount of data. The size of this subset of data is known as batch size [ 50 ]. The normal range of batch size is from 16 [ 37 ] to 2048 [ 32 ], depending on the size of the dataset. Small datasets generally use small batch sizes, while big datasets use larger batch sizes. Epoch. Epoch is the number of iterations for training after the DL model has been built and compiled. It is essential to select the appropriate number of training iterations since it can affect the performance accuracy of the phishing detection model [ 22 ]. The detection accuracy can increase as the number of epochs goes higher; however, it also requires longer training of the deep neural network. As a result, to determine the number of epochs that give the best performance, one can increase the number of training iterations until reaching the minimum loss. With the growing number of epochs, the model loss will continue to decrease to a specific minimum value and then fluctuate [ 42 ]. At this point, training should be stopped since the model accuracy remains stagnant for a further higher number of iterations. Number of layers. Network layers refer to the hidden layers in DNN, the convolutional layers in CNN, the LSTM/GRU layers in LSTM/GRU architecture, the Restricted Boltzmann Machine (RBM) layers in Deep Belief Network (DBN), the number of Autoencoders (AE) in the Stacked Autoencoder (SAE) model, etc. [ 22 ]. An increase in the number of layers in neural network architecture will increase network complexity and slow down the training process. Consequently, it is advisable to slowly raise the number of layers while observing the model’s performance accuracy. Further increase in layers might result in additional processing time while the best performance cannot be guaranteed [42]. Number of neurons/units per layers. In addition to network layers, the number of neurons or units in each layer can also significantly impact the performance of the DL algorithm. Similarly, increasing the number of neurons in the hidden layers of the Deep Neural Network or the number of LSTM units in the LSTM layers might cause low detection accuracy and long training time [ 42 ]. Therefore, researchers need to fine-tune these values to ensure an effective and efficient DL model for phishing detection without compromising its performance accuracy. Number of kernels. Instead of the number of neurons in the hidden layers of DNN, in CNN architecture, the number of kernels or filters in the convolutional layers can significantly influence the success rate at which phishing websites are detected. Kernels, or filters, are used mainly in CNN models to convolve the input data into numerous feature maps [ 22 ]. Different kernels were used in previous research works, ranging from 8 [ 11 ] to 512 [ 42 ], depending on the number of input features, size of the dataset, or the neural network architecture. Kernel size. Kernel size, or window size, is another parameter that needs to be finetuned in CNN models. Kernel size is the size of a one-dimensional window, which is convolved sequentially in the convolutional layers and depends on the number of input features [ 42 ]. Different kernel sizes have been utilized in previous studies, with typical values from 1 to 10 [ 28 , 29 , 35 ]. The optimal kernel size that produces the best performance is determined based on the model’s loss and accuracy. Optimizer. While training deep neural networks, the loss function or error is calculated to evaluate the effectiveness and efficiency of the DL algorithm. This loss function can be optimized, and the weights can be updated by using optimizers [ 34 , 42 ]. Popular methods of optimization include Root Mean Square Propagation (RMSProp), Gradient Decent (GD), Appl. Sci. 2021,11, 9210 6 of 32 Adam, AdaGrad, AdaDelta, etc. [ 26 ]. GD and Adam are the most common optimization techniques in classification problems to optimize the error and adjust the weights [37]. Activation function. The activation function is represented by a mathematical equation that defines an output of a neuron based on given inputs [ 13 ]. It is considered one of the important parameters in DL architectures that determines the training model’s output, accuracy, and efficiency. In the neural network, neurons of the same layer usually use the same activation function [ 6 ]. Rectified Linear Unit (ReLU), Softmax, sigmoid, and Tanh are examples of frequently-used activation functions for DL models. 2.6. Performance Metrics To evaluate the performance of a typical DL model, several metrics can be used. The most common is the confusion matrix which comprises four basic measures: True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN), as shown in Figure 1 . In addition, Precision, Recall, F1-Score, Area Under the Curve, and Accuracy are also important metrics that are required in the performance evaluation of phishing detection models. The formula of these metrics can be defined as Equations (1)–(6). In any phishing detection model, the primary purpose is to identify phishing attacks; therefore, a phishing sample is often regarded as a positive instance while a legitimate sample is considered as a negative instance [3,41,51]. Figure 1. Confusion matrix. • True Positive (TP) is the number of positive instances that the model has correctly classified or the number of samples that have accurately been labeled as phishing [2,52,53] . • True Negative (TN) represents the number of negative instances that the model has correctly predicted or the number of samples that have accurately been categorized as legitimate [2,52,53]. • False Positive (FP) denotes the number of negative instances that have been incorrectly recognized as positive or the number of legitimate samples that have been misclassified as phishing [2,52,53]. • False Negative (FN) refers to the number of positive instances that have been wrongly labeled as negative, or the number of malicious samples that have been misidentified as benign [2,52,53]. False Positive Rate (FPR), also known as False Alarm Rate (FAR) or Fall-Out, is defined as the ratio of FP instances to the total number of predicted negative samples. In other words, it is the number of legitimate instances incorrectly classified as phishing over the total number of legitimate samples [2,46], and is measured as follows: FPR =FP FP +TN (1) False Negative Rate (FNR) is defined as the ratio of FN instances to the total number of predicted positive samples, or the percentage of phishing instances wrongly marked as legitimate in all the phishing samples [2,46], and is calculated as: FNR =FN FN +TP (2) Appl. Sci. 2021,11, 9210 7 of 32 Precision (PR) is the fraction of predicted positive instances that are positive [ 1 ], or the proportion of phishing samples correctly classified as phishing over the total number of actual phishing samples [ 46 , 52 ]. PR indicates the confidence level of the phishing detection model, i.e., how many are malicious out of all the phishing instances detected [ 18 ]. PR can be used as a valuable measure for situations in which an unbalanced dataset is involved, in cases when accuracy fails to indicate how well the DL model performs, or in scenarios where the accuracy score alone is insufficient for security experts to make a decision [ 1 ]. High precision indicates how accurately the model can detect phishing attacks. PR can be computed using the following formula: PR =TP TP +FP (3) Recall (RC), also known as True Positive Rate (TPR), Sensitivity, or Probability of Detection (P D ) [ 54 ], represents the percentage of positive instances in all predicted positive samples. It shows the proportion of phishing instances accurately recognized as phishing over the total number of predicted phishing samples [ 46 ]. RC can sometimes be named as detection rate [ 3 ], which reflects the model’s ability to identify phishing activities, and is mathematically given by: RC =TP TP +FN (4) F1-Score (F1), or F-Measure, is a harmonic means of precision and recall, representing the balance of both these measurements. F1-Score is a good indication of how well the model has performed [ 1 ]. A high F1 value means the model can detect malicious attacks while ensuring that FP and FN are minimized. F-Measure signifies the model’s resilience and effectiveness [ 32 , 55 ]. Thus, it can be used to estimate the overall performance of the DL model and is given by the following equation: F1 =2. PR.RC PR +RC (5) Area Under the Curve (AUC) is measured as the total area under a Receiver Operating Characteristic (ROC) curve, which is a graph plotted with the FPR as x-axis and TPR as y-axis [ 54 ]. It describes the model’s classification ability while varying the classification thresholds and typically ranges between 0.5 and 1.0 [ 51 ]. AUC closed to 1.0 is an ideal scenario with perfect classification capability, whereas AUC less than 0.5 indicates an inferior detection performance. In other words, the higher the AUC value, the better the classifier. Accuracy (ACC) is one of the most essential and popular metrics to assess the performance of a DL algorithm [ 1 ]. In the context of phishing detection, it shows how effectively and efficiently a classifier can distinguish between phishing and legitimate. ACC measure can be used as a good indicator of how well a DL model is trained and described as the overall effectiveness of the classification model [ 2 ]. There are certain limitations with accuracy when it comes to unbalanced datasets. However, valuable insight can be derived from accuracy measures when the classes are balanced [ 54 ]. ACC is calculated as the ratio of correctly classified instances (both phishing and legitimate) to the total input samples (the whole dataset). The equation used for the measurement of accuracy is as follows: ACC =TP +TN TP +TN +FP +FN (6) 2.7. Research Novelty This section highlights the novelty of this empirical study, which is viewed from three perspectives: specification of parameter settings in neural network architectures, optimization process of hyper-parameters for DL algorithms, and performance metrics for phishing detection model evaluation. Appl. Sci. 2021,11, 9210 8 of 32 Even though DL offers various advantages, one of its major drawbacks is manual parameter tuning. There is no standard and holistic guideline for selecting these hyperparameters to achieve the highest performance accuracy. Table 1shows some of the previous research works utilizing DL for phishing detection. These studies are categorized into four groups according to their level of specifying the parameter settings in the neural network architecture. The four categories include Not Specified (NS), Rarely Specified (RS), Partly Specified (PS), and Fully Specified (FS). Studies belonging to the first group (NS) applied DL algorithms without mentioning any hyper-parameters, while those in the second group (RS) only specified one or two. The third group (PS) showed the highest number of studies, yet not all of the parameters were specified or described. Unlike previous research, our study specified all of the hyper-parameters in DL architectures and described the tuning process step-by-step, as provided in Section 3.4. Table 1. Frequency of parameter settings for DL architectures. Category Algorithm Frequency Reference NS 1RS 2PS 3FS 4 Single DNN - 1 - - [19] MLP 1 - 2 - [6,56,57] CNN - - 4 - [7,8,25,27] LSTM - 1 1 - [44,45] BiLSTM 1 - - - [58] BiGRU - - 1 - [48] Dual CNN, CNN - - 1 - [37] CNN, LSTM 1 - 4 - [30,31,33,59,60] CNN, BiLSTM 3 - 1 - [10,36,40,61] CNN, GRU - - 1 - [34] Multiple CNN, RNN, MLP - - 1 - [11] DNN, DBM, SAE 1 - - - [21] DNN, CNN, LSTM - - 1 - [20] LSTM, GRU, BiLSTM, BiGRU - - 1 - [41] DNN, CNN, LSTM, GRU - - - 1 Our study Total 7 2 18 1 1Not Specified. 2Rarely Specified. 3Partly Specified. 4Fully Specified. In addition, the previous studies were also categorized based on the number and type of DL algorithms used. Some studies employed only one technique, while others applied dual or multiple methods. The authors of [ 41 ] used four different DL algorithms, but they belonged to the same type of machine learning (unsupervised). Our research covers the highest number of DL techniques, and from various categories, such as supervised (CNN), un-supervised (LSTM, GRU), and hybrid (DNN), to provide more comprehensive research on numerous DL algorithms. Table 2provides a more in-depth analysis of the parameter optimization process in the related studies. Most studies focused on describing how to achieve the parameter settings for neural network architecture and learning rate, while dropout rate, batch size, and the number of epochs were neglected. Unlike the previous works from Table 1, those in Table 2 described in detail how to obtain some of the hyper-parameters, including the neural network architecture, learning rate, dropout rate, batch size, and epoch. In contrast, our study described the step-by-step process of fine-tuning all the parameters above, to further investigate how these hyper-parameters can affect the performance accuracy of a phishing detection model. Table 3shows a list of performance metrics frequently used by previous authors in their studies. The most common metrics adopted by researchers to evaluate the performance of DL-based phishing detection models were ACC, PR, RC, and F1-Score. Other metrics, such as FPR, FNR, training time, and testing time, were measured by only some authors. Meanwhile, GPU memory requirement, parameter size, number of URLs per second, epoch Appl. Sci. 2021,11, 9210 9 of 32 per second, detection cost, etc., were seldom used. Unlike previous studies that measured only some of the performance metrics, our study covered most of them. In addition to the four common measurements (ACC, PR, RC, F1), other metrics, including FPR, FNR, and AUC, are important indicators of the DL model’s effectiveness in detecting phishing attacks. Furthermore, time complexity (training and testing time) and memory constraints (parameter size and GPU storage) are also crucial factors that need to be considered when assessing the feasibility of DL phishing detection models. As a result, all of these metrics were included in the evaluation process of this empirical study. Table 2. Related works on parameter optimization for DL algorithms. Reference Algorithm Parameters Learning Rate Network Architecture Dropout Rate Batch Size Epoch [9] SAE x x [18] DNN x x [49] DBN x x [50] GAN x x x [24] CNN x x x [28] CNN, CNN x x x x [22] DBN, DNN x x [32] CNN, BiLSTM x x [42] DNN, CNN, LSTM x x [29] CNN, RNN, BiLSTM x x x x Our study DNN, CNN, LSTM, GRU Table 3. Performance metrics used in the previous studies and our research work. Reference Performance Metrics FPR FNR ACC PR RC F1 AUC Training Time Testing Time Other [7] [10] [11] [24] GPU memory requirement Parameter set size, Loss Number of URL per second [28] Parameter size [32] [33] Detection cost, Epoch/s [34] Parameter size [41] Parameter size [48]Model storage spaceParameter size Our study GPU memory stageParameter size 3. Research Methodology This section briefly describes the empirical experiments carried out in this study, the website features used as input vectors, the DL models, and the parameter optimization for four different DL architectures. Appl. Sci. 2021,11, 9210 16 of 32 Figure 6. Optimal DNN architecture. 4.2. Results with CNN Similar to the DNN algorithm, CNN also achieved the best detection accuracy with a batch size of 32. However, the CNN structure was different from that of DNN since the CNN model consisted of convolutional layers with a different number of kernels and kernel size (Figure 7). From the experiment, 16 kernels of size three (3) were found to have the highest accuracy of 96.56%. Other parameters, including learning rate, dropout rate, and epoch, were set to 0.005, 0.5, and 50, respectively. Results obtained from this set of experiments are provided in Appendix A(Tables A9–A15). Figure 7. Optimal CNN architecture. 4.3. Results with LSTM Likewise, different sets of parameters were tested for the LSTM model and provided in Appendix A(Tables A16–A20). The obtained results indicated that the same dropout rate (0.5) and batch size (32) were acquired to produce the highest performance accuracy (97.20%). Nevertheless, only one LSTM layer was needed in the network architecture (Figure 8) because the LSTM algorithm took longer to train. Therefore, adding more layers into the neural network only caused a high computation problem, which compromised the efficiency of the phishing detection system. Appl. Sci. 2021,11, 9210 17 of 32 Figure 8. Optimal LSTM architecture. 4.4. Results with GRU Last but not least, parameter settings for the GRU algorithm were set to ( 30 128 128 1 ) (Figure 9), learning rate = 0.001, dropout rate = 0.5, batch size = 32, and epoch = 200. The highest accuracy that the model could achieve with this set of parameters was 96.70%. Detailed experiments of how to achieve this optimal set of parameters are provided in Appendix A(Tables A21–A25). Similar to LSTM, GRU also required a long duration of training time. As a result, a more complex network architecture with more layers or neurons only increased the computational cost and reduced the model efficiency. Figure 9. Optimal GRU architecture. The loss and accuracy versus the number of epochs for different DL algorithms during training and validation are shown in Figure 10; as the number of epochs increased, the performance accuracy increased while the loss function decreased. The performance metrics of four DL models are displayed in Table 8and Figure 11. It is observed from the experiments that the accuracy of the DNN model was slightly higher than that of the other three DL algorithms. In addition, the amount of time required to train and test the DNN model was relatively low. DNN also had the smallest parameter size and occupied the least memory storage. In contrast, CNN had the lowest measure for accuracy compared with the other three DL mechanisms, yet it required the shortest duration for model training and testing. The parameter size for CNN was more significant than that for DNN, but CNN consumed the most computational power in terms of GPU storage. Meanwhile, to achieve an almost equivalent accuracy level as DNN, many iterations were involved in the training phase of LSTM and GRU models, which made their training time longer than the others. As the number of neurons in LSTM and GRU models was higher, their parameters were also more significant. However, the GPU capacity requirement for LSTM and GRU was less than that for CNN. To sum up, no DL algorithm provided the best measure across all performance metrics. Each DL technique has its pros and cons; Appl. Sci. 2021,11, 9210 18 of 32 therefore, selecting an appropriate DL approach is a challenging task that can affect the outcomes of a phishing detection model. Figure 10. Accuracy and loss of four DL algorithms. Table 8. Performance metrics of four DL algorithms. DL Algorithm Performance Metrics FPR (%) FNR (%) ACC (%) PR (%) RC (%) F1(%) AUC (%) Training Time (min) Testing Time (s) Parameter Size Memory Storage (MB) DNN 3.01 2.47 97.29 97.53 97.53 97.53 99.40 8.38 0.470 1507 172 CNN 3.50 3.39 96.56 96.61 97.09 96.85 99.51 0.9 0.263 3745 325 LSTM 1.80 3.55 97.20 96.45 98.63 97.53 99.11 169.17 0.804 66,689 184 GRU 2.48 3.94 96.70 96.06 98.03 97.04 98.79 55.07 1.447 149,505 184 Appl. Sci. 2021,11, 9210 19 of 32 Figure 11. Performance metrics of four DL algorithms. In Table 9, results obtained from the empirical analysis of this study are compared with those attained from other authors using the same dataset. In previous studies, the authors used only one type of DL algorithm, such as DNN, CNN, or MLP (multi-layer perceptron). However, four different DL architectures from various categories (supervised, unsupervised, and hybrid) were implemented in our research work. Moreover, dropout rate and batch size, which were not specified in some studies [ 6 , 18 , 28 ], were included in our empirical analysis. In addition, it is also observed from the table that although different authors used the same algorithm, their optimal set of parameters and accuracy results were not the same. This implies that researchers still had to perform manual parameter tuning to obtain the optimal parameter settings for their DL models. The authors in [ 64 ] suggested that this process could be optimized using swarm intelligence (Bat, Hybrid Bat, and Firefly Algorithm). Yet, their accuracy measures were either equivalent or lower than other authors. Meanwhile, the accuracies obtained from our study are almost as high as other authors. Moreover, we also measured additional metrics to obtain a more comprehensive analysis of different DL algorithms’ performance in detecting phishing websites. Table 9. Comparison of parameter settings with other studies using the same dataset. Reference DL Algorithm Parameter Settings ACC (%) Learning Rate Input Layer Hidden Layer Output Layer Number of Kernels Kernel Size Dropout Rate Batch Size Epoch [18] DNN 0.01 30 (20 10 5) 2 - - - - 200 97.50 [28] CNN - 30 (64 64) 1 64/64 12/6 - - 220 97.20 [6] MLP - - (100 100) - - - - - - 96.65 [64]DNN.BA 10.0185 30 (50 30) 2 - - - 44 155 95.76 DNN.HBA 20.0462 30 (42 30) 2 - - - 101 135 95.00 DNN.FA 30.0053 30 (50 30) 2 - - - 37 192 96.65 Our study DNN CNN LSTM GRU 0.001 0.005 0.0005 0.001 30 30 30 30 (16 4 2) (16) (128) (128 128) 1 1 1 1 - 16 - - - 3 - - - 0.5 0.5 0.5 32 32 32 32 500 50 700 200 97.29 96.56 97.20 96.70 1 Parameter settings for DNN using Bat Algorithm. 2 Parameter settings for DNN using Hybrid Bat Algorithm. 3 Parameter settings for DNN using Firefly Algorithm. Table 10 provides a comparison of various performance metrics between our research work and previous studies using the same dataset. Compared with [ 64 ], our study achieved higher accuracy and F1-Score for DNN and included various metrics not measured in [ 64 ]. Since MLP is a subset of DNN, MLP results from [ 6 ] could be compared with DNN from our empirical analysis. The obtained results showed that our DNN model outperformed Appl. Sci. 2021,11, 9210 20 of 32 the MLP algorithm in all four metrics: ACC, PR, RC, and F1-Score. In addition, although DNN and CNN accuracies in [ 18 , 28 ] demonstrated slightly better results than ours, some of the performance metrics were not calculated in these studies. In [ 18 ], for instance, AUC, time complexity, and memory constraints were not included in the evaluation process. Even though training time, testing time, and parameter size were measured in [ 28 ], other metrics (FPR, FNR, AUC, and memory storage) were not reported. Table 10. Comparison of performance metrics with other studies using the same dataset. Ref. DL Algorithm Performance Metrics Conventional Additional FPR (%) FNR (%) ACC (%) PR (%) RC (%) F1 (%) AUC (%) Training Time (min) Testing Time (s) Parameter size Memory Storage (MB) [18] DNN 1.80 3.30 97.50 97.70 96.70 97.20 - - - - - [28] CNN - - 97.20 96.90 98.10 97.50 - 10.67 0.472 27,985 - [6] MLP - - 96.65 96.65 96.65 96.65 - - - - - [64] DNN.BA 1- - 95.76 - - 95.70 - - - - - DNN.HBA 2- - 95.00 - - 94.93 - - - - - DNN.FA 3- - 96.65 - - 96.61 - - - - - Our study DNN 3.01 2.47 97.29 97.53 97.53 97.53 99.40 8.38 0.470 1,507 172 CNN 3.50 3.39 96.56 96.61 97.09 96.85 99.51 0.9 0.263 3,745 325 LSTM 1.80 3.55 97.20 96.45 98.63 97.53 99.11 169.17 0.804 66,689 184 GRU 2.48 3.94 96.70 96.06 98.03 97.04 98.79 55.07 1.447 149,505 184 1 Parameter settings for DNN using Bat Algorithm. 2 Parameter settings for DNN using Hybrid Bat Algorithm. 3 Parameter settings for DNN using Firefly Algorithm. On the contrary, our study provided a complete set of performance metrics for four different DL algorithms. Conventional metrics (FPR, FNR, ACC, PR, RC, F1, and AUC) were used to evaluate the effectiveness of the DL mechanism in detecting phishing websites. In contrast, additional metrics (training time, testing time, parameter size, and memory usage) were utilized to assess the computational complexity of the phishing detection model. 4.5. Issues and Perspectives Parameter Tuning. It can be observed from the experiments that parameter tuning is the common problem among all four DL algorithms. The parameters in the DL models consist of the number of layers in the neural networks, number of neurons (units) in each layer, number of kernels and kernel size (for CNN), learning rate, dropout rate, number of epochs, batch size, etc. [ 17 ]. There is no standard and specific guideline for setting these parameters so that the highest performance accuracy can be achieved. Manual fine-tuning and conducting a series of experiments through trial and error are standard practices among researchers who work with DL models. However, this process is tedious, timeconsuming, and labor-intensive. One possible solution to overcome the problem of manual parameter tuning is to use optimization techniques to fine-tune the parameters and shorten the tuning process [64]. Accuracy Deficiency. Accuracy deficiency is another widespread issue among DL models, as accuracy is one of the most critical metrics that are used to evaluate the performance of the selected DL algorithm. Several factors affect the accuracy of a phishing detection model, including the quality of the dataset, the extracted features, the chosen classifier, the parameter settings, etc. Some of the current studies in the literature focused on solving the problem of accuracy deficiency by applying the existing DL algorithms [ 6 , 7 , 43 ]. In contrast, other researchers combined multiple DL techniques in an ensemble model to enhance the detection accuracy [ 11 , 31 , 37 ]. Ensemble DL (EDL) models are formed by stacking various DL algorithms in parallel and are divided into two categories: homogeneous and heterogeneous. A homogeneous EDL architecture is constructed by combining DL algorithms of the same type (CNN-CNN, LSTM-LSTM, GRU-GRU, etc.). In contrast, a heterogeneous EDL model incorporates DL mechanisms of different kinds (CNN-LSTM, Appl. Sci. 2021,11, 9210 21 of 32 CNN-GRU, LSTM-GRU, etc.). By doing so, the strengths of individual algorithms are merged while their weaknesses are resolved. Computation Complexity. Computational complexity is another factor that needs to be considered in the design and implementation of DL architecture. Computational complexity can be divided into time complexity and memory constraints. Time complexity involves training and testing, while memory constraints refer to the parameter size and GPU storage capacity. DL generally requires a massive amount of data and substantial training time [ 65 ]. Although DL performs better than traditional machine learning on larger datasets, training with a large amount of data is also challenging and time-consuming. Since big datasets might consist of millions of instances, a longer time is needed to train the neural network to achieve high-performance accuracy. Moreover, limited processing and storage facilities might also cause a delay in the training duration of a DL model [ 2 ]. Therefore, selecting an appropriate DL algorithm that can produce maximum accuracy with a minimum amount of time and computational consumption is essential. Plus, reducing the complexity of neural network architecture is also an alternative that can be applied to decrease training time. Last but not least, big data or cloud-based technologies can be integrated with DL to enhance the processing and storage capabilities, leading to a more robust and efficient model for phishing detection. 5. Conclusions and Future Works In conclusion, many different DL algorithms exist, which numerous researchers in previous studies have implemented to detect phishing websites. However, choosing the right approach best suited for a specific application or dataset is a challenging task. To solve this problem, an empirical study was conducted in this paper, based on some of the most frequently-used DL techniques, such as DNN, CNN, LSTM, and GRU. Different neural network architectures were tested for each of these DL algorithms to find the optimal set of parameter settings that produce the highest performance accuracy. The empirical experiments were performed on the UCI dataset, consisting of 11055 phishing and benign URLs with 30 website features. Various performance metrics were measured to evaluate the effectiveness and the feasibility of the DL-based phishing detection model. The results obtained from the experiments indicated that among the four DL techniques, there was no single algorithm that produced the best measures in all performance metrics. Researchers and developers need to select the best suited to their particular applications or according to specific requirements. They can also combine different DL algorithms in a hybrid or ensemble model to join their advantages and cure their disadvantages. As part of our future work, we plan to experiment with other DL algorithms that are relatively new and have not been fully explored in the phishing detection domain, such as Autoencoder (AE), Generative Adversarial Network (GAN), or Deep Reinforcement Learning (DRL). In addition to homogeneous EDL models, we will also implement heterogeneous EDL architectures by integrating multiple DL algorithms of different genres. Plus, we plan to use a more significant and unbalanced dataset in the experiment set up to reflect real-life scenarios, as we live in a big data era and phishing is an imbalanced classification problem, where the number of phishing URLs is much smaller than legitimate URLs. Author Contributions: Conceptualization, N.Q.D. and A.S.; methodology, N.Q.D. and A.S.; software, N.Q.D. and A.S.; validation, N.Q.D. and A.S.; formal analysis, N.Q.D. and A.S.; investigation, N.Q.D. and A.S.; resources, N.Q.D. and A.S.; data curation, N.Q.D. and A.S.; writing—original draft preparation, N.Q.D.; writing—review and editing, N.Q.D., A.S., O.K., T.Y. and H.F.; visualization, N.Q.D.; supervision, A.S.; project administration, A.S.; funding acquisition, A.S. and O.K. All authors have read and agreed to the published version of the manuscript. Funding: This work was supported/funded by the Ministry of Higher Education under the Fundamental Research Grant Scheme (FRGS/1/2018/ICT04/UTM/01/1). The authors sincerely thank Universiti Teknologi Malaysia (UTM) under Research University Grant Vot-20H04, Malaysia Research University Network (MRUN) Vot 4L876, for the completion of the research. Faculty of Informatics and Management, University of Hradec Kralove, SPEV project Grant Number: 2102/2021. Appl. Sci. 2021,11, 9210 22 of 32 Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: Publicly available datasets were analyzed in this study. This data can be found here: https://www.kaggle.com/isatish/phishing-dataset-uci-ml-csv (accessed on 5 May 2021). Acknowledgments: We are grateful for the support of Michal Dobrovolny and Sebastien Mambou in consultations regarding application aspects from Hradec Kralove University, Czech Republic. Conflicts of Interest: The authors declare no conflict of interest. Appendix A Table A1. Previous research works on DNN. Reference Dataset Dataset Size Number of Neurons Learning Rate Batch Size Epoch Input Hidden Output [18] UCI 11,055 30 20/10/5 2 0.01 - <200 [19]PhishTank 73,575 -20/40 - - - 100 Yandex [22]UCI 17,700 - - - - - - DMO 10,000 [42]PhishTank 2119 10 19/100/200/300 10.0001 -6000 Alexa 1407 [21] PhishTank 17,000 - - - - - - DMOZ 20,000 PageRank 480 WHOIS 480 [64] PhishTank Yahoo Own dataset 11,055 30 20/10/5 2 0.001 32 150 1353 9 - 2 58,645 111 - 2 88,657 111 - 2 [20]PhishTank Alexa 3000 10 20/100/200/300/ 400/500 1 0.001 3100 Table A2. Previous research works on CNN. Reference Dataset Dataset Size Number of Kernels Kernel Size Pooling Size Stride Learning rate Dropout Rate Batch Size Epoch [37] NA 2000 - 5 - - - - 16 - [7] PhishTank 318,642 256 3 3 - - 0.5 128 20 Com Crawl 73,575 Yandex 83,857 Alexa 82,888 [8] PhishTank 2456 64 32 16 16 - - - - - - Millersmiles Yahoo Starting point [10]PhishTank 21,303 -128 3 10.001 0.5 64 10 Alexa/Amazon 24,800 [11] PhishTank 4,820,940 32 3×123×10.0001 0.5 - - Openphish 16 Alexa 8 [25]DMOZ Own dataset 3816 32 3×3(2,2) - - - 32 61 32 64 [26]ILSVRC-2012CLS 12 - - - - 0.01 - 32 5000 [30]PhishTank 2,585,146 64 2 - - - 0.2 64 3 64 3 0.5 [42]PhishTank 2119 32/64/64/128/ 128/264/512 -2 1 0.001 - - 200 Alexa 1407 [31]Alexa, DMOZ, etc., Sophos 611,894124,574 64 5 4 - 0.001 - - 500 [29]PhishTank 13,652 8/16/32/64/84 1/3/5/7/9 - - - - - - Crawler 10,000 Appl. Sci. 2021,11, 9210 23 of 32 Table A2. Cont. Reference Dataset Dataset Size Number of Kernels Kernel Size Pooling Size Stride Learning rate Dropout Rate Batch Size Epoch [24]PhishTank 10,604 -2 2 2 0.1 0.01 0.001 0.0005 0.5 45 15 Common Crawl 10,604 [32]PhishTank 245,385 -5/6/7 - - 0.01 0.9 2048 32 Alexa 245,023 [27]PhishTank 43,984 -5- - - - 10 50 5000 Best Websites 45,000 [33]PhishTank 1,021,758 - - - - - - 64 20/45/64 DMOZ 989,021 [35] PhishTank 97,400 256 5/6/7 4-0.0001 -32 200 Virus Total Yandex 97,400 [28]UCI 11,055 8/16/32/64 10 2- - - - 220 5 [34]Own dataset 340,000 128 2 - - 0.01 0.5 100 30 65,000 128 4 [38] PhishTank 206,200 200 2 2 1 - - - - MalwarePatrol DMOZ, Alexa Table A3. Previous research works on LSTM. Reference Dataset Dataset Size Number of Layers Number of Units Learning Rate Dropout Rate Batch Size Epoch [41]PhishTank 1.5 million 1128 0.0001 - - 25 Common Crawl 2 [46] PhishTank 153,788 1100 0.001 0.2 64 30 Openphish 7212 Alexa 170,552 [42]PhishTank 2119 -40.001 - - 700 Alexa 1407 [31]Alexa, DMOZ, etc., Sophos 611,894 124,574 1 70 0.001 - - 500 [44]Vaderetro 2000 1- - - - 200 Alexa 1,000,000 [43]PhishTank 2000 5 128 0.001 -128 - Yahoo Directory 2000 [33]PhishTank 1,021,758 - - - - 64 20/140/ 256/578 DMOZ 989,021 [35] PhishTank 97,400 132 0.0001 -32 200 Virus Total Yandex 97,400 [10]PhishTank 21,303 1128 0.001 0.5 64 10 Alexa/Amazon 24,800 [11] PhishTank 4,820,940 2128 0.0001 0.5 - - Openphish Alexa [47]UCI 2456 1 - 0.001 - - 200 2 0.0001 600 3 0.0001 800 4 0.01 900 5 0.0001 1000 [45] PhishTank 450,176 1 10 - 0.2 - 10 [36]OpenPhish Alexa 52,000 - - - - - - Appl. Sci. 2021,11, 9210 24 of 32 Table A4. Previous research works on GRU. Reference Dataset Dataset Size Number of Layers Number of Units Learning Rate Dropout Rate Batch Size Epoch [41]PhishTank Common Crawl 1.5 million 1 2128 0.0001 - - 25 [34] Own dataset 340,000 65,000 1 64 0.01 0.5 100 30 [48]PhishTank Common Crawl 759,361 2 60 0.001 - 256 20 Table A5. Performance metrics of DNN at different learning rate. (Architecture = (30 16 1), batch size = 32, epoch = 50). Experiment (Exp.) Learning Rate FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) D1-1 0.0001 6.65 7.22 92.78 94.62 93.69 98.21 93.03 43 D1-2 0.0005 8.24 5.16 94.84 93.63 94.23 98.47 93.49 26 D1-3 0.001 5.11 4.63 95.37 96.06 95.71 98.97 95.16 45 D1-4 0.005 3.80 6.20 93.80 97.19 95.46 99.12 94.80 54 D1-5 0.01 6.95 4.32 95.68 94.27 94.97 98.58 94.48 53 D1-6 0.05 5.20 7.88 92.12 96.50 94.26 98.57 93.17 53 D1-7 0.1 6.35 7.76 92.24 94.98 93.59 98.01 92.85 54 Table A6. Performance metrics of different architectures of DNN. (Learning rate = 0.001, batch size = 32, epoch = 50). Exp. Hidden Layer Neurons in Each Hidden Layer FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) D2-1 1 (30 20 1) 5.88 5.96 94.04 95.35 94.69 99.00 94.08 53 D2-2 (30 16 1) 5.11 4.63 95.37 96.06 95.71 98.97 95.16 45 D2-3 (30 8 1) 5.86 4.40 95.60 95.67 95.64 98.85 94.98 52 D2-4 2 (30 20 16 1) 6.47 5.07 94.93 94.77 94.85 98.53 94.30 53 D2-5 (30 20 8 1) 5.69 4.38 95.62 95.30 95.46 99.06 95.02 51 D2-6 (30 20 4 1) 10.17 2.44 97.56 91.21 94.28 99.06 93.85 49 D2-7 (30 16 8 1) 6.61 3.63 96.37 94.66 95.51 99.03 95.03 36 D2-8 (30 16 4 1) 4.59 4.47 95.53 96.17 95.85 98.93 95.48 32 D2-9 (30 8 4 1) 7.69 4.22 95.78 93.49 94.62 98.89 94.17 50 D2-10 3 (30 20 16 8 1) 4.67 4.32 95.68 96.23 95.95 98.95 95.52 53 D2-11 (30 20 16 4 1) 10.08 2.72 97.28 91.12 94.10 98.83 93.71 53 D2-12 (30 20 16 2 1) 3.81 6.27 93.73 97.19 95.43 98.77 94.75 53 D2-13 (30 20 8 4 1) 4.68 5.43 94.57 96.47 95.51 98.82 94.89 23 D2-14 (30 20 8 2 1) 4.61 5.77 94.22 96.68 95.44 98.64 94.71 53 D2-15 (30 20 4 2 1) 9.82 3.21 96.79 91.89 94.27 98.74 93.71 53 D2-16 (30 16 8 4 1) 4.01 5.62 94.38 96.91 95.63 99.19 95.07 53 D2-17 (30 16 8 2 1) 3.64 5.17 94.83 97.27 96.03 99.11 95.48 53 D2-18 (30 16 4 2 1) 3.89 4.35 95.65 97.16 96.39 98.53 95.84 47 D2-19 (30 8 4 2 1) 7.55 3.00 97.00 93.47 95.20 99.04 94.84 52 Appl. Sci. 2021,11, 9210 25 of 32 Table A7. Performance metrics of DNN at different batch size. Architecture = [30 16 4 2 1], learning rate = 0.001, epoch = 50. Experiment (Exp.) Batch Size FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) D3-1 8 4.23 5.40 94.60 96.63 95.60 99.00 95.12 124 D3-2 16 10.25 3.03 96.97 91.64 94.23 98.42 93.62 54 D3-3 32 3.89 4.35 95.65 97.16 96.39 98.53 95.84 47 D3-4 64 6.94 4.96 95.04 94.51 94.78 98.24 94.17 3 D3-5 128 4.52 5.87 94.13 96.50 95.30 98.33 94.71 3 D3-6 256 5.58 6.67 93.33 95.56 94.43 97.93 93.80 3 D3-7 512 6.20 6.67 93.33 95.22 94.27 98.56 93.53 3 D3-8 1024 7.57 7.06 92.94 93.93 93.44 96.52 92.72 3 Table A8. Performance metrics of DNN at different epochs. Architecture = [30 16 4 2 1], learning rate = 0.001, batch size = 32. Experiment (Exp.) Number of Epochs FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) D4-1 50 3.89 4.35 95.65 97.16 96.39 98.53 95.84 47 D4-2 100 5.33 3.07 96.93 95.84 96.38 98.97 95.93 103 D4-3 150 3.29 5.43 94.57 97.48 96.00 98.97 95.48 153 D4-4 200 3.55 3.10 96.90 97.13 97.01 98.95 96.70 203 D4-5 250 2.63 4.92 95.08 97.96 96.50 99.08 96.07 253 D4-6 300 6.72 2.52 97.48 94.78 96.11 98.28 95.61 303 D4-7 500 3.01 2.47 97.53 97.53 97.53 99.40 97.29 503 D4-8 700 3.73 3.69 96.31 97.09 96.70 98.48 96.29 703 Table A9. Performance metrics of CNN at different learning rates. (Number of kernels = 16, kernel size = 3, dropout rate = 0.5, batch size = 32, epoch = 50). Experiment (Exp.) Learning Rate FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) C1-1 0.0001 5.23 6.65 93.35 96.18 94.75 98.31 93.94 52 C1-2 0.0005 5.18 5.75 94.25 96.32 95.27 98.92 94.48 53 C1-3 0.001 4.57 5.96 94.04 96.66 95.33 99.04 94.62 53 C1-4 0.005 3.50 3.39 96.61 97.09 96.85 99.51 96.56 54 C1-5 0.01 3.25 8.04 91.96 97.66 94.72 98.94 93.89 54 C1-6 0.05 16.34 3.94 96.06 85.13 90.27 97.32 89.78 53 Table A10. Performance metrics of CNN at different dropout rates. (Number of kernels = 16, kernel size = 3, learning rate = 0.005, batch size = 32, epoch = 50). Experiment (Exp.) Dropout Rate FPR (%) FNR (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Accuracy (%) Time (s) C5-1 0.1 5.31 2.98 97.02 95.40 96.21 99.36 95.93 54 C5-2 0.2 5.37 3.32 96.68 95.57 96.12 99.45 95.75 53 C5-3 0.3 3.53 5.36 94.64 97.20 95.90 99.21 95.43 81 C5-4 0.4 3.96 4.23 95.77 96.93 96.34 99.27 95.88 54 C5-5 0.5 3.50 3.39 96.61 97.09 96.85 99.51 96.56 54 Appl. Sci. 2021,11, 9210 32 of 32 55. Chatterjee, M.; Namin, A.-S. Detecting Phishing Websites through Deep Reinforcement Learning. In Proceedings of the 2019 IEEE 43rd Annual Computer Software and Applications Conference (COMPSAC), Milwaukee, WI, USA, 15–19 July 2019; Volume 2, pp. 227–232. [CrossRef] 56. Odeh, A.; Keshta, I.; Abdelfattah, E. Efficient Detection of Phishing Websites Using Multilayer Perceptron International Association of Online Engineering. 2020, pp. 22–31. Available online: https://www.learntechlib.org/p/217754/ (accessed on 10 March 2021). 57. Saha, I.; Sarma, D.; Chakma, R.J.; Alam, M.N.; Sultana, A.; Hossain, S. Phishing Attacks Detection using Deep Learning Approach. In Proceedings of the 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India, 20–22 August 2020; pp. 1180–1185. [CrossRef] 58. Ya, J.; Liu, T.; Zhang, P.; Shi, J.; Guo, L.; Gu, Z. NeuralAS: Deep Word-Based Spoofed URLs Detection AgaIInst Strong Similar Samples. In Proceedings of the 2019 International Joint Conference on Neural Networks (IJCNN), Budapest, Hungary, 14–19 July 2019; pp. 1–7. [CrossRef] 59. Adebowale, M.A.; Lwin, K.T.; Hossain, M.A. Deep Learning with Convolutional Neural Network and Long Short-Term Memory for Phishing Detection. In Proceedings of the 2019 13th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), Island of Ulkulhas, Maldives, 26–28 August 2019; pp. 1–8. [CrossRef] 60. Digwal, H.N.; Kavya, N.P. Detection of Phishing Website Based on Deep Learning. Int. J. Res. Eng. Sci. Manag. 2020,3, 331–336. 61. Pooja, A.S.S.V.L.; Sridhar, M. Analysis of Phishing Website Detection Using CNN and Bidirectional LSTM. In Proceedings of the 2020 4th International Conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 5–7 November 2020; pp. 1620–1629. [CrossRef] 62. Kaggle. Available online: https://www.kaggle.com/isatish/phishing-dataset-uci-ml-csv (accessed on 12 April 2021). 63. Github. Available online: https://github.com/quangdn83/WebsitePhishingDetection (accessed on 21 September 2021). 64. Vrbanˇciˇc, G.; Fister, I.; Podgorelec, V. Parameter Setting for Deep Neural Networks Using Swarm Intelligence on Phishing Websites Classification. Int. J. Artif. Intell. Tools 2019,28, 1960008. [CrossRef] 65. Chen, S.; Fan, L.; Chen, C.; Xue, M.; Liu, Y.; Xu, L. GUI-Squatting Attack: Automated Generation of Android Phishing Apps. IEEE Trans. Dependable Secure Comput. accepted. [CrossRef]