Distributed Detection and Mitigation of DDoS Attacks Against Wireless Sensor Networks Using Packet Sampling
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesisAlternative title
Distribuerat försvar mot DDoS-attacker i trådlösa sensornätverk med hjälp av paketsampling (Swedish)
Abstract [en]
Wireless sensor networks (WSNs) are becoming increasingly common and have a wide variety of applications. They play an important role in e.g., automatization and remote monitoring of many different processes. However, their combination of network connectivity and resource constraints makes them vulnerable to various cyber attacks, such as distributed Denial-of-Service (DDoS) attacks, which flood the networks with packets and prevent them from functioning. Previous studies have explored different methods for detecting and mitigating DDoS attacks against WSNs. One such method is packet sampling, which reduces the data load for the system. The goal of this thesis was to investigate how well a distributed packet-sampling intrusion detection system (IDS) and firewall could detect and mitigate DDoS attacks against WSNs. Different placement strategies and sample rates for the IDS nodes were investigated. Network simulations were performed in which DDoS attacks were simulated against two sensor networks of different sizes. The IDS relied on a trained decision tree classifier to detect attacks and blocked them using a stateless firewall. The simulations generated log files which were analyzed and used to calculate performance statistics. The measurements were related to the sensor nodes’ individual resource usages, the network performance of the entire WSN, and the attack detection performance of the IDS. The results did not show any clear differences between the different placement strategies regarding node resource usage or network performance. The IDS performance appeared to be more correlated with the number of IDS nodes in the network than their locations, even though attacks were only detected at the border router. The IDS performed poorly when increasing the sample rate and became unable to detect attacks. It was concluded that the trained detection model was unsuitable for use in a distributed manner, but further studies could further investigate different detection models or improve the dataset used for training.
Abstract [sv]
Trådlösa sensornätverk blir allt vanligare och har många olika användningsområden. De spelar en viktig roll i till exempel automatisering och fjärrövervakning av diverse processer. Däremot gör deras kombination av nätverksuppkoppling och begränsade resurser dem sårbara för många olika cyberattacker, såsom distribuerade Denial-of-Service (DDoS)-attacker, som översvämmar nätverket med paket och hindrar det från att utföra sina uppgifter. Tidigare studier har utforskat olika sätt att upptäcka och mitigera DDoS-attacker mot sensornätverk. En sådan metod är paketsampling, som bidrar till att minska systemets datavolym. Målet med den här studien var att undersöka hur väl ett distribuerat intrångsdetekteringssystem (IDS) och en brandvägg kunde upptäcka samt mitigera DDoS-attacker mot trådlösa sensornätverk. Studien undersökte olika placeringsstrategier för IDS-noderna samt olika samplingsfrekvenser. Nätverkssimulationer med DDoS-attacker mot två olika stora sensornätverk utfördes. IDS:et använde en tränad beslutsträdsklassificerare för att upptäcka attacker och blockerade dem med en brandvägg. Simuleringarna genererade loggfiler som analyserades för att beräkna statistik över prestandan. Statistiken inkluderade mätningar relaterade till sensornodernas individuella resursanvändning, nätverksprestandan i hela sensornätverket, samt IDS:ets förmåga att upptäcka attacker. Resultaten visade ingen tydlig skillnad mellan de olika placeringsstrategierna vad gällde nodernas resursanvändning eller nätverkets prestanda. IDS:ets prestanda verkade vara mer korrelerad med antalet IDS-noder i nätverket snarare än deras placeringar, trots att attacker enbart upptäcktes i gränsroutern till nätverket. IDS:et presterade dåligt när samplingsfrekvensen ökade. Slutsatsen drogs att den tränade klassificeraren inte fungerade i ett distribuerat sammanhang, men framtida studier skulle kunna undersöka andra detektionsmekanismer eller bättre dataset.
Place, publisher, year, edition, pages
2025. , p. 64
Series
TRITA-EECS-EX ; 2025:388
Keywords [en]
Wireless sensor networks, Cyber security, Firewalls
Keywords [sv]
Trådlösa sensornätverk, Datasäkerhet, Brandväggar
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-367775OAI: oai:DiVA.org:kth-367775DiVA, id: diva2:1986196
External cooperation
Prevas AB
Supervisors
Examiners
2025-08-102025-07-302025-08-10Bibliographically approved