Building and Measuring Privacy-Preserving Predictive Blacklists

Luca Melis, Apostolos Pyrgelis, Emiliano De Cristofaro · DOI

TL;DR

This paper introduces a novel privacy-preserving approach to collaborative predictive blacklisting (CPB) that significantly improves the balance between detecting actual attacks and minimizing false alarms, outperforming existing methods in both accuracy and scalability. It addresses the critical challenge of sharing threat intelligence securely while enhancing cybersecurity defenses.

What Problem Does This Paper Address?

In cybersecurity, collaborative predictive blacklisting (CPB) aims to improve threat detection by pooling attack alerts from multiple organizations. The idea is that attackers often target multiple entities, so sharing this information can help predict future attacks more effectively. However, existing CPB methods primarily focus on increasing the number of correctly identified malicious IPs ("hit counts") without adequately considering the trade-off with false positives (flagging legitimate IPs as malicious) and false negatives (missing actual attacks). Furthermore, sharing sensitive security data raises significant privacy, confidentiality, and liability concerns for organizations. This paper tackles these issues by evaluating existing CPB approaches and proposing a new, privacy-friendly, and scalable solution.

Methods

The authors first conduct a comprehensive empirical analysis of two state-of-the-art CPB systems:

  1. Centralized Approach (Soldo et al.): This method uses a trusted central party to collect and process alerts from various organizations.
  2. Peer-to-Peer Approach (Freudiger et al.): This system focuses on privacy-friendly pairwise data sharing, allowing organizations to estimate collaboration benefits before sharing.

Based on the findings, they propose a novel hybrid approach that utilizes a Semi-Trusted Authority (STA). This STA acts as a coordinator for clustering organizations based on the similarity of their attack logs, without directly accessing the raw data. The STA then facilitates privacy-preserving data sharing within these clusters. The system involves four key steps:

  1. Pairwise Similarity Computation: Organizations privately compute similarity measures (based on common attacks) using cryptographic protocols like Private Set Intersection Cardinality (PSI-CA).
  2. Clustering: The STA uses these similarity measures to cluster organizations, employing algorithms like Agglomerative Clustering, k-means, and k-NN.
  3. Privacy-Preserving Data Sharing: Within clusters, organizations share relevant data (common or correlated attacks) using protocols like Private Set Intersection (PSI).
  4. Time-Series Prediction: Each organization uses its local logs, augmented with shared data from its cluster, to make predictions using the Exponentially Weighted Moving Average (EWMA) algorithm.

They also introduce a server-aided secure computation variant to improve scalability by reducing the computational and communication overhead on individual organizations.

Datasets

The primary dataset used for training and evaluation is from DShield.org. This dataset consists of pseudonymized firewall logs from various organizations, including Contributor ID, attacker IP, timestamps, and port numbers. The researchers processed this data by using /24 subnets for IP addresses and excluding invalid or non-routable IPs. They created training and testing sets using a sliding window approach (5 days for training, 1 day for testing) over a 15-day period. For their experiments, they selected 70 organizations that were regular contributors. They also mention repeating experiments on larger sets of organizations and different time periods, finding no significant differences.

Key Insights and Ideas

  • The "More Data is Better" Fallacy: Simply pooling more attack logs (as in the centralized approach) doesn't guarantee better predictions; it can drastically increase false positives, leading to poor overall accuracy.
  • Privacy vs. Performance Trade-off: Existing privacy-preserving methods offer better accuracy but often show only marginal improvements in detecting actual attacks compared to local prediction.
  • The Power of Clustering: Grouping organizations with similar attack patterns is crucial. The STA's role in facilitating this clustering without seeing raw data is key to balancing privacy and effectiveness.
  • Intersection vs. IP2IP: Sharing common attacks (intersection) is generally better for precision and F1 scores, while sharing correlated attacks (IP2IP) can improve true positive rates, especially in smaller clusters. A combination of both offers a good balance.
  • Scalability is Paramount: Peer-to-peer approaches struggle with scaling to a large number of organizations, highlighting the need for a more efficient coordination mechanism.

Key Results

  • Soldo et al. (Centralized): Achieved a significant increase in true positives (nearly doubling compared to no collaboration) but suffered from very poor precision (8%) due to a substantial rise in false positives, resulting in a low F1 score (14%).
  • Freudiger et al. (Peer-to-Peer): Showed only slight improvements in hit counts but yielded fewer incorrect predictions, leading to better accuracy (up to 29% F1). However, this approach has scalability limitations.
  • Proposed Hybrid Approach:
    • Achieved a better balance of true and false positive rates, with a 74% recall and 19% precision, leading to a 30% F1 score.
  • Showed up to a 4x increase in hit counts compared to Freudiger et al. and doubled the overall accuracy compared to Soldo et al.
  • Demonstrated significant scalability improvements, especially with the server-aided variant, reducing computation and communication overhead considerably for a large number of organizations.
  • The k-NN clustering with intersection sharing yielded the highest TPR (0.77) and a good PPV (0.19), with an F1 score of 0.30.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that their FP counting is an upper bound, as they don't have ground truth for non-suspicious IPs. However, they argue this doesn't affect the comparative evaluation of different approaches.
  • The peer-to-peer approach by Freudiger et al. does not scale well to many organizations.
  • Sharing only the intersection of attacks might prevent organizations from discovering entirely new attackers they haven't seen before.
  • Future Work:
    • Conduct a longitudinal study to assess the effectiveness of privacy-enhanced CPB in real-world, long-term deployments.
  • Explore other collaborative security problems, such as spam detection, malware analysis, and DNS poisoning.
  • Further investigate the impact of different clustering algorithms and parameters on performance and privacy.

Summary updated

Abstract

(Withdrawn) Collaborative security initiatives are increasingly often advocated to improve timeliness and effectiveness of threat mitigation. Among these, collaborative predictive blacklisting (CPB) aims to forecast attack sources based on alerts contributed by multiple organizations that might be targeted in similar ways. Alas, CPB proposals thus far have only focused on improving hit counts, but overlooked the impact of collaboration on false positives and false negatives. Moreover, sharing threat intelligence often prompts important privacy, confidentiality, and liability issues. In this paper, we first provide a comprehensive measurement analysis of two state-of-the-art CPB systems: one that uses a trusted central party to collect alerts [Soldo et al., Infocom'10] and a peer-to-peer one relying on controlled data sharing [Freudiger et al., DIMVA'15], studying the impact of collaboration on both correct and incorrect predictions. Then, we present a novel privacy-friendly approach that significantly improves over previous work, achieving a better balance of true and false positive rates, while minimizing information disclosure. Finally, we present an extension that allows our system to scale to very large numbers of organizations.
BibTeX
@misc{melis2015building,
  author = {Luca Melis and Apostolos Pyrgelis and Emiliano De Cristofaro},
  title = {{Building and Measuring Privacy-Preserving Predictive Blacklists}},
  year = {2015},
  eprint = {1512.04114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1512.04114},
}
Figure