TL;DR
This paper introduces a highly efficient protocol for Over-Threshold Multiparty Private Set Intersection (OT-MP-PSI), allowing institutions to identify common cyber threats (like IP addresses hitting multiple targets) without exposing their entire raw network logs. By using a novel hashing scheme, the authors achieved a staggering 33× to 23,000× speedup over previous state-of-the-art methods, making privacy-preserving collaborative intrusion detection practical for real-world, high-volume traffic.
What Problem Does This Paper Address?
Collaborative Network Intrusion Detection (CIDS) is a "strength in numbers" approach where institutions share data to catch coordinated attacks. Research shows that 75% of attacks spread to a second institution within a day. However, sharing raw network logs is a privacy minefield: logs contain Personally Identifiable Information (PII) protected by laws like GDPR and PIPEDA.
The specific cryptographic challenge is OT-MP-PSI: given $N$ participants, how do we find elements (IP addresses) that appear in at least $t$ sets, without revealing anything about the elements that appear in fewer than $t$ sets? Previous solutions were either computationally "heavy" (using expensive homomorphic encryption) or scaled poorly with dataset size, making them unusable for the millions of IP connections a large university or company sees every hour.
Methods
The authors build their protocol on two main cryptographic pillars:
- Shamir’s Secret Sharing (SSS): Participants create "shares" of a secret value (in this case, the number 0). If an IP address appears in $t$ or more institutions, the Aggregator can combine those $t$ shares to reconstruct the 0, signaling a match.
- Oblivious Pseudo-Random Functions (OPRF): This allows participants to generate these shares without a central authority knowing their private data.
The Secret Sauce: A New Hashing Scheme The core innovation is how they handle "collisions" (when two different IPs map to the same slot in a hash table).
- The Old Way: Previous methods used large "bins" to hold multiple IPs, which required the Aggregator to try every possible combination of shares—an exponential nightmare.
- The New Way: The authors use multiple hash tables with bins of size 1. To handle collisions, they use a "pseudo-random ordering" (a keyed hash). If two IPs collide, every participant uses the same key to pick the "lucky" IP that gets stored. By repeating this across 20+ tables with different orderings, they ensure that any IP appearing in $t$ sets will eventually "win" a slot in at least one table with very high probability.
Datasets
The authors evaluated their system using:
- Synthetic Data: Used to benchmark scaling across different set sizes ($M$), participant counts ($N$), and thresholds ($t$).
- CANARIE IDS Program Logs: Real-world network connection logs from 54 Canadian research and education institutions. This dataset is massive, ingesting ~8 billion logs (700 GB) per day.
Key Insights and Ideas
- Linear Scaling is King: By moving to a "size 1 bin" hashing strategy, the computational complexity becomes linear in terms of the dataset size ($M$). This is the difference between a protocol that takes days and one that takes minutes.
- The Bottleneck Shift: In previous works, the "Aggregator" (the party doing the matching) was the bottleneck. This protocol is so efficient that the bottleneck shifts to the "Participants" generating the shares, which is easily parallelized.
- Probabilistic Success: Instead of trying to be 100% perfect in one go, the protocol uses 20 tables to reach a failure probability of less than $2^{-40}$ (statistically negligible). They further optimized this by "reversing" the priority order in every other table to catch the "unlucky" IPs from the previous round.
Key Results
- Massive Speedup: Compared to the previous state-of-the-art (Mahdavi et al.), this protocol is two to four orders of magnitude faster.
- Real-World Viability: In a test with 33 institutions and sets of ~144,000 IPs each, the system detected malicious IPs in just 170 seconds. The previous best method would have taken multiple days for the same task.
- Deployment Flexibility: The paper offers a "collusion-safe" version (more secure but interactive) and a "non-interactive" version (faster, but requires a non-colluding aggregator), allowing institutions to choose based on their trust model.
Limitations and Future Work
- Aggregator Leakage: While the Aggregator never sees the "benign" IPs (those below the threshold), it does learn which participants contributed to a "malicious" match. While this is often acceptable in threat intelligence, it is still a form of information leakage.
- Set Size Privacy: The current protocol assumes the maximum size of the datasets ($M$) is public knowledge. If an institution's log volume is itself sensitive, they would need to add "noise" (differential privacy), which could impact performance.
- Future Directions: The authors suggest exploring ways to handle complex participant combinations more efficiently and further optimizing the communication overhead for the collusion-safe deployment.
Summary updated