Detectionmediumtest

Credential Manager Access By Uncommon Applications

Detects suspicious processes based on name and location that access the windows credential manager and vault. Which can be a sign of credential stealing. Example case would be usage of mimikatz "dpapi::cred" function

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-10-11Updated 2026-07-28407aecb1-e762-4acf-8c7b-d087bcff3bb6windows
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|contains:
            - '\AppData\Local\Microsoft\Credentials\'
            - '\AppData\Roaming\Microsoft\Credentials\'
            - '\AppData\Local\Microsoft\Vault\'
            - '\ProgramData\Microsoft\Vault\'
    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

Legitimate software installed by the users for example in the "AppData" directory may access these files (for any reason).

Rule Metadata
Rule ID
407aecb1-e762-4acf-8c7b-d087bcff3bb6
Status
test
Level
medium
Type
Detection
Created
2022-10-11
Modified
2026-07-28
Path
rules/windows/file/file_access/file_access_win_susp_credential_manager_access.yml
Raw Tags
attack.t1003attack.credential-access
View on GitHub