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
Mike Salvatore
70f3506317
BB: Remove test_blackbox_in_depth.py
2022-07-18 13:02:19 -04:00
Mike Salvatore
19a7bfd8e6
Merge pull request #2098 from guardicore/2072-simplify-credentials
...
2072 simplify credentials
2022-07-18 09:35:54 -04:00
Mike Salvatore
e5d3271b74
UT: Use Credentials.to_mapping() in test_credential_telem_send()
2022-07-18 09:23:21 -04:00
Mike Salvatore
068dbbe963
Agent: Extract methods to clean up AggregatingCredentialsStore
2022-07-18 09:14:51 -04:00
Mike Salvatore
7c920cced3
Agent: Fix identity logic in AggregatingCredentialsStore
2022-07-18 09:07:11 -04:00
Mike Salvatore
9edfe6979b
Agent: Capture secrets if missing username in SSHCredentialCollector
2022-07-18 08:53:36 -04:00
Mike Salvatore
d5a125d985
Agent: Capture username even if no secrets are associated
2022-07-18 08:46:07 -04:00
Mike Salvatore
c144ad9e64
Agent: Fix "new user" logic in MimikatzCredentialCollector
...
Neither Passwords nor hashes should be included for and users that
Infection Monkey creates.
2022-07-18 08:42:31 -04:00
Mike Salvatore
cb9f43d242
Agent: Fix type hint in MimikatzCredentialCollector
2022-07-18 08:27:32 -04:00
Mike Salvatore
302803b779
Agent: Improve variable names in MimikatzCredentialCollector
2022-07-18 08:27:08 -04:00
Mike Salvatore
acf12c2de1
Common: Simplify _make_credentials()
2022-07-18 08:14:01 -04:00
Mike Salvatore
9e7963afc0
Common: Simplify _serialize_credentials()
2022-07-18 08:13:09 -04:00
Ilija Lazoroski
575fff0cdb
Agent: Simplify credentials object in MimikatzCredentialCollector
2022-07-18 11:49:44 +02:00
Ilija Lazoroski
2cb6c60866
UT: Fix credentials intercepting telemetry messenger tests
2022-07-18 11:47:49 +02:00
Ilija Lazoroski
0f2fc0902f
Agent: Simplify credentials object in aggregating credentials store
2022-07-18 11:32:12 +02:00
Ilija Lazoroski
f421f42604
Agent: Simplify credentials in ssh credentials collector
2022-07-18 11:32:12 +02:00
Mike Salvatore
213b161d1a
Common: Fix type hints in credentials.py
2022-07-15 12:34:42 -04:00
Mike Salvatore
62ce91b59b
Common: Prevent invalid Credentials objects from being constructed
2022-07-15 12:19:12 -04:00
Mike Salvatore
19a720898e
Island: Handle encryption/decryption of None credential components
2022-07-15 11:36:07 -04:00
Mike Salvatore
2af713dabd
Common: Allow identities or secrets to be None
...
It's possible that credentials are stolen and an identity/secret
association can not be made. For example, a list of usernames can be
acquired by `ls /home`, but no passwords will be retrieved this way.
Credentials(identity=Username("username"), secret=None) will represent
this case.
2022-07-15 10:50:25 -04:00
Mike Salvatore
e3b23993fa
Common: Add type hints to dicts in credentials.py
2022-07-15 10:44:14 -04:00
Mike Salvatore
63731b8334
UT: Test identity/password combos in test_credentials.py
2022-07-15 10:44:14 -04:00
Mike Salvatore
fb11c29208
UT: Use nested comprehension in get_all_collections_in_mongo()
2022-07-15 10:44:14 -04:00
Mike Salvatore
3f20b71d25
UT: Simplify Credentials tests
2022-07-15 10:44:14 -04:00
Mike Salvatore
bd0425beb8
UT: Add missing __init__.py to tests/data_for_tests/
2022-07-15 10:44:14 -04:00