Sigma rule: Password Policy Discovery - Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8f6180189f72, updated 2024-12-01T00:00:00.000Z.

Rule

Title
Password Policy Discovery - Linux
Status
stable
Level
low
Author
Ömer Günal, oscd.community, Pawel Mazur
Date
2020-10-08
Modified
2024-12-01
File
rules/linux/auditd/lnx_auditd_password_policy_discovery.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects password policy discovery commands

Log source

product
linux
service
auditd

Detection

selection_files:
    type: 'PATH'
    name:
        - '/etc/login.defs'
        - '/etc/pam.d/auth'
        - '/etc/pam.d/common-account'
        - '/etc/pam.d/common-auth'
        - '/etc/pam.d/common-password'
        - '/etc/pam.d/system-auth'
        - '/etc/security/pwquality.conf'
selection_chage:
    type: 'EXECVE'
    a0: 'chage'
    a1:
        - '--list'
        - '-l'
selection_passwd:
    type: 'EXECVE'
    a0: 'passwd'
    a1:
        - '-S'
        - '--status'
condition: 1 of selection_*

False positives (as the rule lists them)

  • Legitimate administration activities

Tags

  • attack.discovery
  • attack.t1201

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/linux/auditd/lnx_auditd_password_policy_discovery.yml

Sources and licences

  • SigmaHQ

    "Password Policy Discovery - Linux" by Ömer Günal, oscd.community, Pawel Mazur (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/lnx_auditd_password_policy_discovery.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: Password Policy Discovery - Linux",
entity page, dataset version ref-8f6180189f72, updated 2024-12-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ca94a6db-8106-4737-9ed2-3e3bb826af0a (accessed 2026-11-03).
Underlying source: SigmaHQ rule ca94a6db-8106-4737-9ed2-3e3bb826af0a, 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.