CODE INJECTION ATTACK PREVENTION WITH AI-INTEGRATED MACHINE LEARNING APPROACH USING CNN

Authors

  • Abdul Subhahan Shaik Research Scholar., Dept. Of CSE., B.E.S.T. Innovation University., Gownivaripalli., Gorantla, Andhra Pradesh., India.
  • Dr. Amjan Shaik Professor Of CSE & Dean-R&D., St. Peter’s Engineering College., Maisammaguda – Hyderabad,Telangana., India

DOI:

https://doi.org/10.29121/shodhkosh.v3.i2.2022.3181

Keywords:

Code Injection, Cybersecurity, Machine Learning, Artificial Intelligence, Convolutional Neural Networks (CNN), Anomaly Detection

Abstract [English]

In the ever-evolving landscape of cybersecurity, code injection attacks pose a significant threat to the integrity and security of software applications. This paper introduces an innovative approach to preventing code injection attacks by integrating artificial intelligence (AI) and machine learning techniques, specifically leveraging Convolutional Neural Networks (CNN). The proposed method focuses on the development of a robust model capable of effectively identifying code injection attempts in real time, thereby fortifying applications against malicious exploits. The methodology begins with the preparation of a comprehensive dataset containing legitimate code snippets and injected code samples simulating common attack scenarios. Feature extraction involves the utilization of character-level n-grams or embeddings to capture the syntactic nuances of code. A CNN architecture is designed to take advantage of its ability to recognize local patterns within the code, providing a deeper understanding of the structure and context. The model is trained using the prepared dataset, employing binary classification to distinguish between legitimate and potentially injected code. The integration of this trained model into the application's security module enables real-time monitoring of incoming code snippets. A threshold is set on the model's output probability to determine when to flag a code snippet as potentially malicious, allowing for customization based on the application's security requirements.

References

Baduge, Shanaka Kristombu, et al. "Artificial intelligence and smart vision for building and construction 4.0: Machine and deep learning methods and applications." Automation in Construction 141 (2022): 104440. DOI: https://doi.org/10.1016/j.autcon.2022.104440

Saravi, Babak, et al. "Artificial intelligence-driven prediction modeling and decision making in spine surgery using hybrid machine learning models." Journal of Personalized Medicine 12.4 (2022): 509. DOI: https://doi.org/10.3390/jpm12040509

Ghillani, Diptiban. "Deep learning and artificial intelligence framework to improve the cyber security." Authorea Preprints (2022). DOI: https://doi.org/10.22541/au.166379475.54266021/v1

Ruan, Haijun, et al. "Generalised diagnostic framework for rapid battery degradation quantification with deep learning." Energy and AI 9 (2022): 100158. DOI: https://doi.org/10.1016/j.egyai.2022.100158

Shaikh, Tawseef Ayoub, Tabasum Rasool, and Faisal Rasheed Lone. "Towards leveraging the role of machine learning and artificial intelligence in precision agriculture and smart farming." Computers and Electronics in Agriculture 198 (2022): 107119. DOI: https://doi.org/10.1016/j.compag.2022.107119

Shah, Jaimin, Darsh Vaidya, and Manan Shah. "A comprehensive review on multiple hybrid deep learning approaches for stock prediction." Intelligent Systems with Applications (2022): 200111. DOI: https://doi.org/10.1016/j.iswa.2022.200111

Younis, Ayesha, et al. "Brain tumor analysis using deep learning and VGG-16 ensembling learning approaches." Applied Sciences 12.14 (2022): 7282. DOI: https://doi.org/10.3390/app12147282

Fritz, Benjamin, and Jan Fritz. "Artificial intelligence for MRI diagnosis of joints: a scoping review of the current state-of-the-art of deep learning-based approaches." Skeletal Radiology 51.2 (2022): 315-329. DOI: https://doi.org/10.1007/s00256-021-03830-8

Chen, Yen-Chi, et al. "Smartphone-based artificial intelligence using a transfer learning algorithm for the detection and diagnosis of middle ear diseases: A retrospective deep learning study." EClinicalMedicine 51 (2022). DOI: https://doi.org/10.1016/j.eclinm.2022.101543

Depuru, Sivakumar, et al. "Convolutional Neural Network based Human Emotion Recognition System: A Deep Learning Approach." 2022 Smart Technologies, Communication and Robotics (STCR). IEEE, 2022. DOI: https://doi.org/10.1109/STCR55312.2022.10009123

Cui, Feifei, et al. "Protein–DNA/RNA interactions: Machine intelligence tools and approaches in the era of artificial intelligence and big data." Proteomics 22.8 (2022): 2100197. DOI: https://doi.org/10.1002/pmic.202100197

Singh, Manisha, et al. "Evolution of machine learning in tuberculosis diagnosis: a review of deep learning-based medical applications." Electronics 11.17 (2022): 2634. DOI: https://doi.org/10.3390/electronics11172634

Singh, Manisha, et al. "Evolution of machine learning in tuberculosis diagnosis: a review of deep learning-based medical applications." Electronics 11.17 (2022): 2634. DOI: https://doi.org/10.3390/electronics11172634

Jackulin, C., and S. Murugavalli. "A comprehensive review on detection of plant disease using machine learning and deep learning approaches." Measurement: Sensors (2022): 100441. DOI: https://doi.org/10.1016/j.measen.2022.100441

Mamalakis, Antonios, Elizabeth A. Barnes, and Imme Ebert-Uphoff. "Investigating the fidelity of explainable artificial intelligence methods for applications of convolutional neural networks in geoscience." Artificial Intelligence for the Earth Systems 1.4 (2022): e220012. DOI: https://doi.org/10.1175/AIES-D-22-0012.1

Downloads

Published

2022-12-20

How to Cite

Shaik, A. S., & Shaik, A. (2022). CODE INJECTION ATTACK PREVENTION WITH AI-INTEGRATED MACHINE LEARNING APPROACH USING CNN. ShodhKosh: Journal of Visual and Performing Arts, 3(2), 848–854. https://doi.org/10.29121/shodhkosh.v3.i2.2022.3181