From e3f9312ff9b2db8c7100db89bb1735af5cdad723 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 18 Jan 2022 11:44:47 +0200 Subject: [PATCH] BB: change log4j exploit depth to 1 (default) This change is necessary to make sure that exploitation is successfull from a particular machine being tested. --- envs/monkey_zoo/blackbox/config_templates/log4j_logstash.py | 1 - envs/monkey_zoo/blackbox/config_templates/log4j_solr.py | 1 - envs/monkey_zoo/blackbox/config_templates/log4j_tomcat.py | 1 - 3 files changed, 3 deletions(-) diff --git a/envs/monkey_zoo/blackbox/config_templates/log4j_logstash.py b/envs/monkey_zoo/blackbox/config_templates/log4j_logstash.py index 54c91ccca..9f39a38c7 100644 --- a/envs/monkey_zoo/blackbox/config_templates/log4j_logstash.py +++ b/envs/monkey_zoo/blackbox/config_templates/log4j_logstash.py @@ -11,7 +11,6 @@ class Log4jLogstash(ConfigTemplate): config_values.update( { "basic.exploiters.exploiter_classes": ["Log4ShellExploiter"], - "basic_network.scope.depth": 2, "basic_network.scope.subnet_scan_list": ["10.2.3.55", "10.2.3.56"], } ) diff --git a/envs/monkey_zoo/blackbox/config_templates/log4j_solr.py b/envs/monkey_zoo/blackbox/config_templates/log4j_solr.py index ad5923b16..77d513e74 100644 --- a/envs/monkey_zoo/blackbox/config_templates/log4j_solr.py +++ b/envs/monkey_zoo/blackbox/config_templates/log4j_solr.py @@ -11,7 +11,6 @@ class Log4jSolr(ConfigTemplate): config_values.update( { "basic.exploiters.exploiter_classes": ["Log4ShellExploiter"], - "basic_network.scope.depth": 2, "basic_network.scope.subnet_scan_list": ["10.2.3.49", "10.2.3.50"], } ) diff --git a/envs/monkey_zoo/blackbox/config_templates/log4j_tomcat.py b/envs/monkey_zoo/blackbox/config_templates/log4j_tomcat.py index a2274a256..29a2269a0 100644 --- a/envs/monkey_zoo/blackbox/config_templates/log4j_tomcat.py +++ b/envs/monkey_zoo/blackbox/config_templates/log4j_tomcat.py @@ -11,7 +11,6 @@ class Log4jTomcat(ConfigTemplate): config_values.update( { "basic.exploiters.exploiter_classes": ["Log4ShellExploiter"], - "basic_network.scope.depth": 2, "basic_network.scope.subnet_scan_list": ["10.2.3.51", "10.2.3.52"], } )