From 6ab2e006b00a55aafebf43e49bfb4b9165071162 Mon Sep 17 00:00:00 2001
From: afmurillo <andres.murillo.19@gmail.com>
Date: Thu, 16 Jul 2020 23:55:17 +0800
Subject: [PATCH] Updated the Jupyter notebooks notes

Former-commit-id: 7e00615f482c623e0820688eb63970ac1add8ebe
---
 .../plot_enhanced_ctown.ipynb                 | 20 ++++++++++---------
 .../data/week_0/attacker_plc2.log             |  0
 .../data/week_0/attacker_scada.log            |  0
 ...initown_plot_30_weeks.ipynb.REMOVED.git-id |  2 +-
 Jupyter_notebooks/wadi_plot.ipynb             | 14 ++++++++++++-
 Jupyter_notebooks/wntr_only_low_demand.ipynb  |  2 +-
 6 files changed, 26 insertions(+), 12 deletions(-)
 create mode 100644 ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_plc2.log
 create mode 100644 ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_scada.log

diff --git a/ICS_topologies/enhanced_ctown_topology/plot_enhanced_ctown.ipynb b/ICS_topologies/enhanced_ctown_topology/plot_enhanced_ctown.ipynb
index 5296e243..a2891c27 100644
--- a/ICS_topologies/enhanced_ctown_topology/plot_enhanced_ctown.ipynb
+++ b/ICS_topologies/enhanced_ctown_topology/plot_enhanced_ctown.ipynb
@@ -1,8 +1,17 @@
 {
  "cells": [
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "# Enhanced C-Town Topology plots\n",
+    "\n",
+    "The enhanced C-Town topology tries to create a more complex and realistic network topology for a water distribution system like C-Town. In this topology, we assume that is not feasible possible for all PLCs to be in the same substation and hence are also not in the same Local Area Network (LAN). In this sense, each PLC is in a different LAN. The PLC3 shares the LAN with the SCADA server. In addition, the PLCs and SCADA using private IP addressing and NAT and port forwarding is used in the routers to enable communication between them. We argue this is a fairly realistic scenario"
+   ]
+  },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -17,7 +26,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": 3,
    "metadata": {},
    "outputs": [
     {
@@ -127,13 +136,6 @@
     "plt.subplots_adjust(top=2.00, right=3.00, hspace = subplot_hspace, wspace=subplot_wspace)\n",
     "plt.grid(True)"
    ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
   }
  ],
  "metadata": {
diff --git a/ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_plc2.log b/ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_plc2.log
new file mode 100644
index 00000000..e69de29b
diff --git a/ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_scada.log b/ICS_topologies/minitown_topology_dataset_generation/data/week_0/attacker_scada.log
new file mode 100644
index 00000000..e69de29b
diff --git a/ICS_topologies/minitown_topology_dataset_generation/minitown_plot_30_weeks.ipynb.REMOVED.git-id b/ICS_topologies/minitown_topology_dataset_generation/minitown_plot_30_weeks.ipynb.REMOVED.git-id
index 1018e96a..e29ba689 100644
--- a/ICS_topologies/minitown_topology_dataset_generation/minitown_plot_30_weeks.ipynb.REMOVED.git-id
+++ b/ICS_topologies/minitown_topology_dataset_generation/minitown_plot_30_weeks.ipynb.REMOVED.git-id
@@ -1 +1 @@
-d10404ed0937f886f02df1ce7808652bebbe2ef9
\ No newline at end of file
+50f6a4e1c4e1538f19fde7679b0a55cda0289c23
\ No newline at end of file
diff --git a/Jupyter_notebooks/wadi_plot.ipynb b/Jupyter_notebooks/wadi_plot.ipynb
index 8181e0d3..4fb56361 100644
--- a/Jupyter_notebooks/wadi_plot.ipynb
+++ b/Jupyter_notebooks/wadi_plot.ipynb
@@ -1,8 +1,20 @@
 {
  "cells": [
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "# SUTD WADI Plots\n",
+    "This notebook plots the experiments done in the SUTD WADI simulation\n",
+    "Three plots are presented:\n",
+    "- The basic WADI behavior without attacks\n",
+    "- The behaviour with an attack on the PLC1. During this attack, the PLC1 delays the activation of the actuators\n",
+    "- The behaviour of a man in the middle attack on the PLC1. During this attack, PLC1 receives spoofed information that tells him that tank 2 level is higher than it actually is"
+   ]
+  },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
diff --git a/Jupyter_notebooks/wntr_only_low_demand.ipynb b/Jupyter_notebooks/wntr_only_low_demand.ipynb
index ccf9ec0a..57bbfaa1 100644
--- a/Jupyter_notebooks/wntr_only_low_demand.ipynb
+++ b/Jupyter_notebooks/wntr_only_low_demand.ipynb
@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [