Skip to content

Conversation

@vahidmalekk
Copy link

This PR adds an auditd rule to monitor changes to /etc/ssh/sshrc. The sshrc file is executed automatically for every user upon a successful SSH login, making it a potential persistence mechanism for attackers.

This PR adds an auditd rule to monitor changes to `/etc/ssh/sshrc`.  
The `sshrc` file is executed automatically for every user upon a successful SSH login, 
making it a potential persistence mechanism for attackers.
@vahidmalekk vahidmalekk changed the title Update audit.rules Add auditd rule for monitoring /etc/ssh/sshrc changes Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant