Next Article in Journal
Technology Acceptance of an Interactive Augmented Reality App on Resistive Circuits for Engineering Students
Next Article in Special Issue
Data Integrity Preservation Schemes in Smart Healthcare Systems That Use Fog Computing Distribution
Previous Article in Journal
A Large Signal Theory of Multiple Cascaded Bunching Cavities for High-Efficiency Triaxial Klystron Amplifier
Previous Article in Special Issue
CoLL-IoT: A Collaborative Intruder Detection System for Internet of Things Devices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Optimized Stacking Ensemble Model for Phishing Websites Detection

by
Mohammed Al-Sarem
1,
Faisal Saeed
1,*,
Zeyad Ghaleb Al-Mekhlafi
2,*,
Badiea Abdulkarem Mohammed
2,
Tawfik Al-Hadhrami
3,*,
Mohammad T. Alshammari
2,
Abdulrahman Alreshidi
2 and
Talal Sarheed Alshammari
2
1
College of Computer Science and Engineering, Taibah University, Medina 42353, Saudi Arabia
2
College of Computer Science and Engineering, University of Ha’il, Ha’il 81481, Saudi Arabia
3
School of Science and Technology, Nottingham Trent University, Nottingham NG11 8 NS, UK
*
Authors to whom correspondence should be addressed.
Submission received: 9 April 2021 / Revised: 25 May 2021 / Accepted: 26 May 2021 / Published: 28 May 2021

Abstract

:
Security attacks on legitimate websites to steal users’ information, known as phishing attacks, have been increasing. This kind of attack does not just affect individuals’ or organisations’ websites. Although several detection methods for phishing websites have been proposed using machine learning, deep learning, and other approaches, their detection accuracy still needs to be enhanced. This paper proposes an optimized stacking ensemble method for phishing website detection. The optimisation was carried out using a genetic algorithm (GA) to tune the parameters of several ensemble machine learning methods, including random forests, AdaBoost, XGBoost, Bagging, GradientBoost, and LightGBM. The optimized classifiers were then ranked, and the best three models were chosen as base classifiers of a stacking ensemble method. The experiments were conducted on three phishing website datasets that consisted of both phishing websites and legitimate websites—the Phishing Websites Data Set from UCI (Dataset 1); Phishing Dataset for Machine Learning from Mendeley (Dataset 2, and Datasets for Phishing Websites Detection from Mendeley (Dataset 3). The experimental results showed an improvement using the optimized stacking ensemble method, where the detection accuracy reached 97.16%, 98.58%, and 97.39% for Dataset 1, Dataset 2, and Dataset 3, respectively.

1. Introduction

One of the most dangerous cybercrimes is phishing, where the user’s information and credentials are stolen using fake emails or websites that are sent to the target and look like legitimate ones. Phishing attacks have been increasing over the years, and affect many internet users. In this type of attack, the phisher selects any organisation as a target, and then develops a phishing website that is similar to the organisation’s legitimate website. The phisher then sends several spam emails or posts these links using social media or any communication medium to many internet users, who may click on these links and be redirected to the phishing website [1].
Phishing is one type of social engineering attack that targets many organisations’ websites on the internet. It can also attack internet of things (IoT) environments, in which the devices are highly interconnected, and these threats can affect organizations’ privacy and data. IoT sensors are considered to be an easy medium for attackers. According to [2], attackers sent several spam emails, and it was found that refrigerators, televisions, and routers were among the 25% of devices that hosted them. In addition, hackers in the IoT environment may not need to send a virus or Trojan, as they can use the software in the thingbots for spreading spam emails without the user knowing, as this may not affect the functionality of IoT devices [3]. Many methods have been introduced to make the IoT environment more secure, but there is currently no effective method for detecting phishing emails [1,4]. Several studies have been conducted in order to propose approaches and methods for detecting phishing websites for the IoT environment. For instance, Wei et al. [5] introduced a lightweight deep learning method in order to provide a phishing detection sensor that could work in real time with energy-saving features. If using this proposed system, there is no need to install anti-phishing software on every IoT device. However, the designed sensor is only needed for one location (such as an office) between the devices and the router. In addition, this model can be directly installed on the router because of its high efficiency.
Deep learning methods have been widely investigated for detecting phishing websites. For instance, Somesha et al. [6] applied several models for phishing detection, which included convolution neural network (CNN), deep neural network (DNN), and long short-term memory (LSTM) models. The applied models obtained a good detection rate, with an accuracy of 99.57% for LSTM. These models used only one third-party service feature, in order to make the model robust and efficient. In another study, Ali and Ahmed [7] introduced a hybrid intelligence method for predicting phishing websites, in which a genetic algorithm (GA) was utilized to identify the optimal weights for website features and select the most important ones. These features were used to train deep neural networks to predict the phishing URLs. The results showed that the proposed approach obtained significant improvements in terms of accuracy, specificity, sensitivity, and other metrics compared to other state-of-the-art methods.
In a different approach, several machine learning methods were used to detect the phishing websites. For instance, Chiew et al. [8] introduced a framework based on feature selection and machine learning methods for detecting phishing, named hybrid ensemble feature selection. In this method, the primary feature subsets were obtained using the cumulative distribution function gradient, and these subsets were used to obtain the secondary feature subsets using a data perturbation ensemble. The proposed model used only 20.8% of the original features, and obtained an accuracy of 94.6% using the Random Forests method. Similarly, Rao and Pais [9] introduced an efficient model based on feature selection and machine learning; in order to improve the limitations of the currently used phishing detection methods, they obtained the heuristic features from the websites’ URLs, source codes, and third-party services. Eight machine learning methods were used to evaluate the proposed model, and Random Forests obtained the best accuracy (99.31%). In addition, Ali and Malebary [10] proposed a novel phishing detection model by utilizing the particle swarm optimization method in order to weight the websites’ features, which helped to identify the importance of their contributions towards differentiating the phishing websites from legitimate ones. The results showed that this model led to outstanding enhancements in terms of accuracy and other performance metrics for several machine learning methods.
This paper proposes a model which is known as an optimized ensemble classification model for detecting phishing websites. A genetic algorithm (GA) is used to optimize the performance of several ensemble classifiers. Then, the best optimized classifiers are used as base classifiers for the stacking ensemble method. The method includes three main phases: training, ranking, and testing. In the training phase, random forests, AdaBoost, XGBoost, Bagging, GradientBoost, and LightGBM are trained without applying an optimization method. These classifiers are then optimized using the genetic algorithm, which selects the optimal values of parameters for several ensemble models. The optimized classifiers are then ranked and used as base classifiers for the stacking ensemble method. Finally, new websites are collected and used as a testing dataset in order to predict the final class label of these websites.
The rest of this paper is organized as follows: Section 2 gives an overview of the related work. Section 3 provides details about the materials and methods. Section 4 presents the experimental results, which are analysed, discussed, and compared with related works. The paper concludes with a summary of the outcomes of the proposed method and suggestions for future work.

2. Related Works

2.1. Recognizing Phishing Attacks in the IoT

There are serious issues regarding the security of the IoT web, as there are billions of devices (network objects and sensors) that are connected to the internet [11]. Thus, there is a strong need to protect these IoT data from various types of attacks, including phishing. Gupta et al. [1] illustrated how advanced infrastructures such as the internet of things (IoT) are considered a target for phishing attacks. Tsiknas et al. [12] reviewed the main cyber threats to the industrial internet of things (IIoT), and found that they originate from five types of attacks: phishing, ransomware, system attacks, supply chain, and protocol. According to Tsiknas et al. [12], for critical infrastructure such as the IoT, phishers apply compromised attacks—an advanced method that combines social engineering and includes zero-day malware and other features that are designed on remote websites and then attack IIoT systems. The malicious attacker uses the front-end level for accessing the IIoT.
Several methods have been proposed to detect phishing websites in the IoT environment. Parra et al. [13] proposed a cloud- and deep-learning-based framework that includes two mechanisms: a distributed convolutional neural network, and cloud-based temporal long short-term memory. The first mechanism was used for detecting phishing as an IoT microsecurity device, while the second mechanism was used on the back end to detect notnet attacks and ingest CNN embeddings for detecting distributed phishing attacks on several IoT devices. The experimental results showed that the first mechanism could obtain a detection accuracy of 94.3% running the CNN model, and an F-1 score of 93.58% for phishing attacks.
Mao et al. [14] discussed the main security issues in smart internet of things (IoT) systems, and found that phishing is one of the most common types of attacks. In order to detect these phishing websites, they developed an automated page-layout-based method that includes machine learning methods. The method is based on aggregation analysis for obtaining the page layout similarity, which helps in detecting phishing websites. Four ML methods were applied in these experiments, and the results obtained showed enhanced accuracy.
The security issues in the IoT were discussed in detail by Virat et al. [15], who argued that the main challenge with IoT security is that its devices are not intelligent, which makes the task of solving these issues difficult, requiring appropriate detection methods. In addition, Deogirikar and Vidhate [16] surveyed various vulnerabilities that put the IoT as a technology in danger. They reviewed various IoT attacks and discussed their efficiency and damage level in the IoT, and concluded that extensive research is required in order to come up with effective solutions.
In addition, deep learning methods were also investigated for protecting internet of things (IoT) devices against several attacks, such as distributed denial-of-service (DDoS), phishing, and spamming campaigns. In [17], a stacked deep learning method was introduced to detect malicious traffic attacks affecting IoT devices. This proposed method showed a good ability to detect benign and malicious traffic data, and obtained a higher detection rate in real time compared with other methods.

2.2. Machine-Learning-Based Detection Methods

Artificial intelligence (AI) and machine learning (ML) have been widely used as detection methods for several cyber security issues. For phishing website detection, several AI- and ML-based methods with good detection performance have been proposed. For instance, Alsariera et al. [18] proposed new schemes based on AI that considered new methods for the mitigation of phishing. They introduced four meta-learning techniques based on the extra-tree-based classifier and applied them to phishing website datasets. The experimental results showed that the proposed models obtained an accuracy of 97%, and reduced the false positive rate to 0.028.
Jain and Gupta [19] proposed a new method for detecting phishing websites based on the hyperlinks located in the websites’ HTML code. This method combines several novel features of hyperlinks, and divides them into 12 types for training ML models. This method was applied to a phishing website dataset using several ML classifiers. The experimental results showed that the proposed model obtained 98.4% accuracy using a logistic regression classifier. This method is a client-side solution, which does not require any third-party support. Feng [20] introduced a new a model for phishing website detection using a neural network. The Monte Carlo technique was used in the training phase, and in the testing phase the accuracy reached 97.71% while the false positive rate reached 1.7%, indicating that the proposed model is capable of detecting phishing websites effectively compared to other machine learning methods.
Aburub and Hadi [21] used association rules to detect phishing websites. They used a dataset containing 10,068 instances of legitimate and phishing websites, and applied the phishing multi-class association rule method, which was compared to other associative classification methods. The experimental results showed that the proposed methods obtained an acceptable detection rate. Similarly, other ML-based methods have been applied utilizing feature selection methods [22,23], ensemble classifiers [24], hybrid methods of deep learning and machine learning [25], and other methods.
As can be shown from the previous studies on detecting phishing websites, the effectiveness of the detection still needs to be enhanced. For instance, Azeez et al. [26] mentioned that the current applied methods to handle phishing websites are not sufficient. Thus, they introduced the PhishDetect method, which identifies phishing attacks by using URL consistency features. This proposed method checks the PhishTank database in order to verify whether the URL exists, then considers it to be a phishing website if not. This method requires updating the PhishTank database frequently. In addition, Azeez et al. [27] proposed a system for detecting malicious URLs on Twitter. This study examined the correlation of URL redirect chains obtained from Twitter, and then a naive Bayes classifier was used on these data, with an accuracy of 90%. An interesting comparative study was conducted by Osho et al. [28] to investigate the performance of several machine learning methods for the detection of phishing websites. They found that the random forests method outperforms the existing methods, and achieves an accuracy of 97.3%.
However, some proposed methods were applied to small- or medium-sized datasets, while other proposed methods were applied to only one dataset (websites or emails). Therefore, there is a need to conduct further analysis on detecting phishing websites using more datasets with many benign and malicious websites.

3. Materials and Methods

In this section, the proposed genetic-algorithm-based ensemble classifier approach for improving phishing website detection is presented and explained. Figure 1 presents the methodology that we followed in this study. The methodology consists of three main phases: the training, ranking, and testing phases. In the training phase, random forests, AdaBoost, XGBoost, Bagging, GradientBoost, and LightGBM were trained without optimization. The reason behind this is twofold: on the one hand, to obtain a general insight into the performance of ensemble classifiers before optimizing them, and on the other hand, to explore which of the phishing websites’ characteristics is most useful. The aforementioned classifiers were then optimized using the genetic algorithm. Here, the genetic algorithm was used for selecting the optimal values of model parameters in order to improve the overall accuracy of the proposed model. Later, in the ranking phase, the optimized classifiers were ranked and used as a base classifier for the ensemble classifier—the stacking method. In the testing phase, new websites were collected and used as testing data. Figure 1 refers to this phase as the detection phase, as these steps will be applied to any website in future in order to detect whether it is a benign or malicious website. In order to extract the features of the websites, we followed the methodology presented in [29]. A set of benign and malicious websites was collected from the malware and phishing blacklist of the PhishTank database of verified phishing pages [30]. In order to extract the same features as those used in the training dataset (HTML- and JavaScript-based features, address-bar-based features, domain-based features, and abnormality-based features), a Python script was written using the Beautiful Soup, ipaddress, urllib, request, and Whois libraries. Later, all of these features were fed into the classifiers in order to predict the final class label of the website.

The Dataset and Experimental Design

The experimental part of this work was conducted on three publicly available datasets—the Phishing Websites Data Set from UCI (Dataset 1) [31], the Phishing Dataset for Machine Learning from Mendeley (Dataset 2) [32], and Datasets for Phishing Websites Detection from Mendeley (Dataset 3) [33]. To conduct the experiment, the script was written in Python 3.6 using an Anaconda environment on the 64-bit Windows 10 operating system. Dataset 1 consists of 44% phishing websites (4898) and 56% legitimate websites (6157). Since the dataset is quite imbalanced, the oversampling technique was used to increase the size of the minority class. The dataset contains 30 features, which can be categorized into four groups: (1) 12 address-bar-based features, (2) 5 HTML- and JavaScript-based features, (3) 6 abnormality-based features, and (4) 7 domain-based features. Table 1 presents the names of these features and the Python library used for extracting each one in the testing phase.
In addition, Dataset 2 includes 48 features extracted from 5000 phishing websites and 5000 legitimate websites, while Dataset 3 includes 111 features extracted from 30,647 phishing websites and 58,000 legitimate websites. More descriptions about these datasets can be obtained from [32,33].
In order to evaluate the performance of the proposed ensemble model, the following performance measures were used: classification accuracy, precision, recall (the detection rate), F1 score, false positive rate (FPR), and false negative rate (FNR). These measures are commonly used by researchers to evaluate the performance of phishing website detection systems [10]. In order to precisely assess the proposed method, all of the conducted experiments including optimized and non-optimized classifiers were validated using 10-fold cross-validation. The results of each fold were also normalized. P = ( 95.37 / ( 95.37 + 1.2 ) , R = 95.37 / ( 95.37 + 4.63 ) .

4. Results and Discussion

This section describes the experimental results for each technique, before presenting and discussing comparisons with the related works.

4.1. Experimental Results of the Ensemble Classifiers without Optimization

As mentioned earlier, a set of ensemble classifiers was trained using 10-fold cross-validation. We first conducted the experiment without involving the optimization using the GA. The performance of the classifiers with default configurations is presented in Table 2, Table 3 and Table 4 for Dataset 1, Dataset 2, and Dataset 3, respectively. For Dataset 1, the random forests classifier yielded the best performance compared with the other classifiers in terms of accuracy, precision, recall, and F-score; it achieved 97.02% accuracy. The Bagging classifier also achieved good accuracy, with 96.73%, followed by the LightGBM classifier, with accuracy of 96.53%. The remaining classifiers obtained accuracy between 93% and 94.61%. Meanwhile, in Dataset 2, the LightGBM classifier obtained the best performance compared to other classifiers in terms of accuracy, precision, recall and F-score. The random forests classifier obtained the second best performance using all evaluation measures for this dataset. Similarly to Dataset 1, the performance of Random Forests obtained the best results for Dataset 3 in terms of accuracy, recall, and F-score, as shown in Table 4.
Figure 2 shows the false positive rate (FPR) and false negative rate (FNP) for Dataset 1. It was notable that RF had the best FPR and FNP, with 0.05 and 0.02, respectively. The LightGBM classifier was the second best classifier in terms of FPR (0.068), followed by the GradientBoost classifier (0.07). In terms of FNR, the Random Forests classifier also yielded the lowest value (0.02), followed by AdaBoost and Bagging. Although the AdaBoost classifier had a lower FNR (0.032), its FPR values were higher than those of the LightGBM classifier, which means that there is a probability of raising a false alarm, in which a positive result is given when the true value is negative. Similarly, as shown in Figure 3 and Figure 4, the RF model obtained the best FPR and FNP for Dataset 2 and Dataset 3.

4.2. Experimental Results of the GA-Based Ensemble Classifiers

Although all of the classifiers showed good performance, there is still a need to adjust many of their parameters in order to achieve better evaluation scores. Adjusting such parameters for each classifier is relatively cumbersome. In this study, a genetic algorithm was used for tuning the classifiers’ parameters. Gas have shown good results in the field of algorithm parameter searching [34]. We conducted the experiments using different parameters to configure the GA (which were used in our previous works and other studies), and the best ones were used in this study, as shown in Table 5.
Since there are many parameters to adjust, Table 6 shows the list of adjusted parameters of each classifier and the optimized parameters found by the GA. Among all of the parameters, finding the optimal number of estimators and learning rate are the most critical parameters, which impact most highly on the performance of the classifier. XGBoost and GradientBoost gained a considerable improvement compared to the default parameters, as shown in Table 7. Meanwhile, the performance of both the LightGBM classifier and Random Forests was decreased.
To explore this further in Dataset 1, the confusion matrices of Random Forests, XGBoost, Gradient Boost, and LightGBM are shown in Figure 5, Figure 6, Figure 7 and Figure 8, respectively. Table 8 lists the results of the other performance measures.
In Figure 6b and Figure 7b, we can note that the GA–XGBoost and GA–GradientBoost classifiers gained the most benefit from the optimization for Dataset 1. They correctly detected 95.94% of phishing website instances as “phishing website” class, which represents the TP measure, and incorrectly detected 4.06% of these instances as “legitimate” class, which represents the FP measure. In addition, they detected 98.4% of legitimate website instances as “legitimate” class, which represents the TN measure, and incorrectly detected 1.96% of these instances as “phishing website” class, which represents the FN measure. We can conclude that both classifiers (GA–XGBoost and GA–GradientBoost) achieved a high TP rate and a low FP rate.
After conducting the training phase for the ensemble classifiers on Dataset 1, the performances of these classifiers were ranked, and the three best models were: GA–GradientBoost, GA–XGBoost, and GA–Bagging. These models were used in the next step as base classifiers (base learner) of a stacking ensemble method. For Dataset 1, the classifiers that were used as meta-learners were Random Forests, GradientBoost, and Support Vector Machine (SVM).
The same experiments were conducted on Dataset 2 and Dataset 3. The performance of GA-based ensemble classifiers after optimization is shown in Table 9 and Table 10. The results indicate that some classifiers (such as GA–Random Forests, GA–AdaBoost, and GA–XGBoost) show improvements in terms of accuracy, precision, recall, and F-score for Dataset 2, while all of the classifiers show improvements for Dataset 3 using all measures.
Table 11 shows the mean rank calculated for all classifiers for all three datasets. The results were obtained by 10-fold cross-validation before and after applying GA optimization.
The results show that most of the models with the highest mean accuracy values were produced when the GA was used. Among all of the selected classifiers, GA–XGB is a good choice for use as a base classifier for the stacking ensemble method.
Table 12 shows the testing results for the detection accuracy of the proposed model using 10-fold cross-validation for Dataset 1, Dataset 2, and Dataset 3.
As shown in Table 12 above, the proposed optimized stacking ensemble model obtained good improvements in terms of phishing website detection accuracy for all datasets. The proposed optimized stacking ensemble obtained the best performance when the optimized ensemble classifiers (GA–GradientBoost, GA–XGBoost, and GA–Bagging) were used as base learners, and SVM was used as meta-learner. The achieved accuracy reached 97.16%, 98.58%, and 97.39% for Dataset 1, Dataset 2, and Dataset 3, respectively, which surpasses the other ensemble methods in the previous phase.

4.3. Statistical Analysis and Comparison with Previous Studies

Table 13 presents a comparison of the results obtained (using Dataset 1) with the preliminary settings, where the base classifiers were trained using the default settings of hyperparameters, and the improvements obtained after applying the GA and adjusting the hyperparameters of the classifiers. It also summarizes the mean accuracy and variance values of each classifier. The results also show that the mean of the GradientBoost classifier using GA optimization exceeded the means of all of the other classifiers, before and after applying the optimization.
In addition to the basic statistical measures listed above, we measured the statistical significance of the results before and after applying optimization. Hence, the paired two samples were used for the mean t-test. The null hypothesis, h_0, for this comparison is that the mean accuracy values achieved before and after applying GA optimization to the classifiers are the same. The p values suggest that the null hypothesis can be rejected in four cases (out of six), which means that the improvement is significant in most of the cases (see Table 14).
Similarly, the statistical analysis was conducted on the other datasets. It was found that the improvements obtained by AdaBoost, XGBoost, and GradientBoost with GA optimization were significant using Dataset 2, while for Dataset 3, the improvements obtained by all GA-based ensemble classifiers (except Random Forests) were significant.
In addition, the Friedman test results showed a significant difference in accuracy, of (   X 2 = 51.96 , d f = 9 , p = 2.82 × 10 7 ) for the first data set, and ( X 2 = 48.16 , d f = 9 , p = 1.83 × 10 5 ) and ( X 2 = 41.26 , d f = 9 , p = 2.68   × 10 5 ) for the second and third datasets, respectively. This indicates that it is safe to reject the null hypothesis when a model performed the same. In addition, we can conclude that at least one model has different performance values. Therefore, we conducted the Nemenyi post-hoc.
The comparative analysis of all of the models using their mean ranks was carried out. The calculated values of critical difference for the datasets were C D = 4.9493 , C D = 4.4094 , and C D = 3.283 for the first, second, and third datasets, respectively. Figure 9, Figure 10 and Figure 11 show the critical difference diagrams where the models with statistically similar values of performance are connected to one another.
Figure 9 shows the results of the statistical comparison of all of the models against one another by their mean ranks using Dataset 1 (higher ranks, such as 1.8 for GA–GB, correspond to higher values). Classifiers (only the three classifiers that have the highest values) that are not connected by a bold line of length equal to the CD have significantly different mean ranks (Confidence level of 95%).
Figure 10 shows the results of the statistical comparison of all of the models against one another by their mean ranks using Dataset 2 (higher ranks, such as 1.9 for LGB, correspond to higher values). Classifiers (only the three classifiers that have the highest values) that are not connected by a bold line of length equal to the CD have significantly different mean ranks (Confidence level of 95%).
Figure 11 shows the results of the statistical comparison of all of the models against one another by their mean ranks using Dataset 3 (higher ranks, such as 1.5 for GA–XGB, correspond to higher values). Classifiers (only the three classifiers that have the highest value) that are not connected by a bold line of length equal to the CD have significantly different mean ranks (Confidence level of 95%).
In addition, a comparison was conducted with the previous studies that used the same phishing websites (Dataset 1 and Dataset 2), which is presented in Table 15. As Dataset 3 was only recently prepared, it was not used in the previous studies. The evaluation metrics were accuracy, precision, and recall. The results show that the proposed optimized stacking ensemble method outperformed the other recent and related works [7,10] in using the accuracy and recall performance measures for Dataset 1, and outperformed [35] in using the accuracy, precision and recall measures for for Dataset 2.

5. Conclusions

This paper has proposed an optimized stacking ensemble model for detecting phishing websites. In the optimisation method, a genetic algorithm, was used to find the optimized values for the parameters of several ensemble learning methods. The proposed model includes three phases: the training, ranking, and testing phases. In the training phase, several ensemble learning methods were trained without applying the optimization method (GA); these included Random Forests, AdaBoost, XGBoost, Bagging, GradientBoost, and LightGBM. These classifiers were then optimized using a GA that selects the optimal values of model parameters and improves their overall accuracy. In the ranking phase, the best three ensemble methods were selected and used as base classifiers for a stacking ensemble method. The stacking method also used three classifiers as meta-learners: RF, GB, and SVM. Finally, in the testing phase, new websites were collected and used as a testing dataset in order to predict the final class label of these websites (phishing or legitimate). The experimental results showed that the proposed optimized stacking ensemble method obtained superior performance compared to other machine-learning-based detection methods; the obtained accuracy reached 97.16%. A statistical analysis was conducted, which showed that the obtained improvements were statistically significant. In addition, the proposed methods were compared with recent studies that used the same phishing dataset, and it was reported that the proposed method surpassed those used in these studies. As phishing attacks are more dangerous in internet of things (IoT) environments—because IoT devices are an easy medium for attackers, who can simply use the software in the thingbots for spreading spam emails without the user knowing—a light detection method will be proposed in future work to be applied to IoT environments. In addition, deep learning methods will be investigated in order to improve the detection rate of phishing websites, and more phishing datasets will be used.

Author Contributions

Conceptualization, Z.G.A.-M. and B.A.M.; methodology, M.A.-S. and F.S.; software, M.A.-S.; validation, M.A.-S., and T.A.-H., and A.A.; formal analysis, F.S.; investigation, T.A.-H., M.T.A. and T.S.A.; resources, F.S. and T.A.-H.; data curation, M.A.-S. and F.S.; writing—original draft preparation, M.A.-S., F.S. and B.A.M.; writing—review and editing, M.A.-S., F.S. and Z.G.A.-M.; visualization, F.S.; supervision, M.A.-S.; project administration, M.A.-S. and F.S.; funding acquisition, Z.G.A.-M., B.A.M., M.T.A., A.A and T.S.A.; All authors have read and agreed to the published version of the manuscript.

Funding

This research has been funded by the Scientific Research Deanship at the University of Ha’il, Saudi Arabia, through project number RG-20 023.

Data Availability Statement

Data are available in [31,32,33].

Acknowledgments

We would like to acknowledge the Scientific Research Deanship at the University of Ha’il, Saudi Arabia, for funding this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gupta, B.B.; Arachchilage, N.A.G.; Psannis, K.E. Defending against phishing attacks: Taxonomy of methods, current issues and future directions. Telecommun. Syst. 2018, 67, 247–267. [Google Scholar] [CrossRef] [Green Version]
  2. Gubbi, J.; Buyya, R.; Marusic, S.; Palaniswami, M.S. Internet of Things (IoT): A vision, architectural elements, and future directions. Futur. Gener. Comput. Syst. 2013, 29, 1645–1660. [Google Scholar] [CrossRef] [Green Version]
  3. Roman, R.; Najera, P.; Lopez, J. Securing the Internet of Things. Computer 2011, 44, 51–58. [Google Scholar] [CrossRef] [Green Version]
  4. Tang, D. Event Detection in Sensor Networks; School of Engineering and Applied Sciences, The George Washington University: Washington, DC, USA, 2009. [Google Scholar]
  5. Wei, B.; Hamad, R.A.; Yang, L.; He, X.; Wang, H.; Gao, B.; Woo, W.L. A Deep-Learning-Driven Light-Weight Phishing Detection Sensor. Sensors 2019, 19, 4258. [Google Scholar] [CrossRef] [Green Version]
  6. Somesha, M.; Pais, A.R.; Rao, R.S.; Rathour, V.S. Efficient deep learning techniques for the detection of phishing websites. Sadhana 2020, 45, 1–18. [Google Scholar] [CrossRef]
  7. Ali, W.; Ahmed, A.A. Hybrid intelligent phishing website prediction using deep neural networks with genetic algorithm-based feature selection and weighting. IET Inf. Secur. 2019, 13, 659–669. [Google Scholar] [CrossRef]
  8. Chiew, K.L.; Tan, C.L.; Wong, K.; Yong, K.S.; Tiong, W.K. A new hybrid ensemble feature selection framework for machine learning-based phishing detection system. Inf. Sci. 2019, 484, 153–166. [Google Scholar] [CrossRef]
  9. Rao, R.S.; Pais, A.R. Detection of phishing websites using an efficient feature-based machine learning framework. Neural Comput. Appl. 2018, 31, 3851–3873. [Google Scholar] [CrossRef]
  10. Ali, W.; Malebary, S. Particle Swarm Optimization-Based Feature Weighting for Improving Intelligent Phishing Website Detection. IEEE Access 2020, 8, 116766–116780. [Google Scholar] [CrossRef]
  11. Khursheeed, F.; Sami-Ud-Din, M.; Sumra, I.A.; Safder, M. A Review of Security Machanism in internet of Things (IoT). In Proceedings of the 2020 3rd International Conference on Advancements in Computational Sciences (ICACS), Lahore, Pakistan, 17–19 February 2020; pp. 1–9. [Google Scholar]
  12. Tsiknas, K.; Taketzis, D.; Demertzis, K.; Skianis, C. Cyber Threats to Industrial IoT: A Survey on Attacks and Countermeasures. IoT 2021, 2, 163–186. [Google Scholar] [CrossRef]
  13. Parra, G.D.L.T.; Rad, P.; Choo, K.-K.R.; Beebe, N. Detecting Internet of Things attacks using distributed deep learning. J. Netw. Comput. Appl. 2020, 163, 102662. [Google Scholar] [CrossRef]
  14. Mao, J.; Bian, J.; Tian, W.; Zhu, S.; Wei, T.; Li, A.; Liang, Z. Phishing page detection via learning classifiers from page layout feature. EURASIP J. Wirel. Commun. Netw. 2019, 2019, 1–14. [Google Scholar] [CrossRef]
  15. Virat, M.S.; Bindu, S.; Aishwarya, B.; Dhanush, B.; Kounte, M.R. Security and Privacy Challenges in Internet of Things. In Proceedings of the 2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 11–12 May 2018; pp. 454–460. [Google Scholar]
  16. Deogirikar, J.; Vidhate, A. Security attacks in IoT: A survey. In Proceedings of the 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 10–11 February 2017; Volume 16, pp. 32–37. [Google Scholar]
  17. Alotaibi, B.; Alotaibi, M. A Stacked Deep Learning Approach for IoT Cyberattack Detection. J. Sensors 2020, 2020, 1–10. [Google Scholar] [CrossRef]
  18. Alsariera, Y.A.; Adeyemo, V.E.; Balogun, A.O.; Alazzawi, A.K. AI Meta-Learners and Extra-Trees Algorithm for the Detection of Phishing Websites. IEEE Access 2020, 8, 142532–142542. [Google Scholar] [CrossRef]
  19. Jain, A.K.; Gupta, B.B. A machine learning based approach for phishing detection using hyperlinks information. J. Ambient. Intell. Humaniz. Comput. 2018, 10, 2015–2028. [Google Scholar] [CrossRef]
  20. Feng, F.; Zhou, Q.; Shen, Z.; Yang, X.; Han, L.; Wang, J. The application of a novel neural network in the detection of phishing websites. J. Ambient. Intell. Humaniz. Comput. 2018, 1–15. [Google Scholar] [CrossRef]
  21. Aburub, F.; Hadi, W. A New Association Classification Based Method for Detecting Phishing Websites. J. Theor. Appl. Inf. Technol. 2021, 99, 147–158. [Google Scholar]
  22. Gandotra, E.; Gupta, D. An Efficient Approach for Phishing Detection using Machine Learning. In Multimedia Security; Giri, K.J., Parah, S.A., Bashir, R., Muhammad, K., Eds.; Springer: Singapore, 2021; pp. 239–253. [Google Scholar] [CrossRef]
  23. Shabudin, S.; Sani, N.S.; Ariffin, K.A.Z.; Aliff, M. Feature Selection for Phishing Website Classification. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 587–595. [Google Scholar]
  24. Subasi, A.; Molah, E.; Almkallawi, F.; Chaudhery, T.J. Intelligent phishing website detection using random forest classifier. In Proceedings of the 2017 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Ras Al Khaimah, United Arab Emirates, 21–23 November 2017; pp. 1–5. [Google Scholar]
  25. Yu, X. Phishing Websites Detection Based on Hybrid Model of Deep Belief Network and Support Vector Machine. IOP Conf. Ser. Earth Environ. Sci. 2020, 602, 012001. [Google Scholar] [CrossRef]
  26. Azeez, N.A.; Salaudeen, B.B.; Misra, S.; Damaševičius, R.; Maskeliūnas, R. Identifying phishing attacks in communication networks using URL consistency features. Int. J. Electron. Secur. Digit. Forensics 2020, 12, 200–213. [Google Scholar] [CrossRef]
  27. Azeez, N.A.; Atiku, O.; Misra, S.; Adewumi, A.; Ahuja, R.; Damasevicius, R. Detection of Malicious URLs on Twitter. In Advances in Electrical and Computer Technologies; Springer: Singapore, 2020; pp. 309–318. [Google Scholar]
  28. Osho, O.; Oluyomi, A.; Misra, S.; Ahuja, R.; Damasevicius, R.; Maskeliunas, R. Comparative Evaluation of Techniques for Detection of Phishing URLs. In Proceedings of the Communications in Computer and Information Science; Springer: Cham, Switzerland, 2019; pp. 385–394. [Google Scholar]
  29. Patil, D.R.; Patil, J.B. Malicious web pages detection using feature selection techniques and machine learning. Int. J. High. Perform. Comput. Netw. 2019, 14, 473. [Google Scholar] [CrossRef]
  30. PhishTank, Developer Information. Available online: http://phishtank.org/developer_info.php (accessed on 28 February 2021).
  31. Dua, D.; Graff, C. UCI Machine Learning Repository; School of Information and Computer Science, University of California: Irvine, CA, USA. Available online: https://archive.ics.uci.edu/ml/datasets/Phishing+Websites (accessed on 10 January 2021).
  32. Tan, C.L. Phishing Dataset for Machine Learning: Feature Evaluation. Mendeley Data 2018, 1. [Google Scholar] [CrossRef]
  33. Vrbančič, G. Phishing Websites Dataset. Mendeley Data 2020, 1. [Google Scholar] [CrossRef]
  34. Jiang, Y.; Tong, G.; Yin, H.; Xiong, N. A Pedestrian Detection Method Based on Genetic Algorithm for Optimize XGBoost Training Parameters. IEEE Access 2019, 7, 118310–118321. [Google Scholar] [CrossRef]
  35. Khan, S.A.; Khan, W.; Hussain, A. Phishing Attacks and Websites Classification Using Machine Learning and Multiple Datasets (A Comparative Analysis). In Proceedings of the Transactions on Petri Nets and Other Models of Concurrency XV; Springer: Cham, Switzerland, 2020; pp. 301–313. [Google Scholar]
Figure 1. The proposed optimized stacking ensemble model for phishing website detection.
Figure 1. The proposed optimized stacking ensemble model for phishing website detection.
Electronics 10 01285 g001
Figure 2. Comparisons of the FPR and FNR of ensemble methods for Dataset 1.
Figure 2. Comparisons of the FPR and FNR of ensemble methods for Dataset 1.
Electronics 10 01285 g002
Figure 3. Comparisons of the FPR and FNR of ensemble methods for Dataset 2.
Figure 3. Comparisons of the FPR and FNR of ensemble methods for Dataset 2.
Electronics 10 01285 g003
Figure 4. Comparisons of the FPR and FNR of ensemble methods for Dataset 3.
Figure 4. Comparisons of the FPR and FNR of ensemble methods for Dataset 3.
Electronics 10 01285 g004
Figure 5. A normalized confusion matrix of Random Forests for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Figure 5. A normalized confusion matrix of Random Forests for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Electronics 10 01285 g005
Figure 6. A normalized confusion matrix of XGBoost for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Figure 6. A normalized confusion matrix of XGBoost for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Electronics 10 01285 g006
Figure 7. A normalized confusion matrix of GradientBoost for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Figure 7. A normalized confusion matrix of GradientBoost for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Electronics 10 01285 g007
Figure 8. A normalized confusion matrix of LightGBM for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Figure 8. A normalized confusion matrix of LightGBM for phishing website and legitimate website classification: (a) with default parameters; (b) with optimized parameters for Dataset 1.
Electronics 10 01285 g008
Figure 9. Critical difference diagram of Dataset 1 for the Nemenyi test.
Figure 9. Critical difference diagram of Dataset 1 for the Nemenyi test.
Electronics 10 01285 g009
Figure 10. Critical difference diagram of Dataset 2 for the Nemenyi test.
Figure 10. Critical difference diagram of Dataset 2 for the Nemenyi test.
Electronics 10 01285 g010
Figure 11. Critical difference diagram of Dataset 3 for the Nemenyi test.
Figure 11. Critical difference diagram of Dataset 3 for the Nemenyi test.
Electronics 10 01285 g011
Table 1. Feature description for phishing websites.
Table 1. Feature description for phishing websites.
Feature CategoryFeature NameDescriptionPython Library Used
Address-bar-basedhaving_IP_AddressUsing the IP AddressIPaddress
Urllib
Re
Datetime
BeautifulSoup
Socket
URL_LengthLong URL to hide the suspicious part
Shortening_ServiceUsing shortening service
having_At_SymbolURL having @ symbol
double_slash_redirectingURL uses “//” symbol
Prefix_SuffixAdd prefix or suffix separated by (-)
having_Sub_DomainWebsite has subdomain or multi-subdomain
SSLfinal_StateAge of SSL certificate
Domain_registeration_lengthDomain registration length
FaviconAssociated graphic image (icon) with webpage
PortOpen port
HTTPS_tokenPresence of HTTP/HTTPS in domain name
HTML- and JavaScript-basedRedirectHow many times a website has been redirectedRequest
BeautifulSoup
on_mouseoverEffect of mouse over on status bar
RightClickDisabling right click
popUpWindowUsing pop-up window to submit personal information
IframeUsing Iframe
Abnormality basedRequest_URL% of external objects contained within a webpageBeautifulSoup
Re
WHOIS
URL_of_Anchor% of URL Anchor (<a> tag)
Links_in_tags% of links in <meta>, <script> and <link>
SFHServer from Handler
Submitting_to_emailSubmit user information using mail or mailto
Abnormal_URLHost name in URL
Domain-based featuresage_of_domainAge of the websiteWHOIS
Urllib
BeautifulSoup
DNSRecordWebsite in WHOIS dataset
web_trafficPopularity of the website
Page_RankPage Rank
Google_IndexGoogle Index
Links_pointing_to_page# of links pointing to page
Statistical_report’found in statistical reports
ResultWebsite is classified as phishing or legitimate
Table 2. Performance of ensemble classifiers for Dataset 1.
Table 2. Performance of ensemble classifiers for Dataset 1.
MeasureRandom Forests (%)AdaBoost (%)XGBoost (%)Bagging (%)GradientBoost (%)LightGBM (%)
Accuracy97.0293.1794.4596.7394.6196.53
Precision96.5894.7094.5294.9994.8795.15
Recall98.0896.6096.3996.7396.5996.70
F-Score97.4995.7195.5095.9095.7695.95
Table 3. Performance of ensemble classifiers for Dataset 2.
Table 3. Performance of ensemble classifiers for Dataset 2.
Measure Random Forests (%)AdaBoost (%)XGBoost (%)Bagging (%)GradientBoost
(%)
LightGBM
(%)
Accuracy98.3796.8897.7097.5197.6798.65
Precision98.5496.7497.5797.5597.5898.56
Recall98.2697.0497.8597.4497.7698.74
F-Score98.3996.8897.7197.4697.6798.65
Table 4. Performance of ensemble classifiers for Dataset 3.
Table 4. Performance of ensemble classifiers for Dataset 3.
Measure Random Forests (%)AdaBoost (%)XGBoost (%)Bagging (%)GradientBoost
(%)
LightGBM (%)
Accuracy97.1593.5895.3396.7895.3796.67
Precision95.7890.8992.7595.8093.0695.08
Recall96.1390.5293.8294.9393.5895.28
F-Score95.9090.7093.2895.3393.3295.18
Table 5. Parameter settings of the GA used in this paper.
Table 5. Parameter settings of the GA used in this paper.
ParameterValue
Generations10
Population size24
Mutation rate0.02
Crossover rate0.5
Early stop12
Table 6. List of optimized parameters of the classifiers.
Table 6. List of optimized parameters of the classifiers.
Classifier NameAdjusted ParametersBest GA-Based Configuration
Random ForestsCriterion: [‘entropy’, ‘gini’]
max_depth: [10–1200] + [None]
max_features: [‘auto’, ‘sqrt’,’log2’, None]
min_samples_leaf: [4–12]
min_samples_split: [5–10]
n_estimators’: [150–1200]
Criterion: entropy
max_depth: 142
min_samples_leaf: 4 min_samples_split: 5
n_estimators: 1200
AdaBoostn_estimators: [100–1200]
learning_rate: [1 × 10−3, 1 × 10−2, 1 × 10−1, 0.5, 1.0]
learning_rate: 0.1
n_estimators: 711
XGBoostn_estimators: [100–1200]
max_depth: [1–11],
learning_rate: [1 × 10−3, 1 × 10−2, 1 × 10−1, 0.5, 1.]
subsample: [0.05–1.01]
min_child_weight: [1–21]
learning_rate: 0.1
max_depth: 5
min_child_weight: 3.0
n_estimators: 588
subsample: 0.7
Baggingn_estimators: [100–1200]
max_samples: [0.1, 0.2, 0.3, 0.4, 0.5, 1.0, 1.1]
bootstrap: [True, False]
n_estimators: 1077
max_samples: 0.5
bootstrap: True
GradientBoostn_estimators: [100–1200]
learning_rate: [1 × 10−3, 1 × 10−2, 1 × 10−1, 0.5, 1.0]
subsample: [0.05–1.01]
max_depth: [10–1200] + None
min_samples_split: [5–10]
min_samples_leaf: [4–12]
max_features: [‘auto’, ‘sqrt’,’log2’, None]
n_estimators: 344
learning_rate: 1.0
subsample: 1.0
max_depth: 1067
min_samples_split: 5
min_samples_leaf: 12
max_features: ‘auto’
LightGBMboosting_type: [‘gbdt’, ‘dart’, ‘goss’, ‘rf’]num_leaves: [5–42]
max_depth: [10–1200] + None
learning_rate: [1 × 10−3, 1 × 10−2, 1 × 10−1, 0.5, 1.]
n_estimators: [100–1200]
min_child_samples: [100,500]
min_child_weight: [1 × 10−5, 1 × 10−3, 1 × 10−2, 1 × 10−1, 1, 10, 100, 1000, 10000]
subsample: sp_uniform(loc = 0.2, scale = 0.8)
colsample_bytree’: sp_uniform(loc = 0.4, scale = 0.6)
reg_alpha: [0, 10−1, 1, 2, 5, 7, 10, 50, 100],
reg_lambda: [0, 10−1, 1, 5, 10, 20, 50, 100],
min_split_gain: 0.0,
subsample_for_bin: 200,000
boosting_type: ‘gbdt’
num_leaves: 13
max_depth: 15
learning_rate: 0.5
n_estimators: 500
min_child_samples: 399
min_child_weight: 0.1
 
subsample: 0.855
colsample_bytree: 0.9234
 
reg_alpha: 2
reg_lambda: 5
min_split_gain: 0.0,
subsample_for_bin: 200,000
Table 7. The accuracy of the optimized ensemble models for Dataset 1.
Table 7. The accuracy of the optimized ensemble models for Dataset 1.
FoldGA–RF (%)GA–AdaBoost (%)GA–XGBoost (%)GA–Bagging (%)GA–GradientBoost (%)GA–LightGBM (%)
197.1194.8596.7596.5697.1196.84
296.8493.1397.0296.7596.9396.47
397.2093.0496.9396.5696.9395.66
496.0293.7697.4797.6597.8396.20
596.2992.9597.0297.0297.0296.20
696.4793.5796.9296.7497.0196.20
796.7492.8597.2997.0197.2996.83
897.8395.6697.5697.4797.8397.47
997.0192.8597.2997.0197.1996.56
1095.9393.6795.9396.2096.1195.75
Average96.7493.6397.0196.9097.1396.42
Table 8. Results of performance evaluation measures when detecting phishing and legitimate classes for Dataset 1.
Table 8. Results of performance evaluation measures when detecting phishing and legitimate classes for Dataset 1.
ClassifierClass NamePrecision (%)Recall (%)F-Score (%)
GA–Random ForestsPhishing website96.4094.1095.10
Legitimate95.2097.3096.40
Weighted Average 95.9095.7095.90
GA–XGBoostPhishing website97.5095.8096.50
Legitimate96.7098.0097.20
Weighted Average97.0097.0097.00
GA–GradientBoostPhishing website97.0095.7096.40
Legitimate96.8097.5097.10
Weighted Average96.9096.8096.80
GA–LightGBMPhishing website95.1094.2094.70
Legitimate95.5096.3095.80
Weighted Average95.3095.3095.30
Table 9. Performance of GA-based ensemble classifiers for Dataset 2.
Table 9. Performance of GA-based ensemble classifiers for Dataset 2.
Measure GA–Random Forests (%)GA–AdaBoost (%)GA–XGBoost (%)GA–Bagging (%)GA–GradientBoost (%)GA–LightGBM (%)
Accuracy98.3997.2198.5797.5198.5098.32
Precision98.4697.1598.5097.2498.3198.10
Recall98.1397.2898.6497.8998.5498.56
F-Score98.4397.2198.5797.5298.3798.33
Table 10. Performance of GA-based ensemble classifiers for Dataset 3.
Table 10. Performance of GA-based ensemble classifiers for Dataset 3.
MeasureGA–Random Forests (%)GA–AdaBoost (%)GA–XGBoost (%)GA–Bagging (%)GA–GradientBoost (%)GA–LightGBM (%)
Accuracy96.4494.0697.3596.9697.2797.21
Precision94.6390.9196.2095.395.6896.13
Recall95.0892.0296.1495.9696.3095.81
F-Score94.8691.4696.1795.6495.7895.96
Table 11. Models ranked by accuracy of classifier obtained by 10-fold cross-validation.
Table 11. Models ranked by accuracy of classifier obtained by 10-fold cross-validation.
ML ClassifierDataset 1Dataset 2Dataset 3
Mean RankMeanSDMean RankMeanSDMean RankMeanSD
RF3.20.9700.004274.20.98370.003323.60.9710.00229
GA–RF4.40.9670.005544.10.98390.0032780.9640.00269
AdaB11.70.9320.0054911.50.96880.00477120.9360.00335
GA–AdaB11.20.9360.0088910.20.97210.00448110.9410.00299
XGB9.60.9450.004917.40.97700.005089.50.95320.00339
GA–XGB3.10.9700.004472.50.98570.003101.50.9740.00201
Bagging5.30.9670.004928.90.97510.005675.80.9680.00214
GA–Bagging4.30.9690.004128.10.97510.005794.90.9690.00243
GB9.20.9460.005787.80.97670.004929.50.9540.00330
GA–GB1.80.9710.004642.90.98500.002932.20.9730.00222
LGB6.10.9650.005611.90.98650.003076.70.9670.00227
GA–LGB6.70.9640.005144.50.98320.004212.90.9720.00235
Table 12. The accuracy of the optimized stacking ensemble method.
Table 12. The accuracy of the optimized stacking ensemble method.
DatasetRF Level (%)GB (%)SVM (%)
Dataset 197.0096.8297.16
Dataset 298.5798.4798.58
Dataset 397.2297.3297.39
Table 13. The average accuracy and variance values of all of the classifiers, before and after conducting GA optimization.
Table 13. The average accuracy and variance values of all of the classifiers, before and after conducting GA optimization.
Classifier Name Without Optimization With GA Optimization
Random ForestsAvg.97.02%96.74%
Variance0.0000.000
AdaBoostAvg.93.17%93.63%
Variance0.0000.000
XGBoostAvg.94.45%97.01%
Variance0.0000.000
BaggingAvg.96.73%96.90%
Variance0.0000.000
GradientBoostAvg.94.6197.13%
Variance0.0000.000
LightGBMAvg.96.53%96.42%
Variance0.0000.000
Table 14. The reported p values for t-tests.
Table 14. The reported p values for t-tests.
Classifier Name t-Test ResultConclusion
Random Forestst-stat.1.466706885No significant
p-value0.088improvement
AdaBoostt-stat.−2.100040666Significant
p-value0.032556993improvement
XGBoostt-stat.−13.49130461Significant
p-value0.000improvement
Baggingt-stat.−2.976672182Significant
p-value0.008improvement
GradientBoostt-stat.−11.26647694Significant
p-value0.000improvement
LightGBMt-stat.0.971025No significant
p-value0.178454improvement
Table 15. Comparison of the proposed method with the previous studies.
Table 15. Comparison of the proposed method with the previous studies.
PaperClassifierDatasetAccuracy%Precision
%
Recall
%
Ali and Ahmed [7]GA–ANNDataset 188.7785.81%93.34%
Ali and Malebary [10]POS–RFDataset 196.8398.76%95.37%
This studyThe stacking ensemble methodDataset 197.1696.86%96.83%
Khan, Khan, and Hussain [35]ANN after PCADataset 297.1396.48%98.03%
This studyThe stacking ensemble methodDataset 298.5898.50%98.74%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Al-Sarem, M.; Saeed, F.; Al-Mekhlafi, Z.G.; Mohammed, B.A.; Al-Hadhrami, T.; Alshammari, M.T.; Alreshidi, A.; Alshammari, T.S. An Optimized Stacking Ensemble Model for Phishing Websites Detection. Electronics 2021, 10, 1285. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10111285

AMA Style

Al-Sarem M, Saeed F, Al-Mekhlafi ZG, Mohammed BA, Al-Hadhrami T, Alshammari MT, Alreshidi A, Alshammari TS. An Optimized Stacking Ensemble Model for Phishing Websites Detection. Electronics. 2021; 10(11):1285. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10111285

Chicago/Turabian Style

Al-Sarem, Mohammed, Faisal Saeed, Zeyad Ghaleb Al-Mekhlafi, Badiea Abdulkarem Mohammed, Tawfik Al-Hadhrami, Mohammad T. Alshammari, Abdulrahman Alreshidi, and Talal Sarheed Alshammari. 2021. "An Optimized Stacking Ensemble Model for Phishing Websites Detection" Electronics 10, no. 11: 1285. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10111285

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop