Skip to main content
QUICK REVIEW

[Paper Review] RelExt: Relation Extraction using Deep Learning approaches for Cybersecurity Knowledge Graph Improvement

Aditya Pingle, Aritran Piplai|arXiv (Cornell University)|May 7, 2019
Advanced Graph Neural NetworksComputer Science26 references22 citations
TL;DR

This paper proposes RelExt, a deep learning-based relation extraction system that predicts semantic relationships between cybersecurity entities in text to enhance cybersecurity knowledge graphs. Using contextual embeddings from a domain-specific NER and a feed-forward neural network, RelExt achieves 96.61% accuracy in relation prediction, successfully extracting over 700 meaningful triples from malware descriptions like Dark Caracal and CrossRAT.

ABSTRACT

Security Analysts that work in a `Security Operations Center' (SoC) play a major role in ensuring the security of the organization. The amount of background knowledge they have about the evolving and new attacks makes a significant difference in their ability to detect attacks. Open source threat intelligence sources, like text descriptions about cyber-attacks, can be stored in a structured fashion in a cybersecurity knowledge graph. A cybersecurity knowledge graph can be paramount in aiding a security analyst to detect cyber threats because it stores a vast range of cyber threat information in the form of semantic triples which can be queried. A semantic triple contains two cybersecurity entities with a relationship between them. In this work, we propose a system to create semantic triples over cybersecurity text, using deep learning approaches to extract possible relationships. We use the set of semantic triples generated through our system to assert in a cybersecurity knowledge graph. Security Analysts can retrieve this data from the knowledge graph, and use this information to form a decision about a cyber-attack.

Motivation & Objective

  • To improve the quality and completeness of cybersecurity knowledge graphs by automatically extracting semantic triples from unstructured threat intelligence text.
  • To address the challenge of low-quality or incorrect semantic triples in CKGs by predicting accurate, contextually relevant relationships between cybersecurity entities.
  • To develop a scalable, deep learning-based system that enhances analyst decision-making by providing structured, queryable threat data.
  • To demonstrate the effectiveness of contextual embeddings and neural networks in relation extraction for cybersecurity-specific text.

Proposed method

  • The system uses a cybersecurity-specific Named Entity Recognizer (NER) to extract entities from unstructured threat intelligence text.
  • Entity pairs are filtered based on proximity and contextual relevance to reduce noise and eliminate implausible triples.
  • Contextual vector representations of entities are generated using a pre-trained Word2Vec model on a cybersecurity corpus.
  • A feed-forward neural network is trained on 33,000 annotated relationships to predict relationships between entity pairs.
  • The model uses entity embeddings as input features and is trained over 50 epochs with batch size 100 across multiple train-test splits.
  • Extracted triples are asserted into a knowledge graph for use with SPARQL or SWRL for complex threat analysis.

Experimental results

Research questions

  • RQ1Can a deep learning model effectively predict meaningful, contextually relevant relationships between cybersecurity entities in unstructured text?
  • RQ2How does using contextual embeddings improve relation prediction accuracy compared to traditional feature-based methods?
  • RQ3To what extent can the RelExt system generalize to unseen malware descriptions and extract semantically valid triples?
  • RQ4What is the impact of filtering entity pairs by proximity and context on the quality of extracted triples?

Key findings

  • RelExt achieved a test accuracy of 96.61% across multiple data splits, demonstrating high reliability in relation prediction.
  • The system successfully extracted 340 'hasProduct', 93 'hasVulnerability', and 307 'uses' relationships from malware descriptions of Dark Caracal and CrossRAT.
  • Over 700 meaningful semantic triples were predicted from two malware reports, significantly enhancing the knowledge graph's coverage.
  • Filtering entity pairs by proximity and context reduced the number of implausible triples, improving the quality of the final knowledge graph assertions.
  • The use of contextual embeddings from a pre-trained Word2Vec model on a cybersecurity corpus enhanced the model’s ability to capture domain-specific semantic relationships.

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.