Commit Graph

7990 Commits

Author SHA1 Message Date
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
Mike Salvatore b99178832a Common: Remove disused T1216_PBA_FILE_DOWNLOAD_PATH constant 2022-04-11 06:36:27 -04:00
Mike Salvatore b1c125f420 Island: Remove disused T1216 file download endpoint 2022-04-11 06:36:25 -04:00
Mike Salvatore e849a7599a Agent: Remove T1216_random_executable.exe from agent binary on Linux
The signed-script proxy PBA only runs on Windows, so there's no need to
include the 1.1MB executable in the Linux agent.
2022-04-11 06:35:56 -04:00
Mike Salvatore ad0cb20e35 Agent: Package T1216_random_executable.exe with the agent
Packaging the T1216_random_executable.exe binary with the agent removes
coupling between the island's API and a specific post-breach action.
2022-04-11 06:35:56 -04:00
Ilija Lazoroski 5228af2a69 Changelog: Add entry for removal of WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski 7baccefae1 Project: Remove WebLogic references 2022-04-11 11:58:24 +02:00
Ilija Lazoroski a0993cdfcb Agent, UT: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski c10b5c9e79 Island: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski d9c295bed4 BB: Remove WebLogic exploiter 2022-04-11 11:58:24 +02:00
Ilija Lazoroski 89384ca6f7 Docs: Remove WebLogic exploiter documentaiton 2022-04-11 11:58:24 +02:00
Mike Salvatore 2b33aaa50c
Merge pull request #1862 from EliaOnceAgain/1552/setup_service
Deploy: Script to install appimage sysd service that runs on boot
2022-04-10 14:58:11 -04:00
Mike Salvatore 151df34ec8 Deploy: Fix capitalization of .AppImage 2022-04-10 14:57:13 -04:00
Mike Salvatore 420e99a902 Changelog: Add a changelog entry for install-infection-monkey-service.sh 2022-04-10 14:55:42 -04:00
Mike Salvatore 1be6de0bd8 Deploy: Set mode=0755 when creating /opt/infection-monkey/bin/ 2022-04-10 14:50:09 -04:00
Mike Salvatore c8e4a4f0ef Deploy: Display help if missing arguments 2022-04-10 14:50:09 -04:00
Mike Salvatore 3aa6d4a119 Deploy: Set `umask 077` before deploying systemd unit 2022-04-10 14:50:09 -04:00
Mike Salvatore f42a3bdaad Deploy: Improve missing argument error message 2022-04-10 14:50:09 -04:00