title: GUI Input Capture (T1056.002)
id: df00tech-t1056-002
status: experimental
description: "Adversaries may mimic common operating system GUI components to prompt users for credentials with a seemingly legitimate prompt. This includes spoofing Windows UAC dialogs, macOS authentication prompts, or application-specific login windows using scripting languages such as PowerShell, AppleScript, or shell scripts. Threat actors leverage this technique to harvest credentials without exploiting technical vulnerabilities, instead relying on user trust in familiar UI elements. Real-world examples include Proton, Calisto, Keydnap, FIN4, and RedCurl using fake dialogs to steal credentials."
references:
  - https://attack.mitre.org/techniques/T1056/002/
  - https://df00tech.com/detections/T1056.002
author: df00tech
date: 2026/04/16
tags:
  - attack.t1056.002
# NOTE: logsource is auto-derived and may need adjustment for your environment
logsource:
  category: process_creation
  product: windows
detection:
  # This detection logic could not be auto-translated; see the KQL/SPL query on df00tech.
  selection:
    EventID: '*'
  condition: selection
falsepositives:
  - IT helpdesk scripts using Get-Credential to prompt administrators for credentials during legitimate remote management tasks
  - Software installers that use PowerShell PromptForCredential to request elevated permissions before performing system changes
  - Internal developer tools or automation platforms that use Windows Forms dialogs to collect configuration input from operators
  - Password management applications that use ShowDialog or similar APIs as part of their legitimate credential management UI
level: high
