THREAT DETECTION IN FIREWALL LOGS USING FEATURE SELECTION AND ENSEMBLE LEARNING

The firewall serves as the first line of defense in network security, responsible for monitoring and filtering data traffic. However, firewalls remain limited in accurately detecting threats, often generating false positives and false negatives, where legitimate traffic is misclassified as attacks or vice versa. Despite numerous studies that apply machine learning to firewall log analysis, the challenge of accurately distinguishing between benign and malicious activities remains. Existing methods often struggle with high rates of false positives and false negatives, particularly in complex, real-world network environments. This study aims to bridge this gap by combining feature selection and stacking-based ensemble learning, which has been underexplored in addressing the issue of misclassification in firewall logs. Our feature selection approach combines Random Forest feature importance with mutual information, while the ensemble framework employs a stacking strategy that integrates Iterative Dichotomiser 3 (ID3), Random Forest (RF), and Extreme Gradient Boosting (XGBoost), with XGBoost serving as the meta‐learner. Experiments were conducted on two datasets: Palo Alto firewall logs from an Indonesian government agency and a public dataset from the UCI Machine Learning Repository, to evaluate the model’s generalization performance. The results demonstrate that the ensemble learning method reduces false positives and false negatives, achieving 99.97 % accuracy on the primary dataset and 99.87 % on the secondary dataset, representing a 7.14 % reduction in misclassification compared with standalone machine learning algorithms. This work contributes to the development of a robust and efficient threat detection system suitable for deployment in both governmental and public network environments.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-08-31
DOI
https://doi.org/10.5281/zenodo.18110343
Primary Topic
Network Packet Processing and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

THREAT DETECTION IN FIREWALL LOGS USING FEATURE SELECTION AND ENSEMBLE LEARNING

Journal of Theoretical and Applied Information Technology
Zenodo (CERN European Organization for Nuclear Research)
Network Packet Processing and Optimization
article

THREAT DETECTION IN FIREWALL LOGS USING FEATURE SELECTION AND ENSEMBLE LEARNING

Journal of Theoretical and Applied Information Technology
article en

Abstract

The firewall serves as the first line of defense in network security, responsible for monitoring and filtering data traffic. However, firewalls remain limited in accurately detecting threats, often generating false positives and false negatives, where legitimate traffic is misclassified as attacks or vice versa. Despite numerous studies that apply machine learning to firewall log analysis, the challenge of accurately distinguishing between benign and malicious activities remains. Existing methods often struggle with high rates of false positives and false negatives, particularly in complex, real-world network environments. This study aims to bridge this gap by combining feature selection and stacking-based ensemble learning, which has been underexplored in addressing the issue of misclassification in firewall logs. Our feature selection approach combines Random Forest feature importance with mutual information, while the ensemble framework employs a stacking strategy that integrates Iterative Dichotomiser 3 (ID3), Random Forest (RF), and Extreme Gradient Boosting (XGBoost), with XGBoost serving as the meta‐learner. Experiments were conducted on two datasets: Palo Alto firewall logs from an Indonesian government agency and a public dataset from the UCI Machine Learning Repository, to evaluate the model’s generalization performance. The results demonstrate that the ensemble learning method reduces false positives and false negatives, achieving 99.97 % accuracy on the primary dataset and 99.87 % on the secondary dataset, representing a 7.14 % reduction in misclassification compared with standalone machine learning algorithms. This work contributes to the development of a robust and efficient threat detection system suitable for deployment in both governmental and public network environments.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 30%
Network Packet Processing and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.