129 lines
3.2 KiB
YAML
129 lines
3.2 KiB
YAML
metadata:
|
|
version: 3.0
|
|
|
|
io_settings:
|
|
save_step_metadata: false
|
|
save_pcap_logs: false
|
|
save_sys_logs: false
|
|
save_agent_actions: false
|
|
|
|
game:
|
|
max_episode_length: 256
|
|
ports:
|
|
- ARP
|
|
- DNS
|
|
protocols:
|
|
- ICMP
|
|
- TCP
|
|
|
|
agents:
|
|
- ref: agent_1
|
|
team: BLUE
|
|
type: proxy-agent
|
|
|
|
|
|
action_space:
|
|
action_map:
|
|
0:
|
|
action: do-nothing
|
|
options: {}
|
|
1:
|
|
action: node-application-install
|
|
options:
|
|
node_name: client_1
|
|
application_name: database-client
|
|
2:
|
|
action: node-application-install
|
|
options:
|
|
node_name: client_2
|
|
application_name: ransomware-script
|
|
3:
|
|
action: node-application-install
|
|
options:
|
|
node_name: client_3
|
|
application_name: dos-bot
|
|
4:
|
|
action: configure-database-client
|
|
options:
|
|
node_name: client_1
|
|
server_ip_address: 10.0.0.5
|
|
5:
|
|
action: configure-database-client
|
|
options:
|
|
node_name: client_1
|
|
server_password: correct_password
|
|
6:
|
|
action: configure-ransomware-script
|
|
options:
|
|
node_name: client_2
|
|
server_ip_address: 10.0.0.5
|
|
server_password: correct_password
|
|
payload: ENCRYPT
|
|
7:
|
|
action: configure-dos-bot
|
|
options:
|
|
node_name: client_3
|
|
target_ip_address: 10.0.0.5
|
|
target_port: POSTGRES_SERVER
|
|
payload: DELETE
|
|
repeat: true
|
|
port_scan_p_of_success: 1.0
|
|
dos_intensity: 1.0
|
|
max_sessions: 1000
|
|
8:
|
|
action: node-application-install
|
|
options:
|
|
node_name: client_2
|
|
application_name: database-client
|
|
agent_settings:
|
|
flatten_obs: True
|
|
action_masking: False
|
|
|
|
simulation:
|
|
network:
|
|
nodes:
|
|
- type: computer
|
|
hostname: client_1
|
|
ip_address: 10.0.0.2
|
|
subnet_mask: 255.255.255.0
|
|
default_gateway: 10.0.0.1
|
|
- type: computer
|
|
hostname: client_2
|
|
ip_address: 10.0.0.3
|
|
subnet_mask: 255.255.255.0
|
|
default_gateway: 10.0.0.1
|
|
- type: computer
|
|
hostname: client_3
|
|
ip_address: 10.0.0.4
|
|
subnet_mask: 255.255.255.0
|
|
default_gateway: 10.0.0.1
|
|
- type: switch
|
|
hostname: switch_1
|
|
num_ports: 8
|
|
- type: server
|
|
hostname: server_1
|
|
ip_address: 10.0.0.5
|
|
subnet_mask: 255.255.255.0
|
|
default_gateway: 10.0.0.1
|
|
services:
|
|
- type: database-service
|
|
options:
|
|
db_password: correct_password
|
|
links:
|
|
- endpoint_a_hostname: client_1
|
|
endpoint_a_port: 1
|
|
endpoint_b_hostname: switch_1
|
|
endpoint_b_port: 1
|
|
- endpoint_a_hostname: client_2
|
|
endpoint_a_port: 1
|
|
endpoint_b_hostname: switch_1
|
|
endpoint_b_port: 2
|
|
- endpoint_a_hostname: client_3
|
|
endpoint_a_port: 1
|
|
endpoint_b_hostname: switch_1
|
|
endpoint_b_port: 3
|
|
- endpoint_a_hostname: server_1
|
|
endpoint_a_port: 1
|
|
endpoint_b_hostname: switch_1
|
|
endpoint_b_port: 8
|