Shreya Malviya
|
15fd1f9f72
|
BB: Fix configuration modification logic in depth_3_a.py
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
0392cd5794
|
BB: Fix configuration modification logic in depth_2_a.py
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
a2b8338ac7
|
BB: Fix configuration modification logic in depth_1_a.py
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
1abf2b7f03
|
BB: Add `simplify=True` when converting test agent configuration to dict in MonkeyIslandClient
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
637023c568
|
BB: Create copy of agent configuration when updating it for different tests
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
446524b5b8
|
BB: Use keyword arguments where missing in configuration objects' creation
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
c7ee48fff1
|
BB: Remove unneeded configuration replacing functions
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
a65415588f
|
BB: Simplify logic in BB tests' configurations
|
2022-09-02 12:05:30 +05:30 |
Shreya Malviya
|
ff52fbefe4
|
BB: Fix AgentConfiguration logic in MonkeyIslandClient
|
2022-09-02 12:05:30 +05:30 |
Ilija Lazoroski
|
789ca96bb0
|
BB: Set island mode to Custom
|
2022-08-19 12:13:59 -04:00 |
Mike Salvatore
|
ae82578ae0
|
BB: Rename list_machines -> gcp_machines_to_start
|
2022-08-10 14:23:16 -04:00 |
Mike Salvatore
|
ea81226c2a
|
BB: Simplify list_machines()
|
2022-08-10 14:18:23 -04:00 |
Ilija Lazoroski
|
736e779f4c
|
BB: Gather enabled tests and select GCP machines needed for the specific tests
|
2022-08-10 17:32:39 +02:00 |
Mike Salvatore
|
16d5a74df6
|
BB: Use put_json() to reset the Island's mode
|
2022-08-05 09:35:14 -04:00 |
Mike Salvatore
|
3362959c73
|
BB: Use put_json() to reset credentials
|
2022-08-05 09:34:57 -04:00 |
Mike Salvatore
|
1568cf8f0a
|
BB: Use put_json() to import configured credentials
|
2022-08-05 09:21:43 -04:00 |
Mike Salvatore
|
ea369a5a74
|
BB: Use put_json() to import config
|
2022-08-05 09:21:28 -04:00 |
Mike Salvatore
|
4cb6bdd9cf
|
BB: Add put_json()
|
2022-08-05 09:20:52 -04:00 |
Mike Salvatore
|
17b264d28b
|
Merge pull request #2145 from guardicore/2106-remove-mode-keyword
2106 remove mode keyword
|
2022-08-03 08:55:56 -04:00 |
Shreya Malviya
|
54a0072454
|
BB: Change /api/registration -> /api/register
|
2022-08-02 13:15:09 +05:30 |
Shreya Malviya
|
3c1e69eabb
|
BB: Change /api/auth -> /api/authenticate
|
2022-08-02 13:15:08 +05:30 |
Shreya Malviya
|
c098afaee1
|
BB: Fix spelling in log message in MonkeyIslandClient
|
2022-08-02 12:22:53 +05:30 |
Ilija Lazoroski
|
53048c03ed
|
BB: Use string when unsetting island mode
|
2022-08-01 19:10:13 +02:00 |
Mike Salvatore
|
dd882df1cc
|
Merge branch '2106-refactor-island-mode' into develop
Resolves #2143
|
2022-08-01 11:07:42 -04:00 |
Ilija Lazoroski
|
7a9ab9c58a
|
BB: Catch KeyError and log a warning message when starting single tests
|
2022-08-01 15:37:33 +02:00 |
Ilija Lazoroski
|
1b562e723f
|
Island: Change `POST` to `PUT` in `api/island/mode`
|
2022-08-01 14:22:57 +02:00 |
Ilija Lazoroski
|
c56c866263
|
Island: Rename `api/island-mode` to `api/island/mode`
|
2022-08-01 14:22:51 +02:00 |
Ilija Lazoroski
|
474e9c3c66
|
BB: Rename global agent_configuration to test_configuration
|
2022-08-01 10:35:20 +02:00 |
Ilija Lazoroski
|
0c0ad42a8e
|
BB: Remove default empty array from configurations utils
|
2022-07-28 12:10:24 +02:00 |
Ilija Lazoroski
|
17e07429a4
|
BB: Fix Zerologon analyzer
|
2022-07-28 11:52:42 +02:00 |
Ilija Lazoroski
|
0a395caff9
|
BB: Add add_fingerprinter function to configuration utils
|
2022-07-27 16:59:58 +02:00 |
Ilija Lazoroski
|
30b1032d38
|
BB: Fix depth_3_a test configuration
|
2022-07-27 16:59:15 +02:00 |
Ilija Lazoroski
|
fdf73821f4
|
BB: Avoid race condition when importing config and credentials
|
2022-07-27 16:58:46 +02:00 |
Ilija Lazoroski
|
9ad96cbf14
|
BB: Add http fingerprnter to depth_1_a tests
|
2022-07-27 16:57:43 +02:00 |
Ilija Lazoroski
|
482a7479e0
|
BB: Add starting GCP machines of single tests
|
2022-07-27 15:03:29 +02:00 |
Ilija Lazoroski
|
02ebef56cf
|
BB: Fix SMB_path configuration
|
2022-07-26 16:32:21 +02:00 |
Ilija Lazoroski
|
85deb6858c
|
BB: Add __test__ to some untestable classes
|
2022-07-26 16:31:35 +02:00 |
Ilija Lazoroski
|
7ccab8e2f2
|
BB: Monkey object uses _id
|
2022-07-26 16:30:19 +02:00 |
Ilija Lazoroski
|
371b020542
|
BB: Reset Island after finished test
|
2022-07-26 16:29:21 +02:00 |
vakarisz
|
81101d4213
|
Common: Rename configuration package to agent_configuration
|
2022-07-26 09:38:58 -04:00 |
Ilija Lazoroski
|
fd6f1db074
|
BB: Add todo and comment out broken code in ZerologonAnalyzer
|
2022-07-25 11:07:47 +02:00 |
Mike Salvatore
|
878f12736f
|
BB: POST config and credentials as JSON
|
2022-07-22 13:26:12 -04:00 |
Mike Salvatore
|
e1691b108f
|
BB: Fix credentials object serialization
|
2022-07-22 13:26:12 -04:00 |
Mike Salvatore
|
5c60656f56
|
BB: Rename post_json(data) parameter to json
|
2022-07-22 17:24:53 +00:00 |
Mike Salvatore
|
2d338fc81f
|
BB: Use to_mapping() to send agent configuration JSON
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
b6703becbc
|
BB: Get rid of TestConfigurationParser and move its functions outside
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
35d5592da0
|
BB, Island: Remove BB performance tests and *everything* related to it
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
8b43d910b6
|
BB: Modify MonkeyIslandClient.import_config() to send propagation credentials to relevant endpoint
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
379ada7a24
|
BB: Rename IslandConfigParser -> TestConfigurationParser
Even though the names start with "test", they shouldn't cause any issues
since we only run "test_blackbox.py".
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
2764069aec
|
BB: Correctly pass and import test configuration and agent configuration
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
1f4167f44c
|
BB: Add more specific type hint to IslandConfigParser.get_target_ips_from_configuration()
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
42efe1fc56
|
BB: Remove unused function from IslandConfigParser
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
b13fb45b04
|
BB: Get rid of unneeded improts and variables
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
00626fe579
|
BB: Use agent configuration object to get target IPs in IslandConfigParser
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
549a79ced4
|
BB: Update type hint to be more specific in CommunicationAnalyzer
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
db5187fc74
|
BB: Remove config templates
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
1d45a15ea1
|
BB: Remove config_generation_script.py
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
c6c38ac008
|
BB: Add type hints in CommunicationAnalyzer
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
c9b10bfc3f
|
BB: Fix API endpoints in MonkeyIslandClient
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
f0993d94cf
|
BB: Rename raw_config -> serialized_config everywhere
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
690fb71e10
|
BB: Rename get_ips_of_targets() -> get_target_ips_from_serialized_config() and pass correct arguments
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
c6ffd16e48
|
BB: Modify IslandConfigParser.get_ips_of_targets() logic per new configuration
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
5d9e525ecc
|
BB: Remove unused apply_template_to_config() from IslandConfigParser
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
7d98d14d3a
|
BB: Use IslandConfigParser.get_serialized_config() in test_blackbox.py
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
c509b1390a
|
BB: Remove unused parameter in get_serialized_config() in IslandConfigParser
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
6bda56f30c
|
BB: Replace config templates with configuration objects in test_blackbox.py
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
d5736df56d
|
BB: Modify IslandConfigParser to return serialized config
|
2022-07-22 17:24:53 +00:00 |
Shreya Malviya
|
f99ad90371
|
BB: Reorder test configuration imports so they're alphabetical
|
2022-07-22 17:24:53 +00:00 |
Mike Salvatore
|
f049688160
|
BB: Add smb_download_timeout to test_configurations
|
2022-07-20 07:48:06 -04:00 |
Mike Salvatore
|
0e2cef181a
|
BB: Add wmi_mimikatz_test_configuration
|
2022-07-19 14:19:43 -04:00 |
Mike Salvatore
|
0605470af9
|
BB: Move Hadoop and Log4Shell to vulnerability exploiters
|
2022-07-19 14:17:06 -04:00 |
Mike Salvatore
|
27197ee70a
|
BB: Add smb_pth_test_configuration
|
2022-07-19 14:09:12 -04:00 |
Mike Salvatore
|
367b6de901
|
BB: Add powershell_credentials_reuse_test_configuration
|
2022-07-19 13:48:29 -04:00 |
Mike Salvatore
|
a605db7625
|
BB: Add Tests comment to depth_2_a.py
|
2022-07-19 13:31:16 -04:00 |
Mike Salvatore
|
cde0474eb2
|
BB: Add "Tests" comment to depth_1_a.py
|
2022-07-19 13:29:46 -04:00 |
Mike Salvatore
|
d354622f9a
|
BB: Add depth_3_a_test_configuration
|
2022-07-19 13:29:39 -04:00 |
Mike Salvatore
|
6e730394bf
|
BB: Add set_keep_tunnel_open_time()
|
2022-07-19 13:25:08 -04:00 |
Mike Salvatore
|
9bff20e92f
|
BB: Add depth_2_a_test_configuration
|
2022-07-19 13:25:07 -04:00 |
Mike Salvatore
|
3480b18e39
|
BB: Remove zerologon exploiter from depth_1_a_test_configuration
|
2022-07-19 09:00:51 -04:00 |
Mike Salvatore
|
4cd1c6bf3c
|
BB: Reorder some things in depth_1_a.py
|
2022-07-19 08:59:10 -04:00 |
Mike Salvatore
|
87363d3096
|
BB: Rename credentials -> CREDENTIALS
|
2022-07-19 08:57:19 -04:00 |
Mike Salvatore
|
707aa97a65
|
BB: Add TCP ports to depth_1_a_test_configuration
|
2022-07-19 08:47:57 -04:00 |
Mike Salvatore
|
189e2ad3d1
|
BB: Add HTTP ports to depth_1_a_test_configuration
|
2022-07-19 08:13:09 -04:00 |
Mike Salvatore
|
0c6764daf5
|
BB: Add add_http_ports()
|
2022-07-19 08:12:46 -04:00 |
Mike Salvatore
|
f1d9ea64e5
|
BB: Add tcp ports to depth_1_a_test_configuration
|
2022-07-18 15:17:33 -04:00 |
Mike Salvatore
|
0a0cb5de19
|
BB: Set maximum depth in depth_1_a_test_configuration
|
2022-07-18 15:17:33 -04:00 |
Mike Salvatore
|
365b4098e4
|
BB: Set maximum depth in zerologon_test_configuration
|
2022-07-18 15:17:32 -04:00 |
Mike Salvatore
|
5a1a40a515
|
BB: Add set_maximum_depth()
|
2022-07-18 15:17:30 -04:00 |
Mike Salvatore
|
c2028f15a4
|
BB: Add depth_1_a_test_configuration
|
2022-07-18 15:00:06 -04:00 |
Mike Salvatore
|
138ce81f1b
|
BB: Add add_credential_collectors()
|
2022-07-18 14:52:31 -04:00 |
Mike Salvatore
|
dbc138d263
|
BB: Add replace_propagation_credentials()
|
2022-07-18 14:52:05 -04:00 |
Mike Salvatore
|
d11fbe92e8
|
BB: Add missing type hints to add_exploiters()
|
2022-07-18 14:49:25 -04:00 |
Mike Salvatore
|
37e79f41e8
|
BB: Rename noop_test_configuration.py -> noop.py
|
2022-07-18 14:43:18 -04:00 |
Mike Salvatore
|
68c6625445
|
BB: Add a zerologon test configuration
|
2022-07-18 14:43:18 -04:00 |
Mike Salvatore
|
ed6b766cd1
|
BB: Add test_configurations/utils.py
|
2022-07-18 14:43:16 -04:00 |
Mike Salvatore
|
c42cfe3110
|
BB: Add noop_configuration
|
2022-07-18 14:26:43 -04:00 |
Mike Salvatore
|
b3499074b5
|
BB: Add TestConfiguration
|
2022-07-18 13:36:37 -04:00 |
Mike Salvatore
|
ea1dc930a1
|
BB: Remove "single_tests" subpackage
|
2022-07-18 13:08:29 -04:00 |
Mike Salvatore
|
cf45ae4c3e
|
BB: Remove "grouped" subpackage
|
2022-07-18 13:07:18 -04:00 |
Mike Salvatore
|
c1073bd1ea
|
BB: Remove unused "single_tests"
|
2022-07-18 13:06:00 -04:00 |