asc.xhack.students_redir role – Deploy a per-student traffic redirector
Note
This role is part of the asc.xhack collection (version 2.0.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/xhack $HOME/.ansible/collections/ansible_collections/asc/xhack.
To use it in a playbook, specify: asc.xhack.students_redir.
Entry point main – Deploy a per-student traffic redirector
New in asc.xhack 1.0.0
Synopsis
Deploys one redirector per student in a dedicated subnet, forwarding traffic from the student’s target VMs to their C2 server to mask its location.
Parameters
Parameter |
Comments |
|---|---|
Configuration options for the `students_redir` role. |
|
Whether to enable the role Choices:
|
|
Inbound internet ports for the redirector itself Default: |
|
Whether to enable monitoring of the VM Choices:
|
|
Size of the VM to deploy (Azure VM size) Default: |
|
Suffix to append to the VM name Default: |