{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:277690261"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:277690261","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Detecting cyber attacks in real network traffic using dtw and machine learning /","abstract":"In this thesis, passive and near real-time methods are evaluated for cyber attack detection in real network traffic. A controlled infrastructure was built, integrating Apache Kafka with Apache Spark, and a custom dataset was created by generating realistic web-application attacks to be visible in network traffic and capturing it at the packet level. Passive analysis was performed with Dynamic Time Warping (DTW) to align and compare traffic sequences, which was informative when sequences were of similar length but less reliable when captures contained missing packets. For near real-time detection, packet data was aggregated into 5 second windows and scored using trained machine learning models. All evaluated models performed well, with Random Forest providing the best overall balance on the test set and practical deployment inside the Spark ML pipeline. The work shows that Kafka and Spark streaming can support timely detection, while DTW can be used to analyse network traffic passively for a deeper understanding.","abstract_html":"In this thesis, passive and near real-time methods are evaluated for cyber attack detection in real network traffic. A controlled infrastructure was built, integrating Apache Kafka with Apache Spark, and a custom dataset was created by generating realistic web-application attacks to be visible in network traffic and capturing it at the packet level. Passive analysis was performed with Dynamic Time Warping (DTW) to align and compare traffic sequences, which was informative when sequences were of similar length but less reliable when captures contained missing packets. For near real-time detection, packet data was aggregated into 5 second windows and scored using trained machine learning models. All evaluated models performed well, with Random Forest providing the best overall balance on the test set and practical deployment inside the Spark ML pipeline. The work shows that Kafka and Spark streaming can support timely detection, while DTW can be used to analyse network traffic passively for a deeper understanding.","abstract_has_math":false,"creators":["Sipavičiūtė, Adrija,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T10:11:25Z","subjects":["Cyber security, cyber attack detection, network traffic analysis, Machine Learning, Dynamic Time Warping, DTW, ML"],"languages":["eng"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD277690261&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD277690261&prefLang=en_US","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":"open","embargo_until":null,"access_note":null},"source_record":{"url":"https://epublications.vu.lt/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Avu.lt%3Aelaba%3A277690261","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Sipavičiūtė, Adrija,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:277690261/277690261.pdf"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/bachelorThesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Cyber security, cyber attack detection, network traffic analysis, Machine Learning, Dynamic Time Warping, DTW, ML"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.vu.lt/VU:ELABAETD277690261&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["In this thesis, passive and near real-time methods are evaluated for cyber attack detection in real network traffic. A controlled infrastructure was built, integrating Apache Kafka with Apache Spark, and a custom dataset was created by generating realistic web-application attacks to be visible in network traffic and capturing it at the packet level. Passive analysis was performed with Dynamic Time Warping (DTW) to align and compare traffic sequences, which was informative when sequences were of similar length but less reliable when captures contained missing packets. For near real-time detection, packet data was aggregated into 5 second windows and scored using trained machine learning models. All evaluated models performed well, with Random Forest providing the best overall balance on the test set and practical deployment inside the Spark ML pipeline. The work shows that Kafka and Spark streaming can support timely detection, while DTW can be used to analyse network traffic passively for a deeper understanding."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Detecting cyber attacks in real network traffic using dtw and machine learning /","Kibernetinių atakų aptikimas realiuose tinklo srautuose naudojant DTW ir mašininį mokymą."]}]}],"canonical_facts":{"dc:creator":["Sipavičiūtė, Adrija,"],"dc:date":["2026"],"dc:description":["In this thesis, passive and near real-time methods are evaluated for cyber attack detection in real network traffic. A controlled infrastructure was built, integrating Apache Kafka with Apache Spark, and a custom dataset was created by generating realistic web-application attacks to be visible in network traffic and capturing it at the packet level. Passive analysis was performed with Dynamic Time Warping (DTW) to align and compare traffic sequences, which was informative when sequences were of similar length but less reliable when captures contained missing packets. For near real-time detection, packet data was aggregated into 5 second windows and scored using trained machine learning models. All evaluated models performed well, with Random Forest providing the best overall balance on the test set and practical deployment inside the Spark ML pipeline. The work shows that Kafka and Spark streaming can support timely detection, while DTW can be used to analyse network traffic passively for a deeper understanding."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD277690261&prefLang=en_US"],"dc:language":["eng"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:277690261/277690261.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:subject":["Cyber security, cyber attack detection, network traffic analysis, Machine Learning, Dynamic Time Warping, DTW, ML"],"dc:title":["Detecting cyber attacks in real network traffic using dtw and machine learning /","Kibernetinių atakų aptikimas realiuose tinklo srautuose naudojant DTW ir mašininį mokymą."],"dc:type":["info:eu-repo/semantics/bachelorThesis"]},"updated_at":"2026-11-19T10:11:25Z"}