Mike Salvatore
e7d694380d
Agent: Skip propagation if max depth is reached
...
Fixes #1374
When monkey starts, it launches a thread for executing post breach
actions. It then executes its propagation loop on the main thread. If
the maximum propagation depth has been reached, a
PlannedShutdownException is raised on the main thread. This results in
InfectionMonkey.cleanup() being called, which then calls
InfectionMonkey.self_delete(). self_delete() deletes the monkey binary,
but the post breach actions thread hasn't been stopped, resulting in
a trace when the thread attempts an import.
We don't need to shutdown if the maximum propagation depth is reached.
We only need to skip the propagation phase so that monkey does not
propagate further. PBAs and payloads can still be allowed to run.
2021-07-30 05:44:34 -04:00
Shreya
d908b183f5
Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
...
Modify snippet in monkey_island/cc/services/config_schema/monkey.py to only hide HOSTNAME_COLLECTOR instead of the whole import statement block
2021-06-21 22:40:37 +05:30
Mike Salvatore
3b3ce2f86e
Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
2021-06-21 11:19:43 -04:00
Shreya
c77965585c
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-05-17 22:54:19 +05:30
Shreya
6e0c5eb828
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-05-17 19:11:42 +05:30
Shreya
8dc72b2aae
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-05-17 18:53:32 +05:30
Shreya
c10f2f690a
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-04-14 11:18:00 +05:30
Shreya
a39cfd21fb
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-04-13 10:43:05 +05:30
Mike Salvatore
e0a40626be
Swimm: update exercise Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq).
2021-04-11 19:37:40 -04:00
Shreya
0f2ecc14cc
Modify Swimm unit: Implement a new PBA — `ScheduleJobs`
2021-04-08 17:08:41 +05:30
Shreya
e1ec0263a8
Fix Swimm unit: Add a simple Post Breach action
2021-04-08 17:03:09 +05:30
Shreya
f60f38d14d
Fix Swimm unit: Add a new System Info Collector
2021-04-08 16:57:02 +05:30
Shreya
0fa7c41cf3
Modify Swimm unit: Add a new configuration setting to the Agent
...
Fixed a link
2021-04-08 16:45:46 +05:30
Mike Salvatore
7cb92a7e13
Swimm: update exercise Implement a new PBA — (id: VW4rf3AxRslfT7lwaug7).
2021-04-07 06:52:50 -04:00
Mike Salvatore
5c4214e60a
Swimm: update exercise Add details about your new PBA (id: JFXftJml8DpmuCPBA9rL).
2021-04-07 06:52:35 -04:00
Mike Salvatore
c1950aa4ff
Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-04-07 06:52:05 -04:00
Mike Salvatore
874a88ced0
Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
2021-04-07 06:49:30 -04:00
Mike Salvatore
2881b11be3
Swimm: update exercise Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq).
2021-04-07 06:47:32 -04:00
VakarisZ
522000d169
Swimm: update unit Define what your new PBA does (id: xYkxB76pK0peJj2tSxBJ).
2021-02-18 16:51:52 +02:00
VakarisZ
51abb5dacb
Swimm: update unit Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-02-18 16:49:44 +02:00
VakarisZ
6d31afacd0
Swimm: update unit Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
2021-02-18 16:45:34 +02:00
Swimm
f41f896aef
Swimm: update unit Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).
2021-01-28 20:42:14 +02:00
omerr
bdf1dc2213
Merge remote-tracking branch 'origin/refactor-advanced-multiselect' into fix_swimm_units
2021-01-28 19:50:17 +02:00
Swimm
49d3766436
Swimm: update unit Implement a new PBA — `ScheduleJobs` (id: VW4rf3AxRslfT7lwaug7).
2021-01-28 19:30:48 +02:00
Swimm
a76eacf240
Swimm: update unit Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp).
2021-01-28 19:29:21 +02:00
Swimm
3daedd7a41
Swimm: update unit Add details about your new PBA (id: JFXftJml8DpmuCPBA9rL).
2021-01-28 19:26:08 +02:00
Swimm
6806e715f7
Swimm: update unit Add a new configuration setting to the Agent ⚙ (id: AzD8XysWg1BBXCjCDkfq).
2021-01-28 19:24:17 +02:00
Mike Salvatore
ce9a398f28
swimm: autosync PBA tutorial
2021-01-28 10:58:42 -05:00
Shreya
61ebba274f
Fix "Implement a new PBA — `ScheduleJobs`" Swimm unit, after changes in post_breach/actions/schedule_jobs.py
2020-12-09 21:47:58 +05:30
Shreya Malviya
4b1b6f8be6
Merge pull request #850 from shreyamalviya/swimm-opensauced
...
New Swimm Units
2020-11-11 12:18:20 +05:30
Swimm
e3b3ad8310
Swimm: created units: add PBA const, implement `ScheduleJobs` PBA, add PBA config
2020-10-07 23:39:51 +05:30
Swimm
4152e5fe8a
Swimm: updated unit (tbxb2cGgUiJQ8Btma0fp)
2020-09-11 18:50:35 +05:30
Swimm
8595777f8f
Swimm: updated unit (OwcKMnALpn7tuBaJY1US)
2020-09-11 18:28:24 +05:30
Swimm
19b42f7fa9
Swimm: updated unit (tbxb2cGgUiJQ8Btma0fp)
2020-09-11 17:54:38 +05:30
Swimm
b6dec2b323
Swimm: updated unit (AzD8XysWg1BBXCjCDkfq)
2020-09-03 15:30:38 +03:00
Swimm
149ba9110b
Swimm: saved Unit 'Add a simple Post Breach action' (tbxb2cGgUiJQ8Btma0fp)
2020-09-02 22:08:06 +03:00
Swimm
eba77daf6e
Swimm: saved Unit 'Add a new System Info Collector' (OwcKMnALpn7tuBaJY1US)
2020-09-02 22:07:47 +03:00
Swimm
37e6f03adf
Swimm: saved Unit 'System info collectors' (OwcKMnALpn7tuBaJY1US)
2020-09-02 22:07:24 +03:00
Swimm
a9b3eb9ec5
Swimm: saved Unit 'System info collectors' (OwcKMnALpn7tuBaJY1US)
2020-09-02 21:54:33 +03:00
Swimm
33380256a9
Swimm: saved Unit 'Add a new configuration to the Agent ⚙' (AzD8XysWg1BBXCjCDkfq)
2020-09-02 19:15:06 +03:00
Swimm
36cf5f40c8
Swimm: saved Unit 'Add a new configuration value and use it in the Monkey Agent ⚙' (AzD8XysWg1BBXCjCDkfq)
2020-09-02 19:14:50 +03:00
Swimm
cd702bd8e5
Swimm: saved Unit 'Simple Post Breach action - CLI commands only' (tbxb2cGgUiJQ8Btma0fp)
2020-08-19 16:48:29 +03:00
Shay Nehmad
1bb5fff345
Reconfigure swimm to enable review of done units
2020-08-12 15:50:24 +03:00
Swimm
04deee97b4
Swimm: saved Unit 'Simple Post Breach action - CLI commands only' (tbxb2cGgUiJQ8Btma0fp)
2020-08-12 15:45:48 +03:00
Swimm
a5f0f682ec
Swimm: saved Unit 'Simple Post Breach action - CLI commands only' (tbxb2cGgUiJQ8Btma0fp)
2020-08-12 15:29:57 +03:00
Swimm
90e2494725
Swimm: saved Unit 'Make something configurable ⚙' (AzD8XysWg1BBXCjCDkfq)
2020-08-05 11:01:22 +03:00
Swimm
9b9025a880
Swimm: Initializing
2020-08-05 10:43:19 +03:00