Skip to main content

Development of IDS Using Supervised Machine Learning

  • Conference paper
  • First Online:
Soft Computing: Theories and Applications

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1154))

Abstract

In the era of modern lifestyle, the internet and networking are essential things for everyone. With the help these facilities everyone can exchange information between intranet and internet-connected people. During the information exchange, so many intermediate devices are involved, so that the security of information or data is primary concern for each and every involved system. Attackers or intruders belong to inside the network or outside of the network. To detect an intruder or attacker an intrusion detection system (IDS) has been proposed for the detection of normal and attack data packets for a network. In this work, KDD-99 dataset is used for the development of IDS. A total set of 32,640 samples are considered, in which 12,440 samples of normal and 20,200 samples of attack class are used. These samples are further bifurcated into training and testing set in balanced manner. Thus, 16,320 samples (normal: 6220 and attack: 10,100) are used for training set and same number of set is used for the testing set. For the supervised learning, SVM and kNN classifiers are used to differentiate between normal data packets and attack data packets with PCA as dimensionality reduction. After the successful completion of experiments, it has been found that PCA-kNN yields maximum accuracy of 90.07% at pc value of 5 using cosine distance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Endorf, C., Schultz, E., Mellander, J.: Intrusion Detection & Prevention. McGraw-Hill, Osborne Media (2004). ISBN: 0072229543

    Google Scholar 

  2. Anderson, J.P.: Computer security threat monitoring and surveillance. In: James, P. (eds) Technical Report. Anderson Company (1980)

    Google Scholar 

  3. Denning, D.E.: An intrusion-detection model. IEEE Trans. Softw. Eng. 2, 222–232 (1987)

    Article  Google Scholar 

  4. Verwoerd, T., Hunt, R.: Intrusion detection techniques and approaches. Comput. Commun. 25(15), 1356–1365 (2002)

    Article  Google Scholar 

  5. Khan, S., Loo, J., Din, U.Z.: Framework for intrusion detection in IEEE 802.11 wireless mesh networks. Int. Arab J. Inf. Technol. 7(4), 435–440 (2017)

    Google Scholar 

  6. Abraham, A., Grosan, C., Martin-Vide, C.: Evolutionary design of intrusion detection programs. IJ Netw. Secur. 4(3), 328–339 (2007)

    Google Scholar 

  7. Tiwari, A., Ojha, S.K.: Design and analysis of intrusion detection system via neural Network, SVM, and neuro-fuzzy. In: Emerging Technologies in Data Mining and Information Security, pp. 49–63. Springer, Singapore (2019)

    Google Scholar 

  8. Abraham, A., Jain, R., Thomas, J., Han, S.Y.: D-SCIDS: distributed soft computing intrusion detection system. J. Netw. Comput. Appl. 30(1), 81–98 (2007)

    Article  Google Scholar 

  9. Roman, R., Zhou, J., Lopez, J.: Applying intrusion detection systems to wireless sensor networks. In: IEEE Consumer Communications & Networking Conference (CCNC 2006) (2006)

    Google Scholar 

  10. Karataş, F., Korkmaz, S.A.: Big data: controlling fraud by using machine learning libraries on spark. Int. J. Appl. Math. Electron. Comput. 6(1), 1–5 (2018)

    Article  Google Scholar 

  11. Peng, K., Leung, V.C., Huang, Q.: Clustering approach based on mini batch K-means for intrusion detection system over big data. IEEE Access (2018)

    Google Scholar 

  12. Anuar, N.B., Sallehudin, H., Gani, A., Zakaria, O.: Identifying false alarm for network intrusion detection system using hybrid data mining and decision tree. Malaysian J. Comput. Sci. 21(2), 101–115 (2008)

    Article  Google Scholar 

  13. Golovko, V., Kochurko, P.: Intrusion recognition using neural networks. In: 2005 IEEE Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, pp. 108–111. IEEE (2005)

    Google Scholar 

  14. Tian, S., Yu, J., Yin, C.: Anomaly detection using support vector machines. In: International Symposium on Neural Networks, pp. 592–597. Springer, Berlin (2004)

    Google Scholar 

  15. Chen, W.H., Hsu, S.H., Shen, H.P.: Application of SVM and ANN for intrusion detection. Comput. Oper. Res. 32(10), 2617–2634 (2005)

    Article  Google Scholar 

  16. Belouch, M., El Hadaj, S., Idhammad, M.: Performance evaluation of intrusion detection based on machine learning using Apache Spark. Proc. Comput. Sci. 1(127), 1–6 (2018)

    Article  Google Scholar 

  17. Li, Y., Parker, L.E.: Intruder detection using a wireless sensor network with an intelligent mobile robot response. In: IEEE Southeast Con 2008, pp. 37–42. IEEE

    Google Scholar 

  18. Peng, K., Leung, V., Zheng, L., Wang, S., Huang, C., Lin, T.: Intrusion detection system based on decision tree over big data in fog environment. Wirel. Commun. Mobile Comput (2018)

    Google Scholar 

  19. Ye, K.: Key feature recognition algorithm of network intrusion signal based on neural network and support vector machine. Symmetry 11(3), 380 (2019)

    Article  Google Scholar 

  20. Kalaivani, S., Vikram, A., Gopinath, G.: An effective swarm optimization based intrusion detection classifier system for cloud computing. In: 2019 5th International Conference on Advanced Computing & Communication Systems (ICACCS), pp. 185–188. IEEE (2019)

    Google Scholar 

  21. Taher, K.A., Jisan, B.M., Rahman, M.M.: Network intrusion detection using supervised machine learning technique with feature selection. In: 2019 International Conference on Robotics, Electrical and Signal Processing Techniques (ICREST), pp. 643–646. IEEE (2019)

    Google Scholar 

  22. Kim, J., Kim, J., Thu, H.L., Kim, H.: Long short term memory recurrent neural network classifier for intrusion detection. In: 2016 International Conference on Platform Technology and Service (PlatCon), pp. 1–5. IEEE (2016)

    Google Scholar 

  23. Al-Qatf, M., Lasheng, Y., Al-Habib, M., Al-Sabahi, K.: Deep learning approach combining sparse autoencoder with SVM for network intrusion detection. IEEE Access 12(6), 52843–52856 (2018)

    Article  Google Scholar 

  24. Yin, C., Zhu, Y., Fei, J., He, X.: A deep learning approach for intrusion detection using recurrent neural networks. IEEE Access 12(5), 21954–21961 (2017)

    Article  Google Scholar 

  25. Bay, S.D., Kibler, D.F., Pazzani, M.J., Smyth, P.: The UCI KDD archive of large data sets for data mining research and experimentation. SIGKDD Explor. 2(2), 81–85 (2000)

    Article  Google Scholar 

  26. Cup, K.D.: Dataset, p. 72. Available at the following website http://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html (1999)

  27. Kumar, I., Virmani, J., Bhadauria, H.S., Panda, M.K.: Classification of breast density patterns using PNN, NFC, and SVM classifiers. In: Soft Computing Based Medical Image Analysis, pp. 223–243. Academic Press (2018)

    Google Scholar 

  28. Kumar, I., Bhadauria, H.S., Virmani, J.: Wavelet packet texture descriptors based four-class BIRADS breast tissue density classification. Proc. Comput. Sci. 1(70), 76–84 (2015)

    Article  Google Scholar 

  29. Kumar, I., Bhadauria, H.S., Virmani, J., Thakur, S.: A hybrid hierarchical framework for classification of breast density using digitized film screen mammograms. Multimedia Tools Appl. 76(18), 18789–18813 (2017)

    Article  Google Scholar 

  30. Kumar, I., Virmani, J., Bhadauria, H.S., Thakur, S.: A breast tissue characterization framework using PCA and weighted score fusion of neural network classifiers. Classification Tech. Med. Image Anal. Comput. Aided Diag. 12, 129 (2019)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Indrajeet Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumar, I., Mohd, N., Bhatt, C., Sharma, S.K. (2020). Development of IDS Using Supervised Machine Learning. In: Pant, M., Kumar Sharma, T., Arya, R., Sahana, B., Zolfagharinia, H. (eds) Soft Computing: Theories and Applications. Advances in Intelligent Systems and Computing, vol 1154. Springer, Singapore. https://doi.org/10.1007/978-981-15-4032-5_52

Download citation

Publish with us

Policies and ethics