Commit Graph

8097 Commits

Author SHA1 Message Date
Mike Salvatore c16705241a Common: Use a more precise, custom UnregisteredTypeError in DIContainer 2022-04-26 01:42:17 -04:00
Mike Salvatore 7382407be0 Common: Add DIContainer.resolve_dependencies() 2022-04-26 01:37:41 -04:00
Mike Salvatore e78bffb414 Common: Add note about varargs and kwargs to resolve() docstring 2022-04-26 01:27:17 -04:00
Mike Salvatore 7a62434364 Common: Resolve registered instances and types directly 2022-04-26 01:21:36 -04:00
Mike Salvatore 435b619a5d Common: Add recursive resolution to DIContainer 2022-04-25 15:56:59 -04:00
Mike Salvatore 379a71d8e2 Common: Add DIContainer 2022-04-25 14:46:26 -04:00
Mike Salvatore cd8fa699b0 Common: Move get_all_regular_files_in_directory() to utils.file_utils 2022-04-25 12:32:59 -04:00
Mike Salvatore 2f4ffad3f6 Island: Skip directories in DirectoryFileStorageService.delete_all_files 2022-04-25 12:15:57 -04:00
Mike Salvatore a487aa4058 Island: Modify PostBreachFilesService to wrap IFileStorageService 2022-04-25 12:06:23 -04:00
Mike Salvatore d157bf7a40 Island: Use IFileStorageService in FileUpload resource 2022-04-25 12:06:21 -04:00
Mike Salvatore d1e18e9dbd Island: Use IFileStorageService in PBAFileDownload resource 2022-04-25 10:57:17 -04:00
Mike Salvatore c03a5aac4b Island: Pass the data directory to init_app_resources() 2022-04-25 10:26:32 -04:00
Mike Salvatore 6cfdcaaec7 UT: Change flask_client() fixture from session- to function-scoped 2022-04-25 10:23:37 -04:00
Mike Salvatore 3355455c9b Project: Ignore .mypy_cache directories 2022-04-25 10:21:44 -04:00
Mike Salvatore 88df935c77 Island: Add DirectoryFileStorageService 2022-04-25 09:39:16 -04:00
Mike Salvatore 80a305ea81 Island: Add IFileStorageService 2022-04-25 09:39:16 -04:00
Mike Salvatore 3c1e25b88c UT: Move Linux directory permissions check to a utility function 2022-04-25 09:39:16 -04:00
VakarisZ b9efc2d552
Merge pull request #1909 from guardicore/957-island-reset-improvements
957 island reset improvements
2022-04-22 10:48:28 +03:00
vakarisz 193bcdbf58 UI: Change the contents of running monkeys warning on reset modal
This change makes the warning more actionable
2022-04-22 10:45:03 +03:00
vakarisz 2cac1f836b Docs: Change start over screenshot and wording to "Reset" 2022-04-22 10:45:03 +03:00
Mike Salvatore 2ba94fde7d Island: Remove disused remote_port_check service 2022-04-21 14:24:34 -04:00
Ilija Lazoroski 53b405a115 Island: Fix automatic jumping in telemetry feed
Fixes #1850
2022-04-21 13:42:08 -04:00
Mike Salvatore 57c5457a17 CHANGELOG: Replace some PR numbers with the correct Issue numbers 2022-04-21 13:06:12 -04:00
Mike Salvatore ab46525f6d Changelog: Change "less" to "fewer" 2022-04-21 12:40:22 -04:00
Mike Salvatore a6603c64d6 UT: Add test_all_keys_if_credentials_empty() test 2022-04-21 12:21:33 -04:00
vakarisz 976417dd5c Changelog: Add entry about changed Island's reset button 2022-04-21 17:49:31 +03:00
vakarisz 75034f37f6 UI: Replace startOverPage with an improved Island reset modal
New modal allows to save clicks, explains the situation better, offers to export the config and allows deleting agent data without deleting config
2022-04-21 17:41:24 +03:00
vakarisz 551439dcc2 Island: Add endpoint to delete agent data
This endpoint allows to delete the data gathered by agents without resetting config related databases
2022-04-21 17:38:10 +03:00
vakarisz fb2f85ba24 Island: Add collection name properties to config and mode models
Collection name properties are useful for queries related to these specific collections
2022-04-21 17:36:41 +03:00
Shreya Malviya e06e855a48 Island: Check if machine responded before processing scan telemetry
Fixes part of #1850
2022-04-21 08:09:54 -04:00
VakarisZ 20ee887886
Merge pull request #1905 from guardicore/1850-telemetry-overview-line-num-logic
Fix line number in telemetry overview window
2022-04-21 14:35:25 +03:00
Shreya Malviya 94c151bc56 Changelog: Add entry for telemetry overview line number bugfix 2022-04-21 16:15:03 +05:30
Shreya Malviya bb238de037 UI: Fix current line number in telemetry overview window 2022-04-21 16:14:58 +05:30
Mike Salvatore d1ac07b7a4 Merge pull request #1900 from guardicore/1763-fix-windows-exe-removal 2022-04-20 15:04:59 -04:00
Mike Salvatore 53d1c55bba Agent: Refactor InfectionMonkey._build_windows_delete_command()
* Replace references to "monkey" with "agent"
* Improve comments
2022-04-20 12:27:08 -04:00
Mike Salvatore 6d51f17f29 Agent: Improve whitespace and formatting in _self_delete_windows() 2022-04-20 12:27:08 -04:00
Ilija Lazoroski 838848bc3a Agent: Move delay delete commands to monkey.py 2022-04-20 12:27:08 -04:00
Mike Salvatore c2e01eaea7 Agent: Refactor InfectionMonkey._self_delete() 2022-04-20 12:27:08 -04:00
Ilija Lazoroski 2568a46790 Changelog: Add entry for fixing windows self deleting executable 2022-04-20 12:27:06 -04:00
Ilija Lazoroski f2527b4d89 Agent: Change windows removal command 2022-04-20 12:26:48 -04:00
Mike Salvatore 4f5711b2ba Agent: Fix USERNAME_PREFIX imports 2022-04-20 11:46:50 -04:00
Mike Salvatore 526448cec9
Merge pull request #1902 from guardicore/1860-fake-users-mimikatz
Fix fake user addition to the config because of Mimikatz
2022-04-20 11:26:08 -04:00
vakarisz a335f30c68 Agent: Move username const to model
This const is used by PBA and mimikatz collectors as describes the username prefix for users created by IM
2022-04-20 17:10:59 +03:00
Shreya Malviya 9f78e0d567 Changelog: Add entry for bugfix for fake users' addition to the config because of Mimikatz 2022-04-20 18:44:14 +05:30
Shreya Malviya 3561573a6b Agent: Check username of Mimikatz gathered creds
before adding to the config since we don't want to add users created by the Monkey
2022-04-20 18:18:23 +05:30
Shreya Malviya 2bcdb72555 Agent: Extract const USERNAME_PREFIX to a common file 2022-04-20 17:41:57 +05:30
Shreya Malviya e91087f9fe UI: Fix padding for telemetry overview line counter 2022-04-20 07:29:43 -04:00
Ilija Lazoroski d69ce734f1 Island: Fix immediate threats indentation 2022-04-20 12:36:58 +03:00
dependabot[bot] f49b46af7e Bump async from 2.6.3 to 2.6.4 in /monkey/monkey_island/cc/ui
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 12:36:04 +03:00
Ilija Lazoroski adea9cc2a7 Common: Fix error logging for wait_commands
* Add Timer TODO
2022-04-19 14:00:14 +02:00