Pembelajaran Perilaku Normal Jaringan Berbasis Deep Autoencoder Untuk Deteksi Intrusi Secara Real-time
DOI:
https://doi.org/10.14421/csecurity.2026.9.2.6502Abstract
Peningkatan ancaman keamanan siber menuntut sistem deteksi intrusi yang mampu mengenali serangan baru tanpa bergantung pada pola serangan yang telah diketahui. Penelitian ini bertujuan mengembangkan Intrusion Detection System (IDS) berbasis Deep Autoencoder untuk mendeteksi anomali lalu lintas jaringan secara real-time menggunakan pendekatan unsupervised learning. Model dilatih menggunakan data lalu lintas jaringan normal untuk mempelajari karakteristik perilaku jaringan, kemudian mendeteksi anomali berdasarkan nilai reconstruction error. Sistem diimplementasikan menggunakan Python dengan memanfaatkan packet sniffing untuk menangkap lalu lintas jaringan, penyimpanan hasil deteksi ke basis data MySQL, serta pengiriman notifikasi melalui Telegram. Evaluasi dilakukan menggunakan Confusion Matrix dengan metrik Accuracy, Precision, Recall, F1-Score, serta Receiver Operating Characteristic (ROC) Curve. Hasil pengujian menunjukkan bahwa sistem memperoleh nilai Accuracy sebesar 99,07%, Precision sebesar 77,58%, Recall sebesar 84,68%, F1-Score sebesar 80,97%, dan Area Under the Curve (AUC) sebesar 0,9890. Hasil tersebut menunjukkan bahwa pendekatan Deep Autoencoder mampu mempelajari perilaku normal jaringan dan mendeteksi anomali secara otomatis serta efektif pada lingkungan real-time. Penelitian ini memberikan kontribusi berupa implementasi IDS berbasis unsupervised learning yang mendukung proses pemantauan dan deteksi dini terhadap aktivitas anomali pada jaringan komputer.
Kata Kunci: Deep Autoencoder, Intrusion Detection System, Network Anomaly Detection, Real-Time Detection, Unsupervised Learning.
----------------------------------------------------------------------
Deep Autoencoder-Based Learning of Normal Network Behavior For Real-time Intrusion Detection
The increasing complexity of cybersecurity threats requires intrusion detection systems capable of identifying previously unseen attacks without relying on predefined attack signatures. This study aims to develop a Deep Autoencoder-based Intrusion Detection System (IDS) for real-time network anomaly detection using an unsupervised learning approach. The proposed model was trained using normal network traffic to learn normal network behavior and detect anomalies based on reconstruction error. The system was implemented in Python by integrating packet sniffing for network traffic capture, MySQL for detection log storage, and Telegram for automated alert notifications. System performance was evaluated using a Confusion Matrix with Accuracy, Precision, Recall, F1-Score, and Receiver Operating Characteristic (ROC) Curve as evaluation metrics. Experimental results showed that the proposed system achieved an Accuracy of 99.07%, Precision of 77.58%, Recall of 84.68%, F1-Score of 80.97%, and an Area Under the Curve (AUC) of 0.9890. These results indicate that the proposed Deep Autoencoder effectively learns normal network behavior and automatically detects anomalous activities in a real-time environment. This study contributes an unsupervised learning-based IDS implementation that supports continuous network monitoring and early detection of anomalous activities in computer networks.
Keywords: Deep Autoencoder, Intrusion Detection System, Network Anomaly Detection, Real-time Detection, Unsupervised Learning.
References
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ahmad Andru Alfandhi Amarsin, Ir. Nardi, S.T., M.Kom., Andri Setiyaji, S.Si, M.T.I, Adi Widiatmoko Wastumirad, S.Si, M.T, Fadhli Luthfiansyah, S.Tr., M.T.I

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

