|T1056.002||GUI Input Capture|
|T1056.003||Web Portal Capture|
|T1056.004||Credential API Hooking|
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).
Calisto presents an input prompt asking for the user's login and password.
FIN4 has presented victims with spoofed Windows Authentication prompts to collect their credentials.
Metamorfo has displayed fake forms on top of banking sites to intercept credentials from victims.
XCSSET prompts the user to input credentials using a native macOS dialog box leveraging the system process
Use user training as a way to bring awareness and raise suspicion for potentially malicious events and dialog boxes (ex: Office documents prompting for credentials).
|ID||Data Source||Data Component||Detects|
Monitor executed commands and arguments, such as requests for credentials and/or strings related to creating password prompts that may be malicious.
Monitor for newly executed processes
Monitor for any attempts to enable scripts running on a system would be considered suspicious. If scripts are not commonly used on a system, but enabled, scripts running out of cycle from patching or other administrator functions are suspicious. Scripts should be captured from the file system when possible to determine their actions and intent.