Sigma rule: Non-Standard Nsswitch.Conf Creation - Potential CVE-2025-32463 Exploitation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-bc5a7a530d2d, updated 2026-10-19T00:00:00.000Z.

Rule

Title
Non-Standard Nsswitch.Conf Creation - Potential CVE-2025-32463 Exploitation
Status
experimental
Level
high
Author
Swachchhanda Shrawn Poudel (Nextron Systems)
Date
2025-10-02
Modified
2026-10-19
File
rules-emerging-threats/2025/Exploits/CVE-2025-32463/file_event_lnx_exploit_cve_2025_32463.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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.

Log source

product
linux
category
file_event

Detection

selection:
    TargetFilename|endswith: '/etc/nsswitch.conf'
filter_main_legitimate_path:
    TargetFilename:
        - '/etc/nsswitch.conf'
        - '/usr/etc/nsswitch.conf'
        - '/usr/share/factory/etc/nsswitch.conf'
filter_optional_snapshot:
    TargetFilename|startswith: '/.snapshots/'
    TargetFilename|endswith: '/snapshot/etc/nsswitch.conf'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Backup locations

Tags

  • attack.privilege-escalation
  • attack.t1068
  • cve.2025-32463
  • detection.emerging-threats

CVEs this rule names

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2025/Exploits/CVE-2025-32463/file_event_lnx_exploit_cve_2025_32463.yml

Sources and licences

  • SigmaHQ

    "Non-Standard Nsswitch.Conf Creation - Potential CVE-2025-32463 Exploitation" by Swachchhanda Shrawn Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2025/Exploits/CVE-2025-32463/file_event_lnx_exploit_cve_2025_32463.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Non-Standard Nsswitch.Conf Creation - Potential CVE-2025-32463 Exploitation",
entity page, dataset version ref-bc5a7a530d2d, updated 2026-10-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/10ac0730-c24e-4f4c-81f8-b13a1ac95a1d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 10ac0730-c24e-4f4c-81f8-b13a1ac95a1d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.