2021-12-12 00:50:15 -06:00
2021-12-12 00:50:15 -06:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-12-07 20:49:11 -06:00
2021-12-07 20:49:11 -06:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-12-12 00:50:15 -06:00
2021-09-23 15:09:43 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 15:09:43 -05:00
2021-09-23 13:55:29 -05:00
2021-12-10 15:04:24 -06:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-12-04 21:51:15 -06:00
2021-09-23 13:55:29 -05:00
2021-09-23 14:09:11 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00
2021-09-23 13:55:29 -05:00

ag_gen: Attack Graph Generation System

Installation

Dependencies

Run the deps.sh command to install necessary dependencies. This script supports debian based systems and Mac OSX (with homebrew)

PostgreSQL

Create a user

Use the createuser and createdb scripts to create the necessary account and database in PostgreSQL.

createuser -d -l -P ag_gen
createdb -O ag_gen ag_gen

Populate the database

Use the db_manage.sh utility to populate the database (this will overwrite anything in the ag_gen database). An example use of this is:

./db_manage.sh -d ag_gen

Building

This application uses CMake to build.

mkdir build
cd build

For debug builds:

cmake -DCMAKE_BUILD_TYPE=Debug ../

For release builds:

cmake -DCMAKE_BUILD_TYPE=Release ../

Build the application:

make ag_gen

Configuration

RAGE uses an ini-style configuration, located in config.ini.

  • name: name of the database
  • host: IP or hostname of the database server
  • port: port number of the database server
  • username: database user name
  • password (optional): database password

Running

Execute example from the examples directory.

./ag_gen -n ../examples/thesis_example.nm -x ../examples/thesis_example.xp

Contributing

Editorconfig

When contributing code, please install the "editorconfig" plugin for your text editor.

  • Adds extra newline to end of file if not already there.
  • Removes whitespace at end of lines
  • Automatically sets indentation to tabs set to 4 spaces =======

ag_gen

C++ Attack Graph Generation

64be5b8cb4

Description
C++ Attack Graph Generation
Readme 388 MiB
ag_gen Latest
2022-04-27 17:47:53 -05:00
Languages
C++ 52.8%
C 27.5%
Cuda 9.9%
Makefile 4.5%
CMake 2.5%
Other 2.8%