Access To Windows Credential History File By Uncommon Applications
Detects file access requests to the Windows Credential History File by an uncommon application. This can be a sign of credential stealing. Example case would be usage of mimikatz "dpapi::credhist" function
Sigma rule (View on GitHub)
1title: Access To Windows Credential History File By Uncommon Applications
2id: 7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2
3status: experimental
4description: |
5 Detects file access requests to the Windows Credential History File by an uncommon application.
6 This can be a sign of credential stealing. Example case would be usage of mimikatz "dpapi::credhist" function
7references:
8 - https://tools.thehacker.recipes/mimikatz/modules/dpapi/credhist
9 - https://www.passcape.com/windows_password_recovery_dpapi_credhist
10author: Nasreddine Bencherchali (Nextron Systems)
11date: 2022-10-17
12modified: 2024-07-29
13tags:
14 - attack.credential-access
15 - attack.t1555.004
16logsource:
17 category: file_access
18 product: windows
19 definition: 'Requirements: Microsoft-Windows-Kernel-File ETW provider'
20detection:
21 selection:
22 FileName|endswith: '\Microsoft\Protect\CREDHIST'
23 filter_main_system_folders:
24 Image|startswith:
25 - 'C:\Program Files\'
26 - 'C:\Program Files (x86)\'
27 - 'C:\Windows\system32\'
28 - 'C:\Windows\SysWOW64\'
29 filter_main_explorer:
30 Image: 'C:\Windows\explorer.exe'
31 condition: selection and not 1 of filter_main_*
32falsepositives:
33 - Unknown
34# Increase level after false positives filters are good enough
35level: medium
References
Related rules
- Access To Windows DPAPI Master Keys By Uncommon Applications
- Suspicious Key Manager Access
- Windows Credential Manager Access via VaultCmd
- AADInternals PowerShell Cmdlets Execution - ProccessCreation
- AADInternals PowerShell Cmdlets Execution - PsScript