Commit Graph

2167 Commits

Author SHA1 Message Date
snyk-bot 2f0b777533 fix: monkey/monkey_island/cc/ui/package.json, monkey/monkey_island/cc/ui/package-lock.json & monkey/monkey_island/cc/ui/.snyk to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NPM-575435


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-07-14 15:09:34 +00:00
Shreya 5bbef83b83 Linux: delete `TEMP_CRON` file even if command fails 2020-07-13 20:13:47 +05:30
Shreya c38875d71e Code review changes
- windows commands readibility
- f-strings
- directory structure
2020-07-13 20:08:04 +05:30
Shreya 9c0c298631 Mongo search logic changes + used/scanned/unscanned message changes 2020-07-13 20:08:04 +05:30
Shreya 7588cd8eea Add T1053 (windows PBA) 2020-07-13 20:08:04 +05:30
Shreya 73c4070f54 Add T1168 (linux PBA) 2020-07-13 20:05:49 +05:30
Shreya 37b4717eb1 Add techniques' info to attack_schema 2020-07-13 20:03:32 +05:30
Shreya ec26baae8f Add PBA T1166 2020-07-13 19:40:08 +05:30
Shreya e6b3613db2 Check status using mongo 2020-07-13 19:20:38 +05:30
Shreya d9d8c813aa Code review + other tiny changes 2020-07-13 19:11:13 +05:30
Shreya a74f2a5ead Add PBA T1154 2020-07-13 19:11:13 +05:30
Shreya Malviya 8c255ece06
Merge pull request #693 from shreyamalviya/mongo-search-T1136
Use mongo search for T1136's report data
2020-07-13 19:06:35 +05:30
Shay Nehmad d501bf3b00 Add six minimum requirement to explicitly resolve conflict
Added pip freeze to travis to ease debugging
2020-07-08 16:43:52 +03:00
Shay Nehmad 45035cc3c3 Unlock pyinstaller
On systems where you have one venv for agent and server, the pyinstaller version is our own build from the GC repo
2020-07-08 16:04:32 +03:00
Shay Nehmad 9ce2c5eb83 Sort and lock pip requirement files 2020-07-08 15:56:48 +03:00
Shreya e12374b7d3 Add mongo query to count successful PBA attempts 2020-07-04 15:29:25 +05:30
VakarisZ 6a824efab3 Finished AdvancedMultiSelect component 2020-07-03 17:41:41 +03:00
VakarisZ 989020c5ba Removed old react-jsonshema-form npm package 2020-07-03 17:38:43 +03:00
VakarisZ 67eeb2b670 Grouped stylesheets into components and pages 2020-07-03 17:38:02 +03:00
Shreya 8c18731b45 Use mongo search for T1136's report data 2020-07-03 15:56:40 +05:30
VakarisZ fda600eb60 Finished PBA refactoring 2020-06-30 18:10:48 +03:00
VakarisZ aad9e5069e PBA file refactoring almost working 2020-06-30 16:07:43 +03:00
VakarisZ 6cc4c85132
Merge pull request #688 from guardicore/password_setup
Password setup and bootstrap v4 migration
2020-06-25 11:52:33 +03:00
VakarisZ 8a31ff21b8 Disabled no-unescaped-entities, because it throws warnings on ' usage in text, because typographically it's not an apostrophe 2020-06-25 11:33:28 +03:00
VakarisZ edfbf370c6 Merge remote-tracking branch 'upstream/password_setup' into password_setup 2020-06-25 11:01:34 +03:00
VakarisZ 4e9a749c7d Couple of PEP8 issues related to password creation files fixed 2020-06-25 11:01:20 +03:00
Shay Nehmad f34a607f15
Merge pull request #692 from guardicore/mongo_requirement_fix
Changed minimum mongodb version required
2020-06-25 10:59:17 +03:00
Shay Nehmad 4c6f2efe18 Merge branch 'password_setup' of https://github.com/guardicore/monkey into password_setup 2020-06-25 10:56:06 +03:00
Shay Nehmad 27c50fdc55 Fix some whitespace issues in the events modal 2020-06-25 10:54:59 +03:00
VakarisZ 938a5e225c Merge remote-tracking branch 'upstream/password_setup' into password_setup 2020-06-25 10:53:12 +03:00
VakarisZ d22e784aaa Redundant failed login attempts with no auth credentials fixed 2020-06-25 10:52:56 +03:00
Shay Nehmad da58ea7250 Adding some server logs re: registration
Will possibly help debug client issues with registration in future.
2020-06-25 10:29:37 +03:00
VakarisZ e58cdee246 Small typo in register page, submit on enter fixed in auth pages 2020-06-25 10:26:59 +03:00
VakarisZ 7462c1c701 Merge remote-tracking branch 'upstream/develop' into password_setup
# Conflicts:
#	.travis.yml
2020-06-25 10:04:04 +03:00
VakarisZ 468bd7db2c UI fixes for registration and login pages and zero trust report 2020-06-25 10:00:43 +03:00
Shreya a11852ce3c Pass build
Pass build
2020-06-24 16:47:46 +05:30
Shreya 971a102eb6 Change order of techniques in ATT&CK matrix
T1158: Hidden files before T1504: Powershell profile
2020-06-24 15:22:34 +05:30
Shreya 6b75092823 Small fixes after rebasing 2020-06-24 15:15:45 +05:30
Shreya a91e65e49a Use mongo search for report data 2020-06-24 14:37:42 +05:30
Shreya 37d37b6f9f Fix status being sent in report data 2020-06-24 14:37:42 +05:30
Shreya 3819041632 PBA command modifications 2020-06-24 14:37:42 +05:30
Shreya 2dbf798c4a Linux: fix hidden file/folder deletion issue 2020-06-24 14:37:42 +05:30
Shreya d0dc305a33 Remove detection time for AV software 2020-06-24 14:37:42 +05:30
Shreya a98f321ed0 Windows: change location of hidden file/folder + add system attribute 2020-06-24 14:37:42 +05:30
Shreya 87bfe41c50 Linux: change location of hidden file/folder 2020-06-24 14:37:42 +05:30
Shreya eea5352084 Little changes based on review 2020-06-24 14:36:03 +05:30
Shreya 6b4e90e6d0 PBA tweaks: Windows 2020-06-24 14:36:03 +05:30
Shreya 80c8a42bd0 Mentioning 'type' doesn't seem necessary 2020-06-24 14:36:03 +05:30
Shreya 0f6fcc799c Add report components, link to matrix 2020-06-24 14:36:03 +05:30
Shreya 49350aa303 PBA changes: Windows 2020-06-24 14:33:08 +05:30
Shreya 15ac77056a PBA changes: Linux 2020-06-24 14:33:08 +05:30
Shreya 2b9d54408a Tweak PBA logic
Don't need to use winAPI to delete file
2020-06-24 14:33:08 +05:30
Shreya 1d952a4781 PBA stuff 2020-06-24 14:33:08 +05:30
Shreya 45c5546f17 Add "Hidden files" PBA feature
TODO: winAPI
2020-06-24 14:33:08 +05:30
Shreya Malviya 08727305d8
Merge pull request #687 from shreyamalviya/T1156
Add T1156 and T1504 attack techniques (shell startup file modifications)
2020-06-24 14:13:09 +05:30
Shreya 53e6f893c6 Disabled prop-types warning in eslint
(Accidentally force-pushed over the previous commit changing this)
2020-06-24 13:58:52 +05:30
Shreya f21dbde27d Extend windows PBA for all users on system 2020-06-24 13:37:08 +05:30
Shreya 7efeff3ff0 Modify linux PBA so it doesn't give errors when running on windows 2020-06-24 13:25:54 +05:30
Shreya 6f6bfca9f9 Use mongo search for report data
(For linux, shows only bash startup files in ATT&CK report)
2020-06-24 13:25:54 +05:30
Shreya 7459105bbc Extend linux PBA for all users on system
TODO: ATT&CK report stuff (mongo search + show only bash file modification info)
TODO: Windows
2020-06-24 13:25:54 +05:30
Shreya 8d2aaac65f Fix + make linux PBA commands cleaner 2020-06-24 13:25:54 +05:30
Shreya e5f92d29b5 Add startup files for fish, zsh, dash, ksh, sh, csh, tcsh 2020-06-24 13:25:54 +05:30
Shreya 0c60ad16ae Code design changes 2020-06-24 13:25:54 +05:30
Shreya 60207e3a79 Change file locations 2020-06-24 13:25:54 +05:30
Shreya 6d98f95d4c Make used/scanned/unscanned messages descriptive 2020-06-24 13:25:54 +05:30
Shreya 58a0a67244 Add T1504 to config_schema 2020-06-24 13:25:54 +05:30
Shreya ef6bb52302 Remove Privilege escalation/T1504 in attack_schema
Shows it twice in ATT&CK matrix in the configuration,
but shows it only once in the ATT&CK matrix in the report section.
2020-06-24 13:25:54 +05:30
Shreya 8bb5096add Add T1504 report data + modify T1156 report data 2020-06-24 13:25:54 +05:30
Shreya 1b040dc874 Add windows PBA 2020-06-24 13:25:54 +05:30
Shreya 3fe4dd679b Pass empty string to linux_cmds if OS is windows 2020-06-24 13:25:54 +05:30
Shreya dfa34e602f Started T1504 implementation
Add to `attack_schema.py`, `attack_report.py`
Add report `T1504.js`
2020-06-24 13:25:54 +05:30
Shreya e2d35ca267 Simpler bash commands for linux PBA 2020-06-24 13:25:54 +05:30
Shreya a9c763cd9c Add linux PBA + report components 2020-06-24 13:25:49 +05:30
VakarisZ 9ca2507f34 Changed minimum mongodb version required in main 2020-06-23 16:36:37 +03:00
VakarisZ 37f356a6e2 Run monkey page improvement, small style and attack report fixes 2020-06-23 16:31:00 +03:00
VakarisZ 44c8ffda60 Missing svg image added, registration error overlap fixed 2020-06-23 15:38:25 +03:00
VakarisZ 09b8239fdb More quote fixes, increased JS warnings to 500 2020-06-23 12:46:11 +03:00
VakarisZ 4c8c423b9d Linting fixes 2020-06-23 12:24:36 +03:00
VakarisZ bd537faa11 Bugfix: PreviewPane.js log download button no longer enabled when no log is present 2020-06-23 12:23:30 +03:00
VakarisZ 0be1b3a908 Merge remote-tracking branch 'upstream/develop' into password_setup 2020-06-23 11:11:22 +03:00
VakarisZ 6f6cf76977 UI bugfix: non-existent PTH map include 2020-06-23 10:34:18 +03:00
VakarisZ be51de2756 JS minor quotes refactor 2020-06-23 10:32:47 +03:00
VakarisZ 9b5029a05c Lowered the amount of python lint warnings with small style improvements 2020-06-22 16:59:51 +03:00
VakarisZ 90b05a184b Small improvements: aws test removed and path parsing changed to use path library in environment_config.py 2020-06-22 15:17:01 +03:00
VakarisZ 79bf05d320 Rolled back merge changes that broke map page UI 2020-06-22 12:16:23 +03:00
VakarisZ 78cf0b5791 Refactored try_add_user and needs_registration to avoid code duplication 2020-06-22 11:59:02 +03:00
VakarisZ 8c428aa44d Added registration to aws, small typo fixes 2020-06-22 11:57:48 +03:00
VakarisZ 85275f6141 Bugfix: bad import path fix 2020-06-22 10:17:55 +03:00
VakarisZ a093cb0d6f Bugfix: Include statement of absent PTH map removed 2020-06-22 10:17:22 +03:00
VakarisZ 4a082fb390 Merge remote-tracking branch 'upstream/develop' into password_setup
# Conflicts:
#	monkey/monkey_island/cc/resources/netmap.py
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js
#	monkey/monkey_island/cc/ui/src/components/report-components/security/ScannedServers.js
2020-06-22 09:56:01 +03:00
VakarisZ 8af4246f66 Reverted server_config.json that contains test credentials 2020-06-19 16:08:33 +03:00
VakarisZ 1cc5310713 Changed login page to match the style of registration page 2020-06-19 16:07:57 +03:00
VakarisZ a1da0e3239 Migration to bootstrap v4 changes 2020-06-19 15:35:11 +03:00
VakarisZ ce5e415788 Finished "no password" environment option 2020-06-16 13:45:10 +03:00
VakarisZ a5b1ac22f9 Removed server_config from tracking 2020-06-16 11:04:43 +03:00
VakarisZ 947f9d244a Reverted accidental test credential commit 2020-06-16 10:42:50 +03:00
VakarisZ 5996569607 Fixed registration bugs: empty password gets registered, credentials not being sent 2020-06-15 11:33:56 +03:00
VakarisZ ac83d7fc48 Migration to bootstrap v4 started, Registration UI finished 2020-06-15 11:04:25 +03:00
VakarisZ 1b98080102 Refactored side navigation into a separate component 2020-06-12 15:56:42 +03:00
VakarisZ b419ed5e65 Password setup - password environment by default 2020-06-12 11:50:45 +03:00
VakarisZ 889bf359e1 Password setup - backend fixes 2020-06-12 11:50:07 +03:00
VakarisZ c8cf7d52a4 Backend refactoring: server environment and authentication 2020-06-11 18:20:32 +03:00
VakarisZ 18dec0c652 Password setup: Backed environment changes and unit tests 2020-06-10 11:52:55 +03:00
VakarisZ 0ec5259540
Merge pull request #678 from guardicore/feature/pypykatz
Mimikatz dll to pypykatz refactor
2020-06-08 15:21:49 +03:00
VakarisZ 7e9251272f
Merge pull request #671 from guardicore/feature/edge_refactoring
Edge refactoring to DAL and minor PIP improvements
2020-06-08 15:17:19 +03:00
VakarisZ 966599a038 Removed pass the hash map UI component 2020-06-08 15:12:40 +03:00
VakarisZ 5669ae652c Bugfix - username with "." character fix 2020-06-08 14:24:16 +03:00
VakarisZ 3228bcf2c7 CR comments fixed: renames and readability improvements 2020-06-08 14:23:39 +03:00
VakarisZ 4c8319669f Map jiggle small-fix: wait less for map to stop moving 2020-06-08 10:31:31 +03:00
VakarisZ fb59531969 Refactored EdgeService into a boundary object. 2020-06-08 10:29:04 +03:00
VakarisZ 0dc864baa5 Fixed a bug that added empty credentials to configuration 2020-06-05 15:59:31 +03:00
VakarisZ 6703e32ff2 UI bugs, related to PTH map hiding, fixed. 2020-06-05 14:54:04 +03:00
VakarisZ c03c70ba28 Removed infrastructure related to mimikatz binary: deployment scripts and docs updated 2020-06-05 14:40:58 +03:00
VakarisZ 0be709958c Improved scanned servers overview by inputting space character code 2020-06-05 12:09:28 +03:00
VakarisZ f5b37044fd Removed PTH map 2020-06-05 09:36:53 +03:00
VakarisZ 895db8b446 Fixed bugs and finished up pypykatz integration 2020-06-05 09:36:35 +03:00
VakarisZ 192ac67159 Fixed typo in ScannedServers.js 2020-06-05 09:27:09 +03:00
Shay Nehmad 9ea6718d37 Moved a function into common, since Monkey doesn't have ring as a dependency
Also renamed it and added UTs
2020-06-03 16:18:19 +03:00
Shay Nehmad ca87ff1330 Merge branch 'develop' into release/1.8.2 2020-06-03 15:55:29 +03:00
VakarisZ 90b47a4bb6 Migrated to pypykatz on monkey 2020-06-03 10:02:31 +03:00
VakarisZ a160e3396b Small PEP improvements all around, unused method deleted on displayed_edge.py 2020-05-29 11:42:27 +03:00
VakarisZ 0a52158a61 Merge remote-tracking branch 'upstream/develop' into feature/edge_and_config_refactoring 2020-05-29 11:08:00 +03:00
VakarisZ 092482ad87 Refactored edge from mongo queries to DAL 2020-05-29 11:07:25 +03:00
ophirharpazg a07ec9251c formatting of the binaries path 2020-05-29 00:30:03 +03:00
ophirharpazg 02bdf4bb11 Added text to the missing-binaries modal 2020-05-27 21:31:32 +03:00
ophirharpazg a4d4f629e0 Raise a modal indicating that Monkey binaries are missing. 2020-05-27 19:32:09 +03:00
ophirharpazg e1229baa61 The Missing Binaries modal works but in a non-elegant way 2020-05-27 17:10:36 +03:00
Shay Nehmad 090beb6077 We forgot to call onClose for the button 2020-05-27 10:12:32 +03:00
VakarisZ 50dcfa3f73 Merge remote-tracking branch 'upstream/develop' into release/1.8.2 2020-05-26 14:37:01 +03:00
VakarisZ ffda4e858c
Merge pull request #664 from guardicore/feature/smb_vulnerable_port_fix
SMB vulnerable port fix
2020-05-26 14:33:00 +03:00
VakarisZ 8cf9c9f8f4 Explicitly set vulnerable port to None 2020-05-26 14:17:21 +03:00
VakarisZ 1ed49c6eb0 Fixed smb exploiter bug where vulnerable port was not passed 2020-05-26 11:50:01 +03:00
Shay Nehmad 5ea4a90223 Bump path version 2020-05-26 10:52:41 +03:00
VakarisZ 43a94b626d Merge remote-tracking branch 'upstream/develop' into ui_performance_fixes 2020-05-25 18:36:47 +03:00
VakarisZ 3405f29f15 Added small readability changes 2020-05-25 18:25:15 +03:00
VakarisZ 1e812b987a Revert "Map jitter fix"
This reverts commit 30be2715
2020-05-25 10:05:19 +03:00
VakarisZ 1ce2037557 Merge remote-tracking branch 'upstream/feature/exploitation_redundancy_fix' into exploitation_redundancy_fix 2020-05-25 09:53:56 +03:00
Shay Nehmad 2cf9c9c0fe Fix minor linter issues 2020-05-24 13:55:11 +03:00
VakarisZ 9864720fb5 Get node label performance improvement and small BB test changes 2020-05-22 21:22:29 +03:00
VakarisZ bd0b1c1d34 Refactored monkey local config keys into a constant 2020-05-22 10:53:15 +03:00
VakarisZ 04b00b5d88 Revert "UI crash due to multiple redundant telemetry requests fix"
This reverts commit 598872af
2020-05-22 09:42:21 +03:00
VakarisZ c75190eede Map jitter fix 2020-05-22 09:16:43 +03:00
VakarisZ c730605198 UI crash due to multiple redundant telemetry requests fix 2020-05-22 09:16:32 +03:00
VakarisZ bda9b04393 Added "build_command_explicitly()" UT and improved it a bit 2020-05-21 19:58:02 +03:00
VakarisZ 436472b578 Added parameter logging on monkey start, fixed bug where dropper launched monkey inproperly 2020-05-21 19:23:23 +03:00
VakarisZ 30be271598 Map jitter fix 2020-05-21 17:30:59 +03:00
VakarisZ 598872afee UI crash due to multiple redundant telemetry requests fix 2020-05-21 15:34:57 +03:00
VakarisZ f941c9c5fc Added port not null check on island resource 2020-05-21 10:57:18 +03:00
VakarisZ ca1ee90385 Hadoop bugfix, minor readability improvement 2020-05-20 17:20:07 +03:00
VakarisZ 5def120942 Merge remote-tracking branch 'upstream/develop' into exploitation_redundancy_fix 2020-05-20 15:55:50 +03:00
VakarisZ 2cbe9c1164 Merge branch 'zt_performance_fixes' into exploitation_redundancy_fix 2020-05-20 15:54:27 +03:00
VakarisZ 44cb87a2c9 Minor js readability improvement 2020-05-20 15:03:02 +03:00
VakarisZ eb226f070f Merge remote-tracking branch 'upstream/develop' into zt_performance_fixes 2020-05-20 13:25:48 +03:00
VakarisZ ab025d9074 Merge remote-tracking branch 'upstream/develop' into zt_performance_fixes 2020-05-20 13:14:53 +03:00
VakarisZ 52767897bf Removed the mechanism of adding exploited machines to blocked machine list. This mechanism was good way to assess performance improvement, but it sacrificed coverage 2020-05-20 12:28:14 +03:00
VakarisZ c817415ef3 Fixed "is monkey running on island" check by splitting port from ip string 2020-05-20 11:25:24 +03:00
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 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
VakarisZ ee7051fdea Smallfixes on persistance/create user attack technique 2020-05-13 12:45:19 +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 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 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 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 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
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
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 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 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
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
Ace Pace 2f4904d3a3 Merge branch 'develop' into bugfix/random_pep 2020-05-05 23:57:34 +03:00
Ace Pace 4c27ea4f7b Fix a few more. Re set the number of flake warnings to be higher :( 2020-05-05 23:47:41 +03:00
VakarisZ 8a385eca93 Style fix for modal window and report tabs 2020-05-04 16:47:17 +03:00
VakarisZ f3ec436f78
Merge pull request #582 from shreyamalviya/map-create-user-pba-to-matrix
Map create user PBA to ATT&CK matrix
2020-05-04 12:10:44 +03:00
VakarisZ 9470ba9729
Merge pull request #634 from acepace/feature/UI_games
Feature/ui size improvements
2020-05-04 12:04:08 +03:00
Shreya 3bfdcb9e9a Undo line deletion
Forgot to add it back on undoing previous changes
2020-05-04 14:26:20 +05:30
Shreya 319c1c27bb Remove redundant code (which was mapping matrix to PBA config) 2020-05-02 00:35:20 +05:30
VakarisZ cdf65ae097 Post breach typo in configuration_schema fix 2020-05-02 00:35:20 +05:30
Shreya 749c37f647 Add check for "Communicate as new user" PBA in T1136 2020-05-02 00:35:20 +05:30
Shreya e164f53ed4 Remove unwanted code (for mapping config to matrix [T1136]) 2020-05-02 00:35:20 +05:30
Shreya 0394b8404a Tiny changes according to review 2020-05-02 00:35:20 +05:30
Shreya 7a3f747a10 Map "Back door user" PBA with "Create account" attack technique
"Create Account" turned off in the ATT&CK matrix config ->
"Back door user" turns off in the PBA config section
... and vice-versa
2020-05-02 00:35:20 +05:30
Shreya 141abfe708 Add report UI
T1136: Create account
2020-05-02 00:35:20 +05:30
Shreya 943541a748 Link attack report to send to client
T1136: Create account
2020-05-02 00:35:19 +05:30
Shreya 41754cb122 Add technique report
T1136: Create account
2020-05-02 00:35:19 +05:30
Shreya a31fffa348 Add attack technique description
T1136: Create account
2020-05-02 00:35:19 +05:30
Ace Pace fc46eecb2d Turn errors into warnings. 2020-05-01 15:32:01 +03:00
Ace Pace 24dc84ced2 Bring back eslint errors, raise travisCI threshold :( 2020-05-01 15:06:49 +03:00
Ace Pace d7c0b7da90 Revert hiding error and just display it instead 2020-05-01 15:05:17 +03:00
Ace Pace e508540ace Fix really random linting errors from flake8 2020-05-01 13:00:54 +03:00
Ace Pace d403ea9ed2 Hide more errors :( 2020-05-01 12:19:18 +03:00
Ace Pace 95303309e5 Balance by fixing a bunch of small eslint and general code hint warnings 2020-05-01 11:55:25 +03:00
Ace Pace 32515e0990 Hide a lot of eslint warnings. 2020-05-01 11:46:19 +03:00
VakarisZ 7a13e71588 More simple ZT performance improvements and profiler decorator bugfix 2020-04-30 17:45:16 +03:00
VakarisZ 9be8d4af1b Fixed log paths for profiling decorator 2020-04-30 16:28:46 +03:00
VakarisZ 4dcae80a64 Improved ZT report generation performance. 2020-04-30 16:17:54 +03:00
VakarisZ 8603d18879 Added a profiling decorator, that can be used on methods to get their performance info 2020-04-30 16:14:31 +03:00
Ace Pace b97478a019 Remove unused icons 2020-04-30 12:41:54 +03:00
Ace Pace 83c2ba7568 Change PTH icons to 8bit to save size. 2020-04-30 12:41:23 +03:00
Ace Pace 345d6d0a8f Update css-loader 2020-04-30 12:37:57 +03:00
Ace Pace 375bb7032a Move to only using modern imports 2020-04-30 12:26:22 +03:00
Ace Pace 5101c50d95 Move font display tag to HTML query, to avoid questions on where to stick it properly. :( 2020-04-30 01:07:33 +03:00
Ace Pace 92504f8ad4 Switch DNS prefetch to preconnect.
Add font-display tag to ensure text is displayed while font is loaded
2020-04-30 01:02:59 +03:00
Ace Pace 8d0ae1c528 Merge font requests to save time 2020-04-30 00:58:36 +03:00
Ace Pace 2f7eb05a33 Add DNS prefetch for google fonts and bootstrap CSS to index.html 2020-04-30 00:58:36 +03:00
Ace Pace 572b90df64 Remove unused imports 2020-04-30 00:52:40 +03:00
Ace Pace 116de3e353 Actually use the eslint plugins we install. Use react plugin for eslint 2020-04-30 00:52:40 +03:00
Ace Pace a645abd498 Updated babel, updated polyfill definitions to include only modern browsers.
Webpack size is now 2.39MiB
2020-04-29 23:43:19 +03:00
Ace Pace c7a94beb0d Revert lodash minimizer due to bugs that I didn't want to debug. 2020-04-29 23:42:09 +03:00
Ace Pace d5b659c3cd Change to deep linking forteawesome images. This is because webpack doesn't seem to minimize the imports properly.
Saves 80kb
2020-04-29 18:48:29 +03:00
Ace Pace 564f9a2cc6 Add lodash minimizer. Saves roughly 50kib but for free. 2020-04-29 18:36:10 +03:00
Shay Nehmad d03ee3d245 Update patch version
Bugfix change to master == new patch ㊗️
2020-04-28 16:54:19 +03:00
VakarisZ 1afbe3dea5 Improved ZT event aggregation performance 2020-04-28 16:50:01 +03:00
Shay Nehmad e321220a62 Python 3 hashing requires bytes, not string
Also moved to standard lib implementation with hashlib instead of Crypto, and added UT to the problematic function
2020-04-28 16:42:24 +03:00
Shay Nehmad b5668c4dbc Lock WMI version to one that works 2020-04-27 15:05:21 +03:00
VakarisZ baa1598a1b Added progress bars, optimized imports, fixed bug that happened on big numbers of telems 2020-04-24 13:19:07 +03:00
VakarisZ 91d68113f9 Refactored root endpoint and added service hook for things that should happen after exploitation is done 2020-04-23 19:46:05 +03:00
VakarisZ 78b0186613 Finished telemetry fabrication 2020-04-23 19:44:24 +03:00
VakarisZ b51bef1a37 Added our fork of mitre cti 2020-04-23 17:05:22 +03:00
VakarisZ 636c8f6d3f Added the ability to forge more intricate setup telemetries + small bugfixes, refactors and improvements 2020-04-20 17:49:24 +03:00
Shay Nehmad ca505f4d86 Trying to disable UPX to make it work on 2012 R2 2020-04-20 09:37:53 +03:00
Shay Nehmad fb345845fe Added pyinstaller hook for stix2 module 2020-04-16 23:22:58 +03:00
Shay Nehmad 7ef3c3b0a8 Remove the stix2 internals reference
v20
2020-04-16 22:32:05 +03:00
Shay Nehmad cb9d4936dd Default value for positional argument
Since this is the enrty point for pyinstaller island
2020-04-16 19:38:05 +03:00
Shay Nehmad ef3a71afe5 Added the attack_data folder to the datas 2020-04-16 19:09:42 +03:00
Shay Nehmad d50c339629 Fix bad inport path 2020-04-16 17:31:40 +03:00
VakarisZ 1ccbb3d989 Finished fabricated monkey telemetry sending 2020-04-16 16:39:10 +03:00
Shay Nehmad b8fd7c9786 Added hidden import and upx exclude 2020-04-16 15:13:17 +03:00
VakarisZ a400da276a Added ability to export test telemetries to directory 2020-04-15 17:17:03 +03:00
VakarisZ 7d397da245 Added telemetry collection 2020-04-15 15:42:37 +03:00
VakarisZ 892caadcd0 VSFTPD byte string mixup fixes 2020-04-14 10:23:01 +03:00
Shay Nehmad 9aaa84ee48
Merge pull request #614 from acepace/bugfix/leak_info_when_sending_telem
Brute force fix for #613
2020-04-13 16:13:15 +03:00
Ace Pace c00958ddcd Renamed display to log 2020-04-12 19:58:20 +03:00
Shay Nehmad 592fd887b8 No need to qualify python since we sourced `activate`
Added which python it to the debug prints to compensate
2020-04-12 19:26:26 +03:00
Shay Nehmad 9687b22b2b Add some safety check for the .rnd file nonsense
I added more comments, so it must be fine 🔥 🐶 🔥
2020-04-12 19:24:21 +03:00
Ace Pace fcfbef995b Brute force fix for #613 2020-04-12 15:02:28 +03:00
Shay Nehmad 9d889aada8 Fix create cert paths in postinst and added debug messages 2020-04-11 18:29:19 +03:00
Shay Nehmad f1de8e8c76 openssl needs to be able to read the .rnd file 2020-04-11 12:45:12 +03:00
Shay Nehmad b95646c300 Added a comment which explains the new dd 2020-04-11 01:12:27 +03:00
Shay Nehmad 305d15cc6a Added random seed data to .rnd for openssl to work
This is a known issue with openssl and once ubuntu 18 gets a new version we can delete this
2020-04-11 01:11:01 +03:00
Shay Nehmad 90f9f69e30 Added some more output to the postinst script 2020-04-10 23:11:50 +03:00
Shay Nehmad 8907a01021 Merge branch 'release/1.8.0' into bugfix/1.8.0-fix-deb-python-version 2020-04-10 18:00:17 +03:00
VakarisZ e78a8d4a83 Minor style changes 2020-04-10 17:48:50 +03:00
VakarisZ f92211128a UI remote monkey run button fix 2020-04-10 17:48:44 +03:00
Shay Nehmad bd2edee49a Moved comments. For some reason, dpkg-deb can't read them
moved to postinst
2020-04-10 16:47:55 +03:00
Shay Nehmad 41f4f3ffbb Trying to change to comments format, since it's messing with dpkg 2020-04-10 16:38:21 +03:00
Shay Nehmad 7488dea00e Fixed comment format 2020-04-10 16:14:35 +03:00
Shay Nehmad ef5694e055 Updating pip and added more messages to the postinstall script 2020-04-10 14:51:58 +03:00
Shay Nehmad 5c6b9c43b3 Added build-essential to deps, to install packages without precompiled whl
like netifaces
2020-04-10 14:45:25 +03:00
VakarisZ bbe8338f98 Merge remote-tracking branch 'upstream/develop' into develop 2020-04-10 14:35:01 +03:00
Shay Nehmad c72ed36b76 No need for bson package in requirements
Installed with pymongo in a maintained project
2020-04-09 18:50:10 +03:00
Shay Nehmad 7bab9a03d8 Updated python version to 3.7 2020-04-09 15:51:59 +03:00
VakarisZ 03c29c07fb Minor style changes 2020-04-08 18:22:12 +03:00
VakarisZ 347f63d09f UI remote monkey run button fix 2020-04-08 18:17:43 +03:00
VakarisZ 5748645734 Actual stix2 import bugfix 2020-04-08 16:38:30 +03:00
VakarisZ 90e655d242 Improved stix2 core import statement 2020-04-08 16:06:02 +03:00
VakarisZ a55812edbe Improved SSH exploiter to run on the background 2020-04-08 16:04:27 +03:00
VakarisZ 2c2af5451d SSH tunneling fix 2020-04-08 12:11:41 +03:00
VakarisZ a873525cc0 Added new icons 2020-04-08 12:10:38 +03:00
VakarisZ e95cf61b28 Removed cmd.exe prefix from command that's used on linux also 2020-04-06 10:19:52 +03:00
VakarisZ b89a23bc9a Added logging about which command was used to execute monkey in WebRCE framework 2020-04-06 10:19:16 +03:00
VakarisZ 2e21930417 Fixed bug where bootloader telem creates a second node after monkey finishes 2020-04-03 21:03:03 +03:00
VakarisZ 94b06f49bb Improved default monkey run commands to include cmd.exe /c prefix (this fixed elastic bug) 2020-04-03 17:48:18 +03:00
VakarisZ bf6a8384da
Merge pull request #600 from VakarisZ/linux_bootloader_hotfix
Bootlaoder reliability
2020-04-03 09:39:31 +03:00
VakarisZ cba2f232fc Changes code to only store the first bootloader telem instead of overriding it 2020-04-02 19:05:23 +03:00
VakarisZ 8a479145c6 Fixed database resetting bug and test typos 2020-04-01 12:15:31 +03:00
VakarisZ 483a3576d4 Fixed unit test that gets mitigations from API 2020-04-01 09:52:38 +03:00
VakarisZ f6782b72fa Merge branch 'enhancement/mitre-ui-review-fixes' of https://github.com/guardicore/monkey into enhancement/mitre-ui-review-fixes
 Conflicts:
	monkey/monkey_island/cc/main.py
2020-04-01 09:26:44 +03:00
VakarisZ 7adbbdd525 Backmerged and fixed a bug where mitigations got deleted on DB reset 2020-04-01 09:21:48 +03:00
VakarisZ bc166ef67d Merge remote-tracking branch 'upstream/develop' into enhancement/mitre-ui-review-fixes
# Conflicts:
#	monkey/monkey_island/cc/main.py
2020-04-01 09:20:55 +03:00
Shay Nehmad 224861d084 Added "-s" flag for setup-only, useful for building Islands 2020-03-31 20:15:34 +03:00
VakarisZ 950e160627 Some bugfixes and added explanations about why no mitigations exist 2020-03-31 18:43:51 +03:00
VakarisZ 2b0820f74a Addressed most CR comments, refactored mitigations to include names and urls 2020-03-31 17:40:36 +03:00
Shay Nehmad 4da6a6a491
Merge pull request #527 from VakarisZ/old_machine_bootloader
Old machine bootloader
2020-03-30 17:06:12 +03:00
VakarisZ 5d827d1f44 Changed quotes from double to single on MitigationComponent import 2020-03-26 13:12:21 +02:00
VakarisZ 2a8c510db5 Improved mitigations UI by aligning and padding text, removing unused header 2020-03-26 12:59:23 +02:00
VakarisZ 57df099863 Improved performance by storing mitigations on mongodb 2020-03-26 12:58:41 +02:00
VakarisZ 06e8156a4a Added mitigations to each attack technique report 2020-03-25 13:12:40 +02:00
VakarisZ fa83eeb258 Changed UI colours 2020-03-23 14:01:02 +02:00
VakarisZ 372e05eb13 Merge remote-tracking branch 'upstream/develop' into enhancement/mitre-ui-review-fixes 2020-03-23 12:54:32 +02:00
VakarisZ 1ff6a91d75 Fixed bootloader networking bug and improved exception handling 2020-03-20 19:57:56 +02:00
VakarisZ b5078f8ba0 Fixed network configuration attack technique 2020-03-19 16:21:13 +02:00
VakarisZ b4112f024f Fixed system info collection attack technique 2020-03-19 15:41:49 +02:00
VakarisZ 48abfcab68 Fixed credential dumping 2020-03-19 15:05:27 +02:00
Shay Nehmad b6dc77718d
Apply suggestions from code review
Added TINY style changes
2020-03-18 14:27:05 +02:00
VakarisZ a0a2311996 Improved node state tests 2020-03-18 09:41:07 +02:00
VakarisZ 69a4f305e5 Added our version of pyinstaller to requirements and added unit tests for bootloader resources 2020-03-18 09:32:07 +02:00
Shreya b4137587fc Change position of lines box to top-right corner of console 2020-03-18 12:58:34 +05:30
Shreya c22538fb08 Simplify code 2020-03-18 12:58:34 +05:30
Shreya d1a9d02224 Pass tests 2020-03-18 12:58:34 +05:30
Shreya 0a7da90150 Refactor code 2020-03-18 12:58:34 +05:30
Shreya d806746aea Display line count for telemetry console 2020-03-18 12:58:34 +05:30
Shreya d2c315b93f Add scrolled pixel count for telemetry console
TODO: fix the pixel-line number thing
2020-03-18 12:58:34 +05:30
Shreya de554bfa0b Code formatting 2020-03-18 12:58:34 +05:30
PrajwalM2212 8476738925 Add TODO 1 2020-03-18 12:58:34 +05:30
Shreya 67d88e8ab2 Update code to use refs 2020-03-18 12:58:33 +05:30
Shreya e81c044a17 Autoscroll to last line in telemetry console
TODO: Don't scroll to last line if user has scrolled up
2020-03-18 12:58:33 +05:30
VakarisZ a979f2160b Added proxies to post request going towards the island 2020-03-17 12:42:52 +02:00
Shay Nehmad dfa9d99ae9
Merge pull request #548 from guardicore/547/island-report-response-time
Calculate response time for testing
2020-03-16 14:39:59 +02:00
VakarisZ a22cd893d8 Merge remote-tracking branch 'upstream/develop' into old_machine_bootloader
# Conflicts:
#	monkey/monkey_island/cc/main.py
2020-03-16 12:08:45 +02:00
VakarisZ f82b56fca6 Improved bootloader telem logging, added docs about monkeyzoo tunneling machine used in tests 2020-03-16 12:07:17 +02:00
Shay Nehmad f49c70772d Create test_environment.py 2020-03-15 18:26:24 +02:00
Shay Nehmad c77db77a1c Initial commit - trying to improve the MITRE UI according to comments 2020-03-15 17:40:34 +02:00
Daniel Goldberg bcdeadf7b6 Remove unused dependencies 2020-03-15 15:58:41 +02:00
Shay Nehmad ca49563118
Merge pull request #573 from guardicore/567/add-code-coverage
567/add code coverage
2020-03-15 12:13:31 +02:00
Shay Nehmad 88fe581c2f Updated codecov coloring.
See https://docs.codecov.io/docs/coverage-configuration
2020-03-15 11:50:43 +02:00
Shay Nehmad 9c3c9d8fba Created default yaml for codecov with different ranges on green (55+ is good) 2020-03-15 11:40:21 +02:00
Shay Nehmad a716204b0f Updated pytest config to ignore some directories
dist and node_modules
2020-03-15 11:20:49 +02:00
VakarisZ 586057df74 Small bugfix: allow monkey run without network exploitation 2020-03-13 19:54:38 +02:00
VakarisZ f07d058d8b Fixed UI bug where security report map didn't show propper images 2020-03-13 12:44:19 +02:00
VakarisZ 2fff8d3a69 Merge remote-tracking branch 'upstream/develop' into old_machine_bootloader 2020-03-12 15:57:23 +02:00
VakarisZ d75299be25 Removed unnecessary comments, unused file, improved parsing of linux requests 2020-03-12 15:56:06 +02:00
Daniel Goldberg f0f5ddfd60 Unused dependency 2020-03-11 18:39:10 +02:00
VakarisZ e5201a2ecf Fixed bootloader creating multiple nodes bug 2020-03-09 15:53:38 +02:00
Daniel Goldberg 280946a212
Merge pull request #562 from PrajwalM2212/561/dev-setup-update
dev-setup: Fix minor issues in dev-setup readme
2020-03-08 09:31:19 +02:00
PrajwalM2212 d8487eed60 install_mongo.sh: Add entry for ubuntu 19.10
This PR adds entry for ubuntu 19.10. mongodb does not provide the download for 19.10 version yet. But the 18.04 version download works fine. The entry will have to be replaced if and when the mongodb download for 19.10 becomes available

Closes https://github.com/guardicore/monkey/issues/563
2020-03-07 20:41:12 +05:30
PrajwalM2212 80aaffd8de dev-setup: Fix minor issues in dev-setup readme
This PR sets replaces windows style path separator with linux style path separator for linux dev setup guide. It also adds chmod command for ./monkey_island/linux/run.sh in  monkey_island/readme.md

Closes https://github.com/guardicore/monkey/issues/561
2020-03-07 14:45:48 +05:30
VakarisZ 7475cff288 Refactored to have node state list only on backend and more CR fixes 2020-03-06 17:22:53 +02:00
VakarisZ 4460f853e6
Merge pull request #550 from shreyamalviya/emptyconfigfields
Remove `None` values from list of networks to scan
2020-03-06 08:30:01 +02:00
Daniel Goldberg 51ee88632e Hotpatch, fix BUILD notice in Island as well 2020-03-05 20:21:38 +02:00
Daniel Goldberg f767482513 Hotpatch, don't check the host OS for bitness in island spec file but check python version. 2020-03-05 20:20:37 +02:00
Daniel Goldberg 05c5b856f0 Merge remote-tracking branch 'origin/develop' into develop 2020-03-05 19:46:29 +02:00
Daniel Goldberg ed2a2b4576 Hotpatch, no need to compress UCRT DLLs 2020-03-05 19:46:09 +02:00
Shay Nehmad ddd89c2a14 Deleted commented out code 2020-03-04 15:03:08 +02:00
VakarisZ 1e7775a2bc Fixed bugs related to bootloader on island 2020-03-03 15:19:45 +02:00
Shreya 4592c21829 Undo old logic
`None` values in the configuration are now checked before being saved
2020-03-03 01:49:35 +05:30
Shreya 5f3458349d Filter out `None` values from configuration before saving
Configuration is filtered before being saved
(can be seen when adding empty fields and pressing the `Submit` button -> empty fields are removed)
2020-03-03 01:44:02 +05:30
Shreya 6ff2bbf92e Discard all 'None' values in Monkey configuration lists
Instead of checking individually for problems arising due to 'None' values and fixing them, all 'None' values in all lists in the configuration are discarded.
2020-03-02 22:20:12 +05:30
Shreya 16b2b87adc Remove `None` values from list of TCP ports 2020-03-02 22:20:12 +05:30
Shreya 20fff43fa9 Remove `None` values from list of networks to scan
Fixes #540
2020-03-02 22:20:12 +05:30
VakarisZ 86218431f7 Fixed bug that treated bootloader node as infected node 2020-03-02 11:40:50 +02:00
Shay Nehmad 160d645fc2 The tuple is from source file to dst folder
https://stackoverflow.com/a/59710336/4119906
2020-03-01 18:00:57 +02:00
Daniel Goldberg 90c3502f0d
Merge pull request #545 from guardicore/543/versioning-improvements
543/versioning improvements
2020-02-26 16:22:34 +02:00
Daniel Goldberg 925904deb3
Merge pull request #553 from guardicore/feature/kali
Feature/kali
2020-02-26 16:08:06 +02:00
VakarisZ d8aa63d1cb Fixed windows bootloader telem parsing for windows 2020-02-25 17:48:41 +02:00
Shay Nehmad 97976cdbc5 Got 500 from delete operation so simplyfing and re-trying 2020-02-25 11:24:28 +02:00
VakarisZ 056c260c12 Island adjusted to differentiate parsing data incoming from linux and windows bootloaders 2020-02-24 17:17:34 +02:00
Daniel Goldberg c9dbd8ee63 More deb installation hotfixes 2020-02-23 19:13:11 +02:00
Daniel Goldberg b93c91237f Hide output 2020-02-23 19:00:39 +02:00
Shay Nehmad 20be94d606 WIP trying to get the BB test to work 2020-02-23 15:24:44 +02:00
Daniel Goldberg 9fa935e507 Move generic files to where it makes sense. 2020-02-23 14:57:48 +02:00
Shay Nehmad 509dd09c84 Changed log type 2020-02-23 14:02:45 +02:00
Shay Nehmad 4461097c60 Added the API /test/clear_caches
Currently clears only the reports from Mongo
2020-02-23 14:02:18 +02:00
Daniel Goldberg e66dc6bad1 Hardcode Kali mongo installation. 2020-02-23 10:32:07 +02:00
Daniel Goldberg d187e8d234 Remove assumption on virtualenv being on path 2020-02-23 10:31:56 +02:00
Daniel Goldberg 5affcbda1a Merge branch 'develop' into feature/single_command_for_installation
# Conflicts:
#	deployment_scripts/deploy_linux.sh
2020-02-23 10:05:45 +02:00
VakarisZ c2b125012f Improved responses to linux bootloader, removed unnecessary files 2020-02-17 11:13:27 +02:00
VakarisZ a0d4b825e9 Added the logic of assigning states to nodes, state(node group) parsing and icon placeholders 2020-02-13 15:01:59 +02:00
Shay Nehmad 51099504e3 Revert "Added before/after request handlers that add the execution time"
This reverts commit 424784ee45.
2020-02-12 16:05:30 +02:00
Shay Nehmad 424784ee45 Added before/after request handlers that add the execution time 2020-02-12 16:03:37 +02:00
VakarisZ f792572079 Adjusted island to parse changed host info 2020-02-12 15:39:20 +02:00
Daniel Goldberg 4e28571623 Fix totally broken part of the install_mongo.sh. Now download tgz again 2020-02-12 15:19:47 +02:00
VakarisZ 1ebbb83629 Improved hostname by parsing out irrelevant data 2020-02-12 13:17:29 +02:00
VakarisZ 72d266a1b8 Added node and edge based on bootloader telemetry. 2020-02-12 11:09:11 +02:00
Daniel Goldberg ad9450a77e Fix names to match island naming conventions 2020-02-09 18:40:44 +02:00
Shay Nehmad 0859050a65 Added version argument to monkey build scripts 2020-02-09 15:20:34 +02:00
Daniel Goldberg abbb68ecb8 Random fixups in run.sh 2020-02-09 15:17:14 +02:00
Daniel Goldberg 5b6c6a34f6 Make shellcheck shut up by double quoting all the things 2020-02-09 15:16:16 +02:00
Daniel Goldberg 290eddf249 Fix to be HTTPS 2020-02-09 12:47:30 +02:00
Shay Nehmad 46952ed0ae Changed build to static file so that build scripts can change it dynamically 2020-02-09 11:51:00 +02:00
Daniel Goldberg f745f45940 Move to single line of code for creating certs on linux 2020-02-09 11:37:25 +02:00
Shay Nehmad fcef4f154f Delete old Monkey Island-centric version and replace with common.version 2020-02-09 11:32:41 +02:00
Shay Nehmad a7aeb7d7ff Report version as part of state telem and log it in island. 2020-02-09 11:28:47 +02:00
Shay Nehmad cea33d4540 Logging version when initializing Monkey and Island. 2020-02-09 11:20:29 +02:00
Shay Nehmad bd9400403d Added version file to common. It's also executable so it's accessible from shell. 2020-02-09 11:20:12 +02:00
Daniel Goldberg 798babe4cc Updated mongodb downloads. Support deb10 2020-02-09 11:07:41 +02:00
Daniel Goldberg e51f2e927f Change homepage to be InfectionMonkey related 2020-02-09 10:53:15 +02:00
Shay Nehmad b5f8fbe9f0 WIP 2020-02-04 14:39:38 +02:00
VakarisZ 0c157986b7 added linux wscript that includes libcurl into pyinstaller bootloader 2020-01-31 16:28:47 +02:00
VakarisZ 85c70a3e71
Merge pull request #541 from VakarisZ/notification_bugfix
Bugfix: notification wrong route
2020-01-29 16:25:30 +02:00
VakarisZ aed7e3f990 updated windows old machine bootloader code to use tunnel, quit if os to old and more 2020-01-29 15:04:27 +02:00
VakarisZ 2e8582cd41 fixes notification bug that routes to wrong route 2020-01-28 19:11:15 +02:00
VakarisZ 04c09b50d2 Small style improvement, disabled explicit http 1.1 2020-01-28 19:04:30 +02:00
VakarisZ d349f2628c Code changes that loosely implement the prototype of bootloader, but there still is a timeout 2020-01-27 17:44:18 +02:00
Shay Nehmad f49089aed3 Added basic framework for running scoutsuite 2020-01-27 14:46:39 +02:00
Shay Nehmad a26b9114ef Update scoutsuite_collector.py 2020-01-27 14:28:57 +02:00
Shay Nehmad 4c0321ab93 Added collector and submodule 2020-01-26 18:47:46 +02:00
Daniel Goldberg 61a41b407b Change filename to account for bitness. 2020-01-23 15:50:56 +02:00
Daniel Goldberg 32db1cae1b
Merge pull request #533 from guardicore/bugfix/handle_platform_correctly
Bugfix, installer should go according to Python bitnes
2020-01-21 17:54:40 +02:00
Daniel Goldberg f999e7221d Fully explicit imports all the way 2020-01-21 17:38:24 +02:00
Daniel Goldberg ef69058f91 Add pyinstaller hook for systeminfo plugins 2020-01-21 17:31:57 +02:00