Update MARL config
This commit is contained in:
@@ -36,6 +36,11 @@ agents:
|
|||||||
- ref: client_2_green_user
|
- ref: client_2_green_user
|
||||||
team: GREEN
|
team: GREEN
|
||||||
type: probabilistic_agent
|
type: probabilistic_agent
|
||||||
|
agent_settings:
|
||||||
|
action_probabilities:
|
||||||
|
0: 0.3
|
||||||
|
1: 0.6
|
||||||
|
2: 0.1
|
||||||
observation_space:
|
observation_space:
|
||||||
type: UC2GreenObservation
|
type: UC2GreenObservation
|
||||||
action_space:
|
action_space:
|
||||||
@@ -47,24 +52,38 @@ agents:
|
|||||||
- node_name: client_2
|
- node_name: client_2
|
||||||
applications:
|
applications:
|
||||||
- application_name: WebBrowser
|
- application_name: WebBrowser
|
||||||
|
- application_name: DatabaseClient
|
||||||
max_folders_per_node: 1
|
max_folders_per_node: 1
|
||||||
max_files_per_folder: 1
|
max_files_per_folder: 1
|
||||||
max_services_per_node: 1
|
max_services_per_node: 1
|
||||||
max_applications_per_node: 1
|
max_applications_per_node: 2
|
||||||
|
action_map:
|
||||||
|
0:
|
||||||
|
action: DONOTHING
|
||||||
|
options: {}
|
||||||
|
1:
|
||||||
|
action: NODE_APPLICATION_EXECUTE
|
||||||
|
options:
|
||||||
|
node_id: 0
|
||||||
|
application_id: 0
|
||||||
|
2:
|
||||||
|
action: NODE_APPLICATION_EXECUTE
|
||||||
|
options:
|
||||||
|
node_id: 0
|
||||||
|
application_id: 1
|
||||||
|
|
||||||
reward_function:
|
reward_function:
|
||||||
reward_components:
|
reward_components:
|
||||||
- type: DUMMY
|
- type: DUMMY
|
||||||
|
|
||||||
agent_settings:
|
|
||||||
start_settings:
|
|
||||||
start_step: 5
|
|
||||||
frequency: 4
|
|
||||||
variance: 3
|
|
||||||
|
|
||||||
- ref: client_1_green_user
|
- ref: client_1_green_user
|
||||||
team: GREEN
|
team: GREEN
|
||||||
type: probabilistic_agent
|
type: probabilistic_agent
|
||||||
|
agent_settings:
|
||||||
|
action_probabilities:
|
||||||
|
0: 0.3
|
||||||
|
1: 0.6
|
||||||
|
2: 0.1
|
||||||
observation_space:
|
observation_space:
|
||||||
type: UC2GreenObservation
|
type: UC2GreenObservation
|
||||||
action_space:
|
action_space:
|
||||||
@@ -76,10 +95,26 @@ agents:
|
|||||||
- node_name: client_1
|
- node_name: client_1
|
||||||
applications:
|
applications:
|
||||||
- application_name: WebBrowser
|
- application_name: WebBrowser
|
||||||
|
- application_name: DatabaseClient
|
||||||
max_folders_per_node: 1
|
max_folders_per_node: 1
|
||||||
max_files_per_folder: 1
|
max_files_per_folder: 1
|
||||||
max_services_per_node: 1
|
max_services_per_node: 1
|
||||||
max_applications_per_node: 1
|
max_applications_per_node: 2
|
||||||
|
action_map:
|
||||||
|
0:
|
||||||
|
action: DONOTHING
|
||||||
|
options: {}
|
||||||
|
1:
|
||||||
|
action: NODE_APPLICATION_EXECUTE
|
||||||
|
options:
|
||||||
|
node_id: 0
|
||||||
|
application_id: 0
|
||||||
|
2:
|
||||||
|
action: NODE_APPLICATION_EXECUTE
|
||||||
|
options:
|
||||||
|
node_id: 0
|
||||||
|
application_id: 1
|
||||||
|
|
||||||
reward_function:
|
reward_function:
|
||||||
reward_components:
|
reward_components:
|
||||||
- type: DUMMY
|
- type: DUMMY
|
||||||
@@ -87,6 +122,7 @@ agents:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- ref: data_manipulation_attacker
|
- ref: data_manipulation_attacker
|
||||||
team: RED
|
team: RED
|
||||||
type: RedDatabaseCorruptingAgent
|
type: RedDatabaseCorruptingAgent
|
||||||
@@ -671,6 +707,14 @@ agents:
|
|||||||
weight: 0.33
|
weight: 0.33
|
||||||
options:
|
options:
|
||||||
node_hostname: client_2
|
node_hostname: client_2
|
||||||
|
- type: GREEN_ADMIN_DATABASE_UNREACHABLE_PENALTY
|
||||||
|
weight: 0.1
|
||||||
|
options:
|
||||||
|
node_hostname: client_1
|
||||||
|
- type: GREEN_ADMIN_DATABASE_UNREACHABLE_PENALTY
|
||||||
|
weight: 0.1
|
||||||
|
options:
|
||||||
|
node_hostname: client_2
|
||||||
|
|
||||||
|
|
||||||
agent_settings:
|
agent_settings:
|
||||||
@@ -1223,6 +1267,14 @@ agents:
|
|||||||
weight: 0.33
|
weight: 0.33
|
||||||
options:
|
options:
|
||||||
node_hostname: client_2
|
node_hostname: client_2
|
||||||
|
- type: GREEN_ADMIN_DATABASE_UNREACHABLE_PENALTY
|
||||||
|
weight: 0.1
|
||||||
|
options:
|
||||||
|
node_hostname: client_1
|
||||||
|
- type: GREEN_ADMIN_DATABASE_UNREACHABLE_PENALTY
|
||||||
|
weight: 0.1
|
||||||
|
options:
|
||||||
|
node_hostname: client_2
|
||||||
|
|
||||||
|
|
||||||
agent_settings:
|
agent_settings:
|
||||||
@@ -1241,8 +1293,8 @@ simulation:
|
|||||||
nodes:
|
nodes:
|
||||||
|
|
||||||
- ref: router_1
|
- ref: router_1
|
||||||
type: router
|
|
||||||
hostname: router_1
|
hostname: router_1
|
||||||
|
type: router
|
||||||
num_ports: 5
|
num_ports: 5
|
||||||
ports:
|
ports:
|
||||||
1:
|
1:
|
||||||
@@ -1277,18 +1329,18 @@ simulation:
|
|||||||
protocol: ICMP
|
protocol: ICMP
|
||||||
|
|
||||||
- ref: switch_1
|
- ref: switch_1
|
||||||
type: switch
|
|
||||||
hostname: switch_1
|
hostname: switch_1
|
||||||
|
type: switch
|
||||||
num_ports: 8
|
num_ports: 8
|
||||||
|
|
||||||
- ref: switch_2
|
- ref: switch_2
|
||||||
type: switch
|
|
||||||
hostname: switch_2
|
hostname: switch_2
|
||||||
|
type: switch
|
||||||
num_ports: 8
|
num_ports: 8
|
||||||
|
|
||||||
- ref: domain_controller
|
- ref: domain_controller
|
||||||
type: server
|
|
||||||
hostname: domain_controller
|
hostname: domain_controller
|
||||||
|
type: server
|
||||||
ip_address: 192.168.1.10
|
ip_address: 192.168.1.10
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.1.1
|
default_gateway: 192.168.1.1
|
||||||
@@ -1300,8 +1352,8 @@ simulation:
|
|||||||
arcd.com: 192.168.1.12 # web server
|
arcd.com: 192.168.1.12 # web server
|
||||||
|
|
||||||
- ref: web_server
|
- ref: web_server
|
||||||
type: server
|
|
||||||
hostname: web_server
|
hostname: web_server
|
||||||
|
type: server
|
||||||
ip_address: 192.168.1.12
|
ip_address: 192.168.1.12
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.1.1
|
default_gateway: 192.168.1.1
|
||||||
@@ -1317,8 +1369,8 @@ simulation:
|
|||||||
|
|
||||||
|
|
||||||
- ref: database_server
|
- ref: database_server
|
||||||
type: server
|
|
||||||
hostname: database_server
|
hostname: database_server
|
||||||
|
type: server
|
||||||
ip_address: 192.168.1.14
|
ip_address: 192.168.1.14
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.1.1
|
default_gateway: 192.168.1.1
|
||||||
@@ -1332,8 +1384,8 @@ simulation:
|
|||||||
type: FTPClient
|
type: FTPClient
|
||||||
|
|
||||||
- ref: backup_server
|
- ref: backup_server
|
||||||
type: server
|
|
||||||
hostname: backup_server
|
hostname: backup_server
|
||||||
|
type: server
|
||||||
ip_address: 192.168.1.16
|
ip_address: 192.168.1.16
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.1.1
|
default_gateway: 192.168.1.1
|
||||||
@@ -1343,8 +1395,8 @@ simulation:
|
|||||||
type: FTPServer
|
type: FTPServer
|
||||||
|
|
||||||
- ref: security_suite
|
- ref: security_suite
|
||||||
type: server
|
|
||||||
hostname: security_suite
|
hostname: security_suite
|
||||||
|
type: server
|
||||||
ip_address: 192.168.1.110
|
ip_address: 192.168.1.110
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.1.1
|
default_gateway: 192.168.1.1
|
||||||
@@ -1355,8 +1407,8 @@ simulation:
|
|||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
|
|
||||||
- ref: client_1
|
- ref: client_1
|
||||||
type: computer
|
|
||||||
hostname: client_1
|
hostname: client_1
|
||||||
|
type: computer
|
||||||
ip_address: 192.168.10.21
|
ip_address: 192.168.10.21
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.10.1
|
default_gateway: 192.168.10.1
|
||||||
@@ -1373,13 +1425,17 @@ simulation:
|
|||||||
type: WebBrowser
|
type: WebBrowser
|
||||||
options:
|
options:
|
||||||
target_url: http://arcd.com/users/
|
target_url: http://arcd.com/users/
|
||||||
|
- ref: client_1_database_client
|
||||||
|
type: DatabaseClient
|
||||||
|
options:
|
||||||
|
db_server_ip: 192.168.1.14
|
||||||
services:
|
services:
|
||||||
- ref: client_1_dns_client
|
- ref: client_1_dns_client
|
||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|
||||||
- ref: client_2
|
- ref: client_2
|
||||||
type: computer
|
|
||||||
hostname: client_2
|
hostname: client_2
|
||||||
|
type: computer
|
||||||
ip_address: 192.168.10.22
|
ip_address: 192.168.10.22
|
||||||
subnet_mask: 255.255.255.0
|
subnet_mask: 255.255.255.0
|
||||||
default_gateway: 192.168.10.1
|
default_gateway: 192.168.10.1
|
||||||
@@ -1396,6 +1452,10 @@ simulation:
|
|||||||
data_manipulation_p_of_success: 0.8
|
data_manipulation_p_of_success: 0.8
|
||||||
payload: "DELETE"
|
payload: "DELETE"
|
||||||
server_ip: 192.168.1.14
|
server_ip: 192.168.1.14
|
||||||
|
- ref: client_2_database_client
|
||||||
|
type: DatabaseClient
|
||||||
|
options:
|
||||||
|
db_server_ip: 192.168.1.14
|
||||||
services:
|
services:
|
||||||
- ref: client_2_dns_client
|
- ref: client_2_dns_client
|
||||||
type: DNSClient
|
type: DNSClient
|
||||||
|
|||||||
Reference in New Issue
Block a user