Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning in Cyber-Security - Problems, Challenges and Data Sets

Idan Amit, John Matherly|arXiv (Cornell University)|Dec 19, 2018
Network Security and Intrusion DetectionComputer Science31 references37 citations
TL;DR

This paper introduces novel cyber-security problems—malware classification, host similarity, lateral movement, and stealth port scanning—along with innovative machine learning challenges and publicly released datasets. It proposes a pivoting-based labeling method using operator domains to generate high-quality, content-agnostic labels, enabling robust training and evaluation of ML models in security applications.

ABSTRACT

We present cyber-security problems of high importance. We show that in order to solve these cyber-security problems, one must cope with certain machine learning challenges. We provide novel data sets representing the problems in order to enable the academic community to investigate the problems and suggest methods to cope with the challenges. We also present a method to generate labels via pivoting, providing a solution to common problems of lack of labels in cyber-security.

Motivation & Objective

  • Address the critical challenge of insufficient and noisy labels in cyber-security machine learning by introducing a novel labeling methodology.
  • Present four high-impact cyber-security problems: malware classification, host similarity, lateral movement detection, and stealth port scanning.
  • Provide new, publicly available datasets for each problem to enable reproducible research and model development.
  • Enable content-agnostic labeling through operator domain pivoting, reducing reliance on manual expert labeling and signature-based methods.
  • Facilitate research in domain adaptation and concept drift by releasing data from diverse network environments and time periods.

Proposed method

  • Use operator domain pivoting: if two malware samples communicate with the same set of malicious domains, they are labeled as belonging to the same operator.
  • Define a function $OperatorDomains(m)$ to extract unique domains associated with malware $m$, excluding benign or commonly used domains.
  • Label host pairs as similar if they resolve to the same IP(s) hosting domains shared by malware samples, using $resolve(ip)$ and $signature(ip)$ functions.
  • Construct positive pairs from malware that share operator domains and map them to host signatures, creating labeled host similarity pairs.
  • Generate negative samples via Cartesian product of non-matching host signatures to balance the dataset.
  • Apply noise filtering and temporal constraints to identify potential bind shell attack pairs in network traffic, using connection pair features like timing, port usage, and volume.

Experimental results

Research questions

  • RQ1How can we generate reliable, scalable, and content-agnostic labels for malware and network hosts without relying on manual analysis or signature-based methods?
  • RQ2To what extent can host similarity based on service signatures help identify malicious infrastructure, even when direct malware communication is not observed?
  • RQ3What features best distinguish lateral movement paths from normal network behavior in large-scale network traffic?
  • RQ4How effective is pivoting on operator domains in improving the generalization and robustness of malware classification models?
  • RQ5What are the key characteristics of stealth port scans and bind shell attacks that can be captured in network session data for detection?

Key findings

  • The proposed operator domain pivoting method enables the creation of large-scale, content-agnostic labels for malware and hosts, significantly reducing dependency on expert labeling.
  • The bind shell data set contains 1,000+ labeled connection pairs with features such as port usage, timing, and volume, enabling detection of forward shell patterns.
  • The network traffic data set is collected across multiple sites and time periods, introducing domain adaptation and concept drift challenges for real-world deployment.
  • Host similarity is effectively modeled using service signatures derived from shared malicious domains, enabling detection of related malicious hosts.
  • The data sets support multi-class classification by assigning pairs to specific operator domains, enabling fine-grained analysis beyond binary labels.
  • The labeling pipeline produces high-quality positive and negative samples through a combination of network behavior analysis and protocol-level feature engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.