< Back to rules search
Nsswitch Configuration Modified
Detect modifications to nsswitch.conf.
The Name Service Switch (nsswitch) configuration file is used to point system services and other applications to the sources of name-service information. This name-service information includes where the password file is stored, publickey information, and more. An attacker may attempt to modify nsswitch.conf in order to inject attacker-owned information into the authentication process. For instance, the attacker could point to a malicious password file and then login to privileged user accounts.
Triage and response
- Check to see what changes were made to nsswitch.conf.
- Check if critical name-service sources were changed, and whether the changes were a part of known system-setup or maintenance.
- If these changes are unauthorized, roll back the host in question to a known good nsswitch.conf, or replace the system with a known-good system image.
Requires Agent version 7.27 or greater