Non-Standard Nsswitch.Conf Creation - Potential CVE-2025-32463 Exploitation
Description
Detects the creation of nsswitch.conf files in non-standard directories, which may indicate exploitation of CVE-2025-32463. This vulnerability requires an attacker to create a nsswitch.conf in a directory that will be used during sudo chroot operations. When sudo executes, it loads malicious shared libraries from user-controlled locations within the chroot environment, potentially leading to arbitrary code execution and privilege escalation.
Query · sigma
selection: TargetFilename|endswith: /etc/nsswitch.conf filter_main_legitimate_path: TargetFilename: - /etc/nsswitch.conf - /usr/share/factory/etc/nsswitch.conf condition: selection and not 1 of filter_main_*
Known false positives
- Backup locations