RE:TERNAL : Repo Containing Docker-Compose Files & Setup Scripts

RE:TERNAL is a centralized purple team simulation platform. Reternal uses agents installed on a simulation network to execute various known red-teaming techniques in order to test blue-teaming capabilities.

The simulations are mapped to the MITRE ATT&CK framework. This repo contains the compose file in order to set up the reternal platform via docker. An additional import script is available to create your first user and import Mitre and Metta databases.

Reternal Components

ComponentDescriptionCodeBuild
APIAdministrative API to schedule tasks
UIVueJS-based UI buildscript and NGinx webserver
C2Seperate API endpoint that agents use to communicate with
Agent CompilerService that compiles the agent (Golang) payloads
MitreRepository containing already existing mapped techniques for reternal
ComponentDescriptionBuild
Total StackBuild verifying entire stack via docker-compose in this repository

Also Read – Fireprox : AWS API Gateway Management Tool For Creating On The Fly HTTP

Install & Configuration

This repository contains an Ansible deployment playbook to automate the installation and configuration for Reternal. The guide can be found on the repo’s Wiki @ https://github.com/d3vzer0/reternal-quickstart/wiki/1.A-Ansible-Install-Guide. A manual docker-compose file is also available for local testing.

Roadmap for first beta (06-2019)

  • Validation techniques: Implement commands that validate and confirm succesfull run techniques/tasks
  • Agent conditionals: Design tasks that rely on the execution of tasks on different agents. Ie. if agent A finished task B, let agent X execute task Y
  • Develop timeline for executed tasks
  • More bug fixingg

Roadmap before offical Alpha release (end of 05-2019)

  • Certificate Pinning: Only accept commands from server with fixed TLS fingerprint
  • Key Exchange: Implement method to exchange encryption keys beween agent and server to encrypt agent content Done
  • Loading Saved Campaign: Finalise ability to load saved campaigns Done
  • Finalise Ansible playbooks: Finish the Ansible playbook that configures and deploys all reternal components Done
  • Bug fixes

Whats up with the name?

This project has been re-developed so many times, it will probably never really finish. Hence RE (Redo) and Ternal (Eternal).

Examples & Screenshots

All of the features will be documented on the Welcome page of the Wiki @ https://github.com/d3vzer0/reternal-quickstart/wiki. Below are a few examples of the main components.

Agent Overview

Actor Mapping

Reternal automatically maps available commands and techniques to actors. You can directly add all the techniques commonly used by actors to your set of tasks.

Technique Mapping

Commands are mapped to MITRE ATTCK techniques. You can browse the available commands and directly add them to your task list.

Recipe Builder

Scheduling tasks to be run on an agent is called a recipe. You can add manual commands to a recipe or select one of the existing mapped techniques or actor TTPs. You can drag/drop to change the order of the tasks in your recipe.

Demo

R K

Recent Posts

Install Pip on Ubuntu 18.04: Python 3 and Python 2 Setup Guide

Pip is the official package manager for Python and the standard way to install libraries from…

4 days ago

Install R on Ubuntu 18.04 from CRAN: Statistical Computing Setup

R is an open-source programming language and environment built for statistical computing and data visualization. It…

4 days ago

Install Jenkins on Ubuntu 18.04: CI/CD Server Setup Guide

Jenkins is an open-source automation server that makes it easy to build CI/CD pipelines. Continuous integration…

4 days ago

Install Android Studio on Ubuntu 18.04 with Snap and OpenJDK 8

Android Studio is the official IDE for Android development, built on JetBrains' IntelliJ IDEA platform. It…

4 days ago

Install and Configure GitLab on Ubuntu 18.04 with Omnibus

GitLab is a web-based, open-source Git repository manager written in Ruby. It includes built-in tools for…

4 days ago

Install Anaconda on Ubuntu 18.04: Python Data Science Setup Guide

Anaconda is the most widely used Python distribution for data science and machine learning. It bundles…

5 days ago