Commit Graph

2427 Commits

Author SHA1 Message Date
Shay Nehmad 3336956737 Added SHA-256 to monkey exec logs 2019-10-07 11:04:24 +03:00
Shay Nehmad 3174a97d3e Merge branch 'develop' into release/1.7 2019-10-07 10:39:47 +03:00
Shay Nehmad f45428186d Marked tunneling test as xfail until we figure out why it doesn't work 2019-10-07 10:39:40 +03:00
Shay Nehmad 59e3deb09e Added logs that write the test config 2019-10-07 10:39:11 +03:00
Shay Nehmad 34f73bd0a2
Merge pull request #419 from VakarisZ/telem_brief_improvement
Added ability to disable telemetry briefs for certain telemetries.
2019-10-07 10:34:35 +03:00
Shay Nehmad 1ddc9fb3ef Fixed conflict (newline) 2019-10-06 20:16:44 +03:00
Shay Nehmad 2dec2e6a70 Improved log parser logs 2019-10-06 19:59:40 +03:00
Shay Nehmad 3a8a1f446b Added logs to monkey island startup with hashes of executeables, for ease of deployment + debugging
Should ease the "wait which monkey am I running" issue a bit
2019-10-06 19:55:59 +03:00
Shay Nehmad cde256e4b9 Log parser shows error and warning amount 2019-10-06 15:20:01 +03:00
Shay Nehmad f7dacf0952 Lowered severity of AWS messages. 2019-10-06 15:16:35 +03:00
VakarisZ 3bf5f402f3
Merge pull request #456 from VakarisZ/build_windows_fix
Reverted accidental changes to build_windows.bat
2019-10-06 15:11:45 +03:00
VakarisZ 76a9e46a87 Removed accidental changes to file 2019-10-06 15:09:46 +03:00
Shay Nehmad 8e9102eb2b Formatting 2019-10-06 15:05:59 +03:00
Shay Nehmad 2afa38d8cf Update monkey version 2019-10-06 15:05:41 +03:00
Shay Nehmad dde2e1a7e4 Added some documentation and improved logging in Blackbox 2019-10-06 15:05:34 +03:00
Shay Nehmad b7d28cc86e Revert change to windows build script 2019-10-06 14:04:00 +03:00
Daniel Goldberg 4f0663ff49
Merge pull request #452 from guardicore/bugfix/pickling_exception
Bugfix for 451
2019-10-04 23:58:37 +03:00
Shay Nehmad 3b6714ef5b
Merge pull request #447 from guardicore/441/bugfix/slow-report-generation-with-plenty-of-machines
[WIP] 441/bugfix/slow report generation with plenty of machines
2019-10-03 18:50:11 +03:00
Shay Nehmad c937d5e6fb
Merge pull request #453 from guardicore/440/bugfix/new-user-not-deleted
440/bugfix/new user not deleted
2019-10-03 18:47:37 +03:00
Shay Nehmad 30f59c4f2b forgot to add return 2019-10-03 18:36:51 +03:00
Shay Nehmad 46868e9996 CR fixes 2019-10-03 18:35:51 +03:00
Shay Nehmad 90be53e920 Forgot to return the instance upon __enter__ call on LinuxNewUser 2019-10-03 16:58:32 +03:00
Shay Nehmad c7d3fd9fdc Moved runas to autonewuser class and deleted duplication from communicate_as_new_user 2019-10-03 16:53:11 +03:00
Shay Nehmad f97d2d8945
Merge pull request #449 from guardicore/440/bugfix/api-status-queries-trigger-multiple-report-generations
442/bugfix/api status queries trigger multiple report generations
2019-10-03 15:53:34 +03:00
VakarisZ 71103ba059
Merge pull request #421 from guardicore/420/blackbox
Automated BlackBox tests
2019-10-03 15:44:59 +03:00
VakarisZ 3a02dd97e1 Removed unused package requirement 2019-10-03 15:43:18 +03:00
Shay Nehmad c4d53d14c6 Fixed linuxnewuser logger and added some logs to windowsnewuser for symmetry. 2019-10-03 15:29:23 +03:00
Shay Nehmad 44a1f70da9 Fixed circular imports 2019-10-03 15:20:50 +03:00
Shay Nehmad 1ffdc7528f Added some doc, and moved separated classes to files. 2019-10-03 15:14:57 +03:00
Shay Nehmad 129fd7d2de Not using new_user.username as it causes exception NoneType 2019-10-03 15:08:55 +03:00
Daniel Goldberg 4cba1e9327 Bugfix. Make both OSes use MT and not MP to avoid pickling issues. 2019-10-03 15:06:18 +03:00
Shay Nehmad 6b315d96c0 Fixed NotImplemented error in __init__ method 2019-10-03 15:06:17 +03:00
Shay Nehmad 321c93063e Refactored new user in linux to AutoNewLinuxUser and created AutoNewUser ABC 2019-10-03 14:58:55 +03:00
Shay Nehmad 3f5272b83b Changed adduser to useradd for compatibility 2019-10-03 14:21:19 +03:00
Shay Nehmad 16f8c7841e Changed to similar levels of abstracion in user creation and deletion + not async 2019-10-03 12:25:26 +03:00
Shay Nehmad 04e1817931 Added debug log with the deletion commands 2019-10-03 12:05:15 +03:00
Shay Nehmad f5aeb0a38e Moved win32event to its correct location
Cause exception on Linux
2019-10-03 12:02:14 +03:00
Shay Nehmad 9dc1607754 Added user deactivation as another "security" layer for the user deletion in windows 2019-10-03 11:36:47 +03:00
VakarisZ 3ee5bdb2a3 Merge remote-tracking branch 'upstream/develop' into 420/blackbox 2019-10-03 10:08:35 +03:00
VakarisZ b58055d21b Fixed intentional bug, used for testing 2019-10-03 10:08:07 +03:00
Shay Nehmad 2cabcb6bd1 Formatting fix 2019-10-02 17:58:32 +03:00
Shay Nehmad 70daf4bfbf Fixed label cache logic and added to UTs 2019-10-02 17:53:43 +03:00
Shay Nehmad 063a136048 Removed TODO - seems like an edge case that won't reproduce for clients. 2019-10-02 16:48:02 +03:00
Shay Nehmad b14fd4687c Removed debug logs and made all locks private to the module 2019-10-02 16:39:59 +03:00
Shay Nehmad 61a81c2da4 Created the report generation sync module and now using it exclusivly to create reports.
Almost all debug logs should probably be deleted once testing is done
2019-10-02 16:31:31 +03:00
Daniel Goldberg c767250760
Merge pull request #450 from VakarisZ/T1078_removal
Bugfix unused attack technique and bad import of is_windows_os
2019-10-02 16:19:10 +03:00
Shay Nehmad 35befae6e0 Revert network_scanner fix 2019-10-02 14:24:01 +03:00
VakarisZ 84830015fd Fixed bad is_windows_os import 2019-10-02 14:00:49 +03:00
VakarisZ f600a0b2c9 Removed unused attack technique from schema 2019-10-02 13:59:06 +03:00
Shay Nehmad f5d7850802 Bad import -_- 2019-10-02 13:21:55 +03:00