The evolving nature of phishing attacks requires rapid and accurate detection. However, high-dimensional URL attributes can increase computational overhead during real-time processing. This study proposes a hybrid approach combining Genetic Algorithm (GA) and Random Forest (RF) for web-based phishing detection. Using 235,749 samples from the PhiUSIIL Phishing URL dataset, GA selects 20 features from the original 47 attributes, combining lexical URL characteristics with lightweight web content indicators. The dataset was partitioned using an 80:20 stratified split, yielding 188,599 training samples and 47,150 independent test samples. Evaluation on the test set yielded an accuracy of 99.66%, precision of 99.63%, recall of 99.78%, and F1-score of 99.70%, with 60 false negatives and 100 false positives. Stability testing using 10 different random seeds for data partitioning produced an average accuracy of 99.65%, with a standard deviation of 0.0241%. The model was integrated into a two-layer defense architecture using Flask and Vue.js, achieving a local server response time of less than 25 milliseconds.
Copyrights © 2026