{"id":"7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2","title":"Access To Windows Credential History File By Uncommon Applications","description":"Detects file access requests to the Windows Credential History File by an uncommon application.\nThis can be a sign of credential stealing. Example case would be usage of mimikatz \"dpapi::credhist\" function\n","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-10-17","modified":"2024-07-29","tags":["attack.credential-access","attack.t1555.004"],"technique_ids":["T1555.004"],"logsource":{"category":"file_access","product":"windows","definition":"Requirements: Microsoft-Windows-Kernel-File ETW provider"},"falsepositives":["Unknown"],"references":["https://tools.thehacker.recipes/mimikatz/modules/dpapi/credhist","https://www.passcape.com/windows_password_recovery_dpapi_credhist"],"source_path":"rules/windows/file/file_access/file_access_win_susp_credhist.yml","source_sha256":"87c28266c819389a07559de830f501f93d0cf9e497ab7136a8dd346f8a5c15b5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/file/file_access/file_access_win_susp_credhist.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Access To Windows Credential History File By Uncommon Applications\nid: 7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2\nstatus: test\ndescription: |\n    Detects file access requests to the Windows Credential History File by an uncommon application.\n    This can be a sign of credential stealing. Example case would be usage of mimikatz \"dpapi::credhist\" function\nreferences:\n    - https://tools.thehacker.recipes/mimikatz/modules/dpapi/credhist\n    - https://www.passcape.com/windows_password_recovery_dpapi_credhist\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-10-17\nmodified: 2024-07-29\ntags:\n    - attack.credential-access\n    - attack.t1555.004\nlogsource:\n    category: file_access\n    product: windows\n    definition: 'Requirements: Microsoft-Windows-Kernel-File ETW provider'\ndetection:\n    selection:\n        FileName|endswith: '\\Microsoft\\Protect\\CREDHIST'\n    filter_main_system_folders:\n        Image|startswith:\n            - 'C:\\Program Files\\'\n            - 'C:\\Program Files (x86)\\'\n            - 'C:\\Windows\\system32\\'\n            - 'C:\\Windows\\SysWOW64\\'\n    filter_main_explorer:\n        Image: 'C:\\Windows\\explorer.exe'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Unknown\n# Increase level after false positives filters are good enough\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1555.004","id":"T1555.004","name":"Windows Credential Manager","page":"techniques/enterprise/T1555.004/"}],"data_path":"data/detection-rules/7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2.json","kind":"sigma"}
