From b7c8006f944e8b067cdc6f9ec69b09dd58a709dd Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Fri, 25 Jun 2021 17:02:24 +0300 Subject: [PATCH 1/2] Add readme to ransomware section of configuration schema --- .../cc/services/config_schema/ransomware.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/services/config_schema/ransomware.py b/monkey/monkey_island/cc/services/config_schema/ransomware.py index 74b5d3d67..cc043e876 100644 --- a/monkey/monkey_island/cc/services/config_schema/ransomware.py +++ b/monkey/monkey_island/cc/services/config_schema/ransomware.py @@ -21,6 +21,18 @@ RANSOMWARE = { "using bitflip to simulate ransomware.", }, }, - } + }, + "notifications": { + "title": "Notifications", + "type": "object", + "properties": { + "readme": { + "title": "Create a README.TXT file", + "type": "boolean", + "default": True, + "description": "Creates a README.txt ransomware note on infected systems.", + } + }, + }, }, } From f8411d3c9290fc4ca3a3691677eeef7fbb56e64b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 28 Jun 2021 13:50:45 -0400 Subject: [PATCH 2/2] Island: Rename ransomware config "notifications" section --- monkey/monkey_island/cc/services/config_schema/ransomware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/services/config_schema/ransomware.py b/monkey/monkey_island/cc/services/config_schema/ransomware.py index cc043e876..cbd4e4e72 100644 --- a/monkey/monkey_island/cc/services/config_schema/ransomware.py +++ b/monkey/monkey_island/cc/services/config_schema/ransomware.py @@ -22,8 +22,8 @@ RANSOMWARE = { }, }, }, - "notifications": { - "title": "Notifications", + "other_behaviors": { + "title": "Other Behaviors", "type": "object", "properties": { "readme": {