Commit Graph

8035 Commits

Author SHA1 Message Date
Ilija Lazoroski 38714bb178 Changelog: Add entry for removal of "/api/client-monkey" endpoint 2022-04-18 14:50:57 +02:00
Ilija Lazoroski e086b62fba Docs: Update FAQ island log documentation 2022-04-18 14:49:27 +02:00
Ilija Lazoroski 9d22185064 Island: Remove "/api/client-monkey" endpoint 2022-04-18 14:48:53 +02:00
Mike Salvatore e9895a04f5
Merge pull request #1892 from guardicore/1888-fix-endpoint-urls
Fix endpoints urls
2022-04-15 09:55:26 -04:00
Mike Salvatore f3d55c423f CHANGELOG: Add changelog entries for endpoint renaming 2022-04-15 09:54:42 -04:00
Mike Salvatore 65e28e987b Agent: Use MEDIUM_REQUEST_TIMEOUT for contacting the island
This will drop something like 30 seconds off of our tunneling test.
Generally speaking, 5 seconds seems like enough time for a simple HTTP
request to make a round trip within a local network. If we see issues in
practice, we can make this value configurable at runtime.
2022-04-15 09:48:48 -04:00
Mike Salvatore cbcb0dd1c1 Agent: Increase exploit threads from 4 to 6 2022-04-15 09:48:47 -04:00
Ilija Lazoroski 52ee31e326 Agent: Rename api/monkey_control to api/monkey-control 2022-04-15 13:17:26 +02:00
Ilija Lazoroski d2cc056a55 Island, BB: Rename api/monkey_control to api/monkey-control 2022-04-15 13:16:56 +02:00
Ilija Lazoroski 09c944d52b Island: Rename netmap/nodeStates to netmap/node-states 2022-04-15 12:45:47 +02:00
Ilija Lazoroski 1535832279 Island, BB: Rename clear_caches endpoint to clear-caches 2022-04-15 12:36:12 +02:00
Ilija Lazoroski 64fc9f2269 Island: Rename fileUpload endpoint to file-upload 2022-04-15 12:24:04 +02:00
Mike Salvatore 6df2c38b0f BB: Remove tests for drupal, struts, and weblogic exploiters 2022-04-14 14:02:43 -04:00
Mike Salvatore d971627be7 UT: Update custom pbas options in automated_master_config.json 2022-04-14 13:58:44 -04:00
Mike Salvatore c74f0ed472 BB: Change scan list order in test_depth_3_a() to decrease runtime 2022-04-14 13:53:04 -04:00
Mike Salvatore a2c3b74d09 BB: Change test order 2022-04-14 13:52:41 -04:00
Mike Salvatore 16e887a94a Merge pull request #1887 from guardicore/agent-refactor 2022-04-14 12:20:43 -04:00
VakarisZ a92818645e
Merge pull request #1884 from guardicore/1813-bb-optimization
1813 bb optimization
2022-04-14 15:13:05 +03:00
vakarisz 3ebab643bc BB: Small typo fix 2022-04-14 15:12:18 +03:00
Mike Salvatore 139a6caa1b
Merge pull request #1886 from guardicore/reduce-travis-build-time
Reduce travis build time
2022-04-14 07:02:01 -04:00
Mike Salvatore 3240e32e93 Project: Upgrade NodeJS from 12 -> 16 in TravisCI 2022-04-13 12:43:05 -04:00
Mike Salvatore 9ae35beba9 Project: Add npm caching strategy to TravisCI 2022-04-13 12:42:19 -04:00
Mike Salvatore ffec206435 Project: Use "pip: true" in TravisCI cache section 2022-04-13 12:41:25 -04:00
Mike Salvatore d1d7495c49 Project: Add cores to TravisCI build 2022-04-13 12:33:59 -04:00
Mike Salvatore 3478d17755 Project: Parallelize pynacl build in TravisCI 2022-04-13 12:24:43 -04:00
Mike Salvatore a1c1a00f5f Project: Run pytest in parallel on TravisCI 2022-04-13 12:15:55 -04:00
Mike Salvatore 03433a8d75 BB: Format depth_3_a.py with Black 2022-04-13 11:48:32 -04:00
vakaris_zilius 43d38d90e0 BB: Extract powershell cred re-use into a separate test
Credential re-use only applies to windows island, that's why it's separate
2022-04-13 14:21:23 +00:00
vakaris_zilius b20de39ce0 BB: Split depth_1_b into separate tests, add SMB_PTH 2022-04-13 16:45:14 +03:00
vakaris_zilius 76ba33a750 BB: Fix a WMI bug in configuration
Depth 3 a should test PTH, because mimikatz is already being tested in depth 1 a.
2022-04-13 16:45:14 +03:00
vakaris_zilius c498b22610 BB: Improve configuration documentation with IP's 2022-04-13 16:45:14 +03:00
vakaris_zilius 2dee5698f2 BB: Remove performance test template from test_blackbox.py 2022-04-13 16:45:14 +03:00
vakaris_zilius 1d647a0c6b BB: Move ssh keys test to a separate test suite 2022-04-13 16:45:14 +03:00
vakaris_zilius 03e23778dd BB: Add explanation to how 46 powershell machine can be exploited 2022-04-13 16:45:14 +03:00
vakaris_zilius 4df72d08eb BB: Reduce the time for agents to die to 2 minutes 2022-04-13 16:45:14 +03:00
vakaris_zilius 0b4f98c675 BB: Increase default test timeout to 150s
Timeout needed an increase because one log4shell machine was slow to communicate back
2022-04-13 16:45:14 +03:00
vakaris_zilius 549eebd55c BB: Rename depth_4_a to depth_3_a 2022-04-13 16:45:14 +03:00
vakarisz 91a431517a BB: Use grouped tests
Grouping tests will allow us to run more tests at once
2022-04-13 16:45:14 +03:00
vakarisz 7a3ec16d16 BB: Add powershell empty credential login test to depth_1_a test 2022-04-13 16:45:14 +03:00
vakarisz ceabb99e7c BB: Add time log for monkey killing time 2022-04-13 16:45:14 +03:00
vakarisz 9ca061e23c BB: Add config templates for grouped tests 2022-04-13 16:45:14 +03:00
vakarisz 48469a59a6 BB: Move single test templates into a dedicated folder 2022-04-13 16:45:12 +03:00
vakarisz c25dbba558 BB: Add missing tqdm package 2022-04-13 16:37:13 +03:00
Ilija Lazoroski b6bc631d23 UI: Remove caching from webpack
Every build needs to start on clean on production.
2022-04-12 17:25:04 +02:00
Ilija Lazoroski 27d47c05c4 Build: Run `npm run dev` on development build 2022-04-12 17:25:04 +02:00
Ilija Lazoroski 5bed5b7d7c UI: Update the loaders to the latest version 2022-04-12 17:25:04 +02:00
Ilija Lazoroski fd2dc2245c UI: Use eval-source-map instead of eval devtool 2022-04-12 17:25:04 +02:00
Ilija Lazoroski 00dc772953 UI: Use thread-loader and caching to improve build time
* source-map `devtool` is decided based on prod/development
 on production we are using `source-map`, otherwise `eval`
* babel-loader uses CacheDirectory to store compiled version
* exclude node_modules from type script checker
* use fork-ts-checker-webpack-plugin for ts-loader
* use speed-measure-webpack-plugin to measure time loading od dev
2022-04-12 17:25:04 +02:00
Mike Salvatore 8b39a78968
Merge pull request #1872 from guardicore/1864-bug-fix
1864 bug fix
2022-04-11 06:36:41 -04:00
Mike Salvatore 13b7e470db Agent: Set timeout to None for custom PBA 2022-04-11 06:36:27 -04:00