Sigma rule: Credentials In Files - Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e8dca0819358, updated 2023-04-30T00:00:00.000Z.

Rule

Title
Credentials In Files - Linux
Status
test
Level
high
Author
Igor Fits, oscd.community
Date
2020-10-15
Modified
2023-04-30
File
rules/linux/auditd/execve/lnx_auditd_find_cred_in_files.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detecting attempts to extract passwords with grep

Log source

product
linux
service
auditd

Detection

selection:
    type: 'EXECVE'
keywords:
    '|all':
        - 'grep'
        - 'password'
condition: selection and keywords

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.credential-access
  • attack.t1552.001

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/execve/lnx_auditd_find_cred_in_files.yml

Sources and licences

  • SigmaHQ

    "Credentials In Files - Linux" by Igor Fits, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_find_cred_in_files.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: Credentials In Files - Linux",
entity page, dataset version ref-e8dca0819358, updated 2023-04-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/df3fcaea-2715-4214-99c5-0056ea59eb35 (accessed 2026-11-03).
Underlying source: SigmaHQ rule df3fcaea-2715-4214-99c5-0056ea59eb35, 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.