Giter Club home page Giter Club logo

attackmodeler's Introduction

Alt Text

The "AttackModeler" framework is designed to model and analyze attacker behavior using OpenAI's GPT. It focuses on extracting information from previously modeled CTF reports, to create a comprehensive representation of attacks.

What is a StepModel

The StepModel is a json file that represents the attack as a list of actions (potentially divided into subactions).

Alt Text

The model is flexible, allowing the specialization of actions through the utilization of a Taxonomy to label each action.

Alt Text

An action can be more thoroughly described by incorporating Digital Artefacts, namely any type of digital trace that allows the reconstruction of events.

Alt Text

What is an Hidden Path

It is possible to view the list of actions as a sequence where each node is connected to the next through a simple temporal dependency. Thanks to the use of GPT-4, it is possible to automatically extract correlations between nodes that are not directly linked. The correlations are closely tied to the label and digital artifacts of each node.

An edge connecting two non-consecutive nodes is referred to as a Hidden Path.

Alt Text

Usage

  1. Add your GPT API KEY in AttackModeler/src/lib/gpt_api_call.py
  2. Run with: python3 example.py

System Overview

1. Attack File Construction

Alt Text

2. Attrubute Population

Alt Text

3. Attack File Analysis

Alt Text

4. Graph Example

Alt Text

5. Report Example

Alt Text

6. Hidden Paths File Example

Alt Text

7. Metodology Overview

Alt Text

attackmodeler's People

Contributors

marcobarca avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.