Commit Graph

3361 Commits

Author SHA1 Message Date
VakarisZ 507bf43b9b Renamed monkey_island.cc.utils to monkey_island.cc.network_utils as it contains only networking related code 2020-05-20 11:24:35 +03:00
VakarisZ 0e54b78664 Changes that allow to avoid monkey exploitation redundancy: checking if island can see vulnerable port, checking if monkey was started on island and comparing depth vs maximum depth 2020-05-20 10:00:42 +03:00
VakarisZ 698a13960e Removed unnecessary UI warning about config change not working if monkeys already ran 2020-05-19 13:24:48 +03:00
VakarisZ 54ac059d5e Prototype changes that fix redundant exploitations, but break multiple iterations 2020-05-15 10:42:03 +03:00
VakarisZ 87e50d37f1 Small fixes: island reset added to telemetry performance test, fixed a bug on report generation test 2020-05-14 10:55:59 +03:00
VakarisZ a360e8514e Fixed a bug of multiple telemetry exports in a single island run. 2020-05-13 16:39:47 +03:00
Shay Nehmad 5dd6b40560
Merge pull request #647 from guardicore/feature/attack_create_user_fix
Smallfixes on persistance/create user attack technique
2020-05-13 15:41:13 +03:00
Shay Nehmad e15923103c
Merge pull request #646 from guardicore/635/scanned-servers-summary-section
Added a short summary sentence over each table in the security report
2020-05-13 15:39:56 +03:00
VakarisZ ee7051fdea Smallfixes on persistance/create user attack technique 2020-05-13 12:45:19 +03:00
VakarisZ 194210925c Merge branch 'zt_performance_fixes' into security_performance_fixes 2020-05-13 11:26:38 +03:00
VakarisZ cff92303e5 Merge remote-tracking branch 'upstream/develop' into zt_performance_fixes 2020-05-13 11:21:37 +03:00
VakarisZ a8e94a90f9 Added fixtures to skip tests failing due to mongoengine 2020-05-13 11:11:07 +03:00
VakarisZ 991cbec7ff Added cmd options to disable interaction with GCP and run quick performance tests. 2020-05-13 10:44:04 +03:00
VakarisZ 3d97cb3b61 Merge branch 'zt_performance_fixes' into security_performance_fixes
# Conflicts:
#	envs/monkey_zoo/blackbox/test_blackbox.py
#	monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsModal.js
2020-05-12 17:44:24 +03:00
VakarisZ 0e4242b15a Gitignore changed to ignore all "profiler_logs" dirs 2020-05-12 17:08:26 +03:00
VakarisZ ee6b122f01 Minor improvements 2020-05-12 15:45:51 +03:00
VakarisZ 2debe98052 Profiling decorator: added readme and profiler logs added to gitignore 2020-05-12 12:43:41 +03:00
Shay Nehmad 85b5a156fc Fixed code review comments - JS linting and readability 2020-05-12 10:16:04 +03:00
Shay Nehmad c1f52ee994 Added a short summary sentence over each table in the security report
Solves https://github.com/guardicore/monkey/issues/635
2020-05-11 22:36:38 +03:00
VakarisZ 9b350b8bf5 Minor fixes and improvements 2020-05-11 17:58:58 +03:00
VakarisZ 7663615a4f Merge branch 'monkey_telemetry_fabrication' into zt_performance_fixes 2020-05-11 17:01:18 +03:00
VakarisZ 3fcc9444e9
Merge pull request #632 from VakarisZ/monkey_telemetry_fabrication
Monkey telemetry fabrication and tests
2020-05-11 16:56:37 +03:00
Shay Nehmad c7004123c8
Merge pull request #644 from acepace/bugfix/remove_wmi_requirement_from_non_windows
Bugfix/remove wmi requirement from non windows
2020-05-11 16:56:12 +03:00
VakarisZ 67b7d0b769 Improved telemetry fabrication logging and failing if telemetry folders don't exist 2020-05-11 16:56:05 +03:00
Shay Nehmad e73c1d0612
Merge pull request #643 from guardicore/hotfix/fix-ui-build-problems
Hotfix/fix ui build problems
2020-05-11 16:44:32 +03:00
Shay Nehmad 6cf81304f8 Load NVM after installing in TravisCI script 2020-05-11 16:44:13 +03:00
VakarisZ 08f46a8ac9 Merge branch 'monkey_telemetry_fabrication' into zt_performance_fixes
# Conflicts:
#	envs/monkey_zoo/blackbox/test_blackbox.py
#	monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsModal.js
2020-05-11 16:42:53 +03:00
Shay Nehmad 3f83176f84 Fix syntax (and add comment for future travelers) 2020-05-11 16:39:28 +03:00
Shay Nehmad c1de9516a0 Update NPM dependency to latest 2020-05-11 16:34:57 +03:00
VakarisZ e189e96259 Improved the dir structure of telem parsing, other minor CR comments fixed 2020-05-11 16:32:18 +03:00
Shay Nehmad 23d7ef4d97 Update travis script to use npm ci as well 2020-05-11 16:16:58 +03:00
Ace Pace 1f11173545 Remove reg_utils, unused file.
Moved WMI imports to be gated behind win32 check.
Set wmi package to be installed only on win32 platform.

The mongo_utils and wmi_utils modules are only imported by the windows_info_collector which is only imported if we're on windows.
2020-05-11 14:35:24 +03:00
Ace Pace 735aac9c0d Remove pywin32 requirement, it's a subset requirement of wmi. 2020-05-11 14:35:19 +03:00
Shay Nehmad 69f978098c Trying to fight with NPM
And losing
2020-05-11 12:32:23 +03:00
VakarisZ f94098aca6 Merge remote-tracking branch 'upstream/develop' into security_performance_fixes
# Conflicts:
#	envs/monkey_zoo/blackbox/island_client/monkey_island_client.py
#	envs/monkey_zoo/blackbox/test_blackbox.py
#	monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/EventsModal.js
2020-05-11 10:10:27 +03:00
Shay Nehmad ca49eb72b3 Update node sass version 2020-05-11 08:57:58 +03:00
Shay Nehmad bb54d4f4b3 Merge branch 'develop' into hotfix/fix-ui-build-problems 2020-05-11 08:57:22 +03:00
Shay Nehmad fdfa57edae Fix import typo 2020-05-10 19:38:29 +03:00
Shay Nehmad f070517137
Merge pull request #642 from guardicore/bugfix/monkey_depth_fix
Fixed monkey ignoring depth restrictions
2020-05-10 15:53:40 +03:00
Shay Nehmad 07330ff2f5 Fix build problem
eslint and node incompatebility
2020-05-10 15:42:42 +03:00
Shay Nehmad bd18893089 Added depth logging for easier debugging down the line 2020-05-10 15:09:43 +03:00
VakarisZ 10d1e7dc0b Fixed monkey ignoring depth restrictions 2020-05-08 17:15:59 +03:00
VakarisZ 73832bd0cb Updated PERFORMANCE.conf to include all machines and a lot of segmentation tests 2020-05-07 17:12:48 +03:00
VakarisZ a98b348d24 Merge remote-tracking branch 'upstream/develop' into monkey_telemetry_fabrication
# Conflicts:
#	envs/monkey_zoo/blackbox/island_client/monkey_island_client.py
#	envs/monkey_zoo/blackbox/test_blackbox.py
2020-05-07 12:15:43 +03:00
VakarisZ 9aff40d974 Fake IP's don't get out of range, fixed typo in requirements and added logging to telem parsing 2020-05-07 11:20:08 +03:00
VakarisZ 571682fff9 Refactored ZT events sending and display on report to improve performance and UX 2020-05-06 16:52:50 +03:00
VakarisZ 4073e2f41f Fixed zero trust bug where all events had the same timestamp 2020-05-06 16:50:17 +03:00
Shay Nehmad d5021540ca
Merge pull request #636 from acepace/bugfix/random_pep
Bugfix/random pep
Thanks to @acepace
2020-05-06 12:38:09 +03:00
Ace Pace 115cb05031 Remove flake8 warnings on import not in start of module. Possible alternative is using __all__ but that may come with change in functionality. 2020-05-06 00:04:54 +03:00
Ace Pace 1de511b1ed Remove some more PEP8 2020-05-06 00:01:50 +03:00