Windows: Alert on credui.dll ImageLoad from Uncommon Process

Detects credui.dll or wincredui.dll being loaded by a process other than common system binaries.

FreeUnreviewedSigmamediumv1
title: "Windows: Alert on credui.dll ImageLoad from Uncommon Process"
id: d46ebd05-563f-45cc-915b-ea168551a02d
status: test
description: This rule flags when a Windows process loads credui.dll or wincredui.dll, excluding loads from a set of common system and administrator-facing executables. Loading credential-related UI and prompt components from an unexpected binary can be used to support credential access workflows or user interaction for authentication data. The detection relies on image load telemetry including the loaded module path and the loading process image path, filtered to reduce known benign cases.
references:
  - https://securitydatasets.com/notebooks/atomic/windows/credential_access/SDWIN-201020013208.html
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1056.002/T1056.002.md#atomic-test-2---powershell---prompt-user-for-password
  - https://learn.microsoft.com/en-us/windows/win32/api/wincred/nf-wincred-creduipromptforcredentialsa
  - https://github.com/S12cybersecurity/RDPCredentialStealer
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/image_load/image_load_dll_credui_uncommon_process_load.yml
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), Huntrule Team
date: 2020-10-20
modified: 2026-06-29
tags:
  - attack.credential-access
  - attack.collection
  - attack.t1056.002
logsource:
  category: image_load
  product: windows
detection:
  selection:
    - ImageLoaded|endswith:
        - \credui.dll
        - \wincredui.dll
    - OriginalFileName:
        - credui.dll
        - wincredui.dll
  filter_main_generic:
    Image|startswith:
      - C:\Program Files (x86)\
      - C:\Program Files\
      - C:\Windows\System32\
      - C:\Windows\SysWOW64\
      - C:\Windows\SystemApps\
  filter_main_full:
    Image:
      - C:\Windows\explorer.exe
      - C:\Windows\ImmersiveControlPanel\SystemSettings.exe
      - C:\Windows\regedit.exe
  filter_optional_opera:
    Image|endswith: \opera_autoupdate.exe
  filter_optional_process_explorer:
    Image|endswith:
      - \procexp64.exe
      - \procexp64a.exe
      - \procexp.exe
  filter_optional_teams:
    Image|startswith: C:\Users\
    Image|contains: \AppData\Local\Microsoft\Teams\
    Image|endswith: \Teams.exe
  filter_optional_onedrive:
    Image|startswith: C:\Users\
    Image|contains: \AppData\Local\Microsoft\OneDrive\
  condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
  - Other legitimate processes loading those DLLs in your environment.
level: medium
license: DRL-1.1
related:
  - id: 9ae01559-cf7e-4f8e-8e14-4c290a1b4784
    type: derived

What it detects

This rule flags when a Windows process loads credui.dll or wincredui.dll, excluding loads from a set of common system and administrator-facing executables. Loading credential-related UI and prompt components from an unexpected binary can be used to support credential access workflows or user interaction for authentication data. The detection relies on image load telemetry including the loaded module path and the loading process image path, filtered to reduce known benign cases.

Known false positives

  • Other legitimate processes loading those DLLs in your environment.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.