Skip to content

Conversation

tas50
Copy link
Member

@tas50 tas50 commented Aug 2, 2025

I noticed a lot of our steps didn't work for my Debian system because the config was already set in the /etc/sysctl.conf file. If it's there let's make sure to edit it. If not then we can create the .d file

I also confirmed that a reload of auditd does not load the main config file so if you change that you need to do a full restart.

Finally I nuked some sudo usage in our remediations so things are consistent

I noticed a lot of our steps didn't work for my Debian system because
the config was already set in the /etc/sysctl.conf file. If it's there
let's make sure to edit it. If not then we can create the .d file

Signed-off-by: Tim Smith <tsmith84@gmail.com>
@tas50 tas50 force-pushed the tas50/remediations_v5 branch 3 times, most recently from 0d94f53 to fc23b24 Compare August 2, 2025 02:51
@tas50 tas50 changed the title Improve logic in sysctl remediations Improve logic in sysctl remediations + fix auditd restarts Aug 2, 2025
Turns out the main config is not reloaded with a reload. You have to do
a full restart

Signed-off-by: Tim Smith <tsmith84@gmail.com>
@tas50 tas50 force-pushed the tas50/remediations_v5 branch from fc23b24 to c9249ee Compare August 2, 2025 02:56
tas50 added 2 commits August 1, 2025 20:37
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Signed-off-by: Tim Smith <tsmith84@gmail.com>
@tas50 tas50 changed the title Improve logic in sysctl remediations + fix auditd restarts Improve logic in sysctl remediations + improve auditd remediation Aug 2, 2025
Signed-off-by: Tim Smith <tsmith84@gmail.com>
@tas50 tas50 force-pushed the tas50/remediations_v5 branch from 0829a19 to 3bbbffa Compare August 2, 2025 03:59
tas50 added 3 commits August 2, 2025 16:40
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Copy link
Contributor

@mm-weber mm-weber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank you @tas50 !

@mm-weber mm-weber merged commit f010f9d into main Aug 4, 2025
8 checks passed
@mm-weber mm-weber deleted the tas50/remediations_v5 branch August 4, 2025 16:28
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants