Skip to main content

A Hybrid Method for Intrusion Detection Using SVM and k-NN

  • Conference paper
  • First Online:
Conference Proceedings of ICDLAIR2019 (ICDLAIR 2019)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 175))

Abstract

The growing amount of data has necessitated the use of Intrusion Detection Systems in the modern days. The performance of an IDS is determined by the feature selection and classifiers. The traditional IDS fail to give satisfactory performance in today’s world of growing data. We, in this paper, have propose a hybrid, two step approach for intrusion detection. In the first step, the data is classified into different classes with the help of Support Vector Machines. After the first steps, the records whose classification is not certain are passed on to the second step in which we use k-Nearest Neighbor method to further classify the incoming request into its respective class. Then we show how our proposed model compares with some recent approaches. We observe the proposed model to evaluate better on parameters like accuracy and precision.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Wu, K., Chen, Z., Li, W.: A novel intrusion detection model for a massive network using convolutional neural networks. IEEE Access 6, 50850–50859 (2018). https://doi.org/10.1109/ACCESS.2018.2868993

    Article  Google Scholar 

  2. Naseer, S., et al.: Enhanced network anomaly detection based on deep neural networks. IEEE Access 6, 48231–48246 (2018). https://doi.org/10.1109/ACCESS.2018.2863036

    Article  Google Scholar 

  3. Chen, L., Gao, Y., Chen, G., Zhang, H.: Metric all-k-nearest-neighbor search. IEEE Trans. Knowl. Data Eng. 28(1), 98–112 (2016). https://doi.org/10.1109/TKDE.2015.2453954

    Article  Google Scholar 

  4. Lee, J., Lee, D.: An improved cluster labeling method for support vector clustering. IEEE Trans. Pattern Anal. Mach. Intell. 27(3), 461–464 (2005)

    Article  Google Scholar 

  5. Ahmad, I., Basheri, M., Iqbal, M.J., Rahim, A.: Performance comparison of support vector machine, random forest, and extreme learning machine for intrusion detection. IEEE Access 6, 33789–33795 (2018)

    Article  Google Scholar 

  6. Wang, X., Zhang, C., Zheng, K.: Intrusion detection algorithm based on density, cluster centers, and nearest neighbors. China Commun. 13(7), 24–31 (2016)

    Article  Google Scholar 

  7. Bryant, A., Cios, K.: RNN-DBSCAN: a density-based clustering algorithm using reverse nearest neighbor density estimates. IEEE Trans. Knowl. Data Eng. 30(6), 1109–1121 (2018)

    Article  Google Scholar 

  8. Khan, F.A., Gumaei, A., Derhab, A., Hussain, A.: A novel two-stage deep learning model for efficient network intrusion detection. IEEE Access 7, 30373–30385 (2019)

    Article  Google Scholar 

  9. Wang, Z.: Deep learning-based intrusion detection with adversaries. IEEE Access 6, 38367–38384 (2018)

    Article  Google Scholar 

  10. Angiulli, F., Astorino, A.: Scaling up support vector machines using nearest neighbor condensation. IEEE Trans. Neural Netw. 21(2), 351–357 (2010)

    Article  Google Scholar 

  11. Yu, D., Liu, G., Guo, M., Liu, X., Yao, S.: Density peaks clustering based on weighted local density sequence and nearest neighbor assignment. IEEE Access 7, 34301–34317 (2019)

    Article  Google Scholar 

  12. Tao, P., Sun, Z., Sun, Z.: An improved intrusion detection algorithm based on GA and SVM. IEEE Access 6, 13624–13631 (2018)

    Article  Google Scholar 

  13. Pan, S., Morris, T., Adhikari, U.: Developing a hybrid intrusion detection system using data mining for power systems. IEEE Trans. Smart Grid 6(6), 3104–3113 (2015)

    Article  Google Scholar 

  14. Yost, J.R.: The march of IDES: early history of intrusion-detection expert systems. IEEE Ann. Hist. Comput. 38(4), 42–54 (2016)

    MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abhishek Singh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Singh, A., Singh, M., Kumar, K. (2021). A Hybrid Method for Intrusion Detection Using SVM and k-NN. In: Tripathi, M., Upadhyaya, S. (eds) Conference Proceedings of ICDLAIR2019. ICDLAIR 2019. Lecture Notes in Networks and Systems, vol 175. Springer, Cham. https://doi.org/10.1007/978-3-030-67187-7_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-67187-7_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-67186-0

  • Online ISBN: 978-3-030-67187-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics