The paper presents an Advanced Keylogger Detection System designed to protect endpoint devices from stealthy malware that records keystrokes and steals sensitive data such as passwords and financial information. It addresses the limitations of traditional signature-based antivirus systems, which fail to detect zero-day and behavior-mimicking keyloggers.
The proposed solution uses a hybrid machine learning approach combining:
Isolation Forest for unsupervised anomaly detection of abnormal system behavior (CPU usage, keystroke rate, process activity, etc.)
LSTM (Long Short-Term Memory) networks for analyzing sequential and time-dependent behavior patterns to detect persistent or low-intensity keylogging activity
The system collects real-time behavioral telemetry (keystroke rate, CPU usage, timing intervals, and network activity), preprocesses it, and evaluates it through a two-stage detection pipeline. A hybrid decision engine combines both model outputs to classify activity as normal, medium risk, or high risk.
When suspicious behavior is detected, the system triggers real-time alerts, process termination, and forensic logging, all visualized through a dashboard built using FastAPI and WebSockets.
Experimental results show that:
Normal system behavior is correctly classified with low false positives
The hybrid system effectively distinguishes normal, anomalous, and malicious patterns
It operates in real time with stable performance and low overhead
Overall, the approach improves endpoint security by combining anomaly detection and temporal behavior modeling, enabling more accurate and adaptive detection of modern keyloggers compared to traditional rule-based systems.
Introduction
The paper proposes a real-time Advanced Keylogger Detection System to protect endpoints from stealthy malware that captures keystrokes and sensitive user data. It addresses the weaknesses of traditional signature-based antivirus tools, which struggle with zero-day and behavior-mimicking attacks.
The system uses a hybrid machine learning approach:
Isolation Forest to detect abnormal system behavior without labeled data
LSTM to analyze sequential behavior patterns over time and identify persistent keylogging activity
It processes real-time telemetry such as keystroke rate, CPU usage, timing intervals, and network activity, then uses a two-stage pipeline with a hybrid decision engine to classify activity as normal, medium, or high threat.
When threats are detected, the system triggers alerts, logs forensic data, and can terminate suspicious processes, all displayed via a real-time dashboard.
Results show high effectiveness with low false positives, strong detection accuracy, and stable real-time performance. Overall, combining anomaly detection with temporal modeling significantly improves keylogger detection compared to traditional rule-based systems.
Conclusion
The IoT-based street light controller and monitoring system represent a transformative solution for modernizing urban lighting infrastructure, enhancing efficiency, reliability, and sustainability. Through the integration of advanced sensors, controllers, and data analytics, the system offers numerous benefits, including energy savings, operational efficiency, and improved user experience.
The IoT-based street light controller and monitoring system of feramultifaceted approach to urban lighting management, delivering a wide range of benefits across environmental, economic, social, and policy dimensions. Ascities embrace digital transformation and strive towards sustainability and resilience goals, the adoption of smart lighting solutions becomes increasingly imperative.
The conclusion underscores the transformative potential of the IoT- based street light controller and monitoring system in shaping the future of urban environments and advancing the collective well-being of society.
Beyond the technical and economic benefits, the IoT-based street light controller and monitoring system have a significant social impact on communities. Improved street lighting enhances public spaces, fosters a sense of security, and promotes social inclusion and community well-being. It contributes to creating vibrant, livable cities where residents can thrive and businesses can prosper.
References
[1] Rathore, M. N. H. K. M., & Channi, C. B. H. K. (2017). Modeling and Simulation of Automatic Street Light Controller using LDR and Micro-Controller. Internasional Journal for Scientific Research and Development, 5(8), 274-277.
[2] Jyothi Priya, C. H., & Puviarasi, R. (2021). Automatic Street Light Controller Using LDR and Solar. In Emerging Technologies in Data Mining and Information Security: Proceedings of IEMIS 2020, Volume 3 (pp. 955-961). Singapore: Springer Singapore.
[3] Saad, M., Farij, A., Salah, A., & Abdaljalil, A. (2013, October). Automatic street light control system using microcontroller. In 1st International Conference on Machine Design and Automation; Turkey (pp. 92-96).
[4] Nirosha, K., Sri, B. D., Mamatha, C., & Dhanalaxmi, B. (2017). Automatic street lights on/off application using IoT. Int. J. Mech. Eng. Technol, 8, 38-47.
[5] Yusuf, S. D., Nmezi, S. N., Loko, A. Z., & Lumbi, W. L. (2020). Design and construction of an automatic streetlight controller using microcontroller and LDR. International Journal of Academic Research and Development, 5(3), 50-56.
[6] Dheena, P. F., Raj, G. S., Dutt, G., & Jinny, S. V. (2017, December). IOT based smart street light management system. In 2017 IEEE international conference on circuits and systems (ICCS) (pp. 368-371). IEEE.
[7] Gawli, P., Pawar, S., Warjurkar, G., Gele, S., Somane, S., & Nagare, A. (2023, November). Automatic Street Light System Using Arduino & LDR Sensor. In 2023 International Conference on Advances in Computation, Communication and Information Technology (ICAICCIT) (pp. 1024-1028). IEEE.
[8] Kumar, P., Hiremath, S. S., Sandeep, G. V., Javalagi, S., & Reddy, V. S. (2021). IOT based automatic street light control and fault detection. Turkish Journal of Computer and Mathematics Education, 12(12), 2309-2314.
[9] Gobi, P., Gopal, S. N., Sarveshwaran, A., Arul, S., Prathiyuth, P., & Ratheesh, N. (2025, October). Development of an Intelligent Street Light Control System Using Arduino Controller with LDR Sensor. In 2025 2nd International Conference on Artificial Intelligence and Knowledge Discovery in Concurrent Engineering (ICECONF) (pp. 1-9). IEEE.
[10] Singh, J., Jaiswal, S. P., Jain, M., Pathy, A. A., Bhadoria, V. S., & Asad, S. (2021). Automation in Street Lights Using IR Sensors and LDR. Recent Development in Engineering and Technology 2020.
[11] Suresh, M., Anbarasi, M. S., & PraveenKumar, V. (2020, July). An intelligent smart street light system with predictive model. In 2020 International Conference on System, Computation, Automation and Networking (ICSCAN) (pp. 1-4). IEEE.
[12] Saikumar, K., Vaibhav, D. L., & Rrochish, V. (2018). Automatic street lighting system using LDR. International Journal of Advance Research, Ideas and Innovations in Technology, 4, 526-528.
[13] Sunehra, D., & Rajasri, S. (2017, September). Automatic street light control system using wireless sensor networks. In 2017 IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI) (pp. 2915-2919). IEEE.
[14] Kodali, R., & Yerroju, S. (2017, December). Energy efficient smart street light. In 2017 3rd International Conference on Applied and Theoretical Computing and Communication Technology (iCATccT) (pp. 190-193). IEEE.