Techniques › T1056 › T1056.002
T1056.002 GUI Input Capture
collection · credential access — Linux, macOS, Windows · attack.mitre.org · JSON
1
MITRE detection strategy
3
analytics
3
Sigma rules tagged attack.t1056.002
0
KEV CVEs mapped here
<p>Adversaries may mimic common operating system GUI components to prompt users for credentials with a seemingly legitimate prompt. When programs are executed that need additional privileges than are present in the current user context, it is common for the operating system to prompt the user for proper credentials to authorize the elevated privileges for the task (ex: Bypass User Account Control).</p><p>Adversaries may mimic this functionality to prompt users for credentials with a seemingly legitimate prompt for a number of reasons that mimic normal usage, such as a fake installer requiring additional access or a fake malware removal suite. This type of prompt can be used to collect credentials via various languages such as AppleScript and PowerShell. On Linux systems adversaries may launch dialog boxes prompting users for credentials from malicious shell scripts or the command line (i.e. Unix Shell).</p><p>Adversaries may also mimic common software authentication requests, such as those from browsers or email clients. This may also be paired with user activity monitoring (i.e., Browser Information Discovery and/or Application Window Discovery) to spoof prompts when users are naturally accessing sensitive sites/data.</p>
KEV CVEs mapped to this technique · CTID Mappings Explorer
None. No KEV entry in the public mapping names this technique. Given that 74.7% of KEV has no mapping at all, this says more about the mapping than about the technique.
Detection strategy · ATT&CK Enterprise v19.2
- DET0521 Behavioral Detection of Spoofed GUI Credential Prompts v1.0
AN1440 WindowsDetects suspicious use of PowerShell, .NET, or script interpreters to spawn processes that mimic UAC prompts, often with credential capture dialogue boxes invoked from non-standard parent processes.Tunable:
CommandLineParentProcessNameTimeWindowAN1441 LinuxDetects GUI-based credential prompts invoked via zenity/kdialog/dialog or X11 APIs from non-user-facing scripts or background shell sessions, often with authentication-related text.Tunable:ExecutableNamePromptStringAN1442 macOSDetects AppleScript or Objective-C usage to generate fake authentication windows (e.g., using display dialog or NSAlert) from user-launched or persistence-related processes.Tunable:ScriptContentProcessPath
Sigma rules · SigmaHQ da9bb07d64, tag attack.t1056.002
Author: remotephone, oscd.community
· 2020-10-13 (modified 2025-12-05) · logsource: product=macos category=process_creation · 60f1ce20-484e-41bd-85f4-ac4afec2c541
Detects attempts to use system dialog prompts to capture user credentials
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2020-10-20 (modified 2026-06-29) · logsource: product=windows category=image_load · 9ae01559-cf7e-4f8e-8e14-4c290a1b4784
Detects loading of "credui.dll" and related DLLs by an uncommon process. Attackers might leverage this DLL for potential use of "CredUIPromptForCredentials" or "CredUnPackAuthenticationBufferW".
Author: Cian Heasley
· 2020-08-13 (modified 2023-02-21) · logsource: product=windows category=process_creation · c9192ad9-75e5-43eb-8647-82a0a5b493e3
In Kaspersky's 2020 Incident Response Analyst Report they listed legitimate tool "Mouse Lock" as being used for both credential access and collection in security incidents.
Rules tagged at the parent level (attack.t1056) 2
These target the parent technique, not this sub-technique specifically. Listed for completeness, not counted as coverage.
Author: Josh Nickels
· 2024-02-26 · logsource: product=windows category=dns_query · df68f791-ad95-447f-a271-640a0dab9cf8
Detects DNS query requests to "update.onelaunch.com". This domain is associated with the OneLaunch adware application.
When the OneLaunch application is installed it will attempt to get updates from this domain.
Author: Gavin Knapp
· 2023-03-16 · logsource: category=proxy · eb6c2004-1cef-427f-8885-9042974e5eb6
Detects connections to interplanetary file system (IPFS) containing a user's email address which mirrors behaviours observed in recent phishing campaigns leveraging IPFS to host credential harvesting webpages.