8000 GitHub - jitendravjh/CyberEye-Ontology: Ontology-driven cybersecurity risk scoring system using Neo4j and Protege for threat evaluation and visualization.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ontology-driven cybersecurity risk scoring system using Neo4j and Protege for threat evaluation and visualization.

Notifications You must be signed in to change notification settings

jitendravjh/CyberEye-Ontology

Repository files navigation

Welcome to Cyber Eye

A Pre-Final Year Project

This guide will help you navigate the repository and set up the project efficiently.

Table of Contents

Pre-requisites

Ensure the following are installed:

  • Python 3
  • Neo4j
  • Protege

Project Layout

  • Clone the repository.
  • Install Protege (Ontology Editor).
  • Install Neo4j Desktop (GraphDB).
  • Run the dashboard and evaluation.

Installing Protege (Ontology Editor)

Installation guides based on your OS:

For beginners: Getting Started with Protege

Installing Neo4j Desktop (GraphDB)

Download Neo4j Desktop: Neo4j Download

Running the Dashboard and Evaluation

Navigate to the working directory:

cd csonto/target/csonto/

Install Python dependencies:

pip install -r requirements.txt

Ensure the Neo4j database is running, then launch the dashboard:

streamlit run streamlit_app.py

Access the dashboard using the link provided in the terminal.

Running the Evaluation

Navigate to the evaluation directory:

cd evaluation/

Run the following scripts to evaluate the ontology and knowledge graph:

python3 modelEval.py 
python3 ontologyEval.py
python3 kgEval.py
python3 ML-LinkPredict.py

Ontology Guidance

Accessing Ontology Files

Navigate to the ontology directory:

cd csonto/target/csonto/src/ontology/

Open the csonto-edit files with Protege to view or modify the ontology.

Scripts for Ontology Manipulation

Navigate to the scripts directory:

cd csonto/target/csonto/src/scripts/

Key scripts:

  • StatusChecker: Checks policy statuses within the ontology.
  • OntologyBuilder: Builds and evolves the ontology.
  • Onto_Definitions & Updates: Defines and updates ontology instances.

Knowledge Graph Guide

Querying the Cybersecurity Knowledge Graph (CSKG)

In the Neo4j Browser, execute the following Cypher query for a full graph view:

MATCH (n:CyberSecurityScore)<-[r:REPORTS_TO]-(m) RETURN n, r, m 
UNION 
MATCH (n)<-[r:PART_OF]-(m) RETURN n, r, m

For a focused query on core CSKG elements:

MATCH (n:CyberSecurityScore)<-[r:REPORTS_TO]-(m) RETURN n, r, m

Use these queries to analyze and visualize different aspects of the CSKG.

About

Ontology-driven cybersecurity risk scoring system using Neo4j and Protege for threat evaluation and visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0