Autonomous Cyber Defense: An AI-Based SelfHealing Framework
NeuroShield is an AI-based cybersecurity research project developed to explore the integration of machine learning, network traffic monitoring and automated defensive responses within a unified intrusion detection and prevention framework. The system was designed to detect potentially malicious network activity, classify different cyberattack categories and initiate corresponding mitigation procedures through a modular, Python-based architecture. The project originated in May 2025 as part of the mandatory Non-Teaching Credit Course (NTCC) summer research programme at Amity University. Motivated by an interest in learning Linux, virtualization and cybersecurity, the research began following the installation of a VMware virtual machine and initial exploration of Kali Linux. The objective was to undertake a challenging practical project that would combine unfamiliar operating-system tools with machine learning and cybersecurity engineering. The framework was developed independently under the academic supervision of Dr. Renuka Arora, Department of Computer Science and Engineering, Amity School of Engineering and Technology. The initial research and implementation were completed during May–July 2025, culminating in a comprehensive technical report documenting the methodology, model training, experimental evaluation and automated response architecture. NeuroShield uses the UNSW-NB15 cybersecurity dataset to train a supervised machine learning classifier capable of identifying different categories of suspicious network traffic. The published research implementation employed a Random Forest classifier trained using ten selected network-flow features, covering nine attack categories and normal traffic. The system incorporates several interconnected modules, including network packet capture, flow-based feature extraction, machine learning inference, attack classification, automated response selection, logging, attack simulation and Telegram-based security notifications. PyShark was used for monitoring network packets, while flow-extraction logic transformed the captured information into numerical representations compatible with the machine learning model. The detection interface classified traffic and passed the results to a custom healing engine, which selected predefined defensive actions such as IP blocking, connection termination, port restrictions and traffic throttling. The framework was developed and tested within a virtualised Linux environment. For experimental safety, the healing engine primarily operated in a safe-testing mode, allowing defensive commands and response decisions to be generated and logged without requiring destructive or disruptive modifications to the operating environment. Model development involved dataset preprocessing, handling class imbalance, categorical encoding, feature selection and the comparative evaluation of multiple machine learning algorithms. Random Forest was selected for its reported balance of classification performance, inference efficiency and suitability for the proposed detection pipeline. The published research reported a training accuracy of 97.3%, validation accuracy of 94.1%, macro F1-score of 0.939 and approximately 94.5% average detection accuracy across the documented attack simulations. The experimental pipeline reported response times below 1.5 seconds, including the evaluated detection and mitigation stages. Following completion of the NTCC research, the project progressed into a conference publication titled "Autonomous Cyber Defense: An AI-Based Self-Healing Framework." The paper was prepared under the guidance of Dr. Dolly Sharma, with Vivek Choudhary contributing to manuscript editing and Dr. Mamta Mittal providing review and recommendations for improving the publication. The research was presented on 24–25 April 2026 at the Eighth International Conference on Computational Intelligence and Communication Technologies (CCICT 2026), organised by B.M. Institute of Engineering and Technology. The paper is available through IEEE Xplore. The technical work also continued beyond the original ten-feature research prototype. Later development explored a broader feature-alignment architecture, expanded monitoring and modular detection components, while preserving the underlying objective of integrating intrusion detection with appropriate security responses. These later developments are separate from the published experimental performance measurements. NeuroShield currently represents a completed academic research and publication project. Although the software is not actively maintained and requires environment reconfiguration and further tuning before being demonstrated again, its development established substantial practical experience in Linux, network analysis, machine learning, cybersecurity experimentation and defensive software engineering. The project demonstrates the potential of integrating data-driven intrusion detection with automated response logic and provides a foundation for further research into adaptive, context-aware and resilient cybersecurity systems.
