Lightweight MITM detection with feature selection and active deception
Abstract
Man-in-the-middle (MITM) attacks remain difficult to handle in enterprise and internet of things networks because many intrusion detection systems stop at passive alerting or require high-dimensional traffic features. This study proposes a lightweight active defense system (LADS) that combines a hybrid feature selection pipeline with an active deceptor-in-the-middle response. The detection pipeline applies mutual information filtering, recursive feature elimination, and principal component analysis before training a random forest classifier. The system was evaluated on NSL-KDD, UNSW-NB15, CICIDS-2017, and Bot-IoT data, with additional EVE-NG-based attack modeling for address resolution protocol (ARP) spoofing and SSL stripping scenarios. Using only a compact feature representation, LADS achieved 99.42% accuracy on CICIDS-2017, 91.94% on UNSW-NB15, and 89.13% on the NSL-KDD proxy experiment, while a direct NSL-KDD fold-level validation exceeded 99% accuracy. The CICIDS-2017 setting produced a feature efficiency score of 31.56, a 2.79-fold improvement over the full-feature random forest baseline. Fold-level principal component analysis (PCA) sensitivity showed that increasing the variance threshold from 95% to 99% improved UNSW-NB15 accuracy from 92.15% to 92.43% and matthews correlation coefficient (MCC) from 0.8425 to 0.8483, while CICIDS-2017 remained stable above 99.96% accuracy. A Monte Carlo simulation of the DitM response reduced mean attacker dwell time from 1,167 s to 15.3 s and reduced estimated exfiltration from 74.54% to 0.98%. The results suggest that lightweight detection can be paired with active containment, although the DitM component still requires real red-team validation
Keywords
Active defense; ARP spoofing detection; Deceptor-in-the-middle; Hybrid feature selection; Man-in-the-middle attack;
DOI: http://doi.org/10.11591/ijeecs.v44.i1.pp130-139
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES).