monkey/.swm
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
..
AzD8XysWg1BBXCjCDkfq.swm Agent: Skip propagation if max depth is reached 2021-07-30 05:44:34 -04:00
JFXftJml8DpmuCPBA9rL.swm Swimm: update exercise Add details about your new PBA (id: JFXftJml8DpmuCPBA9rL). 2021-04-07 06:52:35 -04:00
OwcKMnALpn7tuBaJY1US.swm Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US). 2021-06-21 22:40:37 +05:30
VW4rf3AxRslfT7lwaug7.swm Modify Swimm unit: Implement a new PBA — `ScheduleJobs` 2021-04-08 17:08:41 +05:30
swimm.json Reconfigure swimm to enable review of done units 2020-08-12 15:50:24 +03:00
tbxb2cGgUiJQ8Btma0fp.swm Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-05-17 22:54:19 +05:30
xYkxB76pK0peJj2tSxBJ.swm Swimm: update unit Define what your new PBA does (id: xYkxB76pK0peJj2tSxBJ). 2021-02-18 16:51:52 +02:00