Detectionhighstable
Credential Dumping Activity By Python Based Tool
Detects LSASS process access for potential credential dumping by a Python-like tool such as LaZagne or Pypykatz.
Bhabesh Raj, Jonhnathan RibeiroCreated 2023-11-27Updated 2023-11-29f8be3e82-46a3-4e4e-ada5-8e538ae8b9c9windows
Log Source
WindowsProcess Access
ProductWindows← raw: windows
CategoryProcess Access← raw: process_access
Events when a process opens a handle to another process, commonly used for credential dumping via LSASS.
Detection Logic
Detection Logic1 selector
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: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Related Rules
Similar
Rule not found4b9a8556-99c4-470b-a40c-9c8d02c77ed0
Similar
Rule not found7186e989-4ed7-4f4e-a656-4674b9e3e48b
Rule Metadata
Rule ID
f8be3e82-46a3-4e4e-ada5-8e538ae8b9c9
Status
stable
Level
high
Type
Detection
Created
2023-11-27
Modified
2023-11-29
Author
Path
rules/windows/process_access/proc_access_win_lsass_python_based_tool.yml
Raw Tags
attack.credential-accessattack.t1003.001attack.s0349