From c075fed2da00f5031b4711c6ad76b04f99c87f5a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 28 Feb 2022 12:56:43 -0500 Subject: [PATCH] BB: Remove 'PingScanner' from fingerprinters in config templates --- envs/monkey_zoo/blackbox/config_templates/base_template.py | 2 +- envs/monkey_zoo/blackbox/config_templates/drupal.py | 2 +- envs/monkey_zoo/blackbox/config_templates/mssql.py | 2 +- envs/monkey_zoo/blackbox/config_templates/powershell.py | 2 +- .../blackbox/config_templates/powershell_credentials_reuse.py | 2 +- envs/monkey_zoo/blackbox/config_templates/smb_mimikatz.py | 2 +- envs/monkey_zoo/blackbox/config_templates/smb_pth.py | 2 +- envs/monkey_zoo/blackbox/config_templates/ssh.py | 2 +- envs/monkey_zoo/blackbox/config_templates/tunneling.py | 1 - envs/monkey_zoo/blackbox/config_templates/wmi_pth.py | 2 +- 10 files changed, 9 insertions(+), 10 deletions(-) diff --git a/envs/monkey_zoo/blackbox/config_templates/base_template.py b/envs/monkey_zoo/blackbox/config_templates/base_template.py index dbc235cd7..5a1ce49a6 100644 --- a/envs/monkey_zoo/blackbox/config_templates/base_template.py +++ b/envs/monkey_zoo/blackbox/config_templates/base_template.py @@ -8,7 +8,7 @@ class BaseTemplate(ConfigTemplate): "basic.exploiters.exploiter_classes": [], "basic_network.scope.local_network_scan": False, "basic_network.scope.depth": 1, - "internal.classes.finger_classes": ["PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["HTTPFinger"], "internal.monkey.system_info.system_info_collector_classes": [], "monkey.post_breach.post_breach_actions": [], "internal.general.keep_tunnel_open_time": 0, diff --git a/envs/monkey_zoo/blackbox/config_templates/drupal.py b/envs/monkey_zoo/blackbox/config_templates/drupal.py index 388a47a42..2eefd6337 100644 --- a/envs/monkey_zoo/blackbox/config_templates/drupal.py +++ b/envs/monkey_zoo/blackbox/config_templates/drupal.py @@ -9,7 +9,7 @@ class Drupal(ConfigTemplate): config_values.update( { - "internal.classes.finger_classes": ["PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["HTTPFinger"], "basic.exploiters.exploiter_classes": ["DrupalExploiter"], "basic_network.scope.subnet_scan_list": ["10.2.2.28"], "internal.network.tcp_scanner.HTTP_PORTS": [80], diff --git a/envs/monkey_zoo/blackbox/config_templates/mssql.py b/envs/monkey_zoo/blackbox/config_templates/mssql.py index 13d1c728e..403fc0060 100644 --- a/envs/monkey_zoo/blackbox/config_templates/mssql.py +++ b/envs/monkey_zoo/blackbox/config_templates/mssql.py @@ -10,7 +10,7 @@ class Mssql(ConfigTemplate): config_values.update( { "basic.exploiters.exploiter_classes": ["MSSQLExploiter"], - "internal.classes.finger_classes": ["PingScanner"], + "internal.classes.finger_classes": [], "basic_network.scope.subnet_scan_list": ["10.2.2.16"], "basic.credentials.exploit_password_list": [ "Password1!", diff --git a/envs/monkey_zoo/blackbox/config_templates/powershell.py b/envs/monkey_zoo/blackbox/config_templates/powershell.py index a282b2a0a..95137d431 100644 --- a/envs/monkey_zoo/blackbox/config_templates/powershell.py +++ b/envs/monkey_zoo/blackbox/config_templates/powershell.py @@ -21,7 +21,7 @@ class PowerShell(ConfigTemplate): "basic.credentials.exploit_password_list": ["Passw0rd!"], "basic_network.scope.depth": 2, "basic.credentials.exploit_user_list": ["m0nk3y", "m0nk3y-user"], - "internal.classes.finger_classes": ["PingScanner"], + "internal.classes.finger_classes": [], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [], "internal.exploits.exploit_ntlm_hash_list": [ diff --git a/envs/monkey_zoo/blackbox/config_templates/powershell_credentials_reuse.py b/envs/monkey_zoo/blackbox/config_templates/powershell_credentials_reuse.py index d6113dc15..99e4ce282 100644 --- a/envs/monkey_zoo/blackbox/config_templates/powershell_credentials_reuse.py +++ b/envs/monkey_zoo/blackbox/config_templates/powershell_credentials_reuse.py @@ -14,7 +14,7 @@ class PowerShellCredentialsReuse(ConfigTemplate): "10.2.3.46", ], "basic_network.scope.depth": 2, - "internal.classes.finger_classes": ["PingScanner"], + "internal.classes.finger_classes": [], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [], } diff --git a/envs/monkey_zoo/blackbox/config_templates/smb_mimikatz.py b/envs/monkey_zoo/blackbox/config_templates/smb_mimikatz.py index 25003eb20..828d2da21 100644 --- a/envs/monkey_zoo/blackbox/config_templates/smb_mimikatz.py +++ b/envs/monkey_zoo/blackbox/config_templates/smb_mimikatz.py @@ -13,7 +13,7 @@ class SmbMimikatz(ConfigTemplate): "basic_network.scope.subnet_scan_list": ["10.2.2.14", "10.2.2.15"], "basic.credentials.exploit_password_list": ["Password1!", "Ivrrw5zEzs"], "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], - "internal.classes.finger_classes": ["SMBFinger", "PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["SMBFinger", "HTTPFinger"], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [445], "monkey.system_info.system_info_collector_classes": [ diff --git a/envs/monkey_zoo/blackbox/config_templates/smb_pth.py b/envs/monkey_zoo/blackbox/config_templates/smb_pth.py index 89a379d15..cd9fed272 100644 --- a/envs/monkey_zoo/blackbox/config_templates/smb_pth.py +++ b/envs/monkey_zoo/blackbox/config_templates/smb_pth.py @@ -13,7 +13,7 @@ class SmbPth(ConfigTemplate): "basic_network.scope.subnet_scan_list": ["10.2.2.15"], "basic.credentials.exploit_password_list": ["Password1!", "Ivrrw5zEzs"], "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], - "internal.classes.finger_classes": ["SMBFinger", "PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["SMBFinger", "HTTPFinger"], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [445], "internal.classes.exploits.exploit_ntlm_hash_list": [ diff --git a/envs/monkey_zoo/blackbox/config_templates/ssh.py b/envs/monkey_zoo/blackbox/config_templates/ssh.py index 8099e50a6..5a519d5d1 100644 --- a/envs/monkey_zoo/blackbox/config_templates/ssh.py +++ b/envs/monkey_zoo/blackbox/config_templates/ssh.py @@ -14,7 +14,7 @@ class Ssh(ConfigTemplate): "basic.credentials.exploit_password_list": ["Password1!", "12345678", "^NgDvY59~8"], "basic_network.scope.depth": 2, "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], - "internal.classes.finger_classes": ["SSHFinger", "PingScanner"], + "internal.classes.finger_classes": ["SSHFinger"], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [22], } diff --git a/envs/monkey_zoo/blackbox/config_templates/tunneling.py b/envs/monkey_zoo/blackbox/config_templates/tunneling.py index 15fb967d5..d2dd663f5 100644 --- a/envs/monkey_zoo/blackbox/config_templates/tunneling.py +++ b/envs/monkey_zoo/blackbox/config_templates/tunneling.py @@ -28,7 +28,6 @@ class Tunneling(ConfigTemplate): "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], "internal.classes.finger_classes": [ "SSHFinger", - "PingScanner", "HTTPFinger", "SMBFinger", ], diff --git a/envs/monkey_zoo/blackbox/config_templates/wmi_pth.py b/envs/monkey_zoo/blackbox/config_templates/wmi_pth.py index 84e7f3f70..ff2078d72 100644 --- a/envs/monkey_zoo/blackbox/config_templates/wmi_pth.py +++ b/envs/monkey_zoo/blackbox/config_templates/wmi_pth.py @@ -13,7 +13,7 @@ class WmiPth(ConfigTemplate): "basic_network.scope.subnet_scan_list": ["10.2.2.15"], "basic.credentials.exploit_password_list": ["Password1!"], "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], - "internal.classes.finger_classes": ["PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["HTTPFinger"], "internal.network.tcp_scanner.HTTP_PORTS": [], "internal.network.tcp_scanner.tcp_target_ports": [135], "internal.exploits.exploit_ntlm_hash_list": [