Indonesian Journal of Electrical Engineering and Computer Science
Vol 44, No 1: October 2026

Lightweight MITM detection with feature selection and active deception

Somkiat Kosolsombat (Thammasat University)
Chiabwoot Ratanavilisagul (King Mongkut’s University of Technology North Bangkok (KMUTNB))



Article Info

Publish Date
01 Oct 2026

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

Copyrights © 2026