{"id":{"repo_id":"unr","oai_identifier":"oai:null:11714/10935"},"canonical_url":"https://search.ndltd.org/etd/unr/oai:null:11714/10935","repository":{"repo_id":"unr","name":"University of Nevada - Reno","base_url":"https://scholarwolf.unr.edu/server/oai/request"},"display":{"title":"Analysis of Failed SSH Attempts for Intrusion Detection","abstract":"SSH brute force attacks remain among the most common attack types in computer systems. Recent threat analysis reports consistently highlight their prevalence as a top web security vulnerability. Various passive and active methodologies have been developed to deal with this problem, each with its unique set of advantages and disadvantages. Amongst all, analysis of monitoring logs is important to understand the root cause of the problem and implementing necessary countermeasures. Hence, this thesis focus on implementing automated intrusion detection solutions by analyzing historical failed SSH attempts. The data is captured between March 2022 and June 2022 from a server located at University of Nevada, Reno (UNR) campus. We first present thorough analysis of the dataset understand common patterns in the dataset such as origin of IP addresses, usernames, and time of SSH attempts. We identified various types of attack patterns, including slow, steady, and stealthy ones. Since the logs contain both benign and malicious attempts, we utilized external databases (e.g., IPWHOIS and ABUSEIPDB) to classify them as malicious or not, which served as a training data for machine learning models. We developed several machine learning models to categorize SSH attempts as malicious or benign. The models relied on several features including username, time difference of the attacks, the number of previous attempts, and similarity of IP addresses. We trained Random Forest, Decision Tree, XGBoost, SVM, and Logistic Regression models to evaluate their performance. The Decision Tree model exhibited the best performance, achieving 100% precision and a recall rate of 97.9%. In comparison, the best performed rule-based formulation failed to identify 1.5% malicious IPs whereas the Decision Tree model only missed 0.01%. We also validated the results against the public datasets. We noticed that the proposed model detected five malicious IP addresses before they appear in public databases such as ABUSEIPDB, which is a promising result for the proposed model.","abstract_html":"SSH brute force attacks remain among the most common attack types in computer systems. Recent threat analysis reports consistently highlight their prevalence as a top web security vulnerability. Various passive and active methodologies have been developed to deal with this problem, each with its unique set of advantages and disadvantages. Amongst all, analysis of monitoring logs is important to understand the root cause of the problem and implementing necessary countermeasures. Hence, this thesis focus on implementing automated intrusion detection solutions by analyzing historical failed SSH attempts. The data is captured between March 2022 and June 2022 from a server located at University of Nevada, Reno (UNR) campus. We first present thorough analysis of the dataset understand common patterns in the dataset such as origin of IP addresses, usernames, and time of SSH attempts. We identified various types of attack patterns, including slow, steady, and stealthy ones. Since the logs contain both benign and malicious attempts, we utilized external databases (e.g., IPWHOIS and ABUSEIPDB) to classify them as malicious or not, which served as a training data for machine learning models. We developed several machine learning models to categorize SSH attempts as malicious or benign. The models relied on several features including username, time difference of the attacks, the number of previous attempts, and similarity of IP addresses. We trained Random Forest, Decision Tree, XGBoost, SVM, and Logistic Regression models to evaluate their performance. The Decision Tree model exhibited the best performance, achieving 100% precision and a recall rate of 97.9%. In comparison, the best performed rule-based formulation failed to identify 1.5% malicious IPs whereas the Decision Tree model only missed 0.01%. We also validated the results against the public datasets. We noticed that the proposed model detected five malicious IP addresses before they appear in public databases such as ABUSEIPDB, which is a promising result for the proposed model.","abstract_has_math":false,"creators":["Alkan, Akin"],"institution":"University of Nevada, Reno","degree_name":"Master of Science","degree_level":"Master's Degree","degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Arslan, Engin"],"committee_chairs":[],"committee_members":["Sengupta, Shamik","Yun, Gi"],"year":2024,"date_issued":"2024","date_published":"2024","updated_at":"2026-11-19T09:57:06Z","subjects":["Brute Force Attack","Btmp","Host-based Anomaly Detection","Intrusion Detection","Machine Learning","SSH"],"languages":[],"rights":["Creative Commons Attribution 4.0 International","Author(s)"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholarwolf.unr.edu/handle/11714/10935","outbound_label":"Repository record","outbound_source":"dc:identifier.uri","record_url":"https://scholarwolf.unr.edu/handle/11714/10935","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://scholarwolf.unr.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Anull%3A11714%2F10935","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Arslan, Engin"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Sengupta, Shamik","Yun, Gi"]},{"key":"dc:creator","label":"Author","values":["Alkan, Akin"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-08-22T15:30:41Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-08-22T15:30:41Z"]},{"key":"dc:date.issued","label":"Date","values":["2024"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2024-01-24"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's Degree"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Nevada, Reno"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Brute Force Attack","Btmp","Host-based Anomaly Detection","Intrusion Detection","Machine Learning","SSH"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["Creative Commons Attribution 4.0 International"]},{"key":"dc:rights.holder","label":"Dc Rights Holder","values":["Author(s)"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://scholarwolf.unr.edu/handle/11714/10935"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["SSH brute force attacks remain among the most common attack types in computer systems. Recent threat analysis reports consistently highlight their prevalence as a top web security vulnerability. Various passive and active methodologies have been developed to deal with this problem, each with its unique set of advantages and disadvantages. Amongst all, analysis of monitoring logs is important to understand the root cause of the problem and implementing necessary countermeasures. Hence, this thesis focus on implementing automated intrusion detection solutions by analyzing historical failed SSH attempts. The data is captured between March 2022 and June 2022 from a server located at University of Nevada, Reno (UNR) campus. We first present thorough analysis of the dataset understand common patterns in the dataset such as origin of IP addresses, usernames, and time of SSH attempts. We identified various types of attack patterns, including slow, steady, and stealthy ones. Since the logs contain both benign and malicious attempts, we utilized external databases (e.g., IPWHOIS and ABUSEIPDB) to classify them as malicious or not, which served as a training data for machine learning models. We developed several machine learning models to categorize SSH attempts as malicious or benign. The models relied on several features including username, time difference of the attacks, the number of previous attempts, and similarity of IP addresses. We trained Random Forest, Decision Tree, XGBoost, SVM, and Logistic Regression models to evaluate their performance. The Decision Tree model exhibited the best performance, achieving 100% precision and a recall rate of 97.9%. In comparison, the best performed rule-based formulation failed to identify 1.5% malicious IPs whereas the Decision Tree model only missed 0.01%. We also validated the results against the public datasets. We noticed that the proposed model detected five malicious IP addresses before they appear in public databases such as ABUSEIPDB, which is a promising result for the proposed model."]},{"key":"dc:format","label":"Dc Format","values":["PDF"]},{"key":"dc:title","label":"Title","values":["Analysis of Failed SSH Attempts for Intrusion Detection"]}]}],"canonical_facts":{"dc:contributor.advisor":["Arslan, Engin"],"dc:contributor.committeemember":["Sengupta, Shamik","Yun, Gi"],"dc:creator":["Alkan, Akin"],"dc:date.accessioned":["2024-08-22T15:30:41Z"],"dc:date.available":["2024-08-22T15:30:41Z"],"dc:date.issued":["2024"],"dc:date.submitted":["2024-01-24"],"dc:description.abstract":["SSH brute force attacks remain among the most common attack types in computer systems. Recent threat analysis reports consistently highlight their prevalence as a top web security vulnerability. Various passive and active methodologies have been developed to deal with this problem, each with its unique set of advantages and disadvantages. Amongst all, analysis of monitoring logs is important to understand the root cause of the problem and implementing necessary countermeasures. Hence, this thesis focus on implementing automated intrusion detection solutions by analyzing historical failed SSH attempts. The data is captured between March 2022 and June 2022 from a server located at University of Nevada, Reno (UNR) campus. We first present thorough analysis of the dataset understand common patterns in the dataset such as origin of IP addresses, usernames, and time of SSH attempts. We identified various types of attack patterns, including slow, steady, and stealthy ones. Since the logs contain both benign and malicious attempts, we utilized external databases (e.g., IPWHOIS and ABUSEIPDB) to classify them as malicious or not, which served as a training data for machine learning models. We developed several machine learning models to categorize SSH attempts as malicious or benign. The models relied on several features including username, time difference of the attacks, the number of previous attempts, and similarity of IP addresses. We trained Random Forest, Decision Tree, XGBoost, SVM, and Logistic Regression models to evaluate their performance. The Decision Tree model exhibited the best performance, achieving 100% precision and a recall rate of 97.9%. In comparison, the best performed rule-based formulation failed to identify 1.5% malicious IPs whereas the Decision Tree model only missed 0.01%. We also validated the results against the public datasets. We noticed that the proposed model detected five malicious IP addresses before they appear in public databases such as ABUSEIPDB, which is a promising result for the proposed model."],"dc:format":["PDF"],"dc:identifier.uri":["https://scholarwolf.unr.edu/handle/11714/10935"],"dc:rights":["Creative Commons Attribution 4.0 International"],"dc:rights.holder":["Author(s)"],"dc:subject":["Brute Force Attack","Btmp","Host-based Anomaly Detection","Intrusion Detection","Machine Learning","SSH"],"dc:title":["Analysis of Failed SSH Attempts for Intrusion Detection"],"dc:type":["Thesis"],"thesis:degree_department":["Computer Science"],"thesis:degree_level":["Master's Degree"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Nevada, Reno"]},"updated_at":"2026-11-19T09:57:06Z"}