Sigma rule: Credentials In Files

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b2168e69b112, updated 2021-11-27T00:00:00.000Z.

Rule

Title
Credentials In Files
Status
test
Level
high
Author
Igor Fits, Mikhail Larin, oscd.community
Date
2020-10-19
Modified
2021-11-27
File
rules/macos/process_creation/proc_creation_macos_find_cred_in_files.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detecting attempts to extract passwords with grep and laZagne

Log source

product
macos
category
process_creation

Detection

selection1:
    Image|endswith: '/grep'
    CommandLine|contains: 'password'
selection2:
    CommandLine|contains: 'laZagne'
condition: 1 of selection*

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/macos/process_creation/proc_creation_macos_find_cred_in_files.yml

Sources and licences

  • SigmaHQ

    "Credentials In Files" by Igor Fits, Mikhail Larin, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_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",
entity page, dataset version ref-b2168e69b112, updated 2021-11-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/53b1b378-9b06-4992-b972-dde6e423d2b4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 53b1b378-9b06-4992-b972-dde6e423d2b4, 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.