From 136a105e56091a234b310f6d7a90cad844cab590 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 10 Nov 2021 12:02:03 +0200 Subject: [PATCH] BB: remove sambacry machines from BB infrastructure and docs --- envs/monkey_zoo/docs/fullDocs.md | 82 ------------------------- envs/monkey_zoo/terraform/images.tf | 5 -- envs/monkey_zoo/terraform/monkey_zoo.tf | 33 ---------- 3 files changed, 120 deletions(-) diff --git a/envs/monkey_zoo/docs/fullDocs.md b/envs/monkey_zoo/docs/fullDocs.md index 9d8e8b3c4..a7c523080 100644 --- a/envs/monkey_zoo/docs/fullDocs.md +++ b/envs/monkey_zoo/docs/fullDocs.md @@ -11,8 +11,6 @@ This document describes Infection Monkey’s test network, how to deploy and use [Nr. 3 Hadoop](#_Toc526517183)
[Nr. 4 Elastic](#_Toc526517184)
[Nr. 5 Elastic](#_Toc526517185)
-[Nr. 6 Sambacry](#_Toc536021459)
-[Nr. 7 Sambacry](#_Toc536021460)
[Nr. 8 Shellshock](#_Toc536021461)
[Nr. 9 Tunneling M1](#_Toc536021462)
[Nr. 10 Tunneling M2](#_Toc536021463)
@@ -322,86 +320,6 @@ Update all requirements using deployment script:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Nr. 6 Sambacry

-

(10.2.2.6)

(Not implemented)
OS:Ubuntu 16.04.05 x64
Software:Samba > 3.5.0 and < 4.6.4, 4.5.10 and 4.4.14
Default server’s port:-
Root password:;^TK`9XN_x^
Server’s config:
Scan results:Machine exploited using Sambacry exploiter
Notes:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Nr. 7 Sambacry

-

(10.2.2.7)

(Not implemented)
OS:Ubuntu 16.04.05 x32
Software:Samba > 3.5.0 and < 4.6.4, 4.5.10 and 4.4.14
Default server’s port:-
Root password:*.&A7/W}Rc$
Server’s config:
Scan results:Machine exploited using Sambacry exploiter
Notes:
- diff --git a/envs/monkey_zoo/terraform/images.tf b/envs/monkey_zoo/terraform/images.tf index 05cc05048..58a92a99e 100644 --- a/envs/monkey_zoo/terraform/images.tf +++ b/envs/monkey_zoo/terraform/images.tf @@ -16,11 +16,6 @@ data "google_compute_image" "elastic-5" { project = local.monkeyzoo_project } -/* -data "google_compute_image" "sambacry-6" { - name = "sambacry-6" -} -*/ data "google_compute_image" "shellshock-8" { name = "shellshock-8" project = local.monkeyzoo_project diff --git a/envs/monkey_zoo/terraform/monkey_zoo.tf b/envs/monkey_zoo/terraform/monkey_zoo.tf index cd9675732..d1ca528bb 100644 --- a/envs/monkey_zoo/terraform/monkey_zoo.tf +++ b/envs/monkey_zoo/terraform/monkey_zoo.tf @@ -106,39 +106,6 @@ resource "google_compute_instance_from_template" "elastic-5" { } } -/* Couldn't find ubuntu packages for required samba version (too old). -resource "google_compute_instance_from_template" "sambacry-6" { - name = "${local.resource_prefix}sambacry-6" - source_instance_template = "${local.default_ubuntu}" - boot_disk{ - initialize_params { - image = "${data.google_compute_image.sambacry-6.self_link}" - } - } - network_interface { - subnetwork="${local.resource_prefix}monkeyzoo-main" - network_ip="10.2.2.6" - } -} -*/ - -/* We need custom 32 bit Ubuntu machine for this (there are no 32 bit ubuntu machines in GCP). -resource "google_compute_instance_from_template" "sambacry-7" { - name = "${local.resource_prefix}sambacry-7" - source_instance_template = "${local.default_ubuntu}" - boot_disk { - initialize_params { - // Add custom image to cloud - image = "ubuntu32" - } - } - network_interface { - subnetwork="${local.resource_prefix}monkeyzoo-main" - network_ip="10.2.2.7" - } -} -*/ - resource "google_compute_instance_from_template" "shellshock-8" { name = "${local.resource_prefix}shellshock-8" source_instance_template = local.default_ubuntu