Ali Nadim Alhaj, Wilson Naik Bhukya, Rajendra Prasad Lal
{"title":"Adaptive network-wide superspreader detection using programmable switches","authors":"Ali Nadim Alhaj, Wilson Naik Bhukya, Rajendra Prasad Lal","doi":"10.1016/j.aeue.2025.156041","DOIUrl":null,"url":null,"abstract":"<div><div>Superspreaders, i.e., hosts exhibiting an abnormal number of distinct connections in large-scale networks, are key indicators of security threats such as worm propagation, spam floods, and scanning attacks. Efficient network-wide superspreader detection requires effective distinct counts with tight memory and performance constraints. Existing sketching techniques in the literature typically allocate fixed memory per flow and often neglect the drastic cardinality imbalance between high- and low-cardinality flows. Most existing methods are restricted to detecting at a single point only. It often overlooks the network-wide superspreader. This paper introduces SpreadTrace, a novel approach leveraging programmable P4 switches for efficient superspreader detection. SpreadTrace combines a Bloom filter with lightweight counters for duplicate filtering, a multi-stage main table with sentinel-based eviction, and a probabilistic promotion mechanism that guarantees the retention of large-cardinality flows while efficiently handling low-cardinality flows. We further extend SpreadTrace with a network-wide detection mechanism based on dynamic thresholding at the controller, enabling coordinated detection across multiple switches in real time. The paper provides a theoretical analysis for the correctness guarantees and explicit error bounds for distinct counting, table utilization, auxiliary collisions, and promotion probability. Experiments on real traffic traces demonstrate that SpreadTrace achieves a precision of more than 95% with less than 250 KB of memory, and reduces the estimation error by a factor of 5–10<span><math><mo>×</mo></math></span> compared to state-of-the-art solutions, while operating at line rate on programmable switches.</div></div>","PeriodicalId":50844,"journal":{"name":"Aeu-International Journal of Electronics and Communications","volume":"202 ","pages":"Article 156041"},"PeriodicalIF":3.2000,"publicationDate":"2025-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Aeu-International Journal of Electronics and Communications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1434841125003826","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
Superspreaders, i.e., hosts exhibiting an abnormal number of distinct connections in large-scale networks, are key indicators of security threats such as worm propagation, spam floods, and scanning attacks. Efficient network-wide superspreader detection requires effective distinct counts with tight memory and performance constraints. Existing sketching techniques in the literature typically allocate fixed memory per flow and often neglect the drastic cardinality imbalance between high- and low-cardinality flows. Most existing methods are restricted to detecting at a single point only. It often overlooks the network-wide superspreader. This paper introduces SpreadTrace, a novel approach leveraging programmable P4 switches for efficient superspreader detection. SpreadTrace combines a Bloom filter with lightweight counters for duplicate filtering, a multi-stage main table with sentinel-based eviction, and a probabilistic promotion mechanism that guarantees the retention of large-cardinality flows while efficiently handling low-cardinality flows. We further extend SpreadTrace with a network-wide detection mechanism based on dynamic thresholding at the controller, enabling coordinated detection across multiple switches in real time. The paper provides a theoretical analysis for the correctness guarantees and explicit error bounds for distinct counting, table utilization, auxiliary collisions, and promotion probability. Experiments on real traffic traces demonstrate that SpreadTrace achieves a precision of more than 95% with less than 250 KB of memory, and reduces the estimation error by a factor of 5–10 compared to state-of-the-art solutions, while operating at line rate on programmable switches.
期刊介绍:
AEÜ is an international scientific journal which publishes both original works and invited tutorials. The journal''s scope covers all aspects of theory and design of circuits, systems and devices for electronics, signal processing, and communication, including:
signal and system theory, digital signal processing
network theory and circuit design
information theory, communication theory and techniques, modulation, source and channel coding
switching theory and techniques, communication protocols
optical communications
microwave theory and techniques, radar, sonar
antennas, wave propagation
AEÜ publishes full papers and letters with very short turn around time but a high standard review process. Review cycles are typically finished within twelve weeks by application of modern electronic communication facilities.