Sub-technique of T1056 Input Capture.View on attack.mitre.org
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.
Rules on DetectionCode tagged with T1056.002.
| Rule | Level | Log source |
|---|---|---|
| CredUI.DLL Loaded By Uncommon Process | medium | windows / image_load |
| PUA - Mouse Lock Execution | medium | windows / process_creation |
| GUI Input Capture - macOS | low | macos / process_creation |
| Rule | Type | Risk | Data source |
|---|---|---|---|
| MacOS Osascript Displaying Suspicious User Prompt | Anomaly | NULL | Osquery Results |
| Windows Input Capture Using Credential UI Dll | Hunting | NULL | Sysmon EventID 7 |
None recorded.
| Used by | Procedure 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. |
| Used by | Procedure 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. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.