Commit Graph

2267 Commits

Author SHA1 Message Date
Shay Nehmad 1f56e8df61 Use classname instead of self for static method 2019-09-16 16:34:13 +03:00
Shay Nehmad 3b06768a98 Replaced sleep loop for waiting on the process with WaitForSingleObject winapi. 2019-09-16 16:32:21 +03:00
Shay Nehmad 0a11c4b007 Extracted duplicate code to `add_malicious_activity_to_timeline` helper function 2019-09-16 16:17:30 +03:00
Shay Nehmad 76c642e4b3 Lowered code dup in get_result_event 2019-09-16 15:08:22 +03:00
Shay Nehmad dd9a4b2d10 Refactored test_new_user_communication, mostly separated to functions 2019-09-16 15:04:22 +03:00
Shay Nehmad 4330a39725 Removed unused PBA processing funcs 2019-09-16 14:59:27 +03:00
Shay Nehmad bb8a5bf55d Deleted TODO 2019-09-16 14:56:34 +03:00
Shay Nehmad bc94e5854a Moved handle close to finally block 2019-09-16 14:54:02 +03:00
Shay Nehmad b8f48d3542 Unpacking struct from winapi 2019-09-16 14:45:39 +03:00
Shay Nehmad 77269fb3ce Extracted user name creation to separate function 2019-09-16 14:06:21 +03:00
Shay Nehmad 889c8a2378 Moved user add+delete commands into `utils/users` 2019-09-16 13:53:33 +03:00
Shay Nehmad edc2d49307 Broke monkey_utils to utils/ and moved sambacry_runner to exploit. This commit is 100% refactoring without any new code, just deleted unused utils. 2019-09-16 13:00:42 +03:00
Shay Nehmad 4b44fad1cd Fixed typos and grammer errors 2019-09-16 12:27:50 +03:00
Shay Nehmad 4d24d8432e Improved the Events modal 2019-09-11 17:19:23 +03:00
Shay Nehmad 68383f069b Final text changes 2019-09-10 23:51:19 +03:00
Shay Nehmad cfd0c10d59 Refactoring inconclusive to verify and recommendation to principle
Product writer's orders
2019-09-10 23:44:03 +03:00
Shay Nehmad 5f02ebe1e0 Added Guardicore processes to AV list 2019-09-10 19:32:46 +03:00
Shay Nehmad 50f8e9053a Changed on windows as well 2019-09-10 14:50:54 +03:00
Shay Nehmad 4dca735265 Changed `check_output` to `Popen` to make user deletion async
we don't care about its result
2019-09-10 14:43:48 +03:00
Shay Nehmad 53f31ddcc9 Refactored notification logic to method 2019-09-09 17:36:00 +03:00
Shay Nehmad a51a6065b8 Now looking at the exit codes of ping 2019-09-09 17:27:53 +03:00
Shay Nehmad a32012ce52 Added communicate as new user to default PBA actions 2019-09-09 13:35:46 +03:00
Shay Nehmad 63d76f19f8 Updated notification to only show if the island is not on the report page already 2019-09-09 11:47:16 +03:00
Shay Nehmad 313911fd77 Deleted console log + fixed link in notification 2019-09-09 11:38:37 +03:00
Shay Nehmad dc2686301c Fixed notification link and updated legend texts 2019-09-09 10:20:23 +03:00
Shay Nehmad f78e76bdee Renamed process_handle to process_info and removed bad comment 2019-09-07 18:49:59 +03:00
Shay Nehmad e520df4c34 Fixed events length check 2019-09-05 21:40:36 +03:00
Shay Nehmad 51117edbea Add deletion of users 2019-09-05 21:32:04 +03:00
Shay Nehmad e618378c95 Vastly improved communicate as new user PBA code structure, also not leaking any more process or thread handles. 2019-09-05 20:56:48 +03:00
Shay Nehmad e9cd20a345 If one PBA fails it shouldn't stop all the rest. 2019-09-05 20:56:17 +03:00
Shay Nehmad 731e3acb90 Added exception info to monkey main function. 2019-09-05 20:56:00 +03:00
Shay Nehmad 3403d26d70 Merge branch '400/aggregate-findings' into 400/more-tests 2019-09-05 12:53:05 +03:00
Shay Nehmad 5a29e047ab Extracted events amount badge to function 2019-09-04 17:00:28 +03:00
Shay Nehmad 86cf09419c Moved imports to top of try 2019-09-04 16:24:46 +03:00
Shay Nehmad ae414bcd13 Remove unnecessary apostrophes from commandline 2019-09-04 12:42:46 +03:00
Shay Nehmad 097d8831c8 Joining commands using ,,.join() for linux 2019-09-04 12:40:53 +03:00
Shay Nehmad 4f912d9d1e Fixed sudo usage + added debug logs 2019-09-04 12:30:55 +03:00
Shay Nehmad 37fac9c613 Merge branch '400/zero-trust-mvp' into 400/more-tests 2019-09-04 12:11:05 +03:00
Shay Nehmad 2a78b62d00 Moved imports to local imports 2019-09-04 11:35:18 +03:00
Shay Nehmad 3469ec6996 Still need to test linux 2019-09-03 22:35:18 +03:00
Shay Nehmad c371bf8ac5 Added 1314 error TODO 2019-09-03 21:52:30 +03:00
Shay Nehmad 1befe35d34 Added some logs, and more error handling for winapis. Still not working 2019-09-03 21:42:48 +03:00
Shay Nehmad 52a95935c8 Added new user communication PBA and ZT test, not working yet WIP! 2019-09-03 21:17:13 +03:00
Shay Nehmad a7c18437cd Merge branch 'develop' into 400/zero-trust-mvp 2019-09-02 19:06:21 +03:00
Shay Nehmad 6e0c974215 Final CR comments, improved doc and extracted a saveJsonToFIle function 2019-09-02 18:19:49 +03:00
Shay Nehmad 871e7b11d7 Updated SVGs 2019-09-02 18:12:08 +03:00
Shay Nehmad 68d185f5fd Added new icons for timeline events types (and deleted the Island event type) 2019-09-02 16:00:04 +03:00
Shay Nehmad d7543e1117 Extracted magic numbers to consts and deleted unused css file 2019-09-02 15:38:57 +03:00
Shay Nehmad 4d50f0d8de Map status to finding instead of calling function 3 times 2019-09-02 15:05:34 +03:00
Shay Nehmad cdc72eace7 Renamed overview to section 2019-09-02 14:52:14 +03:00