Commit Graph

6677 Commits

Author SHA1 Message Date
Mike Salvatore 73329e9729 Agent: Remove input() call in monkey.py
The call to input() was used to pause the execution of the agent while
testing the new signal handlers. It is no longer needed.
2021-11-24 10:52:55 +02:00
Mike Salvatore 6149ef630b Agent: Improve signal handler log message 2021-11-24 10:52:55 +02:00
Mike Salvatore 068307f0eb Agent: Handle window close event on Windows 2021-11-24 10:52:55 +02:00
Mike Salvatore 27ef06c546 Agent: Call IMaster.terminate() from signal handler 2021-11-24 10:52:55 +02:00
VakarisZ 9d36f20b42 Agent: register signal handlers
Agent will now handle interrupt and break signals on linux and windows
2021-11-24 10:52:55 +02:00
Shreya Malviya e00fd64530 Agent: Fix PBA return value 2021-11-24 13:54:49 +05:30
Shreya Malviya d0b9fca4d7 Agent: Fix return types and statements in mock puppet for PBA and exploiters 2021-11-24 13:54:49 +05:30
Shreya Malviya 57b710fb10 UT: Modify unit tests for ExploitTelem and PostBreachTelem based on previous changes 2021-11-24 13:54:49 +05:30
Shreya Malviya 8c2eab4c2a Agent: Remove stray issue comment in MockMaster which was solved 2021-11-24 13:54:49 +05:30
Shreya Malviya 7b0f08ee54 Agent: Finish implementing MockMaster
Also modified ExploitTelem and PostBreachTelem internals, and
MockPuppet.
2021-11-24 13:54:46 +05:30
Shreya Malviya b48ddd055a Agent: Progress implementing MockMaster 2021-11-24 13:54:06 +05:30
Mike Salvatore ea8be28a72 Agent: Log a message in MockMaster.terminate() 2021-11-24 13:54:06 +05:30
Ilija Lazoroski 357f749557 Agent: Fix typo in puppet ping function that messed with node states 2021-11-24 13:54:05 +05:30
Mike Salvatore 612668f43b Agent: Add partially completed MockMaster 2021-11-24 13:54:05 +05:30
Mike Salvatore 082f034d58 Agent: Change the method docstrings for IMaster 2021-11-24 13:54:05 +05:30
Shreya Malviya bd31cfd947 Agent: Add IMaster 2021-11-24 13:54:05 +05:30
Mike Salvatore e9749dd826 Agent: Move control_channel.py to master/ 2021-11-23 11:08:05 -05:00
Mike Salvatore 6a2a796ae5
Merge pull request #1623 from guardicore/1596-check-for-stop
Implement ControlChannel
2021-11-23 09:52:52 -05:00
Ilija Lazoroski 839024f243 Island: Fix formatting in config 2021-11-23 15:20:19 +01:00
Ilija Lazoroski 56f07e0188 Agent: Add control channel server property 2021-11-23 15:17:01 +01:00
Ilija Lazoroski 65bc0efc5a Agent: Implement get config and get propagation credentials 2021-11-23 15:17:01 +01:00
Ilija Lazoroski 3aad64dff7 Island: Add endpoint to retrive propagation credentials 2021-11-23 15:17:01 +01:00
Ilija Lazoroski 0d8070080a Agent: Implement ControlChannel should_agent_stop 2021-11-23 15:17:01 +01:00
Ilija Lazoroski 7766e27f16 Island: Add mock endpoint to check if the agent should stop 2021-11-23 15:17:01 +01:00
Mike Salvatore 4da7c1ab5f
Merge pull request #1626 from guardicore/1592-i-puppet
Create IPuppet interface
2021-11-23 07:57:08 -05:00
Mike Salvatore a4a9de6a8d Agent: Add a timeout parameter to scan_tcp_port() 2021-11-23 07:16:06 -05:00
Mike Salvatore 6e6c3f6133 Agent: Fix capitalization of Dict type hints in IPuppet 2021-11-23 06:32:31 -05:00
Mike Salvatore 4fc484cd8d Agent: Add a preliminary MockPuppet implementation 2021-11-22 13:05:30 -05:00
Mike Salvatore df0174eacb Agent: Add IPuppet 2021-11-22 13:05:30 -05:00
Mike Salvatore f457635507
Merge pull request #1620 from guardicore/1506-remove-environments
Remove environments
2021-11-22 06:40:40 -05:00
ilija-lazoroski 6cc983dc21
Merge pull request #1618 from guardicore/1532-remove-mitre-attack-config
1532 remove mitre attack config
2021-11-22 12:06:45 +01:00
Ilija Lazoroski c7a1c9d21d UT: Remove testing disabled attack techniques 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 4e98baf6e3 Island: Remove attack config and enable all techniques by default 2021-11-22 11:27:46 +01:00
Ilija Lazoroski f07b7fafa2 Common: Remove disabled state from scan status 2021-11-22 11:27:46 +01:00
Ilija Lazoroski a41cad6291 Changelog: Add entry for removing ATT&CK configuration screen 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 58072205e8 Swimm: Remove explanation on attack techniques 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 0e4e137f6e Docs: Remove MITRE attack scenario 2021-11-22 11:27:20 +01:00
Ilija Lazoroski ee16fa82a0 Island: Remove attack endpoint and config functions 2021-11-19 18:19:28 +01:00
Ilija Lazoroski 23d05c37ed UI: Remove ATT&CK Configuration 2021-11-19 18:19:28 +01:00
Mike Salvatore 69cbf3ff50 Island: Remove disused Environment class 2021-11-19 08:42:36 -05:00
Mike Salvatore 38a898824a Island: Remove unreferenced EnvironmentConfig 2021-11-19 08:42:34 -05:00
Mike Salvatore 138e3ecee6 Island: Remove unreferenced AwsEnvironment 2021-11-19 08:38:19 -05:00
Mike Salvatore 5a544c5deb Island: Remove NOP PasswordEnvironment 2021-11-19 08:36:59 -05:00
Mike Salvatore 15a3e61ec0 Island: Remove unused environment_singleton 2021-11-19 08:36:39 -05:00
Mike Salvatore 1231b6aa6c Island: Remove Environment.get_config() 2021-11-19 08:33:36 -05:00
Mike Salvatore e0fc3cec2a Island: Change Environment.get_auth_expiration_time() to a constant 2021-11-19 08:30:22 -05:00
Mike Salvatore e98aa81645 Island: Remove Environment.is_debug()
Environment.is_debug() is always False.
2021-11-19 08:27:44 -05:00
Mike Salvatore c4d7bf7030 Island: replace get_island_port() with constant 2021-11-19 08:27:04 -05:00
Mike Salvatore f3b7803955
Merge pull request #1600 from guardicore/1537-remove-max-iters
Remove max iterations and timeout between iterations options
2021-11-19 08:08:10 -05:00
Mike Salvatore 52019f25c6 docs(swimm): update exercise Add a new configuration setting to the Agent ⚙ AzD8XysWg1BBXCjCDkfq 2021-11-19 08:07:50 -05:00