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](https://attack.mitre.org/techniques/T1548/002)).

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.(Citation: OSX Malware Exploits MacKeeper) This type of prompt can be used to collect credentials via various languages such as [AppleScript](https://attack.mitre.org/techniques/T1059/002)(Citation: LogRhythm Do You Trust Oct 2014)(Citation: OSX Keydnap malware)(Citation: Spoofing credential dialogs) and [PowerShell](https://attack.mitre.org/techniques/T1059/001).(Citation: LogRhythm Do You Trust Oct 2014)(Citation: Enigma Phishing for Credentials Jan 2015)(Citation: Spoofing credential dialogs) On Linux systems adversaries may launch dialog boxes prompting users for credentials from malicious shell scripts or the command line (i.e. [Unix Shell](https://attack.mitre.org/techniques/T1059/004)).(Citation: Spoofing credential dialogs)

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](https://attack.mitre.org/techniques/T1217) and/or [Application Window Discovery](https://attack.mitre.org/techniques/T1010)) to spoof prompts when users are naturally accessing sensitive sites/data.
GUI Input Capture
source_name: mitre-attack  url: https://attack.mitre.org/techniques/T1056/002  external_id: T1056.002     source_name: LogRhythm Do You Trust Oct 2014  description: Foss, G. (2014, October 3). Do You Trust Your Computer?. Retrieved December 17, 2018.  url: https://logrhythm.com/blog/do-you-trust-your-computer/     source_name: Spoofing credential dialogs  description: Johann Rehberger. (2021, April 18). Spoofing credential dialogs on macOS Linux and Windows. Retrieved August 19, 2021.  url: https://embracethered.com/blog/posts/2021/spoofing-credential-dialogs/     source_name: OSX Keydnap malware  description: Marc-Etienne M.Leveille. (2016, July 6). New OSX/Keydnap malware is hungry for credentials. Retrieved July 3, 2017.  url: https://www.welivesecurity.com/2016/07/06/new-osxkeydnap-malware-hungry-credentials/     source_name: Enigma Phishing for Credentials Jan 2015  description: Nelson, M. (2015, January 21). Phishing for Credentials: If you want it, just ask!. Retrieved December 17, 2018.  url: https://enigma0x3.net/2015/01/21/phishing-for-credentials-if-you-want-it-just-ask/     source_name: OSX Malware Exploits MacKeeper  description: Sergei Shevchenko. (2015, June 4). New Mac OS Malware Exploits Mackeeper. Retrieved July 3, 2017.  url: https://baesystemsai.blogspot.com/2015/06/new-mac-os-malware-exploits-mackeeper.html     