Skip to main content
QUICK REVIEW

[Paper Review] Automatic Identification of Indicators of Compromise using Neural-Based Sequence Labelling

Shengping Zhou, Zi Long|arXiv (Cornell University)|Oct 24, 2018
Network Security and Intrusion DetectionComputer Science16 references21 citations
TL;DR

This paper proposes an end-to-end neural sequence labeling model using bidirectional LSTMs with attention and token spelling features to automatically identify Indicators of Compromise (IOCs) from unstructured cybersecurity reports. The model achieves an average F1-score over 88%, outperforming existing methods, especially in detecting low-frequency IOCs with limited training data.

ABSTRACT

Indicators of Compromise (IOCs) are artifacts observed on a network or in an operating system that can be utilized to indicate a computer intrusion and detect cyber-attacks in an early stage. Thus, they exert an important role in the field of cybersecurity. However, state-of-the-art IOCs detection systems rely heavily on hand-crafted features with expert knowledge of cybersecurity, and require a large amount of supervised training corpora to train an IOC classifier. In this paper, we propose using a neural-based sequence labelling model to identify IOCs automatically from reports on cybersecurity without expert knowledge of cybersecurity. Our work is the first to apply an end-to-end sequence labelling to the task in IOCs identification. By using an attention mechanism and several token spelling features, we find that the proposed model is capable of identifying the low frequency IOCs from long sentences contained in cybersecurity reports. Experiments show that the proposed model outperforms other sequence labelling models, achieving over 88% average F1-score.

Motivation & Objective

  • To automate the identification of Indicators of Compromise (IOCs) in cybersecurity reports without relying on expert-crafted features.
  • To address the challenge of detecting low-frequency IOCs in long, context-poor sentences common in APT reports.
  • To reduce dependency on large, manually annotated training corpora by leveraging token-level spelling features and attention mechanisms.
  • To develop a generalizable, end-to-end model applicable across diverse cybersecurity report formats and languages.

Proposed method

  • The model uses a bidirectional LSTM encoder with a CRF layer for sequence labeling, combining word-level and character-level embeddings.
  • Input embeddings are formed by concatenating pre-trained token embeddings and character-level representations from a bidirectional LSTM over characters.
  • An attention mechanism is applied to enhance context representation, especially for long sentences and low-frequency IOCs.
  • Spelling features—such as regex patterns for URLs, IPs, and file hashes—are integrated to improve recognition of rare or malformed IOCs.
  • The model is trained end-to-end on a small annotated dataset, jointly learning word embeddings, character representations, and label sequences.
  • The architecture is designed to generalize across languages, with initial experiments showing cross-lingual transfer potential using multilingual embeddings.

Experimental results

Research questions

  • RQ1Can an end-to-end neural sequence labeling model detect IOCs in unstructured cybersecurity reports without expert-crafted features?
  • RQ2How effective is the proposed model in identifying low-frequency IOCs that are rare or malformed in syntax?
  • RQ3To what extent do spelling features and attention mechanisms improve performance on limited training data?
  • RQ4Can the model generalize across languages, especially when IOCs are predominantly in English but reports are in other languages?

Key findings

  • The proposed model achieves an average F1-score of over 88%, outperforming other sequence labeling models on IOC detection.
  • The model demonstrates strong performance on low-frequency IOCs, correctly identifying rare or malformed entries like 'http://www7.chrome-up.date/0m5EE'.
  • The integration of spelling features significantly improves detection of IOCs that do not match standard patterns, such as unusual file hashes.
  • The attention mechanism enhances context modeling in long, complex sentences, improving overall sequence labeling accuracy.
  • The model maintains high precision (90.4%) and recall (87.2%) on English APT reports, indicating robustness and reliability.
  • Preliminary results suggest cross-lingual transfer is feasible, with models trained on English data detecting IOCs in Chinese reports using multilingual embeddings.

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.