Full SigmaHQ catalog

Author
Swachchhanda Shrawn Poudel (Nextron Systems)
Rule ID
10ac0730-c24e-4f4c-81f8-b13a1ac95a1d
Collection
Emerging threats
Log source
linux / file_event
Severity
high
Maturity
experimental
First published
2025-10-02
Updated
2026-11-02
MITRE ATT&CK
T1068

Detection logic

Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.

Sigma YAML
logsource:
    category: file_event
    product: linux
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'
    filter_optional_snap:
        TargetFilename|startswith: '/snap/core'
        TargetFilename|endswith: '/etc/nsswitch.conf'
    filter_optional_dracut:
        TargetFilename|startswith: '/var/tmp/dracut.'
        TargetFilename|endswith: '/initramfs/etc/nsswitch.conf'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Backup locations