Over-Threshold Multiparty Private Set Intersection for Collaborative Network Intrusion Detection
Onur Eren Arpaci (University of Waterloo), Raouf Boutaba (University of Waterloo), Florian Kerschbaum (University of Waterloo)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Security in Networked Systems
Overview
This talk details a cryptographic and systems approach to collaborative network security, specifically addressing how multiple distinct institutions can jointly detect and block cyber attacks without exposing sensitive network logs or violating privacy regulations. The core problem stems from how malware propagates: when an attack hits one organization—such as a hospital, bank, or university—there is a high probability it will spread to others rapidly, with 75% of infections spreading within a single day and 40% within just one hour. While early threat detection is crucial, traditional information sharing relies on delayed indicators of compromise (IoCs) or requires institutions to pool raw network telemetry. Pooling raw data is legally prohibitive due to personal identifiable information (PII) protections like GDPR, PIPEA, and CCPA, and commercially risky because it exposes proprietary business operations.

Key moments
- 0:00 Introduction and motivation for collaborative intrusion detection
- 2:05 Privacy challenges and data sharing restrictions of IP addresses
- 4:00 Core problem definition and high-level protocol overview
- 5:42 Limitations of prior work and secret sharing approach
- 9:35 The combinatorial search problem and introduction of hashing
- 12:12 New multi-party hashing scheme and complexity reduction
- 13:30 Evaluation results using real-world Canadian university logs
- 15:35 Conclusion, open challenges, and availability of code
Over-Threshold Multiparty Private Set Intersection for Collaborative Network Intrusion Detection
Speakers: Onur Eren Arpaci (University of Waterloo); Raouf Boutaba (University of Waterloo); Florian Kerschbaum (University of Waterloo)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=_9IHybDmX5Y
Overview
This talk details a cryptographic and systems approach to collaborative network security, specifically addressing how multiple distinct institutions can jointly detect and block cyber attacks without exposing sensitive network logs or violating privacy regulations. The core problem stems from how malware propagates: when an attack hits one organization—such as a hospital, bank, or university—there is a high probability it will spread to others rapidly, with 75% of infections spreading within a single day and 40% within just one hour. While early threat detection is crucial, traditional information sharing relies on delayed indicators of compromise (IoCs) or requires institutions to pool raw network telemetry. Pooling raw data is legally prohibitive due to personal identifiable information (PII) protections like GDPR, PIPEA, and CCPA, and commercially risky because it exposes proprietary business operations.
To resolve this tension, the presenters introduce an over-threshold multiparty private set intersection (PSI) protocol designed for collaborative network intrusion detection. Operating via a central aggregator in a non-interactive configuration, the system determines if an IP address appears across a threshold number of distinct organizations (specifically, at least three institutions within a 15-minute sliding window) while leaking zero information about the underlying IP addresses if that threshold is not met. By combining secret sharing with a novel hashing scheme, the authors reduce computation times from days or weeks down to a median of 170 seconds, proving that privacy-preserving threat intelligence can operate at near-real-time speeds.
Background
▶ Watch: Introduction and motivation for collaborative intrusion detection (0:00)
The systems and machine learning security communities have long wrestled with the trade-off between collaborative defense and data privacy. Prior empirical work analyzing massive network log repositories—specifically across educational and research networks—demonstrates that if an external IP address communicates with at least three distinct institutions within a 15-minute window, that IP address exhibits a 95% probability of being an active malware vector that will soon propagate across other networks. Automatically blocking such IP addresses at incoming edge routers can effectively preempt widespread compromises.
However, realizing this defense requires checking set intersections across massive, distributed datasets. Early foundational work by Kissner and Song introduced a multi-party private set intersection protocol utilizing polynomial representations of sets. While capable of computing over-threshold instances, its computational complexity scaled as $O(n^3 \cdot m^3)$—where $n$ is the number of parties and $m$ is the number of elements per party—resulting in projected runtimes of several weeks for real-world enterprise datasets. Subsequent centralized iterations developed by the authors' own research group still required days to execute. Naively applying combinatorial searches over tens or hundreds of thousands of network logs per institution yields an intractable search space scaling exponentially with the threshold $t$ (i.e., $O(m^t)$), rendering traditional multiparty computation impractical for high-throughput, low-latency incident response.
Key Findings
▶ Watch: Core problem definition and high-level protocol overview (4:00)
The primary contribution of this work is a scalable, over-threshold multiparty PSI protocol that replaces exponential combinatorial complexity with manageable polynomial bounds, achieving sub-7-minute runtimes on real-world enterprise network logs.
- Drastic Speedups: The protocol achieves a median execution time of 170 seconds and a maximum runtime under 420 seconds (7 minutes) for large-scale datasets, operating comfortably within a standard 15-minute detection window.
- Elimination of Exponential Scaling: The novel hashing scheme successfully strips away the exponential factor $t$ from the data complexity, replacing it with a $t^2$ polynomial factor. This allows the system to scale efficiently as thresholds grow.
- High-Volume Real-World Validation: Tested on 150,000 IP addresses per party across a median of 33 concurrent institutions, the system processes massive network streams while maintaining strict cryptographic privacy guarantees.
- Low-Collision Hashing Guarantees: Utilizing 20 hash tables proportional in size to the original datasets yields a theoretical failure probability of $2^{-40}$, virtually eliminating false triples while managing communication overhead.
Technical Deep Dive
▶ Watch: The combinatorial search problem and introduction of hashing (9:35)
The architectural backbone of the system rests on three core components: secret sharing, blind share generation, and a specialized multi-party hashing scheme.
To preserve privacy, participating institutions do not share raw IP addresses. Instead, they transform their network logs into secret shares using algebraic threshold techniques reminiscent of Shamir’s secret sharing, which relies on polynomials. Because standard Shamir sharing requires all parties to coordinate on a shared polynomial, the system employs a symmetric key mechanism (or an oblivious pseudo-random function variant) that enables parties to blindly obtain secret shares of a fixed polynomial from a keyholder without exposing the underlying keys or raw IP data.
Once generated, these secret shares are sent to a non-interactive central aggregator. A secret share by design reveals zero information in isolation, creating a severe systems engineering challenge: the aggregator must locate triples (or $t$-tuples) among hundreds of thousands of opaque shares without being able to directly inspect or sort the underlying IP addresses. A naive combinatorial search across $m$ elements for a threshold $t$ yields an intractable $O(m^t)$ search space.
To bypass this bottleneck, the authors designed a customized multi-party hashing scheme extending beyond traditional two-party approaches like 2D Cuckoo hashing. Rather than utilizing standard bin-padding schemes—which leak distributional metadata regarding bin sizes—the protocol utilizes hash tables scaled in direct proportion to the original data size. Each party inserts elements into these tables using a pseudo-random ordering designed to force colliding elements to select matching positions across participating nodes. By deploying 20 distinct hash tables, the system bounds the false-positive and collision probability to $2^{-40}$, restricting the aggregator's search space strictly within corresponding table bins. Consequently, the computational complexity eliminates the $m^t$ dependency, reducing the search overhead to scale polynomially with the threshold ($t^2$).
Experimental Setup & Results
▶ Watch: New multi-party hashing scheme and complexity reduction (12:12)
The empirical evaluation leveraged real-world network operational data sourced from Canary, the national research and education network provider for Canada, which interconnects 54 research institutions through a centralized intrusion detection center.
- Data Scale & Volume: The experiments processed network telemetry generating a communication load of approximately 700 gigabytes per day. The largest individual institutional dataset evaluated contained 150,000 distinct IP addresses within a single reporting window.
- Participation Metrics: Across experimental runs over a one-week period, a median of 33 institutions actively participated per interval.
- Headline Performance Numbers: The median reconstruction and detection time across evaluated intervals was 170 seconds. The worst-case execution time observed was approximately 420 seconds (7 minutes), easily satisfying the operational requirement to run every 15 minutes.
- Ablations and Complexity Comparisons: Comparisons against prior centralized and multiparty PSI baselines confirmed that without the custom hashing scheme, runtime scaling would remain in the order of days or weeks. Ablations evaluating table counts demonstrated that 20 tables provide the optimal balance between communication overhead and the $2^{-40}$ error probability bound.
Practical Implications
▶ Watch: Conclusion, open challenges, and availability of code (15:35)
For infrastructure teams, security operations centers (SOCs), and privacy-engineering groups, this work demonstrates that multi-organization threat intelligence sharing can be achieved without compromising regulatory compliance or exposing proprietary infrastructure topology.
- Regulatory Compliance: By keeping raw PII (such as IP addresses) strictly local through secret sharing and private set intersection, organizations can fully comply with strict regional privacy mandates like GDPR, PIPEA, and CCPA.
- Operational Feasibility: Network operators no longer need to choose between sitting in isolation against rapid-spreading malware or exposing sensitive enterprise network logs; the 170-second median runtime proves that real-time collaborative defense is computationally viable.
- Tradeoffs & Limitations: While the protocol successfully eliminates exponential scaling regarding data size ($m$), the threshold parameter ($t$) remains bounded by a $t^2$ complexity factor, meaning extremely large thresholds (e.g., $t = 1,000$) would reintroduce computational bottlenecks. Furthermore, scaling the number of participating institutions ($n$) remains an open systems challenge requiring further protocol optimization.
Key Takeaways
- Urgency of Collaboration: Cyber attacks propagate rapidly, with 75% of infections spreading across networks within a single day and 40% within one hour, necessitating automated, multi-institutional defense mechanisms.
- Privacy vs. Sharing Bottleneck: Traditional IoC sharing is too slow, while raw log sharing violates privacy regulations (GDPR, CCPA) and exposes sensitive corporate network topologies.
- Algorithmic Breakthrough: The developed multi-party PSI protocol bypasses exponential $O(m^t)$ data complexity using a specialized 20-table hashing scheme, reducing the search complexity to a polynomial scale over the threshold ($t^2$).
- Production-Grade Performance: Evaluated on real-world network traffic from 54 Canadian research institutions via Canary, the system achieves a median runtime of 170 seconds for 150,000 records.
- Near-Real-Time Mitigation: Operating well within a 15-minute window, the protocol enables secure, automated edge-router blacklisting of malicious IPs before malware can propagate.
About the Speaker(s)
Onur Eren Arpaci is a student researcher at the University of Waterloo who led the primary implementation and execution of the work. Co-author Dr. Raouf Boutaba is a professor at the University of Waterloo who manages the Canary intrusion detection data infrastructure utilized in the evaluation. Dr. Florian Kerschbaum is a professor at the University of Waterloo specializing in cryptography, database security, and privacy-preserving data analytics, serving as senior author on the underlying research.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)