GUI Input Capture

T1056.002

Sub-technique of T1056 Input Capture.View on attack.mitre.org

About this technique

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).

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).

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.

Detection rules5

Rules on DetectionCode tagged with T1056.002.

Sigma3

RuleLevelLog source
CredUI.DLL Loaded By Uncommon Processmediumwindows / image_load
PUA - Mouse Lock Executionmediumwindows / process_creation
GUI Input Capture - macOSlowmacos / process_creation

Splunk2

RuleTypeRiskData source
MacOS Osascript Displaying Suspicious User PromptAnomalyNULLOsquery Results
Windows Input Capture Using Credential UI DllHuntingNULLSysmon EventID 7

Groups2

Software13

Campaigns0

None recorded.

Procedure examples15

Groups2

Used byProcedure example
GroupFIN4

FIN4 has presented victims with spoofed Windows Authentication prompts to collect their credentials.

GroupRedCurl

RedCurl prompts the user for credentials through a Microsoft Outlook pop-up.

Software13

Used byProcedure example
MalwareBundlore

Bundlore prompts the user for their credentials.

MalwareCalisto

Calisto presents an input prompt asking for the user's login and password.

MalwareCuckoo Stealer

Cuckoo Stealer has captured passwords by prompting victims with a “macOS needs to access System Settings” GUI window.

MalwareDok

Dok prompts the user for credentials.

MalwareiKitten

iKitten prompts the user for their credentials.

MalwareKeydnap

Keydnap prompts the users for credentials.

MalwareLP-Notes

LP-Notes has displayed a fake Windows Security dialog box to prompt for Windows credentials.

MalwareMetamorfo

Metamorfo has displayed fake forms on top of banking sites to intercept credentials from victims.

View all 13 software examples

References5

  1. Enigma Phishing for Credentials Jan 2015 Open source
    Nelson, M. (2015, January 21). Phishing for Credentials: If you want it, just ask!. Retrieved December 17, 2018.
  2. LogRhythm Do You Trust Oct 2014 Open source
    Foss, G. (2014, October 3). Do You Trust Your Computer?. Retrieved December 17, 2018.
  3. OSX Keydnap malware Open source
    Marc-Etienne M.Leveille. (2016, July 6). New OSX/Keydnap malware is hungry for credentials. Retrieved July 3, 2017.
  4. OSX Malware Exploits MacKeeper Open source
    Sergei Shevchenko. (2015, June 4). New Mac OS Malware Exploits Mackeeper. Retrieved July 3, 2017.
  5. Spoofing credential dialogs Open source
    Johann Rehberger. (2021, April 18). Spoofing credential dialogs on macOS Linux and Windows. Retrieved August 19, 2021.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.