Commit Graph

8380 Commits

Author SHA1 Message Date
Mike Salvatore 59e5823233 Project: Update travis-ci build status badge 2022-06-09 14:59:46 -04:00
Mike Salvatore 9c8b74dc01
Merge pull request #2007 from guardicore/1993-fix-pip-platform-appimage
1993 fix pip platform appimage
2022-06-09 14:57:27 -04:00
Mike Salvatore 542c4265b7
Merge pull request #1981 from guardicore/1961-docs-agent-propagation
Add page about agent propagation to docs
2022-06-09 13:46:30 -04:00
Mike Salvatore f0fbafc01a Docs: Copyedits to running-manually.md 2022-06-09 13:37:52 -04:00
ilija-lazoroski ae2d212253
Merge pull request #2005 from guardicore/1974-refactor-agent-binaries-resource
Island: Refactor agent-binaries resource
2022-06-09 19:30:21 +02:00
Mike Salvatore 01bb7dd2b4 Docs: Copyedits to agent_propagation.md 2022-06-09 13:29:21 -04:00
Ilija Lazoroski 2415ddcea7 Island: Refactor LocalMonkerRunService to use AgentBinaryRepository
* Register the data_dir in the DI container
* Construct LocalRun resource with the LocalMonkeyRunService
2022-06-09 19:18:19 +02:00
Ilija Lazoroski 0b152942fb Island: Fix small docstrings 2022-06-09 19:18:19 +02:00
Ilija Lazoroski 152b486ede UI: Remove dropper config schema key
Dropper configurations are removed entirely.
2022-06-09 19:18:19 +02:00
Ilija Lazoroski 7da3640587 Island: Refactor agent-binaries resource 2022-06-09 19:18:09 +02:00
Mike Salvatore 6f090a4de0
Merge pull request #2006 from guardicore/1968-global-agent-config
1968 global agent config
2022-06-09 12:15:55 -04:00
Mike Salvatore cacd064893 Build: Uninstall pipenv and virtualenv after dependencies are installed
This reduces the size of the AppImage by 7.4%
2022-06-09 12:06:42 -04:00
Mike Salvatore 73d20a6a6a Build: Uninstall pipenv from AppImage after dependencies are installed 2022-06-09 11:27:41 -04:00
Mike Salvatore cd1d7b28a8 Build: Use braces to expand array 2022-06-09 11:25:25 -04:00
Mike Salvatore 1b6856b0c2 Build: Double quote variables to prevent splitting 2022-06-09 11:23:05 -04:00
Mike Salvatore f7ad99f592 Build: Handle errors if pushd or popd fail 2022-06-09 11:18:18 -04:00
Mike Salvatore b8a5245c1b Build: Use `pipenv sync --system` instead of requirements.txt
When pipenv dumps the lock file to a requirements.txt, it does not
include the `sys_platform` directive. This causes pip to attempt to
install win32 packages, which fails. By using `pypenv sync --system`
instead, only packages applicable to Linux are installed.

Fixes #1993
2022-06-09 11:15:07 -04:00
vakarisz ca827d7a4c UT: Fix flat config retrieval calls in test_config.py 2022-06-09 17:54:35 +03:00
vakaris_zilius 8621c5ddb9 Island: Fix broken config update statements 2022-06-09 15:32:24 +03:00
vakaris_zilius dabc3cb004 Island: Remove updating agent configuration with stolen credentials 2022-06-09 15:32:24 +03:00
vakaris_zilius f5134f1d3b Island: Decouple propagation credentials from per-agent config 2022-06-09 15:32:24 +03:00
vakarisz ae5216bf02 Island: Create only one config
Island had "newconfig" and "inital_config". We don't need the complexity of creating these configs if we will only have one.
2022-06-09 15:32:24 +03:00
vakarisz 35b4fae326 Island, Agent: Remove per-agent configuration from agent document
Each agent doesn't need to have a separate configuration since the configuration is global and unique agent parameters are not and should not be stored in configuration
2022-06-09 15:32:24 +03:00
vakarisz 04aacc2cba Docs: Improve agent propagation and add running manually page 2022-06-09 15:20:04 +03:00
Mike Salvatore 1b2ca74b9f Island: Add TODO about IFileRepository FileNotFoundErrors 2022-06-08 10:34:46 -04:00
Mike Salvatore 729497c594 Agent: Add TODO about unifying IAgentRepository 2022-06-08 10:14:51 -04:00
Mike Salvatore ee38c31ed5
Merge pull request #1991 from guardicore/1974-log-hashes-on-initialize
1974 log hashes on initialize
2022-06-08 09:26:05 -04:00
Ilija Lazoroski ea95a14daf Island: Log agent binary hashes on initialization 2022-06-08 15:07:10 +02:00
Ilija Lazoroski 0a8cbbc771 Island: Fix typo in AgentRetrievalError 2022-06-08 14:56:10 +02:00
Ilija Lazoroski 28a07e4fdd Common: Add get_binary_io_sha256_hash function 2022-06-08 14:56:03 +02:00
vakarisz df6b1cd4d3 Island: Reduce code duplication in agent_binary_repository.py 2022-06-08 11:31:12 +03:00
Ilija Lazoroski e7459412e4 Island: Add concrete AgentBinaryRepository
Issue #1974
2022-06-07 12:33:25 -04:00
Mike Salvatore 94e88d2c8b UT: Add missing __init__.py to monkey_island/cc/repository/ 2022-06-07 07:50:59 -04:00
Mike Salvatore aeb779e6c6 Island: Switch FileRetrievalError from ValueError to RuntimeError 2022-06-07 07:35:54 -04:00
VakarisZ f1ef54b9fa
Merge pull request #1988 from guardicore/1959-build-migration
Island: Add pywin32 requirements for island
2022-06-07 12:45:50 +03:00
vakarisz 3feb984c16 Island: Add pywin32 requirements for island
They are used in pyinstaller and without them frozen island doesn't work
2022-06-07 12:31:07 +03:00
Mike Salvatore f3e6e967f6 Island: Rename test_derictory_file_storage_service.py
This is a small detail that was missed while resolving #1966.
2022-06-06 16:28:37 -04:00
Mike Salvatore 1da6515751 Island: Remove superfluous log statement 2022-06-06 13:26:19 -04:00
Ilija Lazoroski 4e520c135f Island: Add IAgentBinaryRepository
Issue #1974
2022-06-06 11:44:32 -04:00
Mike Salvatore ae78ed7931 Island: Add AgentBinaries to monkey_island.cc.resources package 2022-06-03 10:24:39 -04:00
Ilija Lazoroski 7356b6cc88 Build: Add cleanup function to build_package 2022-06-03 09:02:32 -04:00
VakarisZ baa2bd1c34
Merge pull request #1982 from guardicore/1959-remove-dangling-docker-images
Build: Cleanup dangling docker images after build
2022-06-03 13:56:41 +03:00
Ilija Lazoroski b8c4ae8e0c Build: Cleanup dangling docker images after build 2022-06-03 12:34:06 +02:00
Shreya Malviya cdbe929a87
Merge pull request #1978 from guardicore/1974-change-AgentBinaries-url
Change AgentBinaries URL
2022-06-03 13:50:53 +05:30
Shreya Malviya 4e1bc21e95 Docs: Add reference page about agent propagation 2022-06-03 13:35:16 +05:30
Shreya Malviya c43bc3a0c1 Island: Change AgentBinaries URL parameter name
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2022-06-03 13:11:10 +05:30
Shreya Malviya 235e664485 Changelog: Add entry about changing agent binaries' download URL 2022-06-02 17:54:45 +05:30
Shreya Malviya 662fc6b50e Island: Change agent binary download endpoint 2022-06-02 17:32:40 +05:30
Shreya Malviya ed1e152e9c Agent: Change agent binary download endpoint 2022-06-02 17:32:14 +05:30
Shreya Malviya f7315b25f5 Zoo: Change agent binary download endpoint 2022-06-02 17:31:55 +05:30