splunk / attack_range

A tool that allows you to create vulnerable instrumented local or cloud environments to simulate attacks against and collect the data into Splunk
Apache License 2.0
2.15k stars 357 forks source link

caldera.service does not exit gracefully when stopped/restarted #431

Closed JED15EN71NEL closed 3 years ago

JED15EN71NEL commented 3 years ago

Issue: caldera.service does not exit gracefully when stopped/restarted Impact: Training progress, user additions, plugin enables, etc do not persist through necessary caldera.service restarts Fix: #https://github.com/mitre/caldera/issues/1983#issuecomment-751024809 Fix summary: Add the following to https://github.com/splunk/attack_range/blob/develop/ansible/roles/caldera/templates/systemd-caldera.service.j2 : KillSignal=SIGINT

My environment: AWS and Ubuntu 18.04 (per instructions below) https://github.com/splunk/attack_range/wiki/AWS:-Ubuntu-18.04-Installation

P4T12ICK commented 3 years ago

I prepared a PR with the suggested fix, https://github.com/splunk/attack_range/pull/433 Can you please check it? Thank you.

josehelps commented 3 years ago

We just merged a fix for this thank you again for raising it :smile: