Sigma rule: Credential Dumping Activity By Python Based Tool

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9a4a0713beb6, updated 2023-11-29T00:00:00.000Z.

Rule

Title
Credential Dumping Activity By Python Based Tool
Status
stable
Level
high
Author
Bhabesh Raj, Jonhnathan Ribeiro
Date
2023-11-27
Modified
2023-11-29
File
rules/windows/process_access/proc_access_win_lsass_python_based_tool.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects LSASS process access for potential credential dumping by a Python-like tool such as LaZagne or Pypykatz.

Log source

product
windows
category
process_access

Detection

selection:
    TargetImage|endswith: '\lsass.exe'
    CallTrace|contains|all:
        - '_ctypes.pyd+'
        - ':\Windows\System32\KERNELBASE.dll+'
        - ':\Windows\SYSTEM32\ntdll.dll+'
    CallTrace|contains:
        - 'python27.dll+'
        - 'python3*.dll+'
    GrantedAccess: '0x1FFFFF'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.credential-access
  • attack.t1003.001
  • attack.s0349

MITRE ATT&CK ids this rule names

Related rules

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/windows/process_access/proc_access_win_lsass_python_based_tool.yml

Sources and licences

  • SigmaHQ

    "Credential Dumping Activity By Python Based Tool" by Bhabesh Raj, Jonhnathan Ribeiro (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_access/proc_access_win_lsass_python_based_tool.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: Credential Dumping Activity By Python Based Tool",
entity page, dataset version ref-9a4a0713beb6, updated 2023-11-29T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f8be3e82-46a3-4e4e-ada5-8e538ae8b9c9 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f8be3e82-46a3-4e4e-ada5-8e538ae8b9c9, 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.