Commit Graph

2523 Commits

Author SHA1 Message Date
Daniel Goldberg 2b14878a9c Bugfix, used wrong logger! 2019-09-16 15:16:56 +03:00
Daniel Goldberg 6c5d6a5ecc Move scanners to be instance variable.
Add MP support (threading/process) for scanning victims in chunks
2019-09-16 15:16:56 +03:00
Daniel Goldberg 7357c8c168 Iterate over ranges as chunks rather than discrete addresses 2019-09-16 15:16:56 +03:00
Daniel Goldberg 17dc764f37 Add support for MP in Windows PyInstaller 2019-09-16 15:16:56 +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
VakarisZ 91fe7c22a8 Removed comments that were used in testing 2019-09-13 16:50:12 +03:00
VakarisZ e0a38f3b19 Refactored gitignore to include gcp_keys directory but not it's contents 2019-09-13 16:40:43 +03:00
VakarisZ 9938ba9574 Implemented logs 2019-09-13 16:12:58 +03:00
VakarisZ a17305a324 More improvements on the configs 2019-09-11 17:35:41 +03:00
VakarisZ 994b6ed63d Improved exception throwing 2019-09-11 17:23:28 +03:00
Shay Nehmad 4d24d8432e Improved the Events modal 2019-09-11 17:19:23 +03:00
VakarisZ e6060b6729 Merge remote-tracking branch 'upstream/develop' into 420/blackbox 2019-09-11 13:56:50 +03:00
VakarisZ ae7c0000c6
Merge pull request #433 from VakarisZ/not_dying_fix
Bugfix for monkey not reporting being dead
2019-09-11 13:54:10 +03:00
VakarisZ 650ef12149 Bugfix for monkey not reporting being dead 2019-09-11 13:03:12 +03:00
VakarisZ 36b6752827 Refactored to run series of tests, improved configurations, file structure 2019-09-11 12:39:28 +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
Daniel Goldberg 02b7469d9e
Merge pull request #432 from guardicore/bugfix/aws_export_with_no_config
Bugfix/aws export with no config
2019-09-09 10:36:06 +03:00
Daniel Goldberg e010ea5b39 Fully explict path all the things 2019-09-09 10:23:10 +03:00
Shay Nehmad dc2686301c Fixed notification link and updated legend texts 2019-09-09 10:20:23 +03:00
Daniel Goldberg bf3ad35124 Move try catch to better handle multiple exporters 2019-09-09 09:25:46 +03:00
Daniel Goldberg 004cfa17f3 Bugfix, add AWS exporter only when running with AWS config. 2019-09-09 09:25:46 +03:00
Daniel Goldberg 72cae8624c Move AWS exporting to proper subfolder 2019-09-09 09:25:45 +03:00
VakarisZ 547103508f
Merge pull request #423 from gaochua/fix_shellshock
Enter lock in Shellshock exploit
2019-09-09 09:05:16 +03:00
Shay Nehmad f78e76bdee Renamed process_handle to process_info and removed bad comment 2019-09-07 18:49:59 +03:00
Anh T Nguyen 7b0bf71279 update 2019-09-07 07:14:11 +07:00
VakarisZ 0ee4445ca1 Added timeout to tests, added logs 2019-09-06 20:59:11 +03:00
Anh T Nguyen ee10ca9050 move try_lock to HostExploiter 2019-09-06 11:11:19 +07: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