Detectionmediumtest

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

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-10-17Updated 2024-07-297a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2windows
Log Source
Windowsfile_access
ProductWindows← raw: windows
Categoryfile_access← raw: file_access

Definition

Requirements: Microsoft-Windows-Kernel-File ETW provider

Detection Logic
Detection Logic3 selectors
detection:
    selection:
        FileName|endswith: '\Microsoft\Protect\CREDHIST'
    filter_main_system_folders:
        Image|startswith:
            - 'C:\Program Files\'
            - 'C:\Program Files (x86)\'
            - 'C:\Windows\system32\'
            - 'C:\Windows\SysWOW64\'
    filter_main_explorer:
        Image: 'C:\Windows\explorer.exe'
    condition: selection and not 1 of filter_main_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2
Status
test
Level
medium
Type
Detection
Created
2022-10-17
Modified
2024-07-29
Path
rules/windows/file/file_access/file_access_win_susp_credhist.yml
Raw Tags
attack.credential-accessattack.t1555.004
View on GitHub