Commit Graph

2749 Commits

Author SHA1 Message Date
Shay Nehmad 6f289915fc Made envs an enum 2020-01-21 16:19:10 +02:00
Shay Nehmad db5c0f4786 Changed get_monkey_env logic to return as soon as a results is found and added docs 2020-01-21 15:29:46 +02:00
Shay Nehmad ab330219d5 Using new style `super` calles 2020-01-21 15:27:41 +02:00
Shay Nehmad 2286571a72 Refactored process list collector 2020-01-20 17:12:12 +02:00
Shay Nehmad 04b7370575 Fixed bug in report generation, added lock release for exceptions in report generation 2020-01-20 17:11:30 +02:00
Shay Nehmad f8aff44e8b Changed dispatcher to use a list of processing functions to support multiple processing functions 2020-01-20 16:44:30 +02:00
Shay Nehmad 476c6e7a4b Deleted hostname old collection, moved to collector 2020-01-20 16:43:25 +02:00
Shay Nehmad d584890dca Added hostname collector + moved collector names to common file 2020-01-20 15:58:28 +02:00
Shay Nehmad 9978523672 Fixed configuration bug - didn't use the same instance of WormConfiguration 2020-01-20 15:58:06 +02:00
Shay Nehmad ed138de8c4 Deleted the old (unused) aws collector 2020-01-20 11:57:19 +02:00
Shay Nehmad 2a09d54ed1 Fixed dict bugs + server config 2020-01-19 21:45:31 +02:00
Shay Nehmad 6815433a85 Using the dispatcher instead of naming the functions one by one + optimize imports 2020-01-19 21:39:36 +02:00
Shay Nehmad 3496a78f6c Added generic collector processing functions, a dispatcher (name to function) with unit tests, and moved AWS to collector from regular sysinfo 2020-01-19 21:36:01 +02:00
Shay Nehmad 9583956683 Optimised imports and added some documentation 2020-01-19 18:14:59 +02:00
Shay Nehmad d52672f4d7 Added some documentation 2020-01-19 16:28:04 +02:00
Shay Nehmad 422fe6ff06 Added GCP instance as well 2020-01-19 16:22:28 +02:00
Shay Nehmad 26355540bd Update system_info_collectors_handler.py 2020-01-08 21:06:02 +02:00
Shay Nehmad 41fa1d3e3f Made collect an abstract method 2020-01-08 14:08:53 +02:00
Shay Nehmad a3d81a0086 Renamed PlannedShutdown to PlannedShutdownException 2020-01-08 14:00:12 +02:00
Shay Nehmad 875cf3318d Fixed circular import 2020-01-08 12:21:38 +02:00
Shay Nehmad 676d46307b Using the generic CloudInstance class to determine environment 2020-01-08 11:20:49 +02:00
Shay Nehmad b9d2614271 CR: Moved AWS classes to own package, create generic CloudInstance class 2020-01-08 11:09:52 +02:00
Shay Nehmad fdb54f6b8d Extracted function in EnvCollector for reuse in other parts of the Monkey 2020-01-05 16:23:22 +02:00
Shay Nehmad c0331f84ff Added system info collectors as plugins and the first plugin - EnvironmentCollector 2020-01-05 15:49:05 +02:00
Shay Nehmad 974e2205d1 Bugfix in error handling - func_name does not exist 2020-01-05 15:47:37 +02:00
Shay Nehmad 723b5b47a5 WIP - adding the environment collector as a plugin, still some work to do 2020-01-02 14:58:40 +02:00
Shay Nehmad 718291d573 Tested the AzureInstance class
Tested on Azure instance and non-cloud instace. Seems to work . Unit tests aren't relevant here
2020-01-02 12:16:48 +02:00
Shay Nehmad 81b44f0ebb WIP - created azure instance class 2020-01-01 17:01:06 +02:00
Shay Nehmad fb0fea6f6a Improved the monkey start function structure a bit, extracted to functions
Prep work for changing system info collection to modular system
2020-01-01 15:33:02 +02:00
Daniel Goldberg 56d601967b fix permissions on script 2019-12-29 12:38:15 +00:00
Shay Nehmad a98ea150b5
Merge pull request #518 from guardicore/hotfix/add-tls-version-to-powershell-script-http-pba
Added TLS version to powershell command.
2019-12-26 16:13:44 +02:00
Shay Nehmad 9ab80362de Added TLS version to powershell command. 2019-12-26 16:08:55 +02:00
Shay Nehmad 52eced33e2
Merge pull request #517 from guardicore/feature/515-add-curl-pba
Replaced ping with curl/wget and Invoke-WebRequest
2019-12-25 12:52:56 +02:00
Shay Nehmad 6e9ee4158d We chose HTTPS 2019-12-25 10:57:17 +02:00
Shay Nehmad ab57b5895e Replaced CreateProcessAsUser with CreateProcessWithLogonW to get over the "0xc0000142" error code and added -UseBasicParsing to get over the IE Engine inconfigured error
This will be heavily documented in a tweet sometime
2019-12-24 19:08:52 +02:00
Shay Nehmad c8a742674f Replaced ping with curl/wget and Invoke-WebRequest 2019-12-23 17:41:42 +02:00
VakarisZ 34c2ff6bb6
Merge pull request #496 from VakarisZ/mitre_updates
ATT&CK UI/UX improvements
2019-12-04 16:30:37 +02:00
VakarisZ 2cd6fc3bf1 Replaced "" to '' 2019-12-04 16:22:13 +02:00
VakarisZ 1fd5ff8773 Loading style changed according to other techniques, link in description now opens on a new tab 2019-12-04 16:01:15 +02:00
VakarisZ adba6f5258 Increased upper error limit for js on travis 2019-12-03 17:10:44 +02:00
VakarisZ 9dc8749550 "" to '' fixes for travis 2019-12-03 16:23:59 +02:00
VakarisZ ce0b15d801 Small ZT refactor 2019-12-03 16:07:11 +02:00
VakarisZ 087b102984 Merge remote-tracking branch 'upstream/develop' into mitre_updates
# Conflicts:
#	monkey/monkey_island/cc/ui/src/components/pages/ZeroTrustReportPage.js
2019-12-03 16:05:37 +02:00
VakarisZ d09eabaab0 Smaller ZT diagram on large screens 2019-12-03 15:43:02 +02:00
VakarisZ f6d50cde75 Minor list style improvements 2019-12-03 13:45:34 +02:00
VakarisZ a52c47f5a5 Ordered list according to technique type 2019-12-03 13:41:44 +02:00
VakarisZ 064a0b17e6 Report section set to full width, icons added 2019-12-03 12:58:57 +02:00
VakarisZ 6185dbfeab Added sliding ON/OFF button for list of techniques 2019-12-03 11:50:14 +02:00
VakarisZ a3cae51a6b CR improvements: /report/ redirect to /report/security, component renaming and other small fixes 2019-12-03 10:53:25 +02:00
Daniel Goldberg 10f1282b15
Merge pull request #497 from guardicore/hotfix/lower-refresh-intervals
Updated the refresh intervals to lower server load.
2019-12-02 17:50:26 +02:00