From 740dc437276bea6e59be47570c5f8fe2e0d6f472 Mon Sep 17 00:00:00 2001 From: Shreya Date: Sat, 18 Jul 2020 00:26:54 +0530 Subject: [PATCH] Modify "unscanned" messages for some techniques + other tiny changes in techniques' messages --- .../cc/services/attack/technique_reports/T1156.py | 6 +++--- .../cc/services/attack/technique_reports/T1166.py | 6 +++--- .../cc/services/attack/technique_reports/T1504.py | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py index aa1fe598a..939ebc946 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1156.py @@ -8,7 +8,7 @@ __author__ = "shreyamalviya" class T1156(PostBreachTechnique): tech_id = "T1156" - unscanned_msg = "Monkey did not try modifying bash startup files on the system." - scanned_msg = "Monkey tried modifying bash startup files on the system but failed." - used_msg = "Monkey modified bash startup files on the system." + unscanned_msg = "Monkey didn't try modifying bash startup files since it found no Linux machines." + scanned_msg = "Monkey tried modifying bash startup files but failed." + used_msg = "Monkey successfully modified bash startup files." pba_names = [POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION] diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py index d9aee9df5..f8aae194d 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1166.py @@ -7,7 +7,7 @@ __author__ = "shreyamalviya" class T1166(PostBreachTechnique): tech_id = "T1166" - unscanned_msg = "Monkey did not try creating hidden files or folders." - scanned_msg = "Monkey tried creating hidden files and folders on the system but failed." - used_msg = "Monkey created hidden files and folders on the system." + unscanned_msg = "Monkey didn't try setting the setuid or setgid bits since it found no Linux machines." + scanned_msg = "Monkey tried setting the setuid or setgid bits but failed." + used_msg = "Monkey successfully set the setuid or setgid bits." pba_names = [POST_BREACH_SETUID_SETGID] diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py index 1516bfdee..5e38b6630 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1504.py @@ -8,7 +8,7 @@ __author__ = "shreyamalviya" class T1504(PostBreachTechnique): tech_id = "T1504" - unscanned_msg = "Monkey did not try modifying powershell startup files on the system." - scanned_msg = "Monkey tried modifying powershell startup files on the system but failed." - used_msg = "Monkey modified powershell startup files on the system." + unscanned_msg = "Monkey didn't try modifying powershell startup files since it found no Windows machines." + scanned_msg = "Monkey tried modifying powershell startup files but failed." + used_msg = "Monkey successfully modified powershell startup files." pba_names = [POST_BREACH_SHELL_STARTUP_FILE_MODIFICATION]