feat: systemd hardening - #120
Conversation
|
I remember discussing this internally with @mmavropoulos and coming to the conclusion that a much more conservative approach would be better, which was then done as part of a23fa17. @mmavropoulos Feel free to comment or close if you believe this has been completed. -- |
|
It's great that there are already some improvements in, but, like often in security, this is a journey, one step at a time. |
|
Dear @juju4 Thank you for your feedback. As you correctly stated, securing software is a journey, to be done incrementally. In answer to your question, the majority of problems stems from setuid usage: we no longer rely on the use of sudo for the processes, and the way chosen to achieve this result at the time was to grant some elevated privileges to the Additionally, some sandboxing settings do not apply cleanly to all the systems we support, and at the time the resource constraints forbade us from working around this. A clear example can be found in We remain committed to ensuring the security of the service. We will take your suggestions into consideration, in particular the concept of splitting the service unit for each user. We thank you again for your time and insight. Marios Mavropoulos Papoudas |
|
Thanks for the feedback Both packaging tools and ansible normally allows some custom configuration depending on os release. |
|
Dear @juju4, Apologies for the late reply. While it is not possible at this time to share exact testing commands, a suggested process to follow in this particular case would be (assuming the starting point is a compiled probe source code with changes to the service's unit file) :
The service's system logs, accessible via, for instance, Hope this helps. We remain at your disposal for any additional information. Marios Mavropoulos Papoudas |
|
That looks like more manual testing that I partly did on my own. |
Follow-up of #109
No functional impact as far as I can tell for now